aws_sdk_wellarchitected/client/
delete_profile.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteProfile`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_arn(impl Into<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::profile_arn) / [`set_profile_arn(Option<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::set_profile_arn):<br>required: **true**<br><p>The profile ARN.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::set_client_request_token):<br>required: **true**<br><p>A unique case-sensitive string used to ensure that this request is idempotent (executes only once).</p> <p>You should not reuse the same token for other requests. If you retry a request with the same client request token and the same parameters after the original request has completed successfully, the result of the original request is returned.</p><important>  <p>This token is listed as required, however, if you do not specify it, the Amazon Web Services SDKs automatically generate one for you. If you are not using the Amazon Web Services SDK or the CLI, you must provide this token or the request will fail.</p> </important><br>
    /// - On success, responds with [`DeleteProfileOutput`](crate::operation::delete_profile::DeleteProfileOutput)
    /// - On failure, responds with [`SdkError<DeleteProfileError>`](crate::operation::delete_profile::DeleteProfileError)
    pub fn delete_profile(&self) -> crate::operation::delete_profile::builders::DeleteProfileFluentBuilder {
        crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::new(self.handle.clone())
    }
}