Outposts / Client / get_outpost_billing_information

get_outpost_billing_information

Outposts.Client.get_outpost_billing_information(**kwargs)

Gets current and historical billing information about the specified Outpost.

See also: AWS API Documentation

Request Syntax

response = client.get_outpost_billing_information(
    NextToken='string',
    MaxResults=123,
    OutpostIdentifier='string'
)
Parameters:
  • NextToken (string) – The pagination token.

  • MaxResults (integer) – The maximum page size.

  • OutpostIdentifier (string) –

    [REQUIRED]

    The ID or ARN of the Outpost.

Return type:

dict

Returns:

Response Syntax

{
    'NextToken': 'string',
    'Subscriptions': [
        {
            'SubscriptionId': 'string',
            'SubscriptionType': 'ORIGINAL'|'RENEWAL'|'CAPACITY_INCREASE',
            'SubscriptionStatus': 'ACTIVE'|'INACTIVE'|'CANCELLED',
            'OrderIds': [
                'string',
            ],
            'BeginDate': datetime(2015, 1, 1),
            'EndDate': datetime(2015, 1, 1),
            'MonthlyRecurringPrice': 123.0,
            'UpfrontPrice': 123.0
        },
    ],
    'ContractEndDate': 'string'
}

Response Structure

  • (dict) –

    • NextToken (string) –

      The pagination token.

    • Subscriptions (list) –

      The subscription details for the specified Outpost.

      • (dict) –

        Provides information about your Amazon Web Services Outposts subscriptions.

        • SubscriptionId (string) –

          The ID of the subscription that appears on the Amazon Web Services Billing Center console.

        • SubscriptionType (string) –

          The type of subscription which can be one of the following:

          • ORIGINAL - The first order on the Amazon Web Services Outposts.

          • RENEWAL - Renewal requests, both month to month and longer term.

          • CAPACITY_INCREASE - Capacity scaling orders.

        • SubscriptionStatus (string) –

          The status of subscription which can be one of the following:

          • INACTIVE - Subscription requests that are inactive.

          • ACTIVE - Subscription requests that are in progress and have an end date in the future.

          • CANCELLED - Subscription requests that are cancelled.

        • OrderIds (list) –

          The order ID for your subscription.

          • (string) –

        • BeginDate (datetime) –

          The date your subscription starts.

        • EndDate (datetime) –

          The date your subscription ends.

        • MonthlyRecurringPrice (float) –

          The amount you are billed each month in the subscription period.

        • UpfrontPrice (float) –

          The amount billed when the subscription is created. This is a one-time charge.

    • ContractEndDate (string) –

      The date the current contract term ends for the specified Outpost. You must start the renewal or decommission process at least 5 business days before the current term for your Amazon Web Services Outposts ends. Failing to complete these steps at least 5 business days before the current term ends might result in unanticipated charges.

Exceptions

  • Outposts.Client.exceptions.AccessDeniedException

  • Outposts.Client.exceptions.InternalServerException

  • Outposts.Client.exceptions.NotFoundException