amazonka-proton-2.0: Amazon Proton 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.Proton.ListServiceTemplates

Description

List service templates with detail data.

This operation returns paginated results.

Synopsis

Creating a Request

data ListServiceTemplates Source #

See: newListServiceTemplates smart constructor.

Constructors

ListServiceTemplates' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of service templates to list.

  • nextToken :: Maybe Text

    A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.

Instances

Instances details
ToJSON ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

ToHeaders ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

ToPath ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

ToQuery ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

AWSPager ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

AWSRequest ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Associated Types

type AWSResponse ListServiceTemplates #

Generic ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Associated Types

type Rep ListServiceTemplates :: Type -> Type #

Read ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Show ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

NFData ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Methods

rnf :: ListServiceTemplates -> () #

Eq ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Hashable ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

type AWSResponse ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

type Rep ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

type Rep ListServiceTemplates = D1 ('MetaData "ListServiceTemplates" "Amazonka.Proton.ListServiceTemplates" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "ListServiceTemplates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newListServiceTemplates :: ListServiceTemplates Source #

Create a value of ListServiceTemplates 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:maxResults:ListServiceTemplates', listServiceTemplates_maxResults - The maximum number of service templates to list.

ListServiceTemplates, listServiceTemplates_nextToken - A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.

Request Lenses

listServiceTemplates_maxResults :: Lens' ListServiceTemplates (Maybe Natural) Source #

The maximum number of service templates to list.

listServiceTemplates_nextToken :: Lens' ListServiceTemplates (Maybe Text) Source #

A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.

Destructuring the Response

data ListServiceTemplatesResponse Source #

See: newListServiceTemplatesResponse smart constructor.

Constructors

ListServiceTemplatesResponse' 

Fields

  • nextToken :: Maybe Text

    A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.

  • httpStatus :: Int

    The response's http status code.

  • templates :: [ServiceTemplateSummary]

    An array of service templates with detail data.

Instances

Instances details
Generic ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Associated Types

type Rep ListServiceTemplatesResponse :: Type -> Type #

Show ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

NFData ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Eq ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

type Rep ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

type Rep ListServiceTemplatesResponse = D1 ('MetaData "ListServiceTemplatesResponse" "Amazonka.Proton.ListServiceTemplates" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "ListServiceTemplatesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "templates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ServiceTemplateSummary]))))

newListServiceTemplatesResponse Source #

Create a value of ListServiceTemplatesResponse 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:

ListServiceTemplates, listServiceTemplatesResponse_nextToken - A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.

$sel:httpStatus:ListServiceTemplatesResponse', listServiceTemplatesResponse_httpStatus - The response's http status code.

$sel:templates:ListServiceTemplatesResponse', listServiceTemplatesResponse_templates - An array of service templates with detail data.

Response Lenses

listServiceTemplatesResponse_nextToken :: Lens' ListServiceTemplatesResponse (Maybe Text) Source #

A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.