Struct aws_sdk_ssm::input::UpdateOpsMetadataInput
source · #[non_exhaustive]pub struct UpdateOpsMetadataInput { /* private fields */ }
Implementations§
source§impl UpdateOpsMetadataInput
impl UpdateOpsMetadataInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateOpsMetadata, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateOpsMetadata, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateOpsMetadata
>
Examples found in repository?
src/client.rs (line 19136)
19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateOpsMetadata,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateOpsMetadataError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::UpdateOpsMetadataOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateOpsMetadataError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateOpsMetadataInput
.
source§impl UpdateOpsMetadataInput
impl UpdateOpsMetadataInput
sourcepub fn ops_metadata_arn(&self) -> Option<&str>
pub fn ops_metadata_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn metadata_to_update(&self) -> Option<&HashMap<String, MetadataValue>>
pub fn metadata_to_update(&self) -> Option<&HashMap<String, MetadataValue>>
Metadata to add to an OpsMetadata object.
sourcepub fn keys_to_delete(&self) -> Option<&[String]>
pub fn keys_to_delete(&self) -> Option<&[String]>
The metadata keys to delete from the OpsMetadata object.
Trait Implementations§
source§impl Clone for UpdateOpsMetadataInput
impl Clone for UpdateOpsMetadataInput
source§fn clone(&self) -> UpdateOpsMetadataInput
fn clone(&self) -> UpdateOpsMetadataInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more