pub struct UpdateDocumentDefaultVersion { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDocumentDefaultVersion
.
Set the default version of a document.
If you change a document version for a State Manager association, Systems Manager immediately runs the association unless you previously specifed the apply-only-at-cron-interval
parameter.
Implementations
sourceimpl UpdateDocumentDefaultVersion
impl UpdateDocumentDefaultVersion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDocumentDefaultVersion, AwsResponseRetryClassifier>, SdkError<UpdateDocumentDefaultVersionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDocumentDefaultVersion, AwsResponseRetryClassifier>, SdkError<UpdateDocumentDefaultVersionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateDocumentDefaultVersionOutput, SdkError<UpdateDocumentDefaultVersionError>>
pub async fn send(
self
) -> Result<UpdateDocumentDefaultVersionOutput, SdkError<UpdateDocumentDefaultVersionError>>
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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of a custom document that you want to set as the default version.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of a custom document that you want to set as the default version.
sourcepub fn document_version(self, input: impl Into<String>) -> Self
pub fn document_version(self, input: impl Into<String>) -> Self
The version of a custom document that you want to set as the default version.
sourcepub fn set_document_version(self, input: Option<String>) -> Self
pub fn set_document_version(self, input: Option<String>) -> Self
The version of a custom document that you want to set as the default version.
Trait Implementations
sourceimpl Clone for UpdateDocumentDefaultVersion
impl Clone for UpdateDocumentDefaultVersion
sourcefn clone(&self) -> UpdateDocumentDefaultVersion
fn clone(&self) -> UpdateDocumentDefaultVersion
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more