@aws-sdk/client-partnercentral-account 3.1091.0 → 3.1093.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +163 -4
  3. package/dist-es/PartnerCentralAccount.js +10 -0
  4. package/dist-es/commands/GetQualificationsAssociationDetailsCommand.js +4 -0
  5. package/dist-es/commands/GetQualificationsAssociationTaskCommand.js +4 -0
  6. package/dist-es/commands/GetQualificationsDisassociationTaskCommand.js +4 -0
  7. package/dist-es/commands/StartQualificationsAssociationTaskCommand.js +4 -0
  8. package/dist-es/commands/StartQualificationsDisassociationTaskCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +21 -0
  11. package/dist-es/schemas/schemas_0.js +97 -3
  12. package/dist-types/PartnerCentralAccount.d.ts +35 -0
  13. package/dist-types/PartnerCentralAccountClient.d.ts +7 -2
  14. package/dist-types/commands/GetQualificationsAssociationDetailsCommand.d.ts +101 -0
  15. package/dist-types/commands/GetQualificationsAssociationTaskCommand.d.ts +97 -0
  16. package/dist-types/commands/GetQualificationsDisassociationTaskCommand.d.ts +97 -0
  17. package/dist-types/commands/StartQualificationsAssociationTaskCommand.d.ts +104 -0
  18. package/dist-types/commands/StartQualificationsDisassociationTaskCommand.d.ts +104 -0
  19. package/dist-types/commands/index.d.ts +5 -0
  20. package/dist-types/models/enums.d.ts +45 -0
  21. package/dist-types/models/models_0.d.ts +322 -1
  22. package/dist-types/schemas/schemas_0.d.ts +16 -0
  23. package/dist-types/ts3.4/PartnerCentralAccount.d.ts +85 -0
  24. package/dist-types/ts3.4/PartnerCentralAccountClient.d.ts +30 -0
  25. package/dist-types/ts3.4/commands/GetQualificationsAssociationDetailsCommand.d.ts +42 -0
  26. package/dist-types/ts3.4/commands/GetQualificationsAssociationTaskCommand.d.ts +42 -0
  27. package/dist-types/ts3.4/commands/GetQualificationsDisassociationTaskCommand.d.ts +42 -0
  28. package/dist-types/ts3.4/commands/StartQualificationsAssociationTaskCommand.d.ts +42 -0
  29. package/dist-types/ts3.4/commands/StartQualificationsDisassociationTaskCommand.d.ts +42 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  31. package/dist-types/ts3.4/models/enums.d.ts +27 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +78 -0
  33. package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
  34. package/package.json +3 -3
