Billing / Paginator / ListContractualInvestmentAttestations

ListContractualInvestmentAttestations

class Billing.Paginator.ListContractualInvestmentAttestations
paginator = client.get_paginator('list_contractual_investment_attestations')
paginate(**kwargs)

Creates an iterator that will paginate through responses from Billing.Client.list_contractual_investment_attestations().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    contractArn='string',
    investmentSummaryId='string',
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters:
  • contractArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the contract whose attestations you want to list.

  • investmentSummaryId (string) – The identifier of a specific investment summary to filter the attestations by. If omitted, attestations for all investment summaries in the contract are returned.

  • 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

{
    'items': [
        {
            'attestationId': 'string',
            'investmentName': 'string',
            'outcomeDescription': 'string',
            'investmentSummaryId': 'string',
            'investmentId': 'string',
            'attestedAt': datetime(2015, 1, 1),
            'updatedAt': datetime(2015, 1, 1),
            'attestationStatus': 'PENDING_REVIEW'|'PENDING_C_LEVEL_APPROVAL'|'PENDING_CANCELLATION'|'REJECTED'|'CANCELLED'|'DISBURSED',
            'investmentDisbursedAt': datetime(2015, 1, 1),
            'attestedValue': {
                'currencyCode': 'string',
                'currencyAmount': 'string'
            },
            'investmentDistributions': [
                {
                    'accountId': 'string',
                    'investmentAmount': {
                        'currencyCode': 'string',
                        'currencyAmount': 'string'
                    }
                },
            ],
            'rejectionReasons': [
                'string',
            ],
            'isCancellable': True|False
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • items (list) –

      The list of investment attestations submitted under the contract.

      • (dict) –

        A summary of a submitted investment attestation, as returned by ListContractualInvestmentAttestations.

        • attestationId (string) –

          The identifier of the attestation. This value is returned by CreateContractualInvestmentAttestation and is used to cancel the attestation with CancelContractualInvestmentAttestation. This value is 1–36 characters.

        • investmentName (string) –

          The name of the investment summary that contains the attested outcome. This value is 1–400 characters.

        • outcomeDescription (string) –

          The description of the attested outcome. This value is 1–2048 characters.

        • investmentSummaryId (string) –

          The identifier of the investment summary that was attested, as returned by ListContractualInvestmentSummaries.

        • investmentId (string) –

          The identifier of the investment that was attested, as returned by ListContractualInvestments.

        • attestedAt (datetime) –

          The date on which the attestation was submitted.

        • updatedAt (datetime) –

          The date on which the attestation was last updated.

        • attestationStatus (string) –

          The current status of the attestation. Valid values are PENDING_REVIEW, PENDING_C_LEVEL_APPROVAL, PENDING_CANCELLATION, REJECTED, CANCELLED, and DISBURSED. The values DISBURSED, REJECTED, and CANCELLED are terminal. The other values indicate the attestation is still in progress.

        • investmentDisbursedAt (datetime) –

          The start date on which the investment is disbursed to the investment accounts. This is not the same as the time of disbursement, but reflects the date you submitted with the attestation.

        • attestedValue (dict) –

          The monetary value attested.

          • currencyCode (string) –

            The ISO 4217 currency code for the amount (for example, USD).

          • currencyAmount (string) –

            The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

        • investmentDistributions (list) –

          The distribution of the attested investment across the eligible investment accounts. The list contains at most 200 distributions.

          • (dict) –

            An allocation of an investment disbursement to a specific recipient account. The account is the target account that receives the investment, not your account.

            • accountId (string) –

              The recipient Amazon Web Services account ID that receives this portion of the investment. This must be one of the eligible investment accounts on the contract.

            • investmentAmount (dict) –

              The monetary value allocated to the recipient account.

              • currencyCode (string) –

                The ISO 4217 currency code for the amount (for example, USD).

              • currencyAmount (string) –

                The amount as a decimal string (for example, "743.21"). Negative values represent credits that reduce a bill.

        • rejectionReasons (list) –

          The reasons the attestation was rejected. This value is present only when attestationStatus is REJECTED. The list contains at most 30 reasons.

          • (string) –

            A single reason an attestation was rejected. This value is 1–300 characters.

        • isCancellable (boolean) –

          Indicates whether the attestation can be canceled with CancelContractualInvestmentAttestation.

    • NextToken (string) –

      A token to resume pagination.