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
5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 | |