create_tape_pool
(**kwargs)¶Creates a new custom tape pool. You can use custom tape pool to enable tape retention lock on tapes that are archived in the custom pool.
See also: AWS API Documentation
Request Syntax
response = client.create_tape_pool(
PoolName='string',
StorageClass='DEEP_ARCHIVE'|'GLACIER',
RetentionLockType='COMPLIANCE'|'GOVERNANCE'|'NONE',
RetentionLockTimeInDays=123,
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The name of the new custom tape pool.
[REQUIRED]
The storage class that is associated with the new custom 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.
A list of up to 50 tags that can be assigned to tape pool. Each tag is a key-value pair.
Note
Valid characters for key and value are letters, spaces, and numbers representable in UTF-8 format, and the following special characters: + - = . _ : / @. The maximum length of a tag's key is 128 characters, and the maximum length for a tag's value is 256.
A key-value pair that helps you manage, filter, and search for your resource. Allowed characters: letters, white space, and numbers, representable in UTF-8, and the following characters: + - = . _ : /.
Tag key. The key can't start with aws:.
Value of the tag key.
dict
Response Syntax
{
'PoolARN': 'string'
}
Response Structure
(dict) --
PoolARN (string) --
The unique Amazon Resource Name (ARN) that represents the custom tape pool. Use the ListTapePools operation to return a list of tape pools for your account and Amazon Web Services Region.
Exceptions
StorageGateway.Client.exceptions.InvalidGatewayRequestException
StorageGateway.Client.exceptions.InternalServerError