libZSservicesZSamazonka-protonZSamazonka-proton
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.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

  • nextToken :: Maybe Text

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

  • maxResults :: Maybe Natural

    The maximum number of service templates to list.

Instances

Instances details
Eq ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Read ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Show ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Generic ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Associated Types

type Rep ListServiceTemplates :: Type -> Type #

NFData ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Methods

rnf :: ListServiceTemplates -> () #

Hashable ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

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

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

type Rep ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

type Rep ListServiceTemplates = D1 ('MetaData "ListServiceTemplates" "Amazonka.Proton.ListServiceTemplates" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListServiceTemplates'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))
type AWSResponse ListServiceTemplates Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

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:nextToken:ListServiceTemplates', listServiceTemplates_nextToken - A token to indicate the location of the next service template in the array of service templates, after the list of service templates previously requested.

$sel:maxResults:ListServiceTemplates', listServiceTemplates_maxResults - The maximum number of service templates to list.

Request Lenses

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

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

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

The maximum number of service templates to list.

Destructuring the Response

data ListServiceTemplatesResponse Source #

See: newListServiceTemplatesResponse smart constructor.

Constructors

ListServiceTemplatesResponse' 

Fields

Instances

Instances details
Eq ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Show ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Generic ListServiceTemplatesResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplates

Associated Types

type Rep ListServiceTemplatesResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-protonZSamazonka-proton" '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:

$sel:nextToken:ListServiceTemplates', listServiceTemplatesResponse_nextToken - A token to indicate 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 to indicate the location of the next service template in the array of service templates, after the current requested list of service templates.