AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::LookoutMetrics::Types::Action

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

Overview

Note:

When making an API call, you may pass Action data as a hash:

{
  sns_configuration: {
    role_arn: "Arn", # required
    sns_topic_arn: "Arn", # required
  },
  lambda_configuration: {
    role_arn: "Arn", # required
    lambda_arn: "Arn", # required
  },
}

A configuration that specifies the action to perform when anomalies are detected.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#lambda_configurationTypes::LambdaConfiguration

A configuration for an AWS Lambda channel.



53
54
55
56
57
58
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 53

class Action < Struct.new(
  :sns_configuration,
  :lambda_configuration)
  SENSITIVE = []
  include Aws::Structure
end

#sns_configurationTypes::SNSConfiguration

A configuration for an Amazon SNS channel.



53
54
55
56
57
58
# File 'gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/types.rb', line 53

class Action < Struct.new(
  :sns_configuration,
  :lambda_configuration)
  SENSITIVE = []
  include Aws::Structure
end