deregister_type
async
¶
deregister_type(
*,
config_overrides: Optional[AsyncCloudFormationClientConfig] = None,
arn: Optional[PrivateTypeArn] = None,
type: Optional[RegistryType] = None,
type_name: Optional[TypeName] = None,
version_id: Optional[TypeVersionId] = None,
) -> DeregisterTypeOutput
Marks 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.
Parameters:
-
arn(Optional[PrivateTypeArn], default:None) –The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify either
TypeNameandType, orArn. -
type(Optional[RegistryType], default:None) –The kind of extension.
Conditional: You must specify either
TypeNameandType, orArn. -
type_name(Optional[TypeName], default:None) –The name of the extension.
Conditional: You must specify either
TypeNameandType, orArn. -
version_id(Optional[TypeVersionId], default:None) –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.
Raises:
-
CFNRegistryException–An error occurred during a CloudFormation registry operation.
-
TypeNotFoundException–The specified extension doesn't exist in the CloudFormation registry.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudformation/_services/async_cloud_formation.py
1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 | |