Class: Aws::PrometheusService::Types::PutAlertManagerDefinitionRequest

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

Overview

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


1136
1137
1138
1139
1140
1141
1142
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1136

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

#dataString

The alert manager definition to use. A base64-encoded version of the YAML alert manager definition file.

For details about the alert manager definition, see [AlertManagedDefinitionData].

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

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1136

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

#workspace_idString

The ID of the workspace to update the alert manager definition in.

Returns:

  • (String)


1136
1137
1138
1139
1140
1141
1142
# File 'lib/aws-sdk-prometheusservice/types.rb', line 1136

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