View a markdown version of this page

StartQualificationsAssociationTask - AWS Partner Central

StartQualificationsAssociationTask

Initiates an asynchronous task to associate your partner qualifications with a primary account. You must be a subsidiary of the primary account with an active subsidiary connection. Use GetQualificationsAssociationTask to monitor task progress.

Request Syntax

{ "Catalog": "string", "ClientToken": "string", "Identifier": "string", "PrimaryPartner": { "AccountId": "string", "ProfileId": "string" } }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Note

In the following list, the required parameters are described first.

Catalog

The catalog in which to perform the qualifications association. Valid values: AWS, Sandbox.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9-]+

Required: Yes

Identifier

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: (partner-[A-Za-z0-9]{13}|arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[A-Za-z-_]+/partner/partner-[A-Za-z0-9]{13})

Required: Yes

PrimaryPartner

The primary (acquiring) partner's profile and account identifier to associate qualifications with. You must provide at least one of ProfileId or AccountId. You cannot specify yourself as the primary partner.

Type: QualificationsAssociationPartner object

Required: Yes

ClientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Za-z0-9-_]+

Required: No

Response Syntax

{ "Arn": "string", "Catalog": "string", "Id": "string", "PrimaryPartner": { "AccountId": "string", "ProfileId": "string" }, "StartedAt": "string", "Status": "string", "TaskId": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

Arn

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 200.

Pattern: arn:[a-z-]+:partnercentral:[a-z0-9-]+:[0-9]{12}:catalog/[A-Za-z-_]+/partner/partner-[A-Za-z0-9]{13}

Catalog

The catalog identifier echoed from the request.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9-]+

Id

Your unique partner identifier in the AWS Partner Network.

Type: String

Pattern: partner-[A-Za-z0-9]{13}

PrimaryPartner

The resolved primary partner's profile and account identifiers, including both ProfileId and AccountId.

Type: QualificationsAssociationPartner object

StartedAt

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

Type: Timestamp

Status

The current status of the qualifications association task. The initial value is IN_PROGRESS.

Type: String

Valid Values: IN_PROGRESS | SUCCEEDED

TaskId

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 80.

Pattern: pqatask-[A-Za-z0-9]{13}

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.

Reason

The specific reason for the access denial.

HTTP Status Code: 400

ConflictException

The request could not be completed due to a conflict with the current state of the resource. This typically occurs when trying to create a resource that already exists or modify a resource that has been changed by another process.

Reason

The specific reason for the conflict.

HTTP Status Code: 400

InternalServerException

An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.

HTTP Status Code: 500

ResourceNotFoundException

The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.

Reason

The specific reason why the resource was not found.

HTTP Status Code: 400

ThrottlingException

The request was throttled due to too many requests being sent in a short period of time. The client should implement exponential backoff and retry the request.

QuotaCode

The quota code associated with the throttling error.

ServiceCode

The service code associated with the throttling error.

HTTP Status Code: 400

ValidationException

The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.

ErrorDetails

A list of detailed validation errors that occurred during request processing.

Reason

The reason for the validation failure.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: