Struct aws_sdk_ssm::client::fluent_builders::UnlabelParameterVersion
source · [−]pub struct UnlabelParameterVersion { /* private fields */ }
Expand description
Fluent builder constructing a request to UnlabelParameterVersion
.
Remove a label or labels from a parameter.
Implementations
sourceimpl UnlabelParameterVersion
impl UnlabelParameterVersion
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UnlabelParameterVersion, AwsResponseRetryClassifier>, SdkError<UnlabelParameterVersionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UnlabelParameterVersion, AwsResponseRetryClassifier>, SdkError<UnlabelParameterVersionError>>
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<UnlabelParameterVersionOutput, SdkError<UnlabelParameterVersionError>>
pub async fn send(
self
) -> Result<UnlabelParameterVersionOutput, SdkError<UnlabelParameterVersionError>>
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 the parameter from which you want to delete one or more labels.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the parameter from which you want to delete one or more labels.
sourcepub fn parameter_version(self, input: i64) -> Self
pub fn parameter_version(self, input: i64) -> Self
The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.
sourcepub fn set_parameter_version(self, input: Option<i64>) -> Self
pub fn set_parameter_version(self, input: Option<i64>) -> Self
The specific version of the parameter which you want to delete one or more labels from. If it isn't present, the call will fail.
sourcepub fn labels(self, input: impl Into<String>) -> Self
pub fn labels(self, input: impl Into<String>) -> Self
Appends an item to Labels
.
To override the contents of this collection use set_labels
.
One or more labels to delete from the specified parameter version.
sourcepub fn set_labels(self, input: Option<Vec<String>>) -> Self
pub fn set_labels(self, input: Option<Vec<String>>) -> Self
One or more labels to delete from the specified parameter version.
Trait Implementations
sourceimpl Clone for UnlabelParameterVersion
impl Clone for UnlabelParameterVersion
sourcefn clone(&self) -> UnlabelParameterVersion
fn clone(&self) -> UnlabelParameterVersion
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more