Struct aws_sdk_cloudformation::client::fluent_builders::PublishType [−][src]
pub struct PublishType<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PublishType
.
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 on publishing extensions, see Publishing extensions to make them available for public use in the CloudFormation CLI User Guide.
To publish an extension, you must be registered as a publisher with CloudFormation. For more information, see RegisterPublisher.
Implementations
impl<C, M, R> PublishType<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PublishType<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<PublishTypeOutput, SdkError<PublishTypeError>> where
R::Policy: SmithyRetryPolicy<PublishTypeInputOperationOutputAlias, PublishTypeOutput, PublishTypeError, PublishTypeInputOperationRetryAlias>,
pub async fn send(self) -> Result<PublishTypeOutput, SdkError<PublishTypeError>> where
R::Policy: SmithyRetryPolicy<PublishTypeInputOperationOutputAlias, PublishTypeOutput, PublishTypeError, PublishTypeInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and
Type
.
The type of the extension.
Conditional: You must specify Arn
, or TypeName
and
Type
.
The Amazon Resource Number (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and
Type
.
The Amazon Resource Number (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and
Type
.
The name of the extension.
Conditional: You must specify Arn
, or TypeName
and
Type
.
The name of the extension.
Conditional: You must specify Arn
, or TypeName
and
Type
.
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 do not specify a version number, CloudFormation increments the version number by one minor version release.
The first time you publish a type, CloudFormation sets the version number to 1.0.0
,
regardless of the value you specify.
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 do not specify a version number, CloudFormation increments the version number by one minor version release.
The first time you publish a type, CloudFormation sets the version number to 1.0.0
,
regardless of the value you specify.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PublishType<C, M, R>
impl<C, M, R> Unpin for PublishType<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PublishType<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more