publish_type
async
¶
publish_type(
*,
config_overrides: Optional[AsyncCloudFormationClientConfig] = None,
type: Optional[ThirdPartyType] = None,
arn: Optional[PrivateTypeArn] = None,
type_name: Optional[TypeName] = None,
public_version_number: Optional[PublicVersionNumber] = None,
) -> PublishTypeOutput
Publishes the specified extension to the CloudFormation registry as a public extension in this Region. Public extensions are available for use by all CloudFormation users. For more information about publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation Command Line Interface (CLI) User Guide.
To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.
Parameters:
-
type(Optional[ThirdPartyType], default:None) –The type of the extension.
Conditional: You must specify
Arn, orTypeNameandType. -
arn(Optional[PrivateTypeArn], default:None) –The Amazon Resource Name (ARN) of the extension.
Conditional: You must specify
Arn, orTypeNameandType. -
type_name(Optional[TypeName], default:None) –The name of the extension.
Conditional: You must specify
Arn, orTypeNameandType. -
public_version_number(Optional[PublicVersionNumber], default:None) –The version number to assign to this version of the extension.
Use the following format, and adhere to semantic versioning when assigning a version number to your extension:
MAJOR.MINOR.PATCHFor more information, see Semantic Versioning 2.0.0.
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be
1.0.0.
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
5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 | |