@aws-sdk/client-partnercentral-selling 3.1172.0 → 3.1174.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 (116) hide show
  1. package/README.md +126 -0
  2. package/dist-cjs/index.js +1380 -140
  3. package/dist-es/PartnerCentralSelling.js +52 -0
  4. package/dist-es/commands/CreateCustomerAccountCommand.js +4 -0
  5. package/dist-es/commands/DeleteCustomerAccountCommand.js +4 -0
  6. package/dist-es/commands/GetCustomerAccountBulkJobCommand.js +4 -0
  7. package/dist-es/commands/GetCustomerAccountBulkJobReportUrlCommand.js +4 -0
  8. package/dist-es/commands/GetCustomerAccountCommand.js +4 -0
  9. package/dist-es/commands/GetCustomerAccountStatisticsCommand.js +4 -0
  10. package/dist-es/commands/GetOpportunityBulkJobReportUrlCommand.js +4 -0
  11. package/dist-es/commands/ListCustomerAccountBulkJobResultsCommand.js +4 -0
  12. package/dist-es/commands/ListCustomerAccountBulkJobsCommand.js +4 -0
  13. package/dist-es/commands/ListEngagementGroupsCommand.js +4 -0
  14. package/dist-es/commands/ListOpportunityBulkJobResultsCommand.js +4 -0
  15. package/dist-es/commands/ListOpportunityBulkJobsCommand.js +4 -0
  16. package/dist-es/commands/SearchCustomerAccountsCommand.js +4 -0
  17. package/dist-es/commands/SearchEngagementsCommand.js +4 -0
  18. package/dist-es/commands/SearchOpportunitiesCommand.js +4 -0
  19. package/dist-es/commands/StartCustomerAccountBulkJobCommand.js +4 -0
  20. package/dist-es/commands/StartOpportunityBulkJobCommand.js +4 -0
  21. package/dist-es/commands/UpdateCustomerAccountCommand.js +4 -0
  22. package/dist-es/commands/index.js +18 -0
  23. package/dist-es/models/enums.js +224 -7
  24. package/dist-es/pagination/ListCustomerAccountBulkJobResultsPaginator.js +4 -0
  25. package/dist-es/pagination/ListCustomerAccountBulkJobsPaginator.js +4 -0
  26. package/dist-es/pagination/ListEngagementGroupsPaginator.js +4 -0
  27. package/dist-es/pagination/ListOpportunityBulkJobResultsPaginator.js +4 -0
  28. package/dist-es/pagination/ListOpportunityBulkJobsPaginator.js +4 -0
  29. package/dist-es/pagination/SearchCustomerAccountsPaginator.js +4 -0
  30. package/dist-es/pagination/SearchEngagementsPaginator.js +4 -0
  31. package/dist-es/pagination/SearchOpportunitiesPaginator.js +4 -0
  32. package/dist-es/pagination/index.js +8 -0
  33. package/dist-es/schemas/schemas_0.js +914 -132
  34. package/dist-types/PartnerCentralSelling.d.ts +182 -0
  35. package/dist-types/PartnerCentralSellingClient.d.ts +20 -2
  36. package/dist-types/commands/CreateCustomerAccountCommand.d.ts +118 -0
  37. package/dist-types/commands/CreateEngagementCommand.d.ts +20 -1
  38. package/dist-types/commands/CreateEngagementContextCommand.d.ts +20 -1
  39. package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +24 -1
  40. package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteCustomerAccountCommand.d.ts +82 -0
  42. package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +1 -1
  43. package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +1 -0
  44. package/dist-types/commands/GetCustomerAccountBulkJobCommand.d.ts +98 -0
  45. package/dist-types/commands/GetCustomerAccountBulkJobReportUrlCommand.d.ts +95 -0
  46. package/dist-types/commands/GetCustomerAccountCommand.d.ts +149 -0
  47. package/dist-types/commands/GetCustomerAccountStatisticsCommand.d.ts +188 -0
  48. package/dist-types/commands/GetEngagementCommand.d.ts +20 -1
  49. package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -1
  50. package/dist-types/commands/GetOpportunityBulkJobReportUrlCommand.d.ts +97 -0
  51. package/dist-types/commands/GetResourceSnapshotCommand.d.ts +1 -0
  52. package/dist-types/commands/ListCustomerAccountBulkJobResultsCommand.d.ts +99 -0
  53. package/dist-types/commands/ListCustomerAccountBulkJobsCommand.d.ts +105 -0
  54. package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +1 -1
  55. package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +1 -1
  56. package/dist-types/commands/ListEngagementGroupsCommand.d.ts +137 -0
  57. package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +2 -2
  58. package/dist-types/commands/ListEngagementsCommand.d.ts +3 -3
  59. package/dist-types/commands/ListOpportunityBulkJobResultsCommand.d.ts +99 -0
  60. package/dist-types/commands/ListOpportunityBulkJobsCommand.d.ts +106 -0
  61. package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +1 -1
  62. package/dist-types/commands/SearchCustomerAccountsCommand.d.ts +201 -0
  63. package/dist-types/commands/SearchEngagementsCommand.d.ts +331 -0
  64. package/dist-types/commands/SearchOpportunitiesCommand.d.ts +253 -0
  65. package/dist-types/commands/StartCustomerAccountBulkJobCommand.d.ts +94 -0
  66. package/dist-types/commands/StartOpportunityBulkJobCommand.d.ts +92 -0
  67. package/dist-types/commands/UpdateCustomerAccountCommand.d.ts +114 -0
  68. package/dist-types/commands/UpdateEngagementContextCommand.d.ts +11 -1
  69. package/dist-types/commands/index.d.ts +18 -0
  70. package/dist-types/models/enums.d.ts +748 -16
  71. package/dist-types/models/errors.d.ts +28 -0
  72. package/dist-types/models/models_0.d.ts +3776 -1130
  73. package/dist-types/pagination/ListCustomerAccountBulkJobResultsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListCustomerAccountBulkJobsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/ListEngagementGroupsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListOpportunityBulkJobResultsPaginator.d.ts +7 -0
  77. package/dist-types/pagination/ListOpportunityBulkJobsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/SearchCustomerAccountsPaginator.d.ts +7 -0
  79. package/dist-types/pagination/SearchEngagementsPaginator.d.ts +7 -0
  80. package/dist-types/pagination/SearchOpportunitiesPaginator.d.ts +7 -0
  81. package/dist-types/pagination/index.d.ts +8 -0
  82. package/dist-types/schemas/schemas_0.d.ts +104 -0
  83. package/dist-types/ts3.4/PartnerCentralSelling.d.ts +362 -0
  84. package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +108 -0
  85. package/dist-types/ts3.4/commands/CreateCustomerAccountCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/DeleteCustomerAccountCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/GetCustomerAccountBulkJobCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/GetCustomerAccountBulkJobReportUrlCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/GetCustomerAccountCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/GetCustomerAccountStatisticsCommand.d.ts +42 -0
  91. package/dist-types/ts3.4/commands/GetOpportunityBulkJobReportUrlCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/ListCustomerAccountBulkJobResultsCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/ListCustomerAccountBulkJobsCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/ListEngagementGroupsCommand.d.ts +39 -0
  95. package/dist-types/ts3.4/commands/ListOpportunityBulkJobResultsCommand.d.ts +42 -0
  96. package/dist-types/ts3.4/commands/ListOpportunityBulkJobsCommand.d.ts +42 -0
  97. package/dist-types/ts3.4/commands/SearchCustomerAccountsCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/SearchEngagementsCommand.d.ts +39 -0
  99. package/dist-types/ts3.4/commands/SearchOpportunitiesCommand.d.ts +39 -0
  100. package/dist-types/ts3.4/commands/StartCustomerAccountBulkJobCommand.d.ts +42 -0
  101. package/dist-types/ts3.4/commands/StartOpportunityBulkJobCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/UpdateCustomerAccountCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  104. package/dist-types/ts3.4/models/enums.d.ts +253 -9
  105. package/dist-types/ts3.4/models/models_0.d.ts +745 -11
  106. package/dist-types/ts3.4/pagination/ListCustomerAccountBulkJobResultsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListCustomerAccountBulkJobsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListEngagementGroupsPaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListOpportunityBulkJobResultsPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/ListOpportunityBulkJobsPaginator.d.ts +11 -0
  111. package/dist-types/ts3.4/pagination/SearchCustomerAccountsPaginator.d.ts +11 -0
  112. package/dist-types/ts3.4/pagination/SearchEngagementsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/SearchOpportunitiesPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/index.d.ts +8 -0
  115. package/dist-types/ts3.4/schemas/schemas_0.d.ts +104 -0
  116. package/package.json +1 -1
