PartnerCentralAccountAPI / Client / get_qualifications_association_task

get_qualifications_association_task

PartnerCentralAccountAPI.Client.get_qualifications_association_task(**kwargs)

Retrieves the status and details of the most recent qualifications association task for your partner account. Use this operation to poll the progress of an association task initiated by StartQualificationsAssociationTask.

See also: AWS API Documentation

Request Syntax

response = client.get_qualifications_association_task(
    Catalog='string',
    Identifier='string'
)
Parameters:
  • Catalog (string) –

    [REQUIRED]

    The catalog in which to look up the qualifications association task. Valid values: AWS, Sandbox.

  • Identifier (string) –

    [REQUIRED]

    Your partner identifier. You can provide either a partner ID (for example, partner-abc123) or a partner ARN. You must own this identifier.

Return type:

dict

Returns:

Response Syntax

{
    'Catalog': 'string',
    'Arn': 'string',
    'Id': 'string',
    'TaskId': 'string',
    'Status': 'IN_PROGRESS'|'SUCCEEDED',
    'PrimaryPartner': {
        'ProfileId': 'string',
        'AccountId': 'string'
    },
    'StartedAt': datetime(2015, 1, 1),
    'EndedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • Catalog (string) –

      The catalog identifier echoed from the request.

    • Arn (string) –

      The Amazon Resource Name (ARN) that uniquely identifies your partner resource.

    • Id (string) –

      Your unique partner identifier in the AWS Partner Network.

    • TaskId (string) –

      The unique identifier of the qualifications association task, in the format pqatask-[a-z2-7]{13}.

    • Status (string) –

      The current status of the qualifications association task. Valid values: IN_PROGRESS, SUCCEEDED.

    • PrimaryPartner (dict) –

      The primary partner’s profile and account identifiers that the task is associating qualifications with.

      • ProfileId (string) –

        The unique identifier for the partner profile, in the format pprofile-*. Required in requests if AccountId is not provided.

      • AccountId (string) –

        The 12-digit AWS account ID linked to the partner profile. Required in requests if ProfileId is not provided.

    • StartedAt (datetime) –

      The timestamp when the qualifications association task started, in ISO 8601 format.

    • EndedAt (datetime) –

      The timestamp when the qualifications association task ended, in ISO 8601 format. This field is present only when the status is SUCCEEDED.

Exceptions