@@ -0,0 +1,104 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartQualificationsAssociationTaskRequest, StartQualificationsAssociationTaskResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartQualificationsAssociationTaskCommand}.
11
+ */
12
+ export interface StartQualificationsAssociationTaskCommandInput extends StartQualificationsAssociationTaskRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartQualificationsAssociationTaskCommand}.
18
+ */
19
+ export interface StartQualificationsAssociationTaskCommandOutput extends StartQualificationsAssociationTaskResponse, __MetadataBearer {
20
+ }
21
+ declare const StartQualificationsAssociationTaskCommand_base: {
22
+ new (input: StartQualificationsAssociationTaskCommandInput): import("@smithy/core/client").CommandImpl<StartQualificationsAssociationTaskCommandInput, StartQualificationsAssociationTaskCommandOutput, import("..").PartnerCentralAccountClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartQualificationsAssociationTaskCommandInput): import("@smithy/core/client").CommandImpl<StartQualificationsAssociationTaskCommandInput, StartQualificationsAssociationTaskCommandOutput, import("..").PartnerCentralAccountClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>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 <code>GetQualificationsAssociationTask</code> to monitor task progress.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralAccountClient, StartQualificationsAssociationTaskCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
32
+ * // const { PartnerCentralAccountClient, StartQualificationsAssociationTaskCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
33
+ * // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
34
+ * const config = {}; // type is PartnerCentralAccountClientConfig
35
+ * const client = new PartnerCentralAccountClient(config);
36
+ * const input = { // StartQualificationsAssociationTaskRequest
37
+ * Catalog: "STRING_VALUE", // required
38
+ * Identifier: "STRING_VALUE", // required
39
+ * ClientToken: "STRING_VALUE",
40
+ * PrimaryPartner: { // QualificationsAssociationPartner
41
+ * ProfileId: "STRING_VALUE",
42
+ * AccountId: "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new StartQualificationsAssociationTaskCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartQualificationsAssociationTaskResponse
48
+ * // Catalog: "STRING_VALUE", // required
49
+ * // Arn: "STRING_VALUE", // required
50
+ * // Id: "STRING_VALUE", // required
51
+ * // TaskId: "STRING_VALUE", // required
52
+ * // Status: "IN_PROGRESS" || "SUCCEEDED", // required
53
+ * // PrimaryPartner: { // QualificationsAssociationPartner
54
+ * // ProfileId: "STRING_VALUE",
55
+ * // AccountId: "STRING_VALUE",
56
+ * // },
57
+ * // StartedAt: new Date("TIMESTAMP"), // required
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param StartQualificationsAssociationTaskCommandInput - {@link StartQualificationsAssociationTaskCommandInput}
63
+ * @returns {@link StartQualificationsAssociationTaskCommandOutput}
64
+ * @see {@link StartQualificationsAssociationTaskCommandInput} for command's `input` shape.
65
+ * @see {@link StartQualificationsAssociationTaskCommandOutput} for command's `response` shape.
66
+ * @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
70
+ *
71
+ * @throws {@link ConflictException} (client fault)
72
+ * <p>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.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>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.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
85
+ *
86
+ * @throws {@link PartnerCentralAccountServiceException}
87
+ * <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class StartQualificationsAssociationTaskCommand extends StartQualificationsAssociationTaskCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: StartQualificationsAssociationTaskRequest;
97
+ output: StartQualificationsAssociationTaskResponse;
98
+ };
99
+ sdk: {
100
+ input: StartQualificationsAssociationTaskCommandInput;
101
+ output: StartQualificationsAssociationTaskCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -0,0 +1,104 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartQualificationsDisassociationTaskRequest, StartQualificationsDisassociationTaskResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartQualificationsDisassociationTaskCommand}.
11
+ */
12
+ export interface StartQualificationsDisassociationTaskCommandInput extends StartQualificationsDisassociationTaskRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartQualificationsDisassociationTaskCommand}.
18
+ */
19
+ export interface StartQualificationsDisassociationTaskCommandOutput extends StartQualificationsDisassociationTaskResponse, __MetadataBearer {
20
+ }
21
+ declare const StartQualificationsDisassociationTaskCommand_base: {
22
+ new (input: StartQualificationsDisassociationTaskCommandInput): import("@smithy/core/client").CommandImpl<StartQualificationsDisassociationTaskCommandInput, StartQualificationsDisassociationTaskCommandOutput, import("..").PartnerCentralAccountClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartQualificationsDisassociationTaskCommandInput): import("@smithy/core/client").CommandImpl<StartQualificationsDisassociationTaskCommandInput, StartQualificationsDisassociationTaskCommandOutput, import("..").PartnerCentralAccountClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Initiates an asynchronous task to disassociate your partner qualifications from a primary account. You must currently be associated and cannot disassociate if you are the primary partner. Use <code>GetQualificationsDisassociationTask</code> to monitor task progress.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralAccountClient, StartQualificationsDisassociationTaskCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
32
+ * // const { PartnerCentralAccountClient, StartQualificationsDisassociationTaskCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
33
+ * // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
34
+ * const config = {}; // type is PartnerCentralAccountClientConfig
35
+ * const client = new PartnerCentralAccountClient(config);
36
+ * const input = { // StartQualificationsDisassociationTaskRequest
37
+ * Catalog: "STRING_VALUE", // required
38
+ * Identifier: "STRING_VALUE", // required
39
+ * ClientToken: "STRING_VALUE",
40
+ * AssociatedPartner: { // QualificationsAssociationPartner
41
+ * ProfileId: "STRING_VALUE",
42
+ * AccountId: "STRING_VALUE",
43
+ * },
44
+ * };
45
+ * const command = new StartQualificationsDisassociationTaskCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // StartQualificationsDisassociationTaskResponse
48
+ * // Catalog: "STRING_VALUE", // required
49
+ * // Arn: "STRING_VALUE", // required
50
+ * // Id: "STRING_VALUE", // required
51
+ * // TaskId: "STRING_VALUE", // required
52
+ * // Status: "IN_PROGRESS" || "SUCCEEDED", // required
53
+ * // AssociatedPartner: { // QualificationsAssociationPartner
54
+ * // ProfileId: "STRING_VALUE",
55
+ * // AccountId: "STRING_VALUE",
56
+ * // },
57
+ * // StartedAt: new Date("TIMESTAMP"), // required
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param StartQualificationsDisassociationTaskCommandInput - {@link StartQualificationsDisassociationTaskCommandInput}
63
+ * @returns {@link StartQualificationsDisassociationTaskCommandOutput}
64
+ * @see {@link StartQualificationsDisassociationTaskCommandInput} for command's `input` shape.
65
+ * @see {@link StartQualificationsDisassociationTaskCommandOutput} for command's `response` shape.
66
+ * @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
70
+ *
71
+ * @throws {@link ConflictException} (client fault)
72
+ * <p>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.</p>
73
+ *
74
+ * @throws {@link InternalServerException} (server fault)
75
+ * <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
79
+ *
80
+ * @throws {@link ThrottlingException} (client fault)
81
+ * <p>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.</p>
82
+ *
83
+ * @throws {@link ValidationException} (client fault)
84
+ * <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
85
+ *
86
+ * @throws {@link PartnerCentralAccountServiceException}
87
+ * <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
88
+ *
89
+ *
90
+ * @public
91
+ */
92
+ export declare class StartQualificationsDisassociationTaskCommand extends StartQualificationsDisassociationTaskCommand_base {
93
+ /** @internal type navigation helper, not in runtime. */
94
+ protected static __types: {
95
+ api: {
96
+ input: StartQualificationsDisassociationTaskRequest;
97
+ output: StartQualificationsDisassociationTaskResponse;
98
+ };
99
+ sdk: {
100
+ input: StartQualificationsDisassociationTaskCommandInput;
101
+ output: StartQualificationsDisassociationTaskCommandOutput;
102
+ };
103
+ };
104
+ }
@@ -13,6 +13,9 @@ export * from "./GetConnectionPreferencesCommand";
13
13
  export * from "./GetPartnerCommand";
