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

Description

List major or minor versions of an environment template with detail data.

This operation returns paginated results.

Synopsis

Creating a Request

data ListEnvironmentTemplateVersions Source #

See: newListEnvironmentTemplateVersions smart constructor.

Constructors

ListEnvironmentTemplateVersions' 

Fields

  • majorVersion :: Maybe Text

    To view a list of minor of versions under a major version of an environment template, include major Version.

    To view a list of major versions of an environment template, exclude major Version.

  • maxResults :: Maybe Natural

    The maximum number of major or minor versions of an environment template to list.

  • nextToken :: Maybe Text

    A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.

  • templateName :: Text

    The name of the environment template.

Instances

Instances details
ToJSON ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

ToHeaders ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

ToPath ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

ToQuery ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

AWSPager ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

AWSRequest ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Generic ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Associated Types

type Rep ListEnvironmentTemplateVersions :: Type -> Type #

Read ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Show ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

NFData ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Eq ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Hashable ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

type AWSResponse ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

type Rep ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

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

newListEnvironmentTemplateVersions Source #

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

ListEnvironmentTemplateVersions, listEnvironmentTemplateVersions_majorVersion - To view a list of minor of versions under a major version of an environment template, include major Version.

To view a list of major versions of an environment template, exclude major Version.

$sel:maxResults:ListEnvironmentTemplateVersions', listEnvironmentTemplateVersions_maxResults - The maximum number of major or minor versions of an environment template to list.

ListEnvironmentTemplateVersions, listEnvironmentTemplateVersions_nextToken - A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.

ListEnvironmentTemplateVersions, listEnvironmentTemplateVersions_templateName - The name of the environment template.

Request Lenses

listEnvironmentTemplateVersions_majorVersion :: Lens' ListEnvironmentTemplateVersions (Maybe Text) Source #

To view a list of minor of versions under a major version of an environment template, include major Version.

To view a list of major versions of an environment template, exclude major Version.

listEnvironmentTemplateVersions_maxResults :: Lens' ListEnvironmentTemplateVersions (Maybe Natural) Source #

The maximum number of major or minor versions of an environment template to list.

listEnvironmentTemplateVersions_nextToken :: Lens' ListEnvironmentTemplateVersions (Maybe Text) Source #

A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.

Destructuring the Response

data ListEnvironmentTemplateVersionsResponse Source #

Constructors

ListEnvironmentTemplateVersionsResponse' 

Fields

  • nextToken :: Maybe Text

    A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.

  • httpStatus :: Int

    The response's http status code.

  • templateVersions :: [EnvironmentTemplateVersionSummary]

    An array of major or minor versions of an environment template detail data.

Instances

Instances details
Generic ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Show ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

NFData ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Eq ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

type Rep ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

type Rep ListEnvironmentTemplateVersionsResponse = D1 ('MetaData "ListEnvironmentTemplateVersionsResponse" "Amazonka.Proton.ListEnvironmentTemplateVersions" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "ListEnvironmentTemplateVersionsResponse'" '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 [EnvironmentTemplateVersionSummary]))))

newListEnvironmentTemplateVersionsResponse Source #

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

ListEnvironmentTemplateVersions, listEnvironmentTemplateVersionsResponse_nextToken - A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.

$sel:httpStatus:ListEnvironmentTemplateVersionsResponse', listEnvironmentTemplateVersionsResponse_httpStatus - The response's http status code.

$sel:templateVersions:ListEnvironmentTemplateVersionsResponse', listEnvironmentTemplateVersionsResponse_templateVersions - An array of major or minor versions of an environment template detail data.

Response Lenses

listEnvironmentTemplateVersionsResponse_nextToken :: Lens' ListEnvironmentTemplateVersionsResponse (Maybe Text) Source #

A token that indicates the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.