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

Description

 
Synopsis

Documentation

data TemplatesResponse Source #

Provides information about all the message templates that are associated with your Amazon Pinpoint account.

See: newTemplatesResponse smart constructor.

Constructors

TemplatesResponse' 

Fields

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

  • item :: [TemplateResponse]

    An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.

Instances

Instances details
Eq TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Read TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Show TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Generic TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Associated Types

type Rep TemplatesResponse :: Type -> Type #

NFData TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Methods

rnf :: TemplatesResponse -> () #

Hashable TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

FromJSON TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

type Rep TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

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

newTemplatesResponse :: TemplatesResponse Source #

Create a value of TemplatesResponse 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:nextToken:TemplatesResponse', templatesResponse_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:item:TemplatesResponse', templatesResponse_item - An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.

templatesResponse_nextToken :: Lens' TemplatesResponse (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.

templatesResponse_item :: Lens' TemplatesResponse [TemplateResponse] Source #

An array of responses, one for each message template that's associated with your Amazon Pinpoint account and meets any filter criteria that you specified in the request.