DeviceFarm / Paginator / ListOfferingTransactions

ListOfferingTransactions#

class DeviceFarm.Paginator.ListOfferingTransactions#
paginator = client.get_paginator('list_offering_transactions')
paginate(**kwargs)#

Creates an iterator that will paginate through responses from DeviceFarm.Client.list_offering_transactions().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    PaginationConfig={
        'MaxItems': 123,
        'StartingToken': 'string'
    }
)
Parameters:

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.

  • StartingToken (string) –

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

Return type:

dict

Returns:

Response Syntax

{
    'offeringTransactions': [
        {
            'offeringStatus': {
                'type': 'PURCHASE'|'RENEW'|'SYSTEM',
                'offering': {
                    'id': 'string',
                    'description': 'string',
                    'type': 'RECURRING',
                    'platform': 'ANDROID'|'IOS',
                    'recurringCharges': [
                        {
                            'cost': {
                                'amount': 123.0,
                                'currencyCode': 'USD'
                            },
                            'frequency': 'MONTHLY'
                        },
                    ]
                },
                'quantity': 123,
                'effectiveOn': datetime(2015, 1, 1)
            },
            'transactionId': 'string',
            'offeringPromotionId': 'string',
            'createdOn': datetime(2015, 1, 1),
            'cost': {
                'amount': 123.0,
                'currencyCode': 'USD'
            }
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    Returns the transaction log of the specified offerings.

    • offeringTransactions (list) –

      The audit log of subscriptions you have purchased and modified through AWS Device Farm.

      • (dict) –

        Represents the metadata of an offering transaction.

        • offeringStatus (dict) –

          The status of an offering transaction.

          • type (string) –

            The type specified for the offering status.

          • offering (dict) –

            Represents the metadata of an offering status.

            • id (string) –

              The ID that corresponds to a device offering.

            • description (string) –

              A string that describes the offering.

            • type (string) –

              The type of offering (for example, RECURRING) for a device.

            • platform (string) –

              The platform of the device (for example, ANDROID or IOS).

            • recurringCharges (list) –

              Specifies whether there are recurring charges for the offering.

              • (dict) –

                Specifies whether charges for devices are recurring.

                • cost (dict) –

                  The cost of the recurring charge.

                  • amount (float) –

                    The numerical amount of an offering or transaction.

                  • currencyCode (string) –

                    The currency code of a monetary amount. For example, USD means U.S. dollars.

                • frequency (string) –

                  The frequency in which charges recur.

          • quantity (integer) –

            The number of available devices in the offering.

          • effectiveOn (datetime) –

            The date on which the offering is effective.

        • transactionId (string) –

          The transaction ID of the offering transaction.

        • offeringPromotionId (string) –

          The ID that corresponds to a device offering promotion.

        • createdOn (datetime) –

          The date on which an offering transaction was created.

        • cost (dict) –

          The cost of an offering transaction.

          • amount (float) –

            The numerical amount of an offering or transaction.

          • currencyCode (string) –

            The currency code of a monetary amount. For example, USD means U.S. dollars.

    • NextToken (string) –

      A token to resume pagination.