libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
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.Pinpoint.Types.MessageBody

Description

 
Synopsis

Documentation

data MessageBody Source #

Provides information about an API request or response.

See: newMessageBody smart constructor.

Constructors

MessageBody' 

Fields

Instances

Instances details
Eq MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

Read MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

Show MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

Generic MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

Associated Types

type Rep MessageBody :: Type -> Type #

NFData MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

Methods

rnf :: MessageBody -> () #

Hashable MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

FromJSON MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

type Rep MessageBody Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.MessageBody

type Rep MessageBody = D1 ('MetaData "MessageBody" "Amazonka.Pinpoint.Types.MessageBody" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "MessageBody'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMessageBody :: MessageBody Source #

Create a value of MessageBody 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:requestID:MessageBody', messageBody_requestID - The unique identifier for the request or response.

$sel:message:MessageBody', messageBody_message - The message that's returned from the API.

messageBody_requestID :: Lens' MessageBody (Maybe Text) Source #

The unique identifier for the request or response.

messageBody_message :: Lens' MessageBody (Maybe Text) Source #

The message that's returned from the API.