aws-sdk-lambda 1.121.0

AWS SDK for AWS Lambda
Documentation
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 [`DeleteCapacityProvider`](crate::operation::delete_capacity_provider::builders::DeleteCapacityProviderFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`capacity_provider_name(impl Into<String>)`](crate::operation::delete_capacity_provider::builders::DeleteCapacityProviderFluentBuilder::capacity_provider_name) / [`set_capacity_provider_name(Option<String>)`](crate::operation::delete_capacity_provider::builders::DeleteCapacityProviderFluentBuilder::set_capacity_provider_name):<br>required: **true**<br><p>The name of the capacity provider to delete.</p><br>
    /// - On success, responds with [`DeleteCapacityProviderOutput`](crate::operation::delete_capacity_provider::DeleteCapacityProviderOutput) with field(s):
    ///   - [`capacity_provider(Option<CapacityProvider>)`](crate::operation::delete_capacity_provider::DeleteCapacityProviderOutput::capacity_provider): <p>Information about the deleted capacity provider.</p>
    /// - On failure, responds with [`SdkError<DeleteCapacityProviderError>`](crate::operation::delete_capacity_provider::DeleteCapacityProviderError)
    pub fn delete_capacity_provider(&self) -> crate::operation::delete_capacity_provider::builders::DeleteCapacityProviderFluentBuilder {
        crate::operation::delete_capacity_provider::builders::DeleteCapacityProviderFluentBuilder::new(self.handle.clone())
    }
}