Struct aws_sdk_ssm::operation::update_document_default_version::builders::UpdateDocumentDefaultVersionFluentBuilder
source · pub struct UpdateDocumentDefaultVersionFluentBuilder { /* 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§
source§impl UpdateDocumentDefaultVersionFluentBuilder
impl UpdateDocumentDefaultVersionFluentBuilder
sourcepub fn as_input(&self) -> &UpdateDocumentDefaultVersionInputBuilder
pub fn as_input(&self) -> &UpdateDocumentDefaultVersionInputBuilder
Access the UpdateDocumentDefaultVersion as a reference.
sourcepub async fn send(
self
) -> Result<UpdateDocumentDefaultVersionOutput, SdkError<UpdateDocumentDefaultVersionError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateDocumentDefaultVersionOutput, SdkError<UpdateDocumentDefaultVersionError, HttpResponse>>
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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateDocumentDefaultVersionOutput, UpdateDocumentDefaultVersionError, Self>, SdkError<UpdateDocumentDefaultVersionError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateDocumentDefaultVersionOutput, UpdateDocumentDefaultVersionError, Self>, SdkError<UpdateDocumentDefaultVersionError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
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.
sourcepub fn get_document_version(&self) -> &Option<String>
pub fn get_document_version(&self) -> &Option<String>
The version of a custom document that you want to set as the default version.
Trait Implementations§
source§impl Clone for UpdateDocumentDefaultVersionFluentBuilder
impl Clone for UpdateDocumentDefaultVersionFluentBuilder
source§fn clone(&self) -> UpdateDocumentDefaultVersionFluentBuilder
fn clone(&self) -> UpdateDocumentDefaultVersionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more