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

    To view a list of major versions of an environment 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 an environment 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 an environment template to list.

  • templateName :: Text

    The name of the environment template.

Instances

Instances details
Eq ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Read ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

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

NFData ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Hashable ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

ToJSON 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

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

type Rep ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

type Rep ListEnvironmentTemplateVersions = D1 ('MetaData "ListEnvironmentTemplateVersions" "Amazonka.Proton.ListEnvironmentTemplateVersions" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "ListEnvironmentTemplateVersions'" '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 ListEnvironmentTemplateVersions Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

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:

$sel:majorVersion:ListEnvironmentTemplateVersions', listEnvironmentTemplateVersions_majorVersion - To view a list of minor of versions under a major version of an environment template, include majorVersion.

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

$sel:nextToken:ListEnvironmentTemplateVersions', listEnvironmentTemplateVersions_nextToken - A token to indicate 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:maxResults:ListEnvironmentTemplateVersions', listEnvironmentTemplateVersions_maxResults - The maximum number of major or minor versions of an environment template to list.

$sel:templateName: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 majorVersion.

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

listEnvironmentTemplateVersions_nextToken :: Lens' ListEnvironmentTemplateVersions (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 an environment template, after the list of major or minor versions that was previously requested.

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

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

Destructuring the Response

data ListEnvironmentTemplateVersionsResponse Source #

Constructors

ListEnvironmentTemplateVersionsResponse' 

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 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
Eq ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Show ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

Generic ListEnvironmentTemplateVersionsResponse Source # 
Instance details

Defined in Amazonka.Proton.ListEnvironmentTemplateVersions

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

$sel:nextToken:ListEnvironmentTemplateVersions', listEnvironmentTemplateVersionsResponse_nextToken - A token to indicate 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 to indicate 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.