Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns summary information about the versions of an extension.
Synopsis
- data ListTypeVersions = ListTypeVersions' {}
- newListTypeVersions :: ListTypeVersions
- listTypeVersions_typeName :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_arn :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_nextToken :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_deprecatedStatus :: Lens' ListTypeVersions (Maybe DeprecatedStatus)
- listTypeVersions_type :: Lens' ListTypeVersions (Maybe RegistryType)
- listTypeVersions_publisherId :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_maxResults :: Lens' ListTypeVersions (Maybe Natural)
- data ListTypeVersionsResponse = ListTypeVersionsResponse' {}
- newListTypeVersionsResponse :: Int -> ListTypeVersionsResponse
- listTypeVersionsResponse_nextToken :: Lens' ListTypeVersionsResponse (Maybe Text)
- listTypeVersionsResponse_typeVersionSummaries :: Lens' ListTypeVersionsResponse (Maybe [TypeVersionSummary])
- listTypeVersionsResponse_httpStatus :: Lens' ListTypeVersionsResponse Int
Creating a Request
data ListTypeVersions Source #
See: newListTypeVersions
smart constructor.
ListTypeVersions' | |
|
Instances
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:
$sel:typeName: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
.
$sel:arn: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:nextToken: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
.
$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:type':ListTypeVersions'
, listTypeVersions_type
- The kind of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
$sel:publisherId:ListTypeVersions'
, listTypeVersions_publisherId
- The publisher ID of the extension publisher.
Extensions published by Amazon are not assigned a publisher ID.
$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.
Request Lenses
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
.
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_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_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_type :: Lens' ListTypeVersions (Maybe RegistryType) Source #
The kind of the extension.
Conditional: You must specify either TypeName
and Type
, or Arn
.
listTypeVersions_publisherId :: Lens' ListTypeVersions (Maybe Text) Source #
The publisher ID of the extension publisher.
Extensions published by Amazon are not assigned a publisher ID.
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.
Destructuring the Response
data ListTypeVersionsResponse Source #
See: newListTypeVersionsResponse
smart constructor.
ListTypeVersionsResponse' | |
|
Instances
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:
$sel:nextToken: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.
listTypeVersionsResponse_httpStatus :: Lens' ListTypeVersionsResponse Int Source #
The response's http status code.