amazonka-cloudformation-2.0: Amazon CloudFormation 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.CloudFormation.ListTypeVersions

Description

Returns summary information about the versions of an extension.

Synopsis

Creating a Request

data ListTypeVersions Source #

See: newListTypeVersions smart constructor.

Constructors

ListTypeVersions' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the extension for which you want version summary information.

    Conditional: You must specify either TypeName and Type, or Arn.

  • deprecatedStatus :: Maybe DeprecatedStatus

    The deprecation status of the extension versions that you want to get summary information about.

    Valid values include:

    • LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.
    • DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations.

    The default is LIVE.

  • maxResults :: Maybe Natural

    The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

  • nextToken :: Maybe Text

    If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

  • publisherId :: Maybe Text

    The publisher ID of the extension publisher.

    Extensions published by Amazon aren't assigned a publisher ID.

  • type' :: Maybe RegistryType

    The kind of the extension.

    Conditional: You must specify either TypeName and Type, or Arn.

  • typeName :: Maybe Text

    The name of the extension for which you want version summary information.

    Conditional: You must specify either TypeName and Type, or Arn.

Instances

Instances details
ToHeaders ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

ToPath ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

ToQuery ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

AWSRequest ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Associated Types

type AWSResponse ListTypeVersions #

Generic ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Associated Types

type Rep ListTypeVersions :: Type -> Type #

Read ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Show ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

NFData ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Methods

rnf :: ListTypeVersions -> () #

Eq ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Hashable ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

type AWSResponse ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

type Rep ListTypeVersions Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

newListTypeVersions :: ListTypeVersions Source #

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

ListTypeVersions, listTypeVersions_arn - The Amazon Resource Name (ARN) of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

$sel:deprecatedStatus:ListTypeVersions', listTypeVersions_deprecatedStatus - The deprecation status of the extension versions that you want to get summary information about.

Valid values include:

  • LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.
  • DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations.

The default is LIVE.

$sel:maxResults:ListTypeVersions', listTypeVersions_maxResults - The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

ListTypeVersions, listTypeVersions_nextToken - If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

ListTypeVersions, listTypeVersions_publisherId - The publisher ID of the extension publisher.

Extensions published by Amazon aren't assigned a publisher ID.

ListTypeVersions, listTypeVersions_type - The kind of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

ListTypeVersions, listTypeVersions_typeName - The name of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

Request Lenses

listTypeVersions_arn :: Lens' ListTypeVersions (Maybe Text) Source #

The Amazon Resource Name (ARN) of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeVersions_deprecatedStatus :: Lens' ListTypeVersions (Maybe DeprecatedStatus) Source #

The deprecation status of the extension versions that you want to get summary information about.

Valid values include:

  • LIVE: The extension version is registered and can be used in CloudFormation operations, dependent on its provisioning behavior and visibility scope.
  • DEPRECATED: The extension version has been deregistered and can no longer be used in CloudFormation operations.

The default is LIVE.

listTypeVersions_maxResults :: Lens' ListTypeVersions (Maybe Natural) Source #

The maximum number of results to be returned with a single call. If the number of available results exceeds this maximum, the response includes a NextToken value that you can assign to the NextToken request parameter to get the next set of results.

listTypeVersions_nextToken :: Lens' ListTypeVersions (Maybe Text) Source #

If the previous paginated request didn't return all of the remaining results, the response object's NextToken parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If there are no remaining results, the previous response object's NextToken parameter is set to null.

listTypeVersions_publisherId :: Lens' ListTypeVersions (Maybe Text) Source #

The publisher ID of the extension publisher.

Extensions published by Amazon aren't assigned a publisher ID.

listTypeVersions_type :: Lens' ListTypeVersions (Maybe RegistryType) Source #

The kind of the extension.

Conditional: You must specify either TypeName and Type, or Arn.

listTypeVersions_typeName :: Lens' ListTypeVersions (Maybe Text) Source #

The name of the extension for which you want version summary information.

Conditional: You must specify either TypeName and Type, or Arn.

Destructuring the Response

data ListTypeVersionsResponse Source #

See: newListTypeVersionsResponse smart constructor.

Constructors

ListTypeVersionsResponse' 

Fields

  • nextToken :: Maybe Text

    If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

  • typeVersionSummaries :: Maybe [TypeVersionSummary]

    A list of TypeVersionSummary structures that contain information about the specified extension's versions.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListTypeVersionsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Associated Types

type Rep ListTypeVersionsResponse :: Type -> Type #

Read ListTypeVersionsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Show ListTypeVersionsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

NFData ListTypeVersionsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

Eq ListTypeVersionsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

type Rep ListTypeVersionsResponse Source # 
Instance details

Defined in Amazonka.CloudFormation.ListTypeVersions

type Rep ListTypeVersionsResponse = D1 ('MetaData "ListTypeVersionsResponse" "Amazonka.CloudFormation.ListTypeVersions" "amazonka-cloudformation-2.0-2g2oPzedi5AcwbDRlNZfB" 'False) (C1 ('MetaCons "ListTypeVersionsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "typeVersionSummaries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TypeVersionSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListTypeVersionsResponse Source #

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

ListTypeVersions, listTypeVersionsResponse_nextToken - If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

$sel:typeVersionSummaries:ListTypeVersionsResponse', listTypeVersionsResponse_typeVersionSummaries - A list of TypeVersionSummary structures that contain information about the specified extension's versions.

$sel:httpStatus:ListTypeVersionsResponse', listTypeVersionsResponse_httpStatus - The response's http status code.

Response Lenses

listTypeVersionsResponse_nextToken :: Lens' ListTypeVersionsResponse (Maybe Text) Source #

If the request doesn't return all of the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null.

listTypeVersionsResponse_typeVersionSummaries :: Lens' ListTypeVersionsResponse (Maybe [TypeVersionSummary]) Source #

A list of TypeVersionSummary structures that contain information about the specified extension's versions.