14
14
  export * from "./GetProfileUpdateTaskCommand";
15
15
  export * from "./GetProfileVisibilityCommand";
16
+ export * from "./GetQualificationsAssociationDetailsCommand";
17
+ export * from "./GetQualificationsAssociationTaskCommand";
18
+ export * from "./GetQualificationsDisassociationTaskCommand";
16
19
  export * from "./GetVerificationCommand";
17
20
  export * from "./ListConnectionInvitationsCommand";
18
21
  export * from "./ListConnectionsCommand";
@@ -23,6 +26,8 @@ export * from "./PutProfileVisibilityCommand";
23
26
  export * from "./RejectConnectionInvitationCommand";
24
27
  export * from "./SendEmailVerificationCodeCommand";
25
28
  export * from "./StartProfileUpdateTaskCommand";
29
+ export * from "./StartQualificationsAssociationTaskCommand";
30
+ export * from "./StartQualificationsDisassociationTaskCommand";
26
31
  export * from "./StartVerificationCommand";
27
32
  export * from "./TagResourceCommand";
28
33
  export * from "./UntagResourceCommand";
@@ -50,6 +50,7 @@ export declare const ConflictExceptionReason: {
50
50
  readonly INCOMPATIBLE_CONNECTION_STATE: "INCOMPATIBLE_CONNECTION_STATE";
51
51
  readonly INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE: "INCOMPATIBLE_PARTNER_PROFILE_TASK_STATE";
52
52
  readonly INCOMPATIBLE_PROFILE_STATE: "INCOMPATIBLE_PROFILE_STATE";
53
+ readonly INCOMPATIBLE_QUALIFICATIONS_ASSOCIATION_TASK_STATE: "INCOMPATIBLE_QUALIFICATIONS_ASSOCIATION_TASK_STATE";
53
54
  readonly VERIFICATION_ALREADY_IN_PROGRESS: "VERIFICATION_ALREADY_IN_PROGRESS";
54
55
  };
