update_automatic_tape_creation_policy
¶
update_automatic_tape_creation_policy(
automatic_tape_creation_rules: AutomaticTapeCreationRules,
gateway_arn: GatewayARN,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
) -> UpdateAutomaticTapeCreationPolicyOutput
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.
Parameters:
-
automatic_tape_creation_rules(AutomaticTapeCreationRules) –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.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.