aws_sdk_glue/client/
delete_usage_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 [`DeleteUsageProfile`](crate::operation::delete_usage_profile::builders::DeleteUsageProfileFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_usage_profile::builders::DeleteUsageProfileFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_usage_profile::builders::DeleteUsageProfileFluentBuilder::set_name):<br>required: **true**<br><p>The name of the usage profile to delete.</p><br>
7    /// - On success, responds with [`DeleteUsageProfileOutput`](crate::operation::delete_usage_profile::DeleteUsageProfileOutput)
8    /// - On failure, responds with [`SdkError<DeleteUsageProfileError>`](crate::operation::delete_usage_profile::DeleteUsageProfileError)
9    pub fn delete_usage_profile(&self) -> crate::operation::delete_usage_profile::builders::DeleteUsageProfileFluentBuilder {
10        crate::operation::delete_usage_profile::builders::DeleteUsageProfileFluentBuilder::new(self.handle.clone())
11    }
12}