aws-sdk-batch 1.119.0

AWS SDK for AWS Batch
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteConsumableResource`](crate::operation::delete_consumable_resource::builders::DeleteConsumableResourceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`consumable_resource(impl Into<String>)`](crate::operation::delete_consumable_resource::builders::DeleteConsumableResourceFluentBuilder::consumable_resource) / [`set_consumable_resource(Option<String>)`](crate::operation::delete_consumable_resource::builders::DeleteConsumableResourceFluentBuilder::set_consumable_resource):<br>required: **true**<br><p>The name or ARN of the consumable resource that will be deleted.</p><br>
    /// - On success, responds with [`DeleteConsumableResourceOutput`](crate::operation::delete_consumable_resource::DeleteConsumableResourceOutput)
    /// - On failure, responds with [`SdkError<DeleteConsumableResourceError>`](crate::operation::delete_consumable_resource::DeleteConsumableResourceError)
    pub fn delete_consumable_resource(&self) -> crate::operation::delete_consumable_resource::builders::DeleteConsumableResourceFluentBuilder {
        crate::operation::delete_consumable_resource::builders::DeleteConsumableResourceFluentBuilder::new(self.handle.clone())
    }
}