StorageGateway / Paginator / DescribeTapeArchives


class StorageGateway.Paginator.DescribeTapeArchives#
paginator = client.get_paginator('describe_tape_archives')

Creates an iterator that will paginate through responses from StorageGateway.Client.describe_tape_archives().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • TapeARNs (list) –

    Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

    • (string) –

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:



Response Syntax

    'TapeArchives': [
            'TapeARN': 'string',
            'TapeBarcode': 'string',
            'TapeCreatedDate': datetime(2015, 1, 1),
            'TapeSizeInBytes': 123,
            'CompletionTime': datetime(2015, 1, 1),
            'RetrievedTo': 'string',
            'TapeStatus': 'string',
            'TapeUsedInBytes': 123,
            'KMSKey': 'string',
            'PoolId': 'string',
            'Worm': True|False,
            'RetentionStartDate': datetime(2015, 1, 1),
            'PoolEntryDate': datetime(2015, 1, 1)
    'NextToken': 'string'

Response Structure

  • (dict) –


    • TapeArchives (list) –

      An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description, and tape barcode.

      • (dict) –

        Represents a virtual tape that is archived in the virtual tape shelf (VTS).

        • TapeARN (string) –

          The Amazon Resource Name (ARN) of an archived virtual tape.

        • TapeBarcode (string) –

          The barcode that identifies the archived virtual tape.

        • TapeCreatedDate (datetime) –

          The date the virtual tape was created.

        • TapeSizeInBytes (integer) –

          The size, in bytes, of the archived virtual tape.

        • CompletionTime (datetime) –

          The time that the archiving of the virtual tape was completed.

          The default timestamp format is in the ISO8601 extended YYYY-MM-DD’T’HH:MM:SS’Z’ format.

        • RetrievedTo (string) –

          The Amazon Resource Name (ARN) of the tape gateway that the virtual tape is being retrieved to.

          The virtual tape is retrieved from the virtual tape shelf (VTS).

        • TapeStatus (string) –

          The current state of the archived virtual tape.

        • TapeUsedInBytes (integer) –

          The size, in bytes, of data stored on the virtual tape.


          This value is not available for tapes created prior to May 13, 2015.

        • KMSKey (string) –

          The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted is true. Optional.

        • PoolId (string) –

          The ID of the pool that was used to archive the tape. The tapes in this pool are archived in the S3 storage class that is associated with the pool.

        • Worm (boolean) –

          Set to true if the archived tape is stored as write-once-read-many (WORM).

        • RetentionStartDate (datetime) –

          If the archived tape is subject to tape retention lock, the date that the archived tape started being retained.

        • PoolEntryDate (datetime) –

          The time that the tape entered the custom tape pool.

          The default timestamp format is in the ISO8601 extended YYYY-MM-DD’T’HH:MM:SS’Z’ format.

    • NextToken (string) –

      A token to resume pagination.