CloudFormationClient.publish_type
rboto-cloudformation==0.4.0 · Service index · Types
Model summary (excerpt): 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...
Install and imports
from rboto import CloudFormationClient
from rboto_cloudformation.types import (
PublishTypeOutput,
ThirdPartyType,
)
Signature
async def publish_type(
*,
type: ThirdPartyType | None = None,
arn: str | None = None,
type_name: str | None = None,
public_version_number: str | None = None,
) -> PublishTypeOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
type |
No | The type of the extension. Conditional: You must specify Arn , or TypeName and Type . |
arn |
No | The Amazon Resource Name (ARN) of the extension. Conditional: You must specify Arn , or TypeName and Type . |
type_name |
No | The name of the extension. Conditional: You must specify Arn , or TypeName and Type . |
public_version_number |
No | 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.PATCH For 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... |
Output
PublishTypeOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
public_type_arn |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
PublishTypeOutput, ThirdPartyType
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudformation.exceptions:
CFNRegistryError, TypeNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.