55
56
  /**
@@ -67,6 +68,8 @@ export declare const ResourceNotFoundExceptionReason: {
67
68
  readonly PARTNER_NOT_FOUND: "PARTNER_NOT_FOUND";
68
69
  readonly PARTNER_PROFILE_NOT_FOUND: "PARTNER_PROFILE_NOT_FOUND";
69
70
  readonly PARTNER_PROFILE_TASK_NOT_FOUND: "PARTNER_PROFILE_TASK_NOT_FOUND";
71
+ readonly QUALIFICATIONS_ASSOCIATION_TASK_NOT_FOUND: "QUALIFICATIONS_ASSOCIATION_TASK_NOT_FOUND";
72
+ readonly QUALIFICATIONS_DISASSOCIATION_TASK_NOT_FOUND: "QUALIFICATIONS_DISASSOCIATION_TASK_NOT_FOUND";
70
73
  readonly RECEIVER_PROFILE_NOT_FOUND: "RECEIVER_PROFILE_NOT_FOUND";
71
74
  readonly SENDER_PROFILE_NOT_FOUND: "SENDER_PROFILE_NOT_FOUND";
72
75
  readonly VERIFICATION_NOT_FOUND: "VERIFICATION_NOT_FOUND";
@@ -102,9 +105,15 @@ export declare const BusinessValidationCode: {
102
105
  readonly INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS: "INCOMPATIBLE_IDENTITY_VERIFICATION_STATUS";
103
106
  readonly INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS: "INCOMPATIBLE_KNOW_YOUR_BUSINESS_STATUS";
104
107
  readonly INCOMPATIBLE_LEGAL_NAME: "INCOMPATIBLE_LEGAL_NAME";
108
+ readonly INCOMPATIBLE_PRIMARY_PARTNER: "INCOMPATIBLE_PRIMARY_PARTNER";
109
+ readonly INCOMPATIBLE_SUBSIDIARY_CONNECTION: "INCOMPATIBLE_SUBSIDIARY_CONNECTION";
105
110
  readonly INELIGIBLE_ACCOUNT_TIER: "INELIGIBLE_ACCOUNT_TIER";
106
111
  readonly INVALID_ACCOUNT_LINKING_STATUS: "INVALID_ACCOUNT_LINKING_STATUS";
107
112
  readonly INVALID_ACCOUNT_STATE: "INVALID_ACCOUNT_STATE";
113
+ readonly MISSING_ACTIVE_SUBSIDIARY_CONNECTION: "MISSING_ACTIVE_SUBSIDIARY_CONNECTION";
114
+ readonly QUALIFICATIONS_ASSOCIATION_EXISTS: "QUALIFICATIONS_ASSOCIATION_EXISTS";
115
+ readonly QUALIFICATIONS_ASSOCIATION_LIMIT_EXCEEDED: "QUALIFICATIONS_ASSOCIATION_LIMIT_EXCEEDED";
116
+ readonly QUALIFICATIONS_ASSOCIATION_NOT_FOUND: "QUALIFICATIONS_ASSOCIATION_NOT_FOUND";
108
117
  };
109
118
  /**
110
119
  * @public
@@ -287,6 +296,42 @@ export declare const ProfileVisibility: {
287
296
  * @public
288
297
  */
289
298
  export type ProfileVisibility = (typeof ProfileVisibility)[keyof typeof ProfileVisibility];
299
+ /**
300
+ * @public
301
+ * @enum
302
+ */
303
+ export declare const QualificationsAssociationStatus: {
304
+ readonly ASSOCIATED: "ASSOCIATED";
305
+ readonly NOT_ASSOCIATED: "NOT_ASSOCIATED";
306
+ };
307
+ /**
308
+ * @public
309
+ */
310
+ export type QualificationsAssociationStatus = (typeof QualificationsAssociationStatus)[keyof typeof QualificationsAssociationStatus];
311
+ /**
312
+ * @public
313
+ * @enum
314
+ */
315
+ export declare const QualificationsAssociationTaskStatus: {
316
+ readonly IN_PROGRESS: "IN_PROGRESS";
317
+ readonly SUCCEEDED: "SUCCEEDED";
318
+ };
319
+ /**
320
+ * @public
321
+ */
322
+ export type QualificationsAssociationTaskStatus = (typeof QualificationsAssociationTaskStatus)[keyof typeof QualificationsAssociationTaskStatus];
323
+ /**
324
+ * @public
325
+ * @enum
326
+ */
327
+ export declare const QualificationsDisassociationTaskStatus: {
328
+ readonly IN_PROGRESS: "IN_PROGRESS";
329
+ readonly SUCCEEDED: "SUCCEEDED";
330
+ };
331
+ /**
332
+ * @public
333
+ */
334
+ export type QualificationsDisassociationTaskStatus = (typeof QualificationsDisassociationTaskStatus)[keyof typeof QualificationsDisassociationTaskStatus];
290
335
  /**
291
336
  * @public
292
337
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AccessType, BusinessValidationCode, ConnectionType, ConnectionTypeStatus, FieldValidationCode, IndustrySegment, InvitationStatus, ParticipantType, PrimarySolutionType, ProfileTaskStatus, ProfileValidationErrorReason, ProfileVisibility, VerificationStatus, VerificationType } from "./enums";
1
+ import type { AccessType, BusinessValidationCode, ConnectionType, ConnectionTypeStatus, FieldValidationCode, IndustrySegment, InvitationStatus, ParticipantType, PrimarySolutionType, ProfileTaskStatus, ProfileValidationErrorReason, ProfileVisibility, QualificationsAssociationStatus, QualificationsAssociationTaskStatus, QualificationsDisassociationTaskStatus, VerificationStatus, VerificationType } from "./enums";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -351,6 +351,22 @@ export interface AssociateAwsTrainingCertificationEmailDomainRequest {
351
351
  */
352
352
  export interface AssociateAwsTrainingCertificationEmailDomainResponse {
353
353
  }
354
+ /**
355
+ * <p>Identifies a partner in a qualifications association group. Contains the partner's profile identifier and AWS account identifier. In requests, provide at least one of <code>ProfileId</code> or <code>AccountId</code>. In responses, both fields are populated.</p>
356
+ * @public
357
+ */
358
+ export interface QualificationsAssociationPartner {
359
+ /**
360
+ * <p>The unique identifier for the partner profile, in the format <code>pprofile-*</code>. Required in requests if <code>AccountId</code> is not provided.</p>
361
+ * @public
362
+ */
363
+ ProfileId?: string | undefined;
364
+ /**
365
+ * <p>The 12-digit AWS account ID linked to the partner profile. Required in requests if <code>ProfileId</code> is not provided.</p>
366
+ * @public
367
+ */
368
+ AccountId?: string | undefined;
369
+ }
354
370
  /**
355
371
  * <p>Contains the business information required for verifying a company's legal status and registration details within AWS Partner Central.</p>
356
372
  * @public
@@ -1807,6 +1823,181 @@ export interface GetProfileVisibilityResponse {
1807
1823
  */
1808
1824
  ProfileId: string | undefined;
1809
1825
  }
