Smaws_Client_CloudFormation.DeactivateTypeDeactivates a public third-party extension, such as a resource or module, or a CloudFormation Hook when you no longer use it.
Deactivating an extension deletes the configuration details that are associated with it. To temporarily disable a CloudFormation Hook instead, you can use SetTypeConfiguration.
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.
To see which extensions are currently activated, use ListTypes.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `CFNRegistryException of Types.cfn_registry_exception
| `TypeNotFoundException of Types.type_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.deactivate_type_input ->
(Types.deactivate_type_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CFNRegistryException of Types.cfn_registry_exception
| `TypeNotFoundException of Types.type_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.deactivate_type_input ->
(Types.deactivate_type_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `CFNRegistryException of Types.cfn_registry_exception
| `TypeNotFoundException of Types.type_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result