amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Show SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

NFData SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Eq SendUsersMessageResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.SendUsersMessageResponse

Hashable 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" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" '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.