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.SendMessages

Description

Creates and sends a direct message.

Synopsis

Creating a Request

data SendMessages Source #

See: newSendMessages smart constructor.

Constructors

SendMessages' 

Fields

Instances

Instances details
Eq SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Read SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Show SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Generic SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Associated Types

type Rep SendMessages :: Type -> Type #

NFData SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Methods

rnf :: SendMessages -> () #

Hashable SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

ToJSON SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

AWSRequest SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Associated Types

type AWSResponse SendMessages #

ToHeaders SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

ToPath SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

ToQuery SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

type Rep SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

type Rep SendMessages = D1 ('MetaData "SendMessages" "Amazonka.Pinpoint.SendMessages" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SendMessages'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "messageRequest") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageRequest)))
type AWSResponse SendMessages Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

newSendMessages Source #

Create a value of SendMessages 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:applicationId:SendMessages', sendMessages_applicationId - The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

$sel:messageRequest:SendMessages', sendMessages_messageRequest - Undocumented member.

Request Lenses

sendMessages_applicationId :: Lens' SendMessages Text Source #

The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.

Destructuring the Response

data SendMessagesResponse Source #

See: newSendMessagesResponse smart constructor.

Constructors

SendMessagesResponse' 

Fields

Instances

Instances details
Eq SendMessagesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Read SendMessagesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Show SendMessagesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Generic SendMessagesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Associated Types

type Rep SendMessagesResponse :: Type -> Type #

NFData SendMessagesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

Methods

rnf :: SendMessagesResponse -> () #

type Rep SendMessagesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.SendMessages

type Rep SendMessagesResponse = D1 ('MetaData "SendMessagesResponse" "Amazonka.Pinpoint.SendMessages" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SendMessagesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "messageResponse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MessageResponse)))

newSendMessagesResponse Source #

Create a value of SendMessagesResponse 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:httpStatus:SendMessagesResponse', sendMessagesResponse_httpStatus - The response's http status code.

$sel:messageResponse:SendMessagesResponse', sendMessagesResponse_messageResponse - Undocumented member.

Response Lenses