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

Description

List major or minor versions of a service template with detail data.

This operation returns paginated results.

Synopsis

Creating a Request

data ListServiceTemplateVersions Source #

See: newListServiceTemplateVersions smart constructor.

Constructors

ListServiceTemplateVersions' 

Fields

  • majorVersion :: Maybe Text

    To view a list of minor of versions under a major version of a service template, include majorVersion.

    To view a list of major versions of a service template, exclude majorVersion.

  • nextToken :: Maybe Text

    A token to indicate the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.

  • maxResults :: Maybe Natural

    The maximum number of major or minor versions of a service template to list.

  • templateName :: Text

    The name of the service template.

Instances

Instances details
Eq ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Read ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Show ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Generic ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Associated Types

type Rep ListServiceTemplateVersions :: Type -> Type #

NFData ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Hashable ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

ToJSON ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

AWSPager ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

AWSRequest ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

ToHeaders ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

ToPath ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

ToQuery ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

type Rep ListServiceTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

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

Defined in Amazonka.Proton.ListServiceTemplateVersions

newListServiceTemplateVersions Source #

Create a value of ListServiceTemplateVersions 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:majorVersion:ListServiceTemplateVersions', listServiceTemplateVersions_majorVersion - To view a list of minor of versions under a major version of a service template, include majorVersion.

To view a list of major versions of a service template, exclude majorVersion.

$sel:nextToken:ListServiceTemplateVersions', listServiceTemplateVersions_nextToken - A token to indicate the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.

$sel:maxResults:ListServiceTemplateVersions', listServiceTemplateVersions_maxResults - The maximum number of major or minor versions of a service template to list.

$sel:templateName:ListServiceTemplateVersions', listServiceTemplateVersions_templateName - The name of the service template.

Request Lenses

listServiceTemplateVersions_majorVersion :: Lens' ListServiceTemplateVersions (Maybe Text) Source #

To view a list of minor of versions under a major version of a service template, include majorVersion.

To view a list of major versions of a service template, exclude majorVersion.

listServiceTemplateVersions_nextToken :: Lens' ListServiceTemplateVersions (Maybe Text) Source #

A token to indicate the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.

listServiceTemplateVersions_maxResults :: Lens' ListServiceTemplateVersions (Maybe Natural) Source #

The maximum number of major or minor versions of a service template to list.

Destructuring the Response

data ListServiceTemplateVersionsResponse Source #

Constructors

ListServiceTemplateVersionsResponse' 

Fields

  • nextToken :: Maybe Text

    A token to indicate the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.

  • httpStatus :: Int

    The response's http status code.

  • templateVersions :: [ServiceTemplateVersionSummary]

    An array of major or minor versions of a service template with detail data.

Instances

Instances details
Eq ListServiceTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Show ListServiceTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

Generic ListServiceTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

NFData ListServiceTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

type Rep ListServiceTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListServiceTemplateVersions

type Rep ListServiceTemplateVersionsResponse = D1 ('MetaData "ListServiceTemplateVersionsResponse" "Amazonka.Proton.ListServiceTemplateVersions" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListServiceTemplateVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "templateVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ServiceTemplateVersionSummary]))))

newListServiceTemplateVersionsResponse Source #

Create a value of ListServiceTemplateVersionsResponse 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:ListServiceTemplateVersions', listServiceTemplateVersionsResponse_nextToken - A token to indicate the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.

$sel:httpStatus:ListServiceTemplateVersionsResponse', listServiceTemplateVersionsResponse_httpStatus - The response's http status code.

$sel:templateVersions:ListServiceTemplateVersionsResponse', listServiceTemplateVersionsResponse_templateVersions - An array of major or minor versions of a service template with detail data.

Response Lenses

listServiceTemplateVersionsResponse_nextToken :: Lens' ListServiceTemplateVersionsResponse (Maybe Text) Source #

A token to indicate the location of the next major or minor version in the array of major or minor versions of a service template, after the list of major or minor versions that was previously requested.