Struct aws_sdk_ssm::client::fluent_builders::UpdateOpsMetadata
source · [−]pub struct UpdateOpsMetadata { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateOpsMetadata
.
Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.
Implementations
sourceimpl UpdateOpsMetadata
impl UpdateOpsMetadata
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateOpsMetadata, AwsResponseRetryClassifier>, SdkError<UpdateOpsMetadataError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateOpsMetadata, AwsResponseRetryClassifier>, SdkError<UpdateOpsMetadataError>>
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<UpdateOpsMetadataOutput, SdkError<UpdateOpsMetadataError>>
pub async fn send(
self
) -> Result<UpdateOpsMetadataOutput, SdkError<UpdateOpsMetadataError>>
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 ops_metadata_arn(self, input: impl Into<String>) -> Self
pub fn ops_metadata_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn set_ops_metadata_arn(self, input: Option<String>) -> Self
pub fn set_ops_metadata_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the OpsMetadata Object to update.
sourcepub fn metadata_to_update(self, k: impl Into<String>, v: MetadataValue) -> Self
pub fn metadata_to_update(self, k: impl Into<String>, v: MetadataValue) -> Self
Adds a key-value pair to MetadataToUpdate
.
To override the contents of this collection use set_metadata_to_update
.
Metadata to add to an OpsMetadata object.
sourcepub fn set_metadata_to_update(
self,
input: Option<HashMap<String, MetadataValue>>
) -> Self
pub fn set_metadata_to_update(
self,
input: Option<HashMap<String, MetadataValue>>
) -> Self
Metadata to add to an OpsMetadata object.
sourcepub fn keys_to_delete(self, input: impl Into<String>) -> Self
pub fn keys_to_delete(self, input: impl Into<String>) -> Self
Appends an item to KeysToDelete
.
To override the contents of this collection use set_keys_to_delete
.
The metadata keys to delete from the OpsMetadata object.
sourcepub fn set_keys_to_delete(self, input: Option<Vec<String>>) -> Self
pub fn set_keys_to_delete(self, input: Option<Vec<String>>) -> Self
The metadata keys to delete from the OpsMetadata object.
Trait Implementations
sourceimpl Clone for UpdateOpsMetadata
impl Clone for UpdateOpsMetadata
sourcefn clone(&self) -> UpdateOpsMetadata
fn clone(&self) -> UpdateOpsMetadata
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more