delete_tape_pool

StorageGateway.Client.delete_tape_pool(**kwargs)

Delete a custom tape pool. A custom tape pool can only be deleted if there are no tapes in the pool and if there are no automatic tape creation policies that reference the custom tape pool.

See also: AWS API Documentation

Request Syntax

response = client.delete_tape_pool(
    PoolARN='string'
)
Parameters
PoolARN (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the custom tape pool to delete.

Return type
dict
Returns
Response Syntax
{
    'PoolARN': 'string'
}

Response Structure

  • (dict) --
    • PoolARN (string) --

      The Amazon Resource Name (ARN) of the custom tape pool being deleted.

Exceptions

  • StorageGateway.Client.exceptions.InvalidGatewayRequestException
  • StorageGateway.Client.exceptions.InternalServerError