CloudFormation / Client / set_type_default_version
set_type_default_version#
- CloudFormation.Client.set_type_default_version(**kwargs)#
Specify the default version of an extension. The default version of an extension will be used in CloudFormation operations.
See also: AWS API Documentation
Request Syntax
response = client.set_type_default_version( Arn='string', Type='RESOURCE'|'MODULE'|'HOOK', TypeName='string', VersionId='string' )
- Parameters:
Arn (string) –
The Amazon Resource Name (ARN) of the extension for which you want version summary information.
Conditional: You must specify either
TypeName
andType
, orArn
.Type (string) –
The kind of extension.
Conditional: You must specify either
TypeName
andType
, orArn
.TypeName (string) –
The name of the extension.
Conditional: You must specify either
TypeName
andType
, orArn
.VersionId (string) – The ID of a specific version of the extension. The version ID is the value at the end of the Amazon Resource Name (ARN) assigned to the extension version when it is registered.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
CloudFormation.Client.exceptions.CFNRegistryException
CloudFormation.Client.exceptions.TypeNotFoundException