Class: Aws::PrometheusService::Types::CreateRuleGroupsNamespaceRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::PrometheusService::Types::CreateRuleGroupsNamespaceRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-prometheusservice/types.rb
Overview
Represents the input of a ‘CreateRuleGroupsNamespace` operation.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique identifier that you can provide to ensure the idempotency of the request.
-
#data ⇒ String
The rules file to use in the new namespace.
-
#name ⇒ String
The name for the new rule groups namespace.
-
#tags ⇒ Hash<String,String>
The list of tag keys and values to associate with the rule groups namespace.
-
#workspace_id ⇒ String
The ID of the workspace to add the rule groups namespace.
Instance Attribute Details
#client_token ⇒ String
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
**A suitable default value is auto-generated.** You should normally not need to pass this option.
257 258 259 260 261 262 263 264 265 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 257 class CreateRuleGroupsNamespaceRequest < Struct.new( :client_token, :data, :name, :tags, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#data ⇒ String
The rules file to use in the new namespace.
Contains the base64-encoded version of the YAML rules file.
For details about the rule groups namespace structure, see [RuleGroupsNamespaceData].
[1]: docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html
257 258 259 260 261 262 263 264 265 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 257 class CreateRuleGroupsNamespaceRequest < Struct.new( :client_token, :data, :name, :tags, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name for the new rule groups namespace.
257 258 259 260 261 262 263 264 265 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 257 class CreateRuleGroupsNamespaceRequest < Struct.new( :client_token, :data, :name, :tags, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The list of tag keys and values to associate with the rule groups namespace.
257 258 259 260 261 262 263 264 265 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 257 class CreateRuleGroupsNamespaceRequest < Struct.new( :client_token, :data, :name, :tags, :workspace_id) SENSITIVE = [] include Aws::Structure end |
#workspace_id ⇒ String
The ID of the workspace to add the rule groups namespace.
257 258 259 260 261 262 263 264 265 |
# File 'lib/aws-sdk-prometheusservice/types.rb', line 257 class CreateRuleGroupsNamespaceRequest < Struct.new( :client_token, :data, :name, :tags, :workspace_id) SENSITIVE = [] include Aws::Structure end |