aws_sdk_ssm/client/
delete_parameters.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteParameters`](crate::operation::delete_parameters::builders::DeleteParametersFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`names(impl Into<String>)`](crate::operation::delete_parameters::builders::DeleteParametersFluentBuilder::names) / [`set_names(Option<Vec::<String>>)`](crate::operation::delete_parameters::builders::DeleteParametersFluentBuilder::set_names):<br>required: **true**<br><p>The names of the parameters to delete. After deleting a parameter, wait for at least 30 seconds to create a parameter with the same name.</p><note>  <p>You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.</p> </note><br>
7    /// - On success, responds with [`DeleteParametersOutput`](crate::operation::delete_parameters::DeleteParametersOutput) with field(s):
8    ///   - [`deleted_parameters(Option<Vec::<String>>)`](crate::operation::delete_parameters::DeleteParametersOutput::deleted_parameters): <p>The names of the deleted parameters.</p>
9    ///   - [`invalid_parameters(Option<Vec::<String>>)`](crate::operation::delete_parameters::DeleteParametersOutput::invalid_parameters): <p>The names of parameters that weren't deleted because the parameters aren't valid.</p>
10    /// - On failure, responds with [`SdkError<DeleteParametersError>`](crate::operation::delete_parameters::DeleteParametersError)
11    pub fn delete_parameters(&self) -> crate::operation::delete_parameters::builders::DeleteParametersFluentBuilder {
12        crate::operation::delete_parameters::builders::DeleteParametersFluentBuilder::new(self.handle.clone())
13    }
14}