1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateAutomaticTapeCreationPolicy`](crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`automatic_tape_creation_rules(AutomaticTapeCreationRule)`](crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder::automatic_tape_creation_rules) / [`set_automatic_tape_creation_rules(Option<Vec::<AutomaticTapeCreationRule>>)`](crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder::set_automatic_tape_creation_rules):<br>required: **true**<br><p>An automatic tape creation policy consists of a list of automatic tape creation rules. The rules determine when and how to automatically create new tapes.</p><br>
    ///   - [`gateway_arn(impl Into<String>)`](crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder::gateway_arn) / [`set_gateway_arn(Option<String>)`](crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder::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>
    /// - On success, responds with [`UpdateAutomaticTapeCreationPolicyOutput`](crate::operation::update_automatic_tape_creation_policy::UpdateAutomaticTapeCreationPolicyOutput) with field(s):
    ///   - [`gateway_arn(Option<String>)`](crate::operation::update_automatic_tape_creation_policy::UpdateAutomaticTapeCreationPolicyOutput::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>
    /// - On failure, responds with [`SdkError<UpdateAutomaticTapeCreationPolicyError>`](crate::operation::update_automatic_tape_creation_policy::UpdateAutomaticTapeCreationPolicyError)
    pub fn update_automatic_tape_creation_policy(
        &self,
    ) -> crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder {
        crate::operation::update_automatic_tape_creation_policy::builders::UpdateAutomaticTapeCreationPolicyFluentBuilder::new(self.handle.clone())
    }
}