Class: Aws::PrometheusService::Types::PutRuleGroupsNamespaceRequest

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

Overview

Represents the input of a ‘PutRuleGroupsNamespace` 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)


1192
1193
1194
1195
1196
1197
1198
1199
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1192

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

#dataString

The new rules file to use in the namespace. A base64-encoded version of the YAML rule groups file.

For details about the rule groups namespace structure, see [RuleGroupsNamespaceData].

[1]: docs.aws.amazon.com/prometheus/latest/APIReference/yaml-RuleGroupsNamespaceData.html

Returns:

  • (String)


1192
1193
1194
1195
1196
1197
1198
1199
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1192

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

#nameString

The name of the rule groups namespace that you are updating.

Returns:

  • (String)


1192
1193
1194
1195
1196
1197
1198
1199
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1192

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

#workspace_idString

The ID of the workspace where you are updating the rule groups namespace.

Returns:

  • (String)


1192
1193
1194
1195
1196
1197
1198
1199
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1192

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