Struct aws_sdk_ssm::client::fluent_builders::UpdateDocument [−][src]
pub struct UpdateDocument<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateDocument
.
Updates one or more values for an SSM document.
Implementations
impl<C, M, R> UpdateDocument<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateDocument<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateDocumentOutput, SdkError<UpdateDocumentError>> where
R::Policy: SmithyRetryPolicy<UpdateDocumentInputOperationOutputAlias, UpdateDocumentOutput, UpdateDocumentError, UpdateDocumentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateDocumentOutput, SdkError<UpdateDocumentError>> where
R::Policy: SmithyRetryPolicy<UpdateDocumentInputOperationOutputAlias, UpdateDocumentOutput, UpdateDocumentError, UpdateDocumentInputOperationRetryAlias>,
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.
A valid JSON or YAML string.
Appends an item to Attachments
.
To override the contents of this collection use set_attachments
.
A list of key-value pairs that describe attachments to a version of a document.
A list of key-value pairs that describe attachments to a version of a document.
The name of the SSM document that you want to update.
The name of the SSM document that you want to update.
The friendly name of the SSM document that you want to update. This value can differ for each version of the document. If you don't specify a value for this parameter in your request, the existing value is applied to the new document version.
The friendly name of the SSM document that you want to update. This value can differ for each version of the document. If you don't specify a value for this parameter in your request, the existing value is applied to the new document version.
An optional field specifying the version of the artifact you are updating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.
An optional field specifying the version of the artifact you are updating with the document. For example, "Release 12, Update 6". This value is unique across all versions of a document, and can't be changed.
The version of the document that you want to update. Currently, Systems Manager supports updating only
the latest version of the document. You can specify the version number of the latest version or
use the $LATEST
variable.
The version of the document that you want to update. Currently, Systems Manager supports updating only
the latest version of the document. You can specify the version number of the latest version or
use the $LATEST
variable.
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
Specify the document format for the new document version. Systems Manager supports JSON and YAML documents. JSON is the default format.
Specify a new target type for the document.
Specify a new target type for the document.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateDocument<C, M, R>
impl<C, M, R> Send for UpdateDocument<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateDocument<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateDocument<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateDocument<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