BillingandCostManagementDataExports / Client / list_exports

list_exports#

BillingandCostManagementDataExports.Client.list_exports(**kwargs)#

Lists all data export definitions.

See also: AWS API Documentation

Request Syntax

response = client.list_exports(
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • MaxResults (integer) – The maximum number of objects that are returned for the request.

  • NextToken (string) – The token to retrieve the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'Exports': [
        {
            'ExportArn': 'string',
            'ExportName': 'string',
            'ExportStatus': {
                'CreatedAt': datetime(2015, 1, 1),
                'LastRefreshedAt': datetime(2015, 1, 1),
                'LastUpdatedAt': datetime(2015, 1, 1),
                'StatusCode': 'HEALTHY'|'UNHEALTHY',
                'StatusReason': 'INSUFFICIENT_PERMISSION'|'BILL_OWNER_CHANGED'|'INTERNAL_FAILURE'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Exports (list) –

      The details of the exports, including name and export status.

      • (dict) –

        The reference details for a given export.

        • ExportArn (string) –

          The Amazon Resource Name (ARN) for this export.

        • ExportName (string) –

          The name of this specific data export.

        • ExportStatus (dict) –

          The status of this specific data export.

          • CreatedAt (datetime) –

            The timestamp of when the export was created.

          • LastRefreshedAt (datetime) –

            The timestamp of when the export was last generated.

          • LastUpdatedAt (datetime) –

            The timestamp of when the export was updated.

          • StatusCode (string) –

            The status code for the request.

          • StatusReason (string) –

            The description for the status code.

    • NextToken (string) –

      The token to retrieve the next set of results.

Exceptions