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

Read TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Show TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

NFData TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

Methods

rnf :: TemplatesResponse -> () #

Eq TemplatesResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.TemplatesResponse

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