@aws-sdk/client-partnercentral-account 3.1095.0 → 3.1096.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.
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1094.0";
70
+ var version = "3.1095.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -347,6 +347,7 @@ const _GQDTRe = "GetQualificationsDisassociationTaskResponse";
347
347
  const _GV = "GetVerification";
348
348
  const _GVR = "GetVerificationRequest";
349
349
  const _GVRe = "GetVerificationResponse";
350
+ const _H = "Headquarters";
350
351
  const _I = "Identifier";
351
352
  const _IE = "InviterEmail";
352
353
  const _IM = "InvitationMessage";
@@ -418,6 +419,7 @@ const _Re = "Revision";
418
419
  const _S = "Status";
419
420
  const _SA = "StartedAt";
420
421
  const _SC = "ServiceCode";
422
+ const _SCu = "SubdivisionCode";
421
423
  const _SEVC = "SendEmailVerificationCode";
422
424
  const _SEVCR = "SendEmailVerificationCodeRequest";
423
425
  const _SEVCRe = "SendEmailVerificationCodeResponse";
@@ -776,6 +778,11 @@ var GetVerificationResponse$ = [3, n0, _GVRe,
776
778
  [_VT, _VS, _VRD, _SA, _VSR, _CAo],
777
779
  [0, 0, [() => VerificationResponseDetails$, 0], 5, 0, 5], 4
778
780
  ];
