aws_sdk_storagegateway/client/
delete_automatic_tape_creation_policy.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 [`DeleteAutomaticTapeCreationPolicy`](crate::operation::delete_automatic_tape_creation_policy::builders::DeleteAutomaticTapeCreationPolicyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::delete_automatic_tape_creation_policy::builders::DeleteAutomaticTapeCreationPolicyFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::delete_automatic_tape_creation_policy::builders::DeleteAutomaticTapeCreationPolicyFluentBuilder::set_gateway_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p><br>
7    /// - On success, responds with [`DeleteAutomaticTapeCreationPolicyOutput`](crate::operation::delete_automatic_tape_creation_policy::DeleteAutomaticTapeCreationPolicyOutput) with field(s):
8    ///   - [`gateway_arn(Option<String>)`](crate::operation::delete_automatic_tape_creation_policy::DeleteAutomaticTapeCreationPolicyOutput::gateway_arn): <p>The Amazon Resource Name (ARN) of the gateway. Use the <code>ListGateways</code> operation to return a list of gateways for your account and Amazon Web Services Region.</p>
9    /// - On failure, responds with [`SdkError<DeleteAutomaticTapeCreationPolicyError>`](crate::operation::delete_automatic_tape_creation_policy::DeleteAutomaticTapeCreationPolicyError)
10    pub fn delete_automatic_tape_creation_policy(
11        &self,
12    ) -> crate::operation::delete_automatic_tape_creation_policy::builders::DeleteAutomaticTapeCreationPolicyFluentBuilder {
13        crate::operation::delete_automatic_tape_creation_policy::builders::DeleteAutomaticTapeCreationPolicyFluentBuilder::new(self.handle.clone())
14    }
15}