Class: Aws::PrometheusService::Types::CreateRuleGroupsNamespaceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb

Overview

Represents the input of a CreateRuleGroupsNamespace operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

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.

Returns:

  • (String)


257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 257

class CreateRuleGroupsNamespaceRequest < Struct.new(
  :client_token,
  :data,
  :name,
  :tags,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#dataString

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.

Returns:

  • (String)


257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 257

class CreateRuleGroupsNamespaceRequest < Struct.new(
  :client_token,
  :data,
  :name,
  :tags,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name for the new rule groups namespace.

Returns:

  • (String)


257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 257

class CreateRuleGroupsNamespaceRequest < Struct.new(
  :client_token,
  :data,
  :name,
  :tags,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The list of tag keys and values to associate with the rule groups namespace.

Returns:

  • (Hash<String,String>)


257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-prometheusservice/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_idString

The ID of the workspace to add the rule groups namespace.

Returns:

  • (String)


257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/types.rb', line 257

class CreateRuleGroupsNamespaceRequest < Struct.new(
  :client_token,
  :data,
  :name,
  :tags,
  :workspace_id)
  SENSITIVE = []
  include Aws::Structure
end