1826
+ /**
1827
+ * @public
1828
+ */
1829
+ export interface GetQualificationsAssociationDetailsRequest {
1830
+ /**
1831
+ * <p>The catalog in which to look up the qualifications association. Valid values: <code>AWS</code>, <code>Sandbox</code>.</p>
1832
+ * @public
1833
+ */
1834
+ Catalog: string | undefined;
1835
+ /**
1836
+ * <p>Your partner identifier. You can provide either a partner ID (for example, <code>partner-abc123</code>) or a partner ARN. You must own this identifier.</p>
1837
+ * @public
1838
+ */
1839
+ Identifier: string | undefined;
1840
+ }
1841
+ /**
1842
+ * @public
1843
+ */
1844
+ export interface GetQualificationsAssociationDetailsResponse {
1845
+ /**
1846
+ * <p>The catalog identifier echoed from the request.</p>
1847
+ * @public
1848
+ */
1849
+ Catalog: string | undefined;
1850
+ /**
1851
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies your partner resource.</p>
1852
+ * @public
1853
+ */
1854
+ Arn: string | undefined;
1855
+ /**
1856
+ * <p>Your unique partner identifier in the AWS Partner Network.</p>
1857
+ * @public
1858
+ */
1859
+ Id: string | undefined;
1860
+ /**
1861
+ * <p>The current qualifications association status. Valid values: <code>ASSOCIATED</code> (the partner is associated with a primary), <code>NOT_ASSOCIATED</code> (the partner has no active association).</p>
1862
+ * @public
1863
+ */
1864
+ Status: QualificationsAssociationStatus | undefined;
1865
+ /**
1866
+ * <p>The primary partner's profile and account identifiers. This field is null when the status is <code>NOT_ASSOCIATED</code>.</p>
1867
+ * @public
1868
+ */
1869
+ PrimaryPartner?: QualificationsAssociationPartner | undefined;
1870
+ /**
1871
+ * <p>The list of all partner profile and account identifiers currently associated under the primary partner. This field is null when the status is <code>NOT_ASSOCIATED</code>.</p>
1872
+ * @public
1873
+ */
1874
+ AssociatedPartners?: QualificationsAssociationPartner[] | undefined;
1875
+ /**
1876
+ * <p>The timestamp when the qualifications association was last updated, in ISO 8601 format. This field is null when the status is <code>NOT_ASSOCIATED</code>.</p>
1877
+ * @public
1878
+ */
1879
+ UpdatedAt?: Date | undefined;
1880
+ }
1881
+ /**
1882
+ * @public
1883
+ */
1884
+ export interface GetQualificationsAssociationTaskRequest {
1885
+ /**
1886
+ * <p>The catalog in which to look up the qualifications association task. Valid values: <code>AWS</code>, <code>Sandbox</code>.</p>
1887
+ * @public
1888
+ */
1889
+ Catalog: string | undefined;
1890
+ /**
1891
+ * <p>Your partner identifier. You can provide either a partner ID (for example, <code>partner-abc123</code>) or a partner ARN. You must own this identifier.</p>
1892
+ * @public
1893
+ */
1894
+ Identifier: string | undefined;
1895
+ }
1896
+ /**
1897
+ * @public
1898
+ */
1899
+ export interface GetQualificationsAssociationTaskResponse {
1900
+ /**
1901
+ * <p>The catalog identifier echoed from the request.</p>
1902
+ * @public
1903
+ */
1904
+ Catalog: string | undefined;
1905
+ /**
1906
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies your partner resource.</p>
1907
+ * @public
1908
+ */
1909
+ Arn: string | undefined;
1910
+ /**
1911
+ * <p>Your unique partner identifier in the AWS Partner Network.</p>
1912
+ * @public
1913
+ */
1914
+ Id: string | undefined;
1915
+ /**
1916
+ * <p>The unique identifier of the qualifications association task, in the format <code>pqatask-[a-z2-7]\{13\}</code>.</p>
1917
+ * @public
1918
+ */
1919
+ TaskId: string | undefined;
1920
+ /**
1921
+ * <p>The current status of the qualifications association task. Valid values: <code>IN_PROGRESS</code>, <code>SUCCEEDED</code>.</p>
1922
+ * @public
1923
+ */
1924
+ Status: QualificationsAssociationTaskStatus | undefined;
1925
+ /**
1926
+ * <p>The primary partner's profile and account identifiers that the task is associating qualifications with.</p>
1927
+ * @public
1928
+ */
1929
+ PrimaryPartner: QualificationsAssociationPartner | undefined;
1930
+ /**
1931
+ * <p>The timestamp when the qualifications association task started, in ISO 8601 format.</p>
1932
+ * @public
1933
+ */
1934
+ StartedAt: Date | undefined;
1935
+ /**
1936
+ * <p>The timestamp when the qualifications association task ended, in ISO 8601 format. This field is present only when the status is <code>SUCCEEDED</code>.</p>
1937
+ * @public
1938
+ */
1939
+ EndedAt?: Date | undefined;
1940
+ }
1941
+ /**
1942
+ * @public
1943
+ */
1944
+ export interface GetQualificationsDisassociationTaskRequest {
1945
+ /**
1946
+ * <p>The catalog in which to look up the qualifications disassociation task. Valid values: <code>AWS</code>, <code>Sandbox</code>.</p>
1947
+ * @public
1948
+ */
1949
+ Catalog: string | undefined;
1950
+ /**
1951
+ * <p>Your partner identifier. You can provide either a partner ID (for example, <code>partner-abc123</code>) or a partner ARN. You must own this identifier.</p>
1952
+ * @public
1953
+ */
1954
+ Identifier: string | undefined;
1955
+ }
1956
+ /**
1957
+ * @public
1958
+ */
1959
+ export interface GetQualificationsDisassociationTaskResponse {
1960
+ /**
1961
+ * <p>The catalog identifier echoed from the request.</p>
1962
+ * @public
1963
+ */
1964
+ Catalog: string | undefined;
1965
+ /**
1966
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies your partner resource.</p>
1967
+ * @public
1968
+ */
1969
+ Arn: string | undefined;
1970
+ /**
1971
+ * <p>Your unique partner identifier in the AWS Partner Network.</p>
1972
+ * @public
1973
+ */
1974
+ Id: string | undefined;
1975
+ /**
1976
+ * <p>The unique identifier of the qualifications disassociation task, in the format <code>pqdtask-[a-z2-7]\{13\}</code>.</p>
1977
+ * @public
1978
+ */
1979
+ TaskId: string | undefined;
1980
+ /**
1981
+ * <p>The current status of the qualifications disassociation task. Valid values: <code>IN_PROGRESS</code>, <code>SUCCEEDED</code>.</p>
1982
+ * @public
1983
+ */
1984
+ Status: QualificationsDisassociationTaskStatus | undefined;
1985
+ /**
1986
+ * <p>The primary partner's profile and account identifiers that the task is disassociating qualifications from.</p>
1987
+ * @public
1988
+ */
1989
+ AssociatedPartner: QualificationsAssociationPartner | undefined;
1990
+ /**
1991
+ * <p>The timestamp when the qualifications disassociation task started, in ISO 8601 format.</p>
1992
+ * @public
1993
+ */
1994
+ StartedAt: Date | undefined;
1995
+ /**
1996
+ * <p>The timestamp when the qualifications disassociation task ended, in ISO 8601 format. This field is present only when the status is <code>SUCCEEDED</code>.</p>
1997
+ * @public
1998
+ */
1999
+ EndedAt?: Date | undefined;
2000
+ }
1810
2001
  /**
1811
2002
  * @public
1812
2003
  */
