Smaws_Client_CloudFormation.DeregisterTypeMarks an extension or extension version as DEPRECATED in the CloudFormation registry, removing it from active use. Deprecated extensions or extension versions cannot be used in CloudFormation operations.
To deregister an entire extension, you must individually deregister all active versions of that extension. If an extension has only a single active version, deregistering that version results in the extension itself being deregistered and marked as deprecated in the registry.
You can't deregister the default version of an extension if there are other active version of that extension. If you do deregister the default version of an extension, the extension type itself is deregistered as well and marked as deprecated.
To view the deprecation status of an extension or extension version, use DescribeType.
For more information, see Remove third-party private extensions from your account in the CloudFormation User Guide.
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.deregister_type_input ->
(Types.deregister_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.deregister_type_input ->
(Types.deregister_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