deregister_type
¶
deregister_type(
*,
config_overrides: Optional[CloudFormationClientConfig] = 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/cloud_formation.py
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 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 | |