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::CloudWatch::Types::MessageData

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

Overview

A message returned by the GetMetricDataAPI, including a code and a description.

If a cross-Region GetMetricData operation fails with a code of Forbidden and a value of Authentication too complex to retrieve cross region data, you can correct the problem by running the GetMetricData operation in the same Region where the metric data is.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#codeString

The error code or status code associated with the message.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2335

class MessageData < Struct.new(
  :code,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The message text.

Returns:

  • (String)


2335
2336
2337
2338
2339
2340
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2335

class MessageData < Struct.new(
  :code,
  :value)
  SENSITIVE = []
  include Aws::Structure
end