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

Description

 
Synopsis

Documentation

data TemplateVersionsResponse Source #

Provides information about all the versions of a specific message template.

See: newTemplateVersionsResponse smart constructor.

Constructors

TemplateVersionsResponse' 

Fields

  • requestID :: Maybe Text

    The unique identifier for the request to retrieve information about all the versions of the message template.

  • nextToken :: Maybe Text

    The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

  • message :: Maybe Text

    The message that's returned from the API for the request to retrieve information about all the versions of the message template.

  • item :: [TemplateVersionResponse]

    An array of responses, one for each version of the message template.

Instances

Instances details
Eq TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

Read TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

Show TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

Generic TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

Associated Types

type Rep TemplateVersionsResponse :: Type -> Type #

NFData TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

Hashable TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

FromJSON TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

type Rep TemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplateVersionsResponse

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

newTemplateVersionsResponse :: TemplateVersionsResponse Source #

Create a value of TemplateVersionsResponse 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:TemplateVersionsResponse', templateVersionsResponse_requestID - The unique identifier for the request to retrieve information about all the versions of the message template.

$sel:nextToken:TemplateVersionsResponse', templateVersionsResponse_nextToken - The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

$sel:message:TemplateVersionsResponse', templateVersionsResponse_message - The message that's returned from the API for the request to retrieve information about all the versions of the message template.

$sel:item:TemplateVersionsResponse', templateVersionsResponse_item - An array of responses, one for each version of the message template.

templateVersionsResponse_requestID :: Lens' TemplateVersionsResponse (Maybe Text) Source #

The unique identifier for the request to retrieve information about all the versions of the message template.

templateVersionsResponse_nextToken :: Lens' TemplateVersionsResponse (Maybe Text) Source #

The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.

templateVersionsResponse_message :: Lens' TemplateVersionsResponse (Maybe Text) Source #

The message that's returned from the API for the request to retrieve information about all the versions of the message template.

templateVersionsResponse_item :: Lens' TemplateVersionsResponse [TemplateVersionResponse] Source #

An array of responses, one for each version of the message template.