Struct aws_sdk_storagegateway::client::fluent_builders::UpdateAutomaticTapeCreationPolicy [−][src]
pub struct UpdateAutomaticTapeCreationPolicy<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateAutomaticTapeCreationPolicy
.
Updates the automatic tape creation policy of a gateway. Use this to update the policy with a new set of automatic tape creation rules. This is only supported for tape gateways.
By default, there is no automatic tape creation policy.
A gateway can have only one automatic tape creation policy.
Implementations
impl<C, M, R> UpdateAutomaticTapeCreationPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateAutomaticTapeCreationPolicy<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateAutomaticTapeCreationPolicyOutput, SdkError<UpdateAutomaticTapeCreationPolicyError>> where
R::Policy: SmithyRetryPolicy<UpdateAutomaticTapeCreationPolicyInputOperationOutputAlias, UpdateAutomaticTapeCreationPolicyOutput, UpdateAutomaticTapeCreationPolicyError, UpdateAutomaticTapeCreationPolicyInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateAutomaticTapeCreationPolicyOutput, SdkError<UpdateAutomaticTapeCreationPolicyError>> where
R::Policy: SmithyRetryPolicy<UpdateAutomaticTapeCreationPolicyInputOperationOutputAlias, UpdateAutomaticTapeCreationPolicyOutput, UpdateAutomaticTapeCreationPolicyError, UpdateAutomaticTapeCreationPolicyInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Appends an item to AutomaticTapeCreationRules
.
To override the contents of this collection use set_automatic_tape_creation_rules
.
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.
pub fn set_automatic_tape_creation_rules(
self,
input: Option<Vec<AutomaticTapeCreationRule>>
) -> Self
pub fn set_automatic_tape_creation_rules(
self,
input: Option<Vec<AutomaticTapeCreationRule>>
) -> Self
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.
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and Amazon Web Services Region.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateAutomaticTapeCreationPolicy<C, M, R>
impl<C, M, R> Send for UpdateAutomaticTapeCreationPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateAutomaticTapeCreationPolicy<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateAutomaticTapeCreationPolicy<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateAutomaticTapeCreationPolicy<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more