@aws-sdk/client-partnercentral-account 3.943.0 → 3.947.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 (75) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +161 -72
  3. package/dist-cjs/runtimeConfig.browser.js +2 -2
  4. package/dist-cjs/runtimeConfig.js +3 -4
  5. package/dist-es/PartnerCentralAccount.js +4 -0
  6. package/dist-es/PartnerCentralAccountClient.js +2 -2
  7. package/dist-es/commands/GetVerificationCommand.js +16 -0
  8. package/dist-es/commands/StartVerificationCommand.js +16 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/enums.js +14 -0
  11. package/dist-es/runtimeConfig.browser.js +2 -2
  12. package/dist-es/runtimeConfig.js +2 -3
  13. package/dist-es/schemas/schemas_0.js +117 -73
  14. package/dist-types/PartnerCentralAccount.d.ts +16 -1
  15. package/dist-types/PartnerCentralAccountClient.d.ts +14 -12
  16. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  17. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  18. package/dist-types/commands/AcceptConnectionInvitationCommand.d.ts +3 -3
  19. package/dist-types/commands/AssociateAwsTrainingCertificationEmailDomainCommand.d.ts +3 -3
  20. package/dist-types/commands/CancelConnectionCommand.d.ts +3 -3
  21. package/dist-types/commands/CancelConnectionInvitationCommand.d.ts +3 -3
  22. package/dist-types/commands/CancelProfileUpdateTaskCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateConnectionInvitationCommand.d.ts +3 -3
  24. package/dist-types/commands/CreatePartnerCommand.d.ts +3 -3
  25. package/dist-types/commands/DisassociateAwsTrainingCertificationEmailDomainCommand.d.ts +3 -3
  26. package/dist-types/commands/GetAllianceLeadContactCommand.d.ts +3 -3
  27. package/dist-types/commands/GetConnectionCommand.d.ts +3 -3
  28. package/dist-types/commands/GetConnectionInvitationCommand.d.ts +3 -3
  29. package/dist-types/commands/GetConnectionPreferencesCommand.d.ts +3 -3
  30. package/dist-types/commands/GetPartnerCommand.d.ts +3 -3
  31. package/dist-types/commands/GetProfileUpdateTaskCommand.d.ts +3 -3
  32. package/dist-types/commands/GetProfileVisibilityCommand.d.ts +3 -3
  33. package/dist-types/commands/GetVerificationCommand.d.ts +107 -0
  34. package/dist-types/commands/ListConnectionInvitationsCommand.d.ts +3 -3
  35. package/dist-types/commands/ListConnectionsCommand.d.ts +3 -3
  36. package/dist-types/commands/ListPartnersCommand.d.ts +3 -3
  37. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  38. package/dist-types/commands/PutAllianceLeadContactCommand.d.ts +3 -3
  39. package/dist-types/commands/PutProfileVisibilityCommand.d.ts +3 -3
  40. package/dist-types/commands/RejectConnectionInvitationCommand.d.ts +3 -3
  41. package/dist-types/commands/SendEmailVerificationCodeCommand.d.ts +3 -3
  42. package/dist-types/commands/StartProfileUpdateTaskCommand.d.ts +3 -3
  43. package/dist-types/commands/StartVerificationCommand.d.ts +119 -0
  44. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  45. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  46. package/dist-types/commands/UpdateConnectionPreferencesCommand.d.ts +3 -3
  47. package/dist-types/commands/index.d.ts +2 -0
  48. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  49. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  50. package/dist-types/extensionConfiguration.d.ts +4 -4
  51. package/dist-types/models/PartnerCentralAccountServiceException.d.ts +1 -1
  52. package/dist-types/models/enums.d.ts +30 -0
  53. package/dist-types/models/errors.d.ts +1 -1
  54. package/dist-types/models/models_0.d.ts +245 -1
  55. package/dist-types/pagination/Interfaces.d.ts +1 -1
  56. package/dist-types/pagination/ListConnectionInvitationsPaginator.d.ts +1 -1
  57. package/dist-types/pagination/ListConnectionsPaginator.d.ts +1 -1
  58. package/dist-types/pagination/ListPartnersPaginator.d.ts +1 -1
  59. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  60. package/dist-types/runtimeConfig.d.ts +1 -1
  61. package/dist-types/runtimeConfig.native.d.ts +1 -1
  62. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  63. package/dist-types/runtimeExtensions.d.ts +1 -1
  64. package/dist-types/schemas/schemas_0.d.ts +15 -2
  65. package/dist-types/ts3.4/PartnerCentralAccount.d.ts +35 -0
  66. package/dist-types/ts3.4/PartnerCentralAccountClient.d.ts +15 -3
  67. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/GetVerificationCommand.d.ts +50 -0
  69. package/dist-types/ts3.4/commands/StartVerificationCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  71. package/dist-types/ts3.4/models/PartnerCentralAccountServiceException.d.ts +1 -1
  72. package/dist-types/ts3.4/models/enums.d.ts +18 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +93 -0
  74. package/dist-types/ts3.4/schemas/schemas_0.d.ts +14 -1
  75. package/package.json +13 -12
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CancelProfileUpdateTaskRequest, CancelProfileUpdateTaskResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelProfileUpdateTaskRequest, CancelProfileUpdateTaskResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateConnectionInvitationRequest, CreateConnectionInvitationResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateConnectionInvitationRequest, CreateConnectionInvitationResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreatePartnerRequest, CreatePartnerResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreatePartnerRequest, CreatePartnerResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DisassociateAwsTrainingCertificationEmailDomainRequest, DisassociateAwsTrainingCertificationEmailDomainResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DisassociateAwsTrainingCertificationEmailDomainRequest, DisassociateAwsTrainingCertificationEmailDomainResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetAllianceLeadContactRequest, GetAllianceLeadContactResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetAllianceLeadContactRequest, GetAllianceLeadContactResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetConnectionRequest, GetConnectionResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetConnectionRequest, GetConnectionResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetConnectionInvitationRequest, GetConnectionInvitationResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetConnectionInvitationRequest, GetConnectionInvitationResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetConnectionPreferencesRequest, GetConnectionPreferencesResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetConnectionPreferencesRequest, GetConnectionPreferencesResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetPartnerRequest, GetPartnerResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetPartnerRequest, GetPartnerResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetProfileUpdateTaskRequest, GetProfileUpdateTaskResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetProfileUpdateTaskRequest, GetProfileUpdateTaskResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { GetProfileVisibilityRequest, GetProfileVisibilityResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetProfileVisibilityRequest, GetProfileVisibilityResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { GetVerificationRequest, GetVerificationResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetVerificationCommand}.
14
+ */
15
+ export interface GetVerificationCommandInput extends GetVerificationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetVerificationCommand}.
21
+ */
22
+ export interface GetVerificationCommandOutput extends GetVerificationResponse, __MetadataBearer {
23
+ }
24
+ declare const GetVerificationCommand_base: {
25
+ new (input: GetVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<GetVerificationCommandInput, GetVerificationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: GetVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<GetVerificationCommandInput, GetVerificationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Retrieves the current status and details of a verification process for a partner account. This operation allows partners to check the progress and results of business or registrant verification processes.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PartnerCentralAccountClient, GetVerificationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
35
+ * // const { PartnerCentralAccountClient, GetVerificationCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
36
+ * // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
37
+ * const config = {}; // type is PartnerCentralAccountClientConfig
38
+ * const client = new PartnerCentralAccountClient(config);
39
+ * const input = { // GetVerificationRequest
40
+ * VerificationType: "BUSINESS_VERIFICATION" || "REGISTRANT_VERIFICATION", // required
41
+ * };
42
+ * const command = new GetVerificationCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // GetVerificationResponse
45
+ * // VerificationType: "BUSINESS_VERIFICATION" || "REGISTRANT_VERIFICATION", // required
46
+ * // VerificationStatus: "PENDING_CUSTOMER_ACTION" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "REJECTED", // required
47
+ * // VerificationStatusReason: "STRING_VALUE",
48
+ * // VerificationResponseDetails: { // VerificationResponseDetails Union: only one key present
49
+ * // BusinessVerificationResponse: { // BusinessVerificationResponse
50
+ * // BusinessVerificationDetails: { // BusinessVerificationDetails
51
+ * // LegalName: "STRING_VALUE", // required
52
+ * // RegistrationId: "STRING_VALUE", // required
53
+ * // CountryCode: "STRING_VALUE", // required
54
+ * // JurisdictionOfIncorporation: "STRING_VALUE",
55
+ * // },
56
+ * // },
57
+ * // RegistrantVerificationResponse: { // RegistrantVerificationResponse
58
+ * // CompletionUrl: "STRING_VALUE", // required
59
+ * // CompletionUrlExpiresAt: new Date("TIMESTAMP"), // required
60
+ * // },
61
+ * // },
62
+ * // StartedAt: new Date("TIMESTAMP"), // required
63
+ * // CompletedAt: new Date("TIMESTAMP"),
64
+ * // };
65
+ *
66
+ * ```
67
+ *
68
+ * @param GetVerificationCommandInput - {@link GetVerificationCommandInput}
69
+ * @returns {@link GetVerificationCommandOutput}
70
+ * @see {@link GetVerificationCommandInput} for command's `input` shape.
71
+ * @see {@link GetVerificationCommandOutput} for command's `response` shape.
72
+ * @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
73
+ *
74
+ * @throws {@link AccessDeniedException} (client fault)
75
+ * <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
76
+ *
77
+ * @throws {@link InternalServerException} (server fault)
78
+ * <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
79
+ *
80
+ * @throws {@link ResourceNotFoundException} (client fault)
81
+ * <p>The specified resource could not be found. This may occur when referencing a resource that does not exist or has been deleted.</p>
82
+ *
83
+ * @throws {@link ThrottlingException} (client fault)
84
+ * <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>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
88
+ *
89
+ * @throws {@link PartnerCentralAccountServiceException}
90
+ * <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class GetVerificationCommand extends GetVerificationCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: GetVerificationRequest;
100
+ output: GetVerificationResponse;
101
+ };
102
+ sdk: {
103
+ input: GetVerificationCommandInput;
104
+ output: GetVerificationCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListConnectionInvitationsRequest, ListConnectionInvitationsResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListConnectionInvitationsRequest, ListConnectionInvitationsResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListConnectionsRequest, ListConnectionsResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListConnectionsRequest, ListConnectionsResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListPartnersRequest, ListPartnersResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListPartnersRequest, ListPartnersResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutAllianceLeadContactRequest, PutAllianceLeadContactResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { PutAllianceLeadContactRequest, PutAllianceLeadContactResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { PutProfileVisibilityRequest, PutProfileVisibilityResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { PutProfileVisibilityRequest, PutProfileVisibilityResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { RejectConnectionInvitationRequest, RejectConnectionInvitationResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { RejectConnectionInvitationRequest, RejectConnectionInvitationResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StartProfileUpdateTaskRequest, StartProfileUpdateTaskResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StartProfileUpdateTaskRequest, StartProfileUpdateTaskResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { StartVerificationRequest, StartVerificationResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartVerificationCommand}.
14
+ */
15
+ export interface StartVerificationCommandInput extends StartVerificationRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartVerificationCommand}.
21
+ */
22
+ export interface StartVerificationCommandOutput extends StartVerificationResponse, __MetadataBearer {
23
+ }
24
+ declare const StartVerificationCommand_base: {
25
+ new (input: StartVerificationCommandInput): import("@smithy/smithy-client").CommandImpl<StartVerificationCommandInput, StartVerificationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [StartVerificationCommandInput]): import("@smithy/smithy-client").CommandImpl<StartVerificationCommandInput, StartVerificationCommandOutput, PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Initiates a new verification process for a partner account. This operation begins the verification workflow for either business registration or individual registrant identity verification as required by AWS Partner Central.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PartnerCentralAccountClient, StartVerificationCommand } from "@aws-sdk/client-partnercentral-account"; // ES Modules import
35
+ * // const { PartnerCentralAccountClient, StartVerificationCommand } = require("@aws-sdk/client-partnercentral-account"); // CommonJS import
36
+ * // import type { PartnerCentralAccountClientConfig } from "@aws-sdk/client-partnercentral-account";
37
+ * const config = {}; // type is PartnerCentralAccountClientConfig
38
+ * const client = new PartnerCentralAccountClient(config);
39
+ * const input = { // StartVerificationRequest
40
+ * ClientToken: "STRING_VALUE",
41
+ * VerificationDetails: { // VerificationDetails Union: only one key present
42
+ * BusinessVerificationDetails: { // BusinessVerificationDetails
43
+ * LegalName: "STRING_VALUE", // required
44
+ * RegistrationId: "STRING_VALUE", // required
45
+ * CountryCode: "STRING_VALUE", // required
46
+ * JurisdictionOfIncorporation: "STRING_VALUE",
47
+ * },
48
+ * RegistrantVerificationDetails: {},
49
+ * },
50
+ * };
51
+ * const command = new StartVerificationCommand(input);
52
+ * const response = await client.send(command);
53
+ * // { // StartVerificationResponse
54
+ * // VerificationType: "BUSINESS_VERIFICATION" || "REGISTRANT_VERIFICATION", // required
55
+ * // VerificationStatus: "PENDING_CUSTOMER_ACTION" || "IN_PROGRESS" || "FAILED" || "SUCCEEDED" || "REJECTED", // required
56
+ * // VerificationStatusReason: "STRING_VALUE",
57
+ * // VerificationResponseDetails: { // VerificationResponseDetails Union: only one key present
58
+ * // BusinessVerificationResponse: { // BusinessVerificationResponse
59
+ * // BusinessVerificationDetails: { // BusinessVerificationDetails
60
+ * // LegalName: "STRING_VALUE", // required
61
+ * // RegistrationId: "STRING_VALUE", // required
62
+ * // CountryCode: "STRING_VALUE", // required
63
+ * // JurisdictionOfIncorporation: "STRING_VALUE",
64
+ * // },
65
+ * // },
66
+ * // RegistrantVerificationResponse: { // RegistrantVerificationResponse
67
+ * // CompletionUrl: "STRING_VALUE", // required
68
+ * // CompletionUrlExpiresAt: new Date("TIMESTAMP"), // required
69
+ * // },
70
+ * // },
71
+ * // StartedAt: new Date("TIMESTAMP"), // required
72
+ * // CompletedAt: new Date("TIMESTAMP"),
73
+ * // };
74
+ *
75
+ * ```
76
+ *
77
+ * @param StartVerificationCommandInput - {@link StartVerificationCommandInput}
78
+ * @returns {@link StartVerificationCommandOutput}
79
+ * @see {@link StartVerificationCommandInput} for command's `input` shape.
80
+ * @see {@link StartVerificationCommandOutput} for command's `response` shape.
81
+ * @see {@link PartnerCentralAccountClientResolvedConfig | config} for PartnerCentralAccountClient's `config` shape.
82
+ *
83
+ * @throws {@link AccessDeniedException} (client fault)
84
+ * <p>The request was denied due to insufficient permissions. The caller does not have the required permissions to perform this operation.</p>
85
+ *
86
+ * @throws {@link ConflictException} (client fault)
87
+ * <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>
88
+ *
89
+ * @throws {@link InternalServerException} (server fault)
90
+ * <p>An internal server error occurred while processing the request. This is typically a temporary condition and the request may be retried.</p>
91
+ *
92
+ * @throws {@link ServiceQuotaExceededException} (client fault)
93
+ * <p>The request was rejected because it would exceed a service quota or limit. This may occur when trying to create more resources than allowed by the service limits.</p>
94
+ *
95
+ * @throws {@link ThrottlingException} (client fault)
96
+ * <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>
97
+ *
98
+ * @throws {@link ValidationException} (client fault)
99
+ * <p>The request failed validation. One or more input parameters are invalid, missing, or do not meet the required format or constraints.</p>
100
+ *
101
+ * @throws {@link PartnerCentralAccountServiceException}
102
+ * <p>Base exception class for all service exceptions from PartnerCentralAccount service.</p>
103
+ *
104
+ *
105
+ * @public
106
+ */
107
+ export declare class StartVerificationCommand extends StartVerificationCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: StartVerificationRequest;
112
+ output: StartVerificationResponse;
113
+ };
114
+ sdk: {
115
+ input: StartVerificationCommandInput;
116
+ output: StartVerificationCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateConnectionPreferencesRequest, UpdateConnectionPreferencesResponse } from "../models/models_0";
4
- import { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateConnectionPreferencesRequest, UpdateConnectionPreferencesResponse } from "../models/models_0";
4
+ import type { PartnerCentralAccountClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralAccountClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -13,6 +13,7 @@ export * from "./GetConnectionPreferencesCommand";
13
13
  export * from "./GetPartnerCommand";
14
14
  export * from "./GetProfileUpdateTaskCommand";
15
15
  export * from "./GetProfileVisibilityCommand";
16
+ export * from "./GetVerificationCommand";
16
17
  export * from "./ListConnectionInvitationsCommand";
17
18
  export * from "./ListConnectionsCommand";
18
19
  export * from "./ListPartnersCommand";
@@ -22,6 +23,7 @@ export * from "./PutProfileVisibilityCommand";
22
23
  export * from "./RejectConnectionInvitationCommand";
23
24
  export * from "./SendEmailVerificationCodeCommand";
24
25
  export * from "./StartProfileUpdateTaskCommand";
26
+ export * from "./StartVerificationCommand";
25
27
  export * from "./TagResourceCommand";
26
28
  export * from "./UntagResourceCommand";
27
29
  export * from "./UpdateConnectionPreferencesCommand";
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -7,10 +7,19 @@ export interface ClientInputEndpointParameters {
7
7
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
8
8
  region?: string | undefined | Provider<string | undefined>;
9
9
  }
10
+ /**
11
+ * @public
12
+ */
10
13
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
11
14
  defaultSigningName: string;
12
15
  };
16
+ /**
17
+ * @internal
18
+ */
13
19
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
20
+ /**
21
+ * @internal
22
+ */
14
23
  export declare const commonParams: {
15
24
  readonly UseFIPS: {
16
25
  readonly type: "builtInParams";
@@ -25,6 +34,9 @@ export declare const commonParams: {
25
34
  readonly name: "region";
26
35
  };
27
36
  };
37
+ /**
38
+ * @internal
39
+ */
28
40
  export interface EndpointParameters extends __EndpointParameters {
29
41
  UseFIPS?: boolean | undefined;
30
42
  Endpoint?: string | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**