CloudFormation / Client / deactivate_type
deactivate_type#
- CloudFormation.Client.deactivate_type(**kwargs)#
Deactivates a public extension that was previously activated in this account and Region.
Once deactivated, an extension can’t be used in any CloudFormation operation. This includes stack update operations where the stack template includes the extension, even if no updates are being made to the extension. In addition, deactivated extensions aren’t automatically updated if a new version of the extension is released.
See also: AWS API Documentation
Request Syntax
response = client.deactivate_type( TypeName='string', Type='RESOURCE'|'MODULE'|'HOOK', Arn='string' )
- Parameters:
TypeName (string) –
The type name of the extension, in this account and Region. If you specified a type name alias when enabling the extension, use the type name alias.
Conditional: You must specify either
Arn
, orTypeName
andType
.Type (string) –
The extension type.
Conditional: You must specify either
Arn
, orTypeName
andType
.Arn (string) –
The Amazon Resource Name (ARN) for the extension, in this account and Region.
Conditional: You must specify either
Arn
, orTypeName
andType
.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
CloudFormation.Client.exceptions.CFNRegistryException
CloudFormation.Client.exceptions.TypeNotFoundException