Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Returns summary information about the versions of an extension.
Synopsis
- data ListTypeVersions = ListTypeVersions' {}
- newListTypeVersions :: ListTypeVersions
- listTypeVersions_arn :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_deprecatedStatus :: Lens' ListTypeVersions (Maybe DeprecatedStatus)
- listTypeVersions_maxResults :: Lens' ListTypeVersions (Maybe Natural)
- listTypeVersions_nextToken :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_publisherId :: Lens' ListTypeVersions (Maybe Text)
- listTypeVersions_type :: Lens' ListTypeVersions (Maybe RegistryType)
- listTypeVersions_typeName :: Lens' ListTypeVersions (Maybe Text)
- 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:
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.
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:
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.