ListTypes
Returns summary information about all extensions, including your private resource types, modules, and Hooks as well as all public extensions from Amazon and third-party publishers.
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
- 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.
Type: String
Valid Values:
LIVE | DEPRECATEDRequired: No
-
- Filters
-
Filter criteria to use in determining which extensions to return.
Filters must be compatible with
Visibilityto return valid results. For example, specifyingAWS_TYPESforCategoryandPRIVATEforVisibilityreturns an empty list of types, but specifyingPUBLICforVisibilityreturns the desired list.Type: TypeFilters object
Required: No
- 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
NextTokenvalue that you can assign to theNextTokenrequest parameter to get the next set of results.Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- NextToken
-
If the previous paginated request didn't return all the remaining results, the response object's
NextTokenparameter 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'sNextTokenparameter. If there are no remaining results, the previous response object'sNextTokenparameter is set tonull.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Required: No
- 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.Type: String
Valid Values:
NON_PROVISIONABLE | IMMUTABLE | FULLY_MUTABLERequired: No
-
- Type
-
The type of extension.
Type: String
Valid Values:
RESOURCE | MODULE | HOOKRequired: No
- 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 and third-party publishers.
The default is
PRIVATE.Type: String
Valid Values:
PUBLIC | PRIVATERequired: No
-
Response Elements
The following elements are returned by the service.
- NextToken
-
If the request doesn't return all the remaining results,
NextTokenis set to a token. To retrieve the next set of results, call this action again and assign that token to the request object'sNextTokenparameter. If the request returns all results,NextTokenis set tonull.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
- TypeSummaries.member.N
-
A list of
TypeSummarystructures that contain information about the specified extensions.Type: Array of TypeSummary objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- CFNRegistry
-
An error occurred during a CloudFormation registry operation.
- Message
-
A message with details about the error that occurred.
HTTP Status Code: 400
Examples
ListTypes
The following example returns summary information for all the private resource types registered in this Amazon Web Services account.
Sample Request
https://cloudformation.us-east-1.amazonaws.com/
?Action=ListTypes
&Version=2010-05-15
&X-Amz-Algorithm=AWS4-HMAC-SHA256
&X-Amz-Credential=[Access key ID and scope]
&X-Amz-Date=20191204T183443Z
&X-Amz-SignedHeaders=content-type;host
&X-Amz-Signature=[Signature]
Sample Response
<ListTypesResult>
<TypeSummaries>
<member>
<LastUpdated>2019-12-04T18:28:15.059Z</LastUpdated>
<DefaultVersionId>00000003</DefaultVersionId>
<TypeArn>arn:aws:cloudformation:us-east-1:012345678910:type/resource/My-Resource-Example</TypeArn>
<TypeName>My::Resource::Example</TypeName>
<Description>Resource schema for My::Resource::Example</Description>
<Type>RESOURCE</Type>
</member>
<member>
<LastUpdated>2019-12-04T18:28:15.059Z</LastUpdated>
<DefaultVersionId>00000001</DefaultVersionId>
<TypeArn>arn:aws:cloudformation:us-east-1:012345678910:type/resource/My-Second-Example</TypeArn>
<TypeName>My::Second::Example</TypeName>
<Description>Resource schema for My::Second::Example</Description>
<Type>RESOURCE</Type>
</member>
</TypeSummaries>
</ListTypesResult>
<ResponseMetadata>
<RequestId>69dc5a34-5462-4e1b-81fb-7a310example</RequestId>
</ResponseMetadata>
</ListTypesResponse>
See Also
For more information about using this API in one of the language-specific Amazon SDKs, see the following: