:doc:`Outposts <../../outposts>` / Client / get_outpost_billing_information

*******************************
get_outpost_billing_information
*******************************



.. py:method:: Outposts.Client.get_outpost_billing_information(**kwargs)

  

  Gets current and historical billing information about the specified Outpost.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/outposts-2019-12-03/GetOutpostBillingInformation>`_  


  **Request Syntax**
  ::

    response = client.get_outpost_billing_information(
        NextToken='string',
        MaxResults=123,
        OutpostIdentifier='string'
    )
    
  :type NextToken: string
  :param NextToken: 

    The pagination token.

    

  
  :type MaxResults: integer
  :param MaxResults: 

    The maximum page size.

    

  
  :type OutpostIdentifier: string
  :param OutpostIdentifier: **[REQUIRED]** 

    The ID or ARN of the Outpost.

    

  
  
  :rtype: 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**
  
  *   :py:class:`Outposts.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`Outposts.Client.exceptions.InternalServerException`

  
  *   :py:class:`Outposts.Client.exceptions.NotFoundException`

  