libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudWatch.Types.MessageData

Description

 
Synopsis

Documentation

data MessageData Source #

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.

See: newMessageData smart constructor.

Constructors

MessageData' 

Fields

Instances

Instances details
Eq MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Read MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Show MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Generic MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Associated Types

type Rep MessageData :: Type -> Type #

NFData MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

Methods

rnf :: MessageData -> () #

Hashable MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

FromXML MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

type Rep MessageData Source # 
Instance details

Defined in Amazonka.CloudWatch.Types.MessageData

type Rep MessageData = D1 ('MetaData "MessageData" "Amazonka.CloudWatch.Types.MessageData" "libZSservicesZSamazonka-cloudwatchZSamazonka-cloudwatch" 'False) (C1 ('MetaCons "MessageData'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMessageData :: MessageData Source #

Create a value of MessageData with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:value:MessageData', messageData_value - The message text.

$sel:code:MessageData', messageData_code - The error code or status code associated with the message.

messageData_code :: Lens' MessageData (Maybe Text) Source #

The error code or status code associated with the message.