Skip to main content

aws_sdk_cloudextensions/client/
delete_profile.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 [`DeleteProfile`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::set_identifier):<br>required: **true**<br>The identifier (id or name) of the profile to delete.<br>
7    /// - On success, responds with [`DeleteProfileOutput`](crate::operation::delete_profile::DeleteProfileOutput)
8    /// - On failure, responds with [`SdkError<DeleteProfileError>`](crate::operation::delete_profile::DeleteProfileError)
9    pub fn delete_profile(&self) -> crate::operation::delete_profile::builders::DeleteProfileFluentBuilder {
10        crate::operation::delete_profile::builders::DeleteProfileFluentBuilder::new(self.handle.clone())
11    }
12}