@@ -2174,6 +2365,136 @@ export interface StartProfileUpdateTaskResponse {
2174
2365
  */
2175
2366
  ErrorDetailList?: ErrorDetail[] | undefined;
2176
2367
  }
2368
+ /**
2369
+ * @public
2370
+ */
2371
+ export interface StartQualificationsAssociationTaskRequest {
2372
+ /**
2373
+ * <p>The catalog in which to perform the qualifications association. Valid values: <code>AWS</code>, <code>Sandbox</code>.</p>
2374
+ * @public
2375
+ */
2376
+ Catalog: string | undefined;
2377
+ /**
2378
+ * <p>Your partner identifier. You can provide either a partner ID (for example, <code>partner-abc123</code>) or a partner ARN. You must own this identifier.</p>
2379
+ * @public
2380
+ */
2381
+ Identifier: string | undefined;
2382
+ /**
2383
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
2384
+ * @public
2385
+ */
2386
+ ClientToken?: string | undefined;
2387
+ /**
2388
+ * <p>The primary (acquiring) partner's profile and account identifier to associate qualifications with. You must provide at least one of <code>ProfileId</code> or <code>AccountId</code>. You cannot specify yourself as the primary partner.</p>
2389
+ * @public
2390
+ */
2391
+ PrimaryPartner: QualificationsAssociationPartner | undefined;
2392
+ }
2393
+ /**
2394
+ * @public
2395
+ */
2396
+ export interface StartQualificationsAssociationTaskResponse {
2397
+ /**
2398
+ * <p>The catalog identifier echoed from the request.</p>
2399
+ * @public
2400
+ */
2401
+ Catalog: string | undefined;
2402
+ /**
2403
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies your partner resource.</p>
2404
+ * @public
2405
+ */
2406
+ Arn: string | undefined;
2407
+ /**
2408
+ * <p>Your unique partner identifier in the AWS Partner Network.</p>
2409
+ * @public
2410
+ */
2411
+ Id: string | undefined;
2412
+ /**
2413
+ * <p>The unique identifier of the started qualifications association task, in the format <code>pqatask-[a-z2-7]\{13\}</code>.</p>
2414
+ * @public
2415
+ */
2416
+ TaskId: string | undefined;
2417
+ /**
2418
+ * <p>The current status of the qualifications association task. The initial value is <code>IN_PROGRESS</code>.</p>
2419
+ * @public
2420
+ */
2421
+ Status: QualificationsAssociationTaskStatus | undefined;
2422
+ /**
2423
+ * <p>The resolved primary partner's profile and account identifiers, including both <code>ProfileId</code> and <code>AccountId</code>.</p>
2424
+ * @public
2425
+ */
2426
+ PrimaryPartner: QualificationsAssociationPartner | undefined;
2427
+ /**
2428
+ * <p>The timestamp when the qualifications association task started, in ISO 8601 format.</p>
2429
+ * @public
2430
+ */
2431
+ StartedAt: Date | undefined;
2432
+ }
2433
+ /**
2434
+ * @public
2435
+ */
2436
+ export interface StartQualificationsDisassociationTaskRequest {
2437
+ /**
2438
+ * <p>The catalog in which to perform the qualifications disassociation. Valid values: <code>AWS</code>, <code>Sandbox</code>.</p>
2439
+ * @public
2440
+ */
2441
+ Catalog: string | undefined;
2442
+ /**
2443
+ * <p>Your partner identifier. You can provide either a partner ID (for example, <code>partner-abc123</code>) or a partner ARN. You must own this identifier.</p>
2444
+ * @public
2445
+ */
2446
+ Identifier: string | undefined;
2447
+ /**
2448
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
2449
+ * @public
2450
+ */
2451
+ ClientToken?: string | undefined;
2452
+ /**
2453
+ * <p>The primary partner's profile and account identifier that you are currently associated with and will disassociate from. You must provide at least one of <code>ProfileId</code> or <code>AccountId</code>. The specified partner must match your current primary association.</p>
2454
+ * @public
2455
+ */
2456
+ AssociatedPartner: QualificationsAssociationPartner | undefined;
2457
+ }
2458
+ /**
2459
+ * @public
2460
+ */
2461
+ export interface StartQualificationsDisassociationTaskResponse {
2462
+ /**
2463
+ * <p>The catalog identifier echoed from the request.</p>
2464
+ * @public
2465
+ */
2466
+ Catalog: string | undefined;
2467
+ /**
2468
+ * <p>The Amazon Resource Name (ARN) that uniquely identifies your partner resource.</p>
2469
+ * @public
2470
+ */
2471
+ Arn: string | undefined;
2472
+ /**
2473
+ * <p>Your unique partner identifier in the AWS Partner Network.</p>
2474
+ * @public
2475
+ */
2476
+ Id: string | undefined;
2477
+ /**
2478
+ * <p>The unique identifier of the started qualifications disassociation task, in the format <code>pqdtask-[a-z2-7]\{13\}</code>.</p>
2479
+ * @public
2480
+ */
2481
+ TaskId: string | undefined;
2482
+ /**
2483
+ * <p>The current status of the qualifications disassociation task. The initial value is <code>IN_PROGRESS</code>.</p>
2484
+ * @public
2485
+ */
2486
+ Status: QualificationsDisassociationTaskStatus | undefined;
2487
+ /**
2488
+ * <p>The resolved primary partner's profile and account identifiers that the task is disassociating qualifications from.</p>
2489
+ * @public
2490
+ */
2491
+ AssociatedPartner: QualificationsAssociationPartner | undefined;
2492
+ /**
2493
+ * <p>The timestamp when the qualifications disassociation task started, in ISO 8601 format.</p>
2494
+ * @public
2495
+ */
2496
+ StartedAt: Date | undefined;
2497
+ }
2177
2498
  /**
2178
2499
  * @public
2179
2500
  */