SSM / Paginator / DescribeInventoryDeletions

DescribeInventoryDeletions#

class SSM.Paginator.DescribeInventoryDeletions#
paginator = client.get_paginator('describe_inventory_deletions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from SSM.Client.describe_inventory_deletions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    DeletionId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • DeletionId (string) – Specify the delete inventory ID for which you want information. This ID was returned by the DeleteInventory operation.

  • 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:

dict

Returns:

Response Syntax

{
    'InventoryDeletions': [
        {
            'DeletionId': 'string',
            'TypeName': 'string',
            'DeletionStartTime': datetime(2015, 1, 1),
            'LastStatus': 'InProgress'|'Complete',
            'LastStatusMessage': 'string',
            'DeletionSummary': {
                'TotalCount': 123,
                'RemainingCount': 123,
                'SummaryItems': [
                    {
                        'Version': 'string',
                        'Count': 123,
                        'RemainingCount': 123
                    },
                ]
            },
            'LastStatusUpdateTime': datetime(2015, 1, 1)
        },
    ],

}

Response Structure

  • (dict) –

    • InventoryDeletions (list) –

      A list of status items for deleted inventory.

      • (dict) –

        Status information returned by the DeleteInventory operation.

        • DeletionId (string) –

          The deletion ID returned by the DeleteInventory operation.

        • TypeName (string) –

          The name of the inventory data type.

        • DeletionStartTime (datetime) –

          The UTC timestamp when the delete operation started.

        • LastStatus (string) –

          The status of the operation. Possible values are InProgress and Complete.

        • LastStatusMessage (string) –

          Information about the status.

        • DeletionSummary (dict) –

          Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide.

          • TotalCount (integer) –

            The total number of items to delete. This count doesn’t change during the delete operation.

          • RemainingCount (integer) –

            Remaining number of items to delete.

          • SummaryItems (list) –

            A list of counts and versions for deleted items.

            • (dict) –

              Either a count, remaining count, or a version number in a delete inventory summary.

              • Version (string) –

                The inventory type version.

              • Count (integer) –

                A count of the number of deleted items.

              • RemainingCount (integer) –

                The remaining number of items to delete.

        • LastStatusUpdateTime (datetime) –

          The UTC timestamp of when the last status report.