@@ -0,0 +1,94 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartCustomerAccountBulkJobRequest, StartCustomerAccountBulkJobResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartCustomerAccountBulkJobCommand}.
11
+ */
12
+ export interface StartCustomerAccountBulkJobCommandInput extends StartCustomerAccountBulkJobRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartCustomerAccountBulkJobCommand}.
18
+ */
19
+ export interface StartCustomerAccountBulkJobCommandOutput extends StartCustomerAccountBulkJobResponse, __MetadataBearer {
20
+ }
21
+ declare const StartCustomerAccountBulkJobCommand_base: {
22
+ new (input: StartCustomerAccountBulkJobCommandInput): import("@smithy/core/client").CommandImpl<StartCustomerAccountBulkJobCommandInput, StartCustomerAccountBulkJobCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartCustomerAccountBulkJobCommandInput): import("@smithy/core/client").CommandImpl<StartCustomerAccountBulkJobCommandInput, StartCustomerAccountBulkJobCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Use <code>StartCustomerAccountBulkJob</code> to create many customer accounts from a single file. The job starts processing as soon as it is created.</p> <p>Use <code>GetCustomerAccountBulkJob</code> to track progress, <code>ListCustomerAccountBulkJobResults</code> to review the outcome of each record, and <code>GetCustomerAccountBulkJobReportUrl</code> to download a report when the job finishes.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralSellingClient, StartCustomerAccountBulkJobCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
32
+ * // const { PartnerCentralSellingClient, StartCustomerAccountBulkJobCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
33
+ * // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
34
+ * const config = {}; // type is PartnerCentralSellingClientConfig
35
+ * const client = new PartnerCentralSellingClient(config);
36
+ * const input = { // StartCustomerAccountBulkJobRequest
37
+ * Catalog: "STRING_VALUE", // required
38
+ * ClientToken: "STRING_VALUE", // required
39
+ * FileUri: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new StartCustomerAccountBulkJobCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // StartCustomerAccountBulkJobResponse
44
+ * // Arn: "STRING_VALUE", // required
45
+ * // Id: "STRING_VALUE", // required
46
+ * // Status: "SUBMITTED" || "IN_PROGRESS" || "COMPLETED" || "FAILED", // required
47
+ * // CreatedAt: new Date("TIMESTAMP"), // required
48
+ * // };
49
+ *
50
+ * ```
51
+ *
52
+ * @param StartCustomerAccountBulkJobCommandInput - {@link StartCustomerAccountBulkJobCommandInput}
53
+ * @returns {@link StartCustomerAccountBulkJobCommandOutput}
54
+ * @see {@link StartCustomerAccountBulkJobCommandInput} for command's `input` shape.
55
+ * @see {@link StartCustomerAccountBulkJobCommandOutput} for command's `response` shape.
56
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
57
+ *
58
+ * @throws {@link AccessDeniedException} (client fault)
59
+ * <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
60
+ *
61
+ * @throws {@link ConflictException} (client fault)
62
+ * <p>This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.</p> <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.</p>
63
+ *
64
+ * @throws {@link InternalServerException} (server fault)
65
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
66
+ *
67
+ * @throws {@link ServiceQuotaExceededException} (client fault)
68
+ * <p>This error occurs when the request would cause a service quota to be exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.</p> <p>Suggested action: Review the <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> for the resource, and either reduce usage or request a quota increase.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
75
+ *
76
+ * @throws {@link PartnerCentralSellingServiceException}
77
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
78
+ *
79
+ *
80
+ * @public
81
+ */
82
+ export declare class StartCustomerAccountBulkJobCommand extends StartCustomerAccountBulkJobCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: StartCustomerAccountBulkJobRequest;
87
+ output: StartCustomerAccountBulkJobResponse;
88
+ };
89
+ sdk: {
90
+ input: StartCustomerAccountBulkJobCommandInput;
91
+ output: StartCustomerAccountBulkJobCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -0,0 +1,92 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { StartOpportunityBulkJobRequest, StartOpportunityBulkJobResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link StartOpportunityBulkJobCommand}.
11
+ */
12
+ export interface StartOpportunityBulkJobCommandInput extends StartOpportunityBulkJobRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link StartOpportunityBulkJobCommand}.
18
+ */
19
+ export interface StartOpportunityBulkJobCommandOutput extends StartOpportunityBulkJobResponse, __MetadataBearer {
20
+ }
21
+ declare const StartOpportunityBulkJobCommand_base: {
22
+ new (input: StartOpportunityBulkJobCommandInput): import("@smithy/core/client").CommandImpl<StartOpportunityBulkJobCommandInput, StartOpportunityBulkJobCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: StartOpportunityBulkJobCommandInput): import("@smithy/core/client").CommandImpl<StartOpportunityBulkJobCommandInput, StartOpportunityBulkJobCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>The <code>StartOpportunityBulkJob</code> operation creates or updates many opportunities in AWS Partner Central (Partner Central) from a single CSV file. The column headers in the file determine whether the job creates or updates opportunities.</p> <p>Returns a <code>JobId</code> for the job. Use <code>ListOpportunityBulkJobs</code> to track the job, <code>ListOpportunityBulkJobResults</code> to review each record, and <code>GetOpportunityBulkJobReportUrl</code> to download a report of the failed records.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralSellingClient, StartOpportunityBulkJobCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
32
+ * // const { PartnerCentralSellingClient, StartOpportunityBulkJobCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
33
+ * // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
34
+ * const config = {}; // type is PartnerCentralSellingClientConfig
35
+ * const client = new PartnerCentralSellingClient(config);
36
+ * const input = { // StartOpportunityBulkJobRequest
37
+ * Catalog: "STRING_VALUE", // required
38
+ * ClientToken: "STRING_VALUE", // required
39
+ * FileURI: "STRING_VALUE", // required
40
+ * FileFormat: "CSV", // required
41
+ * };
42
+ * const command = new StartOpportunityBulkJobCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // StartOpportunityBulkJobResponse
45
+ * // JobId: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param StartOpportunityBulkJobCommandInput - {@link StartOpportunityBulkJobCommandInput}
51
+ * @returns {@link StartOpportunityBulkJobCommandOutput}
52
+ * @see {@link StartOpportunityBulkJobCommandInput} for command's `input` shape.
53
+ * @see {@link StartOpportunityBulkJobCommandOutput} for command's `response` shape.
54
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.</p> <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
64
+ *
65
+ * @throws {@link ServiceQuotaExceededException} (client fault)
66
+ * <p>This error occurs when the request would cause a service quota to be exceeded. Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.</p> <p>Suggested action: Review the <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> for the resource, and either reduce usage or request a quota increase.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
73
+ *
74
+ * @throws {@link PartnerCentralSellingServiceException}
75
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
76
+ *
77
+ *
78
+ * @public
79
+ */
80
+ export declare class StartOpportunityBulkJobCommand extends StartOpportunityBulkJobCommand_base {
81
+ /** @internal type navigation helper, not in runtime. */
82
+ protected static __types: {
83
+ api: {
84
+ input: StartOpportunityBulkJobRequest;
85
+ output: StartOpportunityBulkJobResponse;
86
+ };
87
+ sdk: {
88
+ input: StartOpportunityBulkJobCommandInput;
89
+ output: StartOpportunityBulkJobCommandOutput;
90
+ };
91
+ };
92
+ }
@@ -0,0 +1,114 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { UpdateCustomerAccountRequest, UpdateCustomerAccountResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link UpdateCustomerAccountCommand}.
11
+ */
12
+ export interface UpdateCustomerAccountCommandInput extends UpdateCustomerAccountRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link UpdateCustomerAccountCommand}.
18
+ */
19
+ export interface UpdateCustomerAccountCommandOutput extends UpdateCustomerAccountResponse, __MetadataBearer {
20
+ }
21
+ declare const UpdateCustomerAccountCommand_base: {
22
+ new (input: UpdateCustomerAccountCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomerAccountCommandInput, UpdateCustomerAccountCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: UpdateCustomerAccountCommandInput): import("@smithy/core/client").CommandImpl<UpdateCustomerAccountCommandInput, UpdateCustomerAccountCommandOutput, import("..").PartnerCentralSellingClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Use <code>UpdateCustomerAccount</code> to replace the customer information on an existing customer account. AWS matches the account again with the updated information.</p> <p>To prevent concurrent changes from overwriting each other, specify the <code>LastModifiedDate</code> value that you last read for the account. If the account changed since then, the request fails with a <code>ConflictException</code>.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { PartnerCentralSellingClient, UpdateCustomerAccountCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
32
+ * // const { PartnerCentralSellingClient, UpdateCustomerAccountCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
33
+ * // import type { PartnerCentralSellingClientConfig } from "@aws-sdk/client-partnercentral-selling";
34
+ * const config = {}; // type is PartnerCentralSellingClientConfig
35
+ * const client = new PartnerCentralSellingClient(config);
36
+ * const input = { // UpdateCustomerAccountRequest
37
+ * Catalog: "STRING_VALUE", // required
38
+ * Identifier: "STRING_VALUE", // required
39
+ * Account: { // CustomerAccountData
40
+ * CompanyName: "STRING_VALUE", // required
41
+ * WebsiteUrl: "STRING_VALUE",
42
+ * Duns: "STRING_VALUE",
43
+ * Address: { // Address
44
+ * City: "STRING_VALUE",
45
+ * PostalCode: "STRING_VALUE",
46
+ * StateOrRegion: "STRING_VALUE",
47
+ * CountryCode: "US" || "AF" || "AX" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BQ" || "BA" || "BW" || "BV" || "BR" || "IO" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CG" || "CK" || "CR" || "CI" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "GF" || "PF" || "TF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GP" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HM" || "VA" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KR" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MQ" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "NF" || "MP" || "NO" || "OM" || "PK" || "PW" || "PS" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "GS" || "SS" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TL" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "UG" || "UA" || "AE" || "GB" || "UM" || "UY" || "UZ" || "VU" || "VE" || "VN" || "VG" || "VI" || "WF" || "EH" || "YE" || "ZM" || "ZW",
48
+ * StreetAddress: "STRING_VALUE",
49
+ * },
50
+ * Industry: "STRING_VALUE",
51
+ * OtherIndustry: "STRING_VALUE",
52
+ * Domain: "STRING_VALUE",
53
+ * ParentCompanyName: "STRING_VALUE",
54
+ * },
55
+ * PartnerAccountIdentifier: "STRING_VALUE",
56
+ * LastModifiedDate: new Date("TIMESTAMP"), // required
57
+ * };
58
+ * const command = new UpdateCustomerAccountCommand(input);
59
+ * const response = await client.send(command);
60
+ * // { // UpdateCustomerAccountResponse
61
+ * // Arn: "STRING_VALUE", // required
62
+ * // Id: "STRING_VALUE", // required
63
+ * // Status: "PENDING" || "ENRICHED" || "NO_MATCH_FOUND" || "ACTION_REQUIRED", // required
64
+ * // Catalog: "STRING_VALUE", // required
65
+ * // PartnerAccountIdentifier: "STRING_VALUE",
66
+ * // CreatedDate: new Date("TIMESTAMP"), // required
67
+ * // LastModifiedDate: new Date("TIMESTAMP"), // required
68
+ * // };
69
+ *
70
+ * ```
71
+ *
72
+ * @param UpdateCustomerAccountCommandInput - {@link UpdateCustomerAccountCommandInput}
73
+ * @returns {@link UpdateCustomerAccountCommandOutput}
74
+ * @see {@link UpdateCustomerAccountCommandInput} for command's `input` shape.
75
+ * @see {@link UpdateCustomerAccountCommandOutput} for command's `response` shape.
76
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
77
+ *
78
+ * @throws {@link AccessDeniedException} (client fault)
79
+ * <p>This error occurs when you don't have permission to perform the requested action.</p> <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.</p>
80
+ *
81
+ * @throws {@link ConflictException} (client fault)
82
+ * <p>This error occurs when the request can’t be processed due to a conflict with the target resource's current state, which could result from updating or deleting the resource.</p> <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.</p>
83
+ *
84
+ * @throws {@link InternalServerException} (server fault)
85
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.</p> <p>Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.</p>
86
+ *
87
+ * @throws {@link ResourceNotFoundException} (client fault)
88
+ * <p>This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.</p> <p>Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.</p>
89
+ *
90
+ * @throws {@link ThrottlingException} (client fault)
91
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.</p> <p>This error occurs when there are too many requests sent. Review the provided <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.</p>
92
+ *
93
+ * @throws {@link ValidationException} (client fault)
94
+ * <p>The input fails to satisfy the constraints specified by the service or business validation rules.</p> <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.</p>
95
+ *
96
+ * @throws {@link PartnerCentralSellingServiceException}
97
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
98
+ *
99
+ *
100
+ * @public
101
+ */
102
+ export declare class UpdateCustomerAccountCommand extends UpdateCustomerAccountCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: UpdateCustomerAccountRequest;
107
+ output: UpdateCustomerAccountResponse;
108
+ };
109
+ sdk: {
110
+ input: UpdateCustomerAccountCommandInput;
111
+ output: UpdateCustomerAccountCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -38,7 +38,7 @@ declare const UpdateEngagementContextCommand_base: {
38
38
  * EngagementIdentifier: "STRING_VALUE", // required
39
39
  * ContextIdentifier: "STRING_VALUE", // required
40
40
  * EngagementLastModifiedAt: new Date("TIMESTAMP"), // required
41
- * Type: "CustomerProject" || "Lead" || "ProspectingResult", // required
41
+ * Type: "CustomerProject" || "Lead" || "ProspectingResult" || "CustomerAccount", // required
42
42
  * Payload: { // UpdateEngagementContextPayload Union: only one key present
43
43
  * Lead: { // UpdateLeadContext
44
44
  * QualificationStatus: "STRING_VALUE",
@@ -73,6 +73,16 @@ declare const UpdateEngagementContextCommand_base: {
73
73
  * },
74
74
  * Insights: { // LeadInsights
75
75
  * LeadReadinessScore: "STRING_VALUE",
76
+ * ChannelRecommendation: { // ChannelRecommendation
77
+ * RecommendedChannel: "STRING_VALUE", // required
78
+ * BestOutreachWindows: [ // BestOutreachWindowList
79
+ * { // BestOutreachWindow
80
+ * Day: "MONDAY" || "TUESDAY" || "WEDNESDAY" || "THURSDAY" || "FRIDAY" || "SATURDAY" || "SUNDAY", // required
81
+ * StartTimeUtc: "STRING_VALUE", // required
82
+ * EndTimeUtc: "STRING_VALUE", // required
83
+ * },
84
+ * ],
85
+ * },
76
86
  * },
77
87
  * },
78
88
  * CustomerProject: { // CustomerProjectsContext
@@ -1,29 +1,41 @@
1
1
  export * from "./AcceptEngagementInvitationCommand";
2
2
  export * from "./AssignOpportunityCommand";
3
3
  export * from "./AssociateOpportunityCommand";
4
+ export * from "./CreateCustomerAccountCommand";
4
5
  export * from "./CreateEngagementCommand";
5
6
  export * from "./CreateEngagementContextCommand";
6
7
  export * from "./CreateEngagementInvitationCommand";
7
8
  export * from "./CreateOpportunityCommand";
8
9
  export * from "./CreateResourceSnapshotCommand";
9
10
  export * from "./CreateResourceSnapshotJobCommand";
11
+ export * from "./DeleteCustomerAccountCommand";
10
12
  export * from "./DeleteResourceSnapshotJobCommand";
11
13
  export * from "./DisassociateOpportunityCommand";
12
14
  export * from "./GetAwsOpportunitySummaryCommand";
15
+ export * from "./GetCustomerAccountBulkJobCommand";
16
+ export * from "./GetCustomerAccountBulkJobReportUrlCommand";
17
+ export * from "./GetCustomerAccountCommand";
18
+ export * from "./GetCustomerAccountStatisticsCommand";
13
19
  export * from "./GetEngagementCommand";
14
20
  export * from "./GetEngagementInvitationCommand";
21
+ export * from "./GetOpportunityBulkJobReportUrlCommand";
15
22
  export * from "./GetOpportunityCommand";
16
23
  export * from "./GetProspectingFromEngagementTaskCommand";
17
24
  export * from "./GetResourceSnapshotCommand";
18
25
  export * from "./GetResourceSnapshotJobCommand";
19
26
  export * from "./GetSellingSystemSettingsCommand";
27
+ export * from "./ListCustomerAccountBulkJobResultsCommand";
28
+ export * from "./ListCustomerAccountBulkJobsCommand";
20
29
  export * from "./ListEngagementByAcceptingInvitationTasksCommand";
21
30
  export * from "./ListEngagementFromOpportunityTasksCommand";
31
+ export * from "./ListEngagementGroupsCommand";
22
32
  export * from "./ListEngagementInvitationsCommand";
23
33
  export * from "./ListEngagementMembersCommand";
24
34
  export * from "./ListEngagementResourceAssociationsCommand";
25
35
  export * from "./ListEngagementsCommand";
26
36
  export * from "./ListOpportunitiesCommand";
37
+ export * from "./ListOpportunityBulkJobResultsCommand";
38
+ export * from "./ListOpportunityBulkJobsCommand";
27
39
  export * from "./ListOpportunityFromEngagementTasksCommand";
28
40
  export * from "./ListProspectingFromEngagementTasksCommand";
29
41
  export * from "./ListResourceSnapshotJobsCommand";
@@ -32,8 +44,13 @@ export * from "./ListSolutionsCommand";
32
44
  export * from "./ListTagsForResourceCommand";
33
45
  export * from "./PutSellingSystemSettingsCommand";
34
46
  export * from "./RejectEngagementInvitationCommand";
47
+ export * from "./SearchCustomerAccountsCommand";
48
+ export * from "./SearchEngagementsCommand";
49
+ export * from "./SearchOpportunitiesCommand";
50
+ export * from "./StartCustomerAccountBulkJobCommand";
35
51
  export * from "./StartEngagementByAcceptingInvitationTaskCommand";
36
52
  export * from "./StartEngagementFromOpportunityTaskCommand";
53
+ export * from "./StartOpportunityBulkJobCommand";
37
54
  export * from "./StartOpportunityFromEngagementTaskCommand";
38
55
  export * from "./StartProspectingFromEngagementTaskCommand";
39
56
  export * from "./StartResourceSnapshotJobCommand";
@@ -41,5 +58,6 @@ export * from "./StopResourceSnapshotJobCommand";
41
58
  export * from "./SubmitOpportunityCommand";
42
59
  export * from "./TagResourceCommand";
43
60
  export * from "./UntagResourceCommand";
61
+ export * from "./UpdateCustomerAccountCommand";
44
62
  export * from "./UpdateEngagementContextCommand";
45
63
  export * from "./UpdateOpportunityCommand";