781
+ var Headquarters$ = [3, n0, _H,
782
+ 0,
783
+ [_CC, _SCu],
784
+ [0, 0], 2
785
+ ];
779
786
  var ListConnectionInvitationsRequest$ = [3, n0, _LCIR,
780
787
  0,
781
788
  [_C, _NT, _CTo, _MR, _OPIt, _PT, _S],
@@ -828,8 +835,8 @@ var PartnerDomain$ = [3, n0, _PD,
828
835
  ];
829
836
  var PartnerProfile$ = [3, n0, _PPa,
830
837
  0,
831
- [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo, _PI],
832
- [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList, 0], 7
838
+ [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo, _H, _PI],
839
+ [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList, () => Headquarters$, 0], 7
833
840
  ];
834
841
  var PartnerProfileSummary$ = [3, n0, _PPS,
835
842
  0,
@@ -958,8 +965,8 @@ var TagResourceResponse$ = [3, n0, _TRRa,
958
965
  ];
959
966
  var TaskDetails$ = [3, n0, _TD,
960
967
  0,
961
- [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo],
962
- [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList], 7
968
+ [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo, _H],
969
+ [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList, () => Headquarters$], 7
963
970
  ];
964
971
  var UntagResourceRequest$ = [3, n0, _URR,
965
972
  0,
@@ -1729,6 +1736,7 @@ exports.GetVerification$ = GetVerification$;
1729
1736
  exports.GetVerificationCommand = GetVerificationCommand;
1730
1737
  exports.GetVerificationRequest$ = GetVerificationRequest$;
1731
1738
  exports.GetVerificationResponse$ = GetVerificationResponse$;
1739
+ exports.Headquarters$ = Headquarters$;
1732
1740
  exports.IndustrySegment = IndustrySegment;
1733
1741
  exports.InternalServerException = InternalServerException;
1734
1742
  exports.InternalServerException$ = InternalServerException$;
@@ -109,6 +109,7 @@ const _GQDTRe = "GetQualificationsDisassociationTaskResponse";
109
109
  const _GV = "GetVerification";
110
110
  const _GVR = "GetVerificationRequest";
111
111
  const _GVRe = "GetVerificationResponse";
112
+ const _H = "Headquarters";
112
113
  const _I = "Identifier";
113
114
  const _IE = "InviterEmail";
114
115
  const _IM = "InvitationMessage";
@@ -180,6 +181,7 @@ const _Re = "Revision";
180
181
  const _S = "Status";
181
182
  const _SA = "StartedAt";
182
183
  const _SC = "ServiceCode";
184
+ const _SCu = "SubdivisionCode";
183
185
  const _SEVC = "SendEmailVerificationCode";
184
186
  const _SEVCR = "SendEmailVerificationCodeRequest";
185
187
  const _SEVCRe = "SendEmailVerificationCodeResponse";
@@ -541,6 +543,11 @@ export var GetVerificationResponse$ = [3, n0, _GVRe,
541
543
  [_VT, _VS, _VRD, _SA, _VSR, _CAo],
542
544
  [0, 0, [() => VerificationResponseDetails$, 0], 5, 0, 5], 4
543
545
  ];
546
+ export var Headquarters$ = [3, n0, _H,
547
+ 0,
548
+ [_CC, _SCu],
549
+ [0, 0], 2
550
+ ];
544
551
  export var ListConnectionInvitationsRequest$ = [3, n0, _LCIR,
545
552
  0,
546
553
  [_C, _NT, _CTo, _MR, _OPIt, _PT, _S],
@@ -593,8 +600,8 @@ export var PartnerDomain$ = [3, n0, _PD,
593
600
  ];
594
601
  export var PartnerProfile$ = [3, n0, _PPa,
595
602
  0,
596
- [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo, _PI],
597
- [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList, 0], 7
603
+ [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo, _H, _PI],
604
+ [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList, () => Headquarters$, 0], 7
598
605
  ];
599
606
  export var PartnerProfileSummary$ = [3, n0, _PPS,
600
607
  0,
@@ -723,8 +730,8 @@ export var TagResourceResponse$ = [3, n0, _TRRa,
723
730
  ];
724
731
  export var TaskDetails$ = [3, n0, _TD,
725
732
  0,
726
- [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo],
727
- [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList], 7
733
+ [_DNi, _D, _WU, _LU, _PST, _IS, _TSL, _LCo, _H],
734
+ [0, 0, 0, 0, 0, 64 | 0, 0, () => LocalizedContentList, () => Headquarters$], 7
728
735
  ];
729
736
  export var UntagResourceRequest$ = [3, n0, _URR,
730
737
  0,
@@ -65,6 +65,10 @@ declare const CancelProfileUpdateTaskCommand_base: {
65
65
  * // Locale: "STRING_VALUE", // required
66
66
  * // },
67
67
  * // ],
68
+ * // Headquarters: { // Headquarters
69
+ * // CountryCode: "STRING_VALUE", // required
70
+ * // SubdivisionCode: "STRING_VALUE", // required
71
+ * // },
68
72
  * // },
69
73
  * // StartedAt: new Date("TIMESTAMP"), // required
70
74
  * // Status: "IN_PROGRESS" || "CANCELED" || "SUCCEEDED" || "FAILED", // required
@@ -79,6 +79,10 @@ declare const CreatePartnerCommand_base: {
79
79
  * // Locale: "STRING_VALUE", // required
80
80
  * // },
81
81
  * // ],
82
+ * // Headquarters: { // Headquarters
83
+ * // CountryCode: "STRING_VALUE", // required
84
+ * // SubdivisionCode: "STRING_VALUE", // required
85
+ * // },
82
86
  * // ProfileId: "STRING_VALUE",
83
87
  * // },
84
88
  * // AwsTrainingCertificationEmailDomains: [ // PartnerDomainList
@@ -64,6 +64,10 @@ declare const GetPartnerCommand_base: {
64
64
  * // Locale: "STRING_VALUE", // required
65
65
  * // },
66
66
  * // ],
67
+ * // Headquarters: { // Headquarters
68
+ * // CountryCode: "STRING_VALUE", // required
69
+ * // SubdivisionCode: "STRING_VALUE", // required
70
+ * // },
67
71
  * // ProfileId: "STRING_VALUE",
68
72
  * // },
69
73
  * // AwsTrainingCertificationEmailDomains: [ // PartnerDomainList
@@ -63,6 +63,10 @@ declare const GetProfileUpdateTaskCommand_base: {
63
63
  * // Locale: "STRING_VALUE", // required
64
64
  * // },
65
65
  * // ],
66
+ * // Headquarters: { // Headquarters
67
+ * // CountryCode: "STRING_VALUE", // required
68
+ * // SubdivisionCode: "STRING_VALUE", // required
69
+ * // },
66
70
  * // },
67
71
  * // StartedAt: new Date("TIMESTAMP"), // required
68
72
  * // Status: "IN_PROGRESS" || "CANCELED" || "SUCCEEDED" || "FAILED", // required
@@ -56,6 +56,10 @@ declare const StartProfileUpdateTaskCommand_base: {
56
56
  * Locale: "STRING_VALUE", // required
57
57
  * },
58
58
  * ],
59
+ * Headquarters: { // Headquarters
60
+ * CountryCode: "STRING_VALUE", // required
61
+ * SubdivisionCode: "STRING_VALUE", // required
62
+ * },
59
63
  * },
60
64
  * };
61
65
  * const command = new StartProfileUpdateTaskCommand(input);
@@ -84,6 +88,10 @@ declare const StartProfileUpdateTaskCommand_base: {
84
88
  * // Locale: "STRING_VALUE", // required
85
89
  * // },
86
90
  * // ],
91
+ * // Headquarters: { // Headquarters
92
+ * // CountryCode: "STRING_VALUE", // required
93
+ * // SubdivisionCode: "STRING_VALUE", // required
94
+ * // },
87
95
  * // },
88
96
  * // StartedAt: new Date("TIMESTAMP"), // required
89
97
  * // Status: "IN_PROGRESS" || "CANCELED" || "SUCCEEDED" || "FAILED", // required
@@ -620,6 +620,22 @@ export interface ErrorDetail {
620
620
  */
621
621
  Reason: ProfileValidationErrorReason | undefined;
622
622
  }
623
+ /**
624
+ * <p>Contains the partner's headquarters location using International Organization for Standardization (ISO) 3166 country and subdivision codes.</p>
625
+ * @public
626
+ */
627
+ export interface Headquarters {
628
+ /**
629
+ * <p>The ISO 3166-1 alpha-2 country code of the partner's headquarters. For example, <code>US</code>, <code>BR</code>, or <code>DE</code>.</p>
630
+ * @public
631
+ */
632
+ CountryCode: string | undefined;
633
+ /**
634
+ * <p>The subdivision portion of the ISO 3166-2 code for the partner's headquarters (for example, <code>SP</code> from <code>BR-SP</code>, <code>NSW</code> from <code>AU-NSW</code>, or <code>13</code> from <code>JP-13</code>).</p>
635
+ * @public
636
+ */
637
+ SubdivisionCode: string | undefined;
638
+ }
623
639
  /**
624
640
  * <p>Contains localized content for a partner profile in a specific language or locale.</p>
625
641
  * @public
@@ -696,6 +712,11 @@ export interface TaskDetails {
696
712
  * @public
697
713
  */
698
714
  LocalizedContents?: LocalizedContent[] | undefined;
715
+ /**
716
+ * <p>The ISO 3166 country and subdivision codes for the partner's headquarters location. If you omit this field, the service retains the existing headquarters value.</p>
717
+ * @public
718
+ */
719
+ Headquarters?: Headquarters | undefined;
699
720
  }
700
721
  /**
701
722
  * @public
@@ -1537,6 +1558,11 @@ export interface PartnerProfile {
1537
1558
  * @public
1538
1559
  */
1539
1560
  LocalizedContents?: LocalizedContent[] | undefined;
1561
+ /**
1562
+ * <p>The ISO 3166 country and subdivision codes for the partner's headquarters location. If no headquarters location is set, this field is not included in the response.</p>
1563
+ * @public
1564
+ */
1565
+ Headquarters?: Headquarters | undefined;
1540
1566
  /**
1541
1567
  * <p>The unique identifier of the partner profile.</p>
1542
1568
  * @public
@@ -64,6 +64,7 @@ export declare var GetQualificationsDisassociationTaskRequest$: StaticStructureS
64
64
  export declare var GetQualificationsDisassociationTaskResponse$: StaticStructureSchema;
65
65
  export declare var GetVerificationRequest$: StaticStructureSchema;
66
66
  export declare var GetVerificationResponse$: StaticStructureSchema;
67
+ export declare var Headquarters$: StaticStructureSchema;
67
68
  export declare var ListConnectionInvitationsRequest$: StaticStructureSchema;
68
69
  export declare var ListConnectionInvitationsResponse$: StaticStructureSchema;
69
70
  export declare var ListConnectionsRequest$: StaticStructureSchema;
@@ -201,6 +201,10 @@ export interface ErrorDetail {
201
201
  Message: string | undefined;
202
202
  Reason: ProfileValidationErrorReason | undefined;
203
203
  }
204
+ export interface Headquarters {
205
+ CountryCode: string | undefined;
206
+ SubdivisionCode: string | undefined;
207
+ }
204
208
  export interface LocalizedContent {
205
209
  DisplayName: string | undefined;
206
210
  Description: string | undefined;
@@ -217,6 +221,7 @@ export interface TaskDetails {
217
221
  IndustrySegments: IndustrySegment[] | undefined;
218
222
  TranslationSourceLocale: string | undefined;
219
223
  LocalizedContents?: LocalizedContent[] | undefined;
224
+ Headquarters?: Headquarters | undefined;
220
225
  }
221
226
  export interface CancelProfileUpdateTaskResponse {
222
227
  Catalog: string | undefined;
@@ -408,6 +413,7 @@ export interface PartnerProfile {
408
413
  IndustrySegments: IndustrySegment[] | undefined;
409
414
  TranslationSourceLocale: string | undefined;
410
415
  LocalizedContents?: LocalizedContent[] | undefined;
416
+ Headquarters?: Headquarters | undefined;
411
417
  ProfileId?: string | undefined;
412
418
  }
413
419
  export interface CreatePartnerResponse {
@@ -64,6 +64,7 @@ export declare var GetQualificationsDisassociationTaskRequest$: StaticStructureS
64
64
  export declare var GetQualificationsDisassociationTaskResponse$: StaticStructureSchema;
65
65
  export declare var GetVerificationRequest$: StaticStructureSchema;
66
66
  export declare var GetVerificationResponse$: StaticStructureSchema;
67
+ export declare var Headquarters$: StaticStructureSchema;
67
68
  export declare var ListConnectionInvitationsRequest$: StaticStructureSchema;
68
69
  export declare var ListConnectionInvitationsResponse$: StaticStructureSchema;
69
70
  export declare var ListConnectionsRequest$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-partnercentral-account",
3
- "version": "3.1095.0",
3
+ "version": "3.1096.0",
4
4
  "description": "AWS SDK for JavaScript Partnercentral Account Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-partnercentral-account",
6
6
  "license": "Apache-2.0",
@@ -46,8 +46,8 @@
46
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.977.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.72",
49
+ "@aws-sdk/core": "^3.977.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.73",
51
51
  "@aws-sdk/types": "^3.974.2",
52
52
  "@smithy/core": "^3.29.8",
53
53
  "@smithy/fetch-http-handler": "^5.6.10",