PartnerCentralAccountAPI / Client / get_qualifications_disassociation_task

get_qualifications_disassociation_task

PartnerCentralAccountAPI.Client.get_qualifications_disassociation_task(**kwargs)

Retrieves the status and details of the most recent qualifications disassociation task for your partner account. Use this operation to poll the progress of a disassociation task initiated by StartQualificationsDisassociationTask.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The catalog in which to look up the qualifications disassociation 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',
    'AssociatedPartner': {
        '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 disassociation task, in the format pqdtask-[a-z2-7]{13}.

    • Status (string) –

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

    • AssociatedPartner (dict) –

      The primary partner’s profile and account identifiers that the task is disassociating qualifications from.

      • 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 disassociation task started, in ISO 8601 format.

    • EndedAt (datetime) –

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

Exceptions

  • PartnerCentralAccountAPI.Client.exceptions.ResourceNotFoundException

  • PartnerCentralAccountAPI.Client.exceptions.AccessDeniedException

  • PartnerCentralAccountAPI.Client.exceptions.ThrottlingException

  • PartnerCentralAccountAPI.Client.exceptions.ValidationException

  • PartnerCentralAccountAPI.Client.exceptions.InternalServerException