assign_tape_pool
¶
assign_tape_pool(
tape_arn: TapeARN,
pool_id: PoolId,
*,
config_overrides: Optional[StorageGatewayClientConfig] = None,
bypass_governance_retention: Optional[Boolean2] = None,
) -> AssignTapePoolOutput
Assigns a tape to a tape pool for archiving. The tape assigned to a pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the S3 storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
Parameters:
-
tape_arn(TapeARN) –The unique Amazon Resource Name (ARN) of the virtual tape that you want to add to the tape pool.
-
pool_id(PoolId) –The ID of the pool that you want to add your tape to for archiving. The tape in this pool is archived in the S3 storage class that is associated with the pool. When you use your backup application to eject the tape, the tape is archived directly into the storage class (S3 Glacier or S3 Glacier Deep Archive) that corresponds to the pool.
-
bypass_governance_retention(Optional[Boolean2], default:None) –Set permissions to bypass governance retention. If the lock type of the archived tape is
Governance, the tape's archived age is not older thanRetentionLockInDays, and the user does not already haveBypassGovernanceRetention, setting this to TRUE enables the user to bypass the retention lock. This parameter is set to true by default for calls from the console.Valid values:
TRUE|FALSE
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.