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 extension that have been registered with CloudFormation.
This operation returns paginated results.
Synopsis
- data ListTypes = ListTypes' {}
- newListTypes :: ListTypes
- listTypes_deprecatedStatus :: Lens' ListTypes (Maybe DeprecatedStatus)
- listTypes_filters :: Lens' ListTypes (Maybe TypeFilters)
- listTypes_maxResults :: Lens' ListTypes (Maybe Natural)
- listTypes_nextToken :: Lens' ListTypes (Maybe Text)
- listTypes_provisioningType :: Lens' ListTypes (Maybe ProvisioningType)
- listTypes_type :: Lens' ListTypes (Maybe RegistryType)
- listTypes_visibility :: Lens' ListTypes (Maybe Visibility)
- data ListTypesResponse = ListTypesResponse' {
- nextToken :: Maybe Text
- typeSummaries :: Maybe [TypeSummary]
- httpStatus :: Int
- newListTypesResponse :: Int -> ListTypesResponse
- listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text)
- listTypesResponse_typeSummaries :: Lens' ListTypesResponse (Maybe [TypeSummary])
- listTypesResponse_httpStatus :: Lens' ListTypesResponse Int
Creating a Request
See: newListTypes
smart constructor.
ListTypes' | |
|
Instances
newListTypes :: ListTypes Source #
Create a value of ListTypes
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:deprecatedStatus:ListTypes'
, listTypes_deprecatedStatus
- The deprecation status of the extension that you want to get summary
information about.
Valid values include:
LIVE
: The extension is registered for use in CloudFormation operations.DEPRECATED
: The extension has been deregistered and can no longer be used in CloudFormation operations.
$sel:filters:ListTypes'
, listTypes_filters
- Filter criteria to use in determining which extensions to return.
Filters must be compatible with Visibility
to return valid results.
For example, specifying AWS_TYPES
for Category
and PRIVATE
for
Visibility
returns an empty list of types, but specifying PUBLIC
for
Visibility
returns the desired list.
$sel:maxResults:ListTypes'
, listTypes_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.
ListTypes
, listTypes_nextToken
- If the previous paginated request didn't return all 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:provisioningType:ListTypes'
, listTypes_provisioningType
- For resource types, the provisioning behavior of the resource type.
CloudFormation determines the provisioning type during registration,
based on the types of handlers in the schema handler package submitted.
Valid values include:
FULLY_MUTABLE
: The resource type includes an update handler to process updates to the type during stack update operations.IMMUTABLE
: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.NON_PROVISIONABLE
: The resource type doesn't include create, read, and delete handlers, and therefore can't actually be provisioned.
The default is FULLY_MUTABLE
.
ListTypes
, listTypes_type
- The type of extension.
$sel:visibility:ListTypes'
, listTypes_visibility
- The scope at which the extensions are visible and usable in
CloudFormation operations.
Valid values include:
PRIVATE
: Extensions that are visible and usable within this account and region. This includes:- Private extensions you have registered in this account and region.
- Public extensions that you have activated in this account and region.
PUBLIC
: Extensions that are publicly visible and available to be activated within any Amazon Web Services account. This includes extensions from Amazon Web Services, in addition to third-party publishers.
The default is PRIVATE
.
Request Lenses
listTypes_deprecatedStatus :: Lens' ListTypes (Maybe DeprecatedStatus) Source #
The deprecation status of the extension that you want to get summary information about.
Valid values include:
LIVE
: The extension is registered for use in CloudFormation operations.DEPRECATED
: The extension has been deregistered and can no longer be used in CloudFormation operations.
listTypes_filters :: Lens' ListTypes (Maybe TypeFilters) Source #
Filter criteria to use in determining which extensions to return.
Filters must be compatible with Visibility
to return valid results.
For example, specifying AWS_TYPES
for Category
and PRIVATE
for
Visibility
returns an empty list of types, but specifying PUBLIC
for
Visibility
returns the desired list.
listTypes_maxResults :: Lens' ListTypes (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.
listTypes_nextToken :: Lens' ListTypes (Maybe Text) Source #
If the previous paginated request didn't return all 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
.
listTypes_provisioningType :: Lens' ListTypes (Maybe ProvisioningType) Source #
For resource types, the provisioning behavior of the resource type. CloudFormation determines the provisioning type during registration, based on the types of handlers in the schema handler package submitted.
Valid values include:
FULLY_MUTABLE
: The resource type includes an update handler to process updates to the type during stack update operations.IMMUTABLE
: The resource type doesn't include an update handler, so the type can't be updated and must instead be replaced during stack update operations.NON_PROVISIONABLE
: The resource type doesn't include create, read, and delete handlers, and therefore can't actually be provisioned.
The default is FULLY_MUTABLE
.
listTypes_type :: Lens' ListTypes (Maybe RegistryType) Source #
The type of extension.
listTypes_visibility :: Lens' ListTypes (Maybe Visibility) Source #
The scope at which the extensions are visible and usable in CloudFormation operations.
Valid values include:
PRIVATE
: Extensions that are visible and usable within this account and region. This includes:- Private extensions you have registered in this account and region.
- Public extensions that you have activated in this account and region.
PUBLIC
: Extensions that are publicly visible and available to be activated within any Amazon Web Services account. This includes extensions from Amazon Web Services, in addition to third-party publishers.
The default is PRIVATE
.
Destructuring the Response
data ListTypesResponse Source #
See: newListTypesResponse
smart constructor.
ListTypesResponse' | |
|
Instances
Create a value of ListTypesResponse
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:
ListTypes
, listTypesResponse_nextToken
- If the request doesn't return all 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:typeSummaries:ListTypesResponse'
, listTypesResponse_typeSummaries
- A list of TypeSummary
structures that contain information about the
specified extensions.
$sel:httpStatus:ListTypesResponse'
, listTypesResponse_httpStatus
- The response's http status code.
Response Lenses
listTypesResponse_nextToken :: Lens' ListTypesResponse (Maybe Text) Source #
If the request doesn't return all 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
.
listTypesResponse_typeSummaries :: Lens' ListTypesResponse (Maybe [TypeSummary]) Source #
A list of TypeSummary
structures that contain information about the
specified extensions.
listTypesResponse_httpStatus :: Lens' ListTypesResponse Int Source #
The response's http status code.