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

Description

 
Synopsis

Documentation

data SendUsersMessageResponse Source #

Provides information about which users and endpoints a message was sent to.

See: newSendUsersMessageResponse smart constructor.

Constructors

SendUsersMessageResponse' 

Fields

  • requestId :: Maybe Text

    The unique identifier that was assigned to the message request.

  • result :: Maybe (HashMap Text (HashMap Text EndpointMessageResult))

    An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.

  • applicationId :: Text

    The unique identifier for the application that was used to send the message.

Instances

Instances details
Eq SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Read SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Show SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Generic SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Associated Types

type Rep SendUsersMessageResponse :: Type -> Type #

NFData SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Hashable SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

FromJSON SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

type Rep SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

type Rep SendUsersMessageResponse = D1 ('MetaData "SendUsersMessageResponse" "Amazonka.Pinpoint.Types.SendUsersMessageResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "SendUsersMessageResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "result") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (HashMap Text EndpointMessageResult)))) :*: S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSendUsersMessageResponse Source #

Create a value of SendUsersMessageResponse 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:SendUsersMessageResponse', sendUsersMessageResponse_requestId - The unique identifier that was assigned to the message request.

$sel:result:SendUsersMessageResponse', sendUsersMessageResponse_result - An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.

$sel:applicationId:SendUsersMessageResponse', sendUsersMessageResponse_applicationId - The unique identifier for the application that was used to send the message.

sendUsersMessageResponse_requestId :: Lens' SendUsersMessageResponse (Maybe Text) Source #

The unique identifier that was assigned to the message request.

sendUsersMessageResponse_result :: Lens' SendUsersMessageResponse (Maybe (HashMap Text (HashMap Text EndpointMessageResult))) Source #

An object that indicates which endpoints the message was sent to, for each user. The object lists user IDs and, for each user ID, provides the endpoint IDs that the message was sent to. For each endpoint ID, it provides an EndpointMessageResult object.

sendUsersMessageResponse_applicationId :: Lens' SendUsersMessageResponse Text Source #

The unique identifier for the application that was used to send the message.