@aws-sdk/client-partnercentral-selling 3.699.0 → 3.709.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 (153) hide show
  1. package/README.md +206 -45
  2. package/dist-cjs/PartnerCentralSelling.js +42 -0
  3. package/dist-cjs/commands/AcceptEngagementInvitationCommand.js +26 -0
  4. package/dist-cjs/commands/CreateEngagementCommand.js +27 -0
  5. package/dist-cjs/commands/CreateEngagementInvitationCommand.js +27 -0
  6. package/dist-cjs/commands/CreateResourceSnapshotCommand.js +26 -0
  7. package/dist-cjs/commands/CreateResourceSnapshotJobCommand.js +26 -0
  8. package/dist-cjs/commands/DeleteResourceSnapshotJobCommand.js +26 -0
  9. package/dist-cjs/commands/GetEngagementCommand.js +27 -0
  10. package/dist-cjs/commands/GetResourceSnapshotCommand.js +27 -0
  11. package/dist-cjs/commands/GetResourceSnapshotJobCommand.js +26 -0
  12. package/dist-cjs/commands/GetSellingSystemSettingsCommand.js +26 -0
  13. package/dist-cjs/commands/ListEngagementByAcceptingInvitationTasksCommand.js +26 -0
  14. package/dist-cjs/commands/ListEngagementFromOpportunityTasksCommand.js +26 -0
  15. package/dist-cjs/commands/ListEngagementInvitationsCommand.js +1 -1
  16. package/dist-cjs/commands/ListEngagementMembersCommand.js +27 -0
  17. package/dist-cjs/commands/ListEngagementResourceAssociationsCommand.js +27 -0
  18. package/dist-cjs/commands/ListEngagementsCommand.js +27 -0
  19. package/dist-cjs/commands/ListResourceSnapshotJobsCommand.js +26 -0
  20. package/dist-cjs/commands/ListResourceSnapshotsCommand.js +27 -0
  21. package/dist-cjs/commands/PutSellingSystemSettingsCommand.js +26 -0
  22. package/dist-cjs/commands/StartResourceSnapshotJobCommand.js +26 -0
  23. package/dist-cjs/commands/StopResourceSnapshotJobCommand.js +26 -0
  24. package/dist-cjs/commands/SubmitOpportunityCommand.js +26 -0
  25. package/dist-cjs/commands/index.js +21 -0
  26. package/dist-cjs/models/models_0.js +281 -87
  27. package/dist-cjs/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +7 -0
  28. package/dist-cjs/pagination/ListEngagementFromOpportunityTasksPaginator.js +7 -0
  29. package/dist-cjs/pagination/ListEngagementMembersPaginator.js +7 -0
  30. package/dist-cjs/pagination/ListEngagementResourceAssociationsPaginator.js +7 -0
  31. package/dist-cjs/pagination/ListEngagementsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListResourceSnapshotJobsPaginator.js +7 -0
  33. package/dist-cjs/pagination/ListResourceSnapshotsPaginator.js +7 -0
  34. package/dist-cjs/pagination/index.js +7 -0
  35. package/dist-cjs/protocols/Aws_json1_0.js +599 -1
  36. package/dist-es/PartnerCentralSelling.js +42 -0
  37. package/dist-es/commands/AcceptEngagementInvitationCommand.js +22 -0
  38. package/dist-es/commands/CreateEngagementCommand.js +23 -0
  39. package/dist-es/commands/CreateEngagementInvitationCommand.js +23 -0
  40. package/dist-es/commands/CreateResourceSnapshotCommand.js +22 -0
  41. package/dist-es/commands/CreateResourceSnapshotJobCommand.js +22 -0
  42. package/dist-es/commands/DeleteResourceSnapshotJobCommand.js +22 -0
  43. package/dist-es/commands/GetEngagementCommand.js +23 -0
  44. package/dist-es/commands/GetResourceSnapshotCommand.js +23 -0
  45. package/dist-es/commands/GetResourceSnapshotJobCommand.js +22 -0
  46. package/dist-es/commands/GetSellingSystemSettingsCommand.js +22 -0
  47. package/dist-es/commands/ListEngagementByAcceptingInvitationTasksCommand.js +22 -0
  48. package/dist-es/commands/ListEngagementFromOpportunityTasksCommand.js +22 -0
  49. package/dist-es/commands/ListEngagementInvitationsCommand.js +2 -2
  50. package/dist-es/commands/ListEngagementMembersCommand.js +23 -0
  51. package/dist-es/commands/ListEngagementResourceAssociationsCommand.js +23 -0
  52. package/dist-es/commands/ListEngagementsCommand.js +23 -0
  53. package/dist-es/commands/ListResourceSnapshotJobsCommand.js +22 -0
  54. package/dist-es/commands/ListResourceSnapshotsCommand.js +23 -0
  55. package/dist-es/commands/PutSellingSystemSettingsCommand.js +22 -0
  56. package/dist-es/commands/StartResourceSnapshotJobCommand.js +22 -0
  57. package/dist-es/commands/StopResourceSnapshotJobCommand.js +22 -0
  58. package/dist-es/commands/SubmitOpportunityCommand.js +22 -0
  59. package/dist-es/commands/index.js +21 -0
  60. package/dist-es/models/models_0.js +249 -81
  61. package/dist-es/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +4 -0
  62. package/dist-es/pagination/ListEngagementFromOpportunityTasksPaginator.js +4 -0
  63. package/dist-es/pagination/ListEngagementMembersPaginator.js +4 -0
  64. package/dist-es/pagination/ListEngagementResourceAssociationsPaginator.js +4 -0
  65. package/dist-es/pagination/ListEngagementsPaginator.js +4 -0
  66. package/dist-es/pagination/ListResourceSnapshotJobsPaginator.js +4 -0
  67. package/dist-es/pagination/ListResourceSnapshotsPaginator.js +4 -0
  68. package/dist-es/pagination/index.js +7 -0
  69. package/dist-es/protocols/Aws_json1_0.js +556 -1
  70. package/dist-types/PartnerCentralSelling.d.ts +182 -42
  71. package/dist-types/PartnerCentralSellingClient.d.ts +58 -44
  72. package/dist-types/commands/AcceptEngagementInvitationCommand.d.ts +103 -0
  73. package/dist-types/commands/AssignOpportunityCommand.d.ts +27 -32
  74. package/dist-types/commands/AssociateOpportunityCommand.d.ts +40 -46
  75. package/dist-types/commands/CreateEngagementCommand.d.ts +136 -0
  76. package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +158 -0
  77. package/dist-types/commands/CreateOpportunityCommand.d.ts +40 -46
  78. package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +117 -0
  79. package/dist-types/commands/CreateResourceSnapshotJobCommand.d.ts +119 -0
  80. package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +96 -0
  81. package/dist-types/commands/DisassociateOpportunityCommand.d.ts +29 -34
  82. package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +24 -28
  83. package/dist-types/commands/GetEngagementCommand.d.ts +124 -0
  84. package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -24
  85. package/dist-types/commands/GetOpportunityCommand.d.ts +24 -29
  86. package/dist-types/commands/GetResourceSnapshotCommand.d.ts +186 -0
  87. package/dist-types/commands/GetResourceSnapshotJobCommand.d.ts +109 -0
  88. package/dist-types/commands/GetSellingSystemSettingsCommand.d.ts +95 -0
  89. package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +128 -0
  90. package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +129 -0
  91. package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +34 -25
  92. package/dist-types/commands/ListEngagementMembersCommand.d.ts +109 -0
  93. package/dist-types/commands/ListEngagementResourceAssociationsCommand.d.ts +112 -0
  94. package/dist-types/commands/ListEngagementsCommand.d.ts +123 -0
  95. package/dist-types/commands/ListOpportunitiesCommand.d.ts +35 -39
  96. package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +108 -0
  97. package/dist-types/commands/ListResourceSnapshotsCommand.d.ts +113 -0
  98. package/dist-types/commands/ListSolutionsCommand.d.ts +20 -20
  99. package/dist-types/commands/PutSellingSystemSettingsCommand.d.ts +96 -0
  100. package/dist-types/commands/RejectEngagementInvitationCommand.d.ts +22 -27
  101. package/dist-types/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +37 -35
  102. package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +37 -35
  103. package/dist-types/commands/StartResourceSnapshotJobCommand.d.ts +95 -0
  104. package/dist-types/commands/StopResourceSnapshotJobCommand.d.ts +95 -0
  105. package/dist-types/commands/SubmitOpportunityCommand.d.ts +106 -0
  106. package/dist-types/commands/UpdateOpportunityCommand.d.ts +33 -35
  107. package/dist-types/commands/index.d.ts +21 -0
  108. package/dist-types/index.d.ts +35 -42
  109. package/dist-types/models/models_0.d.ts +4764 -2209
  110. package/dist-types/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +7 -0
  111. package/dist-types/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +7 -0
  112. package/dist-types/pagination/ListEngagementMembersPaginator.d.ts +7 -0
  113. package/dist-types/pagination/ListEngagementResourceAssociationsPaginator.d.ts +7 -0
  114. package/dist-types/pagination/ListEngagementsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListResourceSnapshotJobsPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListResourceSnapshotsPaginator.d.ts +7 -0
  117. package/dist-types/pagination/index.d.ts +7 -0
  118. package/dist-types/protocols/Aws_json1_0.d.ts +189 -0
  119. package/dist-types/ts3.4/PartnerCentralSelling.d.ts +375 -0
  120. package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +126 -0
  121. package/dist-types/ts3.4/commands/AcceptEngagementInvitationCommand.d.ts +47 -0
  122. package/dist-types/ts3.4/commands/CreateEngagementCommand.d.ts +50 -0
  123. package/dist-types/ts3.4/commands/CreateEngagementInvitationCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/CreateResourceSnapshotCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/CreateResourceSnapshotJobCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/DeleteResourceSnapshotJobCommand.d.ts +47 -0
  127. package/dist-types/ts3.4/commands/GetEngagementCommand.d.ts +50 -0
  128. package/dist-types/ts3.4/commands/GetResourceSnapshotCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/GetResourceSnapshotJobCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/GetSellingSystemSettingsCommand.d.ts +51 -0
  131. package/dist-types/ts3.4/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +51 -0
  132. package/dist-types/ts3.4/commands/ListEngagementFromOpportunityTasksCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/ListEngagementMembersCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/ListEngagementResourceAssociationsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +50 -0
  136. package/dist-types/ts3.4/commands/ListResourceSnapshotJobsCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/ListResourceSnapshotsCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/PutSellingSystemSettingsCommand.d.ts +51 -0
  139. package/dist-types/ts3.4/commands/StartResourceSnapshotJobCommand.d.ts +47 -0
  140. package/dist-types/ts3.4/commands/StopResourceSnapshotJobCommand.d.ts +47 -0
  141. package/dist-types/ts3.4/commands/SubmitOpportunityCommand.d.ts +46 -0
  142. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  143. package/dist-types/ts3.4/models/models_0.d.ts +587 -86
  144. package/dist-types/ts3.4/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +11 -0
  145. package/dist-types/ts3.4/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListEngagementMembersPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListEngagementResourceAssociationsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/ListResourceSnapshotJobsPaginator.d.ts +11 -0
  150. package/dist-types/ts3.4/pagination/ListResourceSnapshotsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  152. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +252 -0
  153. package/package.json +35 -35
@@ -27,34 +27,30 @@ declare const CreateOpportunityCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>
31
- * Creates an <code>Opportunity</code> record in Partner Central. Use this operation to create
32
- * a potential business opportunity for submission to Amazon Web Services. Creating an opportunity sets <code>Lifecycle.ReviewStatus</code> to
33
- * <code>Pending Submission</code>.
34
- * </p>
35
- * <p>
36
- * To submit an opportunity, follow these steps:
37
- * </p>
30
+ * <p>Creates an <code>Opportunity</code> record in Partner Central. Use this operation to
31
+ * create a potential business opportunity for submission to Amazon Web Services. Creating
32
+ * an opportunity sets <code>Lifecycle.ReviewStatus</code> to <code>Pending
33
+ * Submission</code>.</p>
34
+ * <p>To submit an opportunity, follow these steps:</p>
38
35
  * <ol>
39
36
  * <li>
40
37
  * <p>To create the opportunity, use <code>CreateOpportunity</code>.</p>
41
38
  * </li>
42
39
  * <li>
43
- * <p>To associate a solution with the opportunity, use <code>AssociateOpportunity</code>.</p>
40
+ * <p>To associate a solution with the opportunity, use
41
+ * <code>AssociateOpportunity</code>.</p>
44
42
  * </li>
45
43
  * <li>
46
- * <p>To submit the opportunity, use <code>StartEngagementFromOpportunityTask</code>.</p>
44
+ * <p>To submit the opportunity, use
45
+ * <code>StartEngagementFromOpportunityTask</code>.</p>
47
46
  * </li>
48
47
  * </ol>
49
- * <p>
50
- * After submission, you can't edit the opportunity until the review is complete. But opportunities in the
51
- * <code>Pending Submission</code> state must have complete details. You can update
52
- * the opportunity while it's in the <code>Pending Submission</code> state.
53
- * </p>
54
- * <p>
55
- * There's a set of mandatory fields to create opportunities, but consider providing optional fields to
56
- * enrich the opportunity record.
57
- * </p>
48
+ * <p>After submission, you can't edit the opportunity until the review is complete. But
49
+ * opportunities in the <code>Pending Submission</code> state must have complete details.
50
+ * You can update the opportunity while it's in the <code>Pending Submission</code>
51
+ * state.</p>
52
+ * <p>There's a set of mandatory fields to create opportunities, but consider providing
53
+ * optional fields to enrich the opportunity record.</p>
58
54
  * @example
59
55
  * Use a bare-bones client and the command you need to make an API call.
60
56
  * ```javascript
@@ -104,6 +100,7 @@ declare const CreateOpportunityCommand_base: {
104
100
  * CurrencyCode: "USD" || "EUR" || "GBP" || "AUD" || "CAD" || "CNY" || "NZD" || "INR" || "JPY" || "CHF" || "SEK" || "AED" || "AFN" || "ALL" || "AMD" || "ANG" || "AOA" || "ARS" || "AWG" || "AZN" || "BAM" || "BBD" || "BDT" || "BGN" || "BHD" || "BIF" || "BMD" || "BND" || "BOB" || "BOV" || "BRL" || "BSD" || "BTN" || "BWP" || "BYN" || "BZD" || "CDF" || "CHE" || "CHW" || "CLF" || "CLP" || "COP" || "COU" || "CRC" || "CUC" || "CUP" || "CVE" || "CZK" || "DJF" || "DKK" || "DOP" || "DZD" || "EGP" || "ERN" || "ETB" || "FJD" || "FKP" || "GEL" || "GHS" || "GIP" || "GMD" || "GNF" || "GTQ" || "GYD" || "HKD" || "HNL" || "HRK" || "HTG" || "HUF" || "IDR" || "ILS" || "IQD" || "IRR" || "ISK" || "JMD" || "JOD" || "KES" || "KGS" || "KHR" || "KMF" || "KPW" || "KRW" || "KWD" || "KYD" || "KZT" || "LAK" || "LBP" || "LKR" || "LRD" || "LSL" || "LYD" || "MAD" || "MDL" || "MGA" || "MKD" || "MMK" || "MNT" || "MOP" || "MRU" || "MUR" || "MVR" || "MWK" || "MXN" || "MXV" || "MYR" || "MZN" || "NAD" || "NGN" || "NIO" || "NOK" || "NPR" || "OMR" || "PAB" || "PEN" || "PGK" || "PHP" || "PKR" || "PLN" || "PYG" || "QAR" || "RON" || "RSD" || "RUB" || "RWF" || "SAR" || "SBD" || "SCR" || "SDG" || "SGD" || "SHP" || "SLL" || "SOS" || "SRD" || "SSP" || "STN" || "SVC" || "SYP" || "SZL" || "THB" || "TJS" || "TMT" || "TND" || "TOP" || "TRY" || "TTD" || "TWD" || "TZS" || "UAH" || "UGX" || "USN" || "UYI" || "UYU" || "UZS" || "VEF" || "VND" || "VUV" || "WST" || "XAF" || "XCD" || "XDR" || "XOF" || "XPF" || "XSU" || "XUA" || "YER" || "ZAR" || "ZMW" || "ZWL", // required
105
101
  * Frequency: "Monthly", // required
106
102
  * TargetCompany: "STRING_VALUE", // required
103
+ * EstimationUrl: "STRING_VALUE",
107
104
  * },
108
105
  * ],
109
106
  * Title: "STRING_VALUE",
@@ -186,43 +183,40 @@ declare const CreateOpportunityCommand_base: {
186
183
  * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
187
184
  *
188
185
  * @throws {@link AccessDeniedException} (client fault)
189
- * <p>This error occurs when you don't have permission to perform the
190
- * requested action.
191
- * </p>
192
- * <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
193
- * </p>
186
+ * <p>This error occurs when you don't have permission to perform the requested
187
+ * action.</p>
188
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your
189
+ * AWS administrator for assistance.</p>
194
190
  *
195
191
  * @throws {@link ConflictException} (client fault)
196
- * <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.
197
- * </p>
198
- * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
199
- * </p>
192
+ * <p>This error occurs when the request can’t be processed due to a conflict with the
193
+ * target resource's current state, which could result from updating or deleting the
194
+ * resource.</p>
195
+ * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry
196
+ * the request.</p>
200
197
  *
201
198
  * @throws {@link InternalServerException} (server fault)
202
- * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
203
- * </p>
204
- * <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.
205
- * </p>
199
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist.
200
+ * Resource ID and type might be incorrect.</p>
201
+ * <p>Suggested action: This is usually a transient error. Retry after the provided retry
202
+ * delay or a short interval. If the problem persists, contact AWS support.</p>
206
203
  *
207
204
  * @throws {@link ResourceNotFoundException} (client fault)
208
- * <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.
209
- * </p>
210
- * <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.
211
- * </p>
205
+ * <p>This error occurs when the specified resource can't be found. The resource might not
206
+ * exist, or isn't visible with the current credentials.</p>
207
+ * <p>Suggested action: Verify that the resource ID is correct and the resource is in the
208
+ * expected AWS region. Check IAM permissions for accessing the resource.</p>
212
209
  *
213
210
  * @throws {@link ThrottlingException} (client fault)
214
- * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your
215
- * usage to avoid throttling.
216
- * </p>
217
- * <p>This error occurs when there are too many requests sent. Review the provided
218
- * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.
219
- * </p>
211
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas
212
+ * and adapt your usage to avoid throttling.</p>
213
+ * <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>
220
214
  *
221
215
  * @throws {@link ValidationException} (client fault)
222
- * <p>The input fails to satisfy the constraints specified by the service or business validation rules.
223
- * </p>
224
- * <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
225
- * </p>
216
+ * <p>The input fails to satisfy the constraints specified by the service or business
217
+ * validation rules.</p>
218
+ * <p>Suggested action: Review the error message, including the failed fields and reasons,
219
+ * to correct the request payload.</p>
226
220
  *
227
221
  * @throws {@link PartnerCentralSellingServiceException}
228
222
  * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
@@ -0,0 +1,117 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateResourceSnapshotRequest, CreateResourceSnapshotResponse } from "../models/models_0";
4
+ import { PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralSellingClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateResourceSnapshotCommand}.
14
+ */
15
+ export interface CreateResourceSnapshotCommandInput extends CreateResourceSnapshotRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateResourceSnapshotCommand}.
21
+ */
22
+ export interface CreateResourceSnapshotCommandOutput extends CreateResourceSnapshotResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateResourceSnapshotCommand_base: {
25
+ new (input: CreateResourceSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceSnapshotCommandInput, CreateResourceSnapshotCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateResourceSnapshotCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceSnapshotCommandInput, CreateResourceSnapshotCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * This action allows you to create an immutable snapshot of a specific resource, such as an opportunity,
32
+ * within the context of an engagement.
33
+ * The snapshot captures a subset of the resource's data based on the schema defined by the provided template.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { PartnerCentralSellingClient, CreateResourceSnapshotCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
38
+ * // const { PartnerCentralSellingClient, CreateResourceSnapshotCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
39
+ * const client = new PartnerCentralSellingClient(config);
40
+ * const input = { // CreateResourceSnapshotRequest
41
+ * Catalog: "STRING_VALUE", // required
42
+ * EngagementIdentifier: "STRING_VALUE", // required
43
+ * ResourceType: "Opportunity", // required
44
+ * ResourceIdentifier: "STRING_VALUE", // required
45
+ * ResourceSnapshotTemplateIdentifier: "STRING_VALUE", // required
46
+ * ClientToken: "STRING_VALUE", // required
47
+ * };
48
+ * const command = new CreateResourceSnapshotCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // CreateResourceSnapshotResponse
51
+ * // Arn: "STRING_VALUE",
52
+ * // Revision: Number("int"),
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param CreateResourceSnapshotCommandInput - {@link CreateResourceSnapshotCommandInput}
58
+ * @returns {@link CreateResourceSnapshotCommandOutput}
59
+ * @see {@link CreateResourceSnapshotCommandInput} for command's `input` shape.
60
+ * @see {@link CreateResourceSnapshotCommandOutput} for command's `response` shape.
61
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>This error occurs when you don't have permission to perform the requested
65
+ * action.</p>
66
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your
67
+ * AWS administrator for assistance.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>This error occurs when the request can’t be processed due to a conflict with the
71
+ * target resource's current state, which could result from updating or deleting the
72
+ * resource.</p>
73
+ * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry
74
+ * the request.</p>
75
+ *
76
+ * @throws {@link ResourceNotFoundException} (client fault)
77
+ * <p>This error occurs when the specified resource can't be found. The resource might not
78
+ * exist, or isn't visible with the current credentials.</p>
79
+ * <p>Suggested action: Verify that the resource ID is correct and the resource is in the
80
+ * expected AWS region. Check IAM permissions for accessing the resource.</p>
81
+ *
82
+ * @throws {@link ServiceQuotaExceededException} (client fault)
83
+ * <p>This error occurs when the request would cause a service quota to be exceeded. Service
84
+ * quotas represent the maximum allowed use of a specific resource, and this error
85
+ * indicates that the request would surpass that limit.</p>
86
+ * <p>Suggested action: Review the <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> for the
87
+ * resource, and either reduce usage or request a quota increase.</p>
88
+ *
89
+ * @throws {@link ThrottlingException} (client fault)
90
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas
91
+ * and adapt your usage to avoid throttling.</p>
92
+ * <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>
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * <p>The input fails to satisfy the constraints specified by the service or business
96
+ * validation rules.</p>
97
+ * <p>Suggested action: Review the error message, including the failed fields and reasons,
98
+ * to correct the request payload.</p>
99
+ *
100
+ * @throws {@link PartnerCentralSellingServiceException}
101
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
102
+ *
103
+ * @public
104
+ */
105
+ export declare class CreateResourceSnapshotCommand extends CreateResourceSnapshotCommand_base {
106
+ /** @internal type navigation helper, not in runtime. */
107
+ protected static __types: {
108
+ api: {
109
+ input: CreateResourceSnapshotRequest;
110
+ output: CreateResourceSnapshotResponse;
111
+ };
112
+ sdk: {
113
+ input: CreateResourceSnapshotCommandInput;
114
+ output: CreateResourceSnapshotCommandOutput;
115
+ };
116
+ };
117
+ }
@@ -0,0 +1,119 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateResourceSnapshotJobRequest, CreateResourceSnapshotJobResponse } from "../models/models_0";
4
+ import { PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralSellingClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateResourceSnapshotJobCommand}.
14
+ */
15
+ export interface CreateResourceSnapshotJobCommandInput extends CreateResourceSnapshotJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateResourceSnapshotJobCommand}.
21
+ */
22
+ export interface CreateResourceSnapshotJobCommandOutput extends CreateResourceSnapshotJobResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateResourceSnapshotJobCommand_base: {
25
+ new (input: CreateResourceSnapshotJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceSnapshotJobCommandInput, CreateResourceSnapshotJobCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: CreateResourceSnapshotJobCommandInput): import("@smithy/smithy-client").CommandImpl<CreateResourceSnapshotJobCommandInput, CreateResourceSnapshotJobCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Use this action to create a job to generate a snapshot of the specified resource
32
+ * within an engagement. It initiates an asynchronous process to create a resource
33
+ * snapshot. The job creates a new snapshot only if the resource state has changed,
34
+ * adhering to the same access control and immutability rules as direct snapshot creation.
35
+ * </p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { PartnerCentralSellingClient, CreateResourceSnapshotJobCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
40
+ * // const { PartnerCentralSellingClient, CreateResourceSnapshotJobCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
41
+ * const client = new PartnerCentralSellingClient(config);
42
+ * const input = { // CreateResourceSnapshotJobRequest
43
+ * Catalog: "STRING_VALUE", // required
44
+ * ClientToken: "STRING_VALUE", // required
45
+ * EngagementIdentifier: "STRING_VALUE", // required
46
+ * ResourceType: "Opportunity", // required
47
+ * ResourceIdentifier: "STRING_VALUE", // required
48
+ * ResourceSnapshotTemplateIdentifier: "STRING_VALUE", // required
49
+ * };
50
+ * const command = new CreateResourceSnapshotJobCommand(input);
51
+ * const response = await client.send(command);
52
+ * // { // CreateResourceSnapshotJobResponse
53
+ * // Id: "STRING_VALUE",
54
+ * // Arn: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param CreateResourceSnapshotJobCommandInput - {@link CreateResourceSnapshotJobCommandInput}
60
+ * @returns {@link CreateResourceSnapshotJobCommandOutput}
61
+ * @see {@link CreateResourceSnapshotJobCommandInput} for command's `input` shape.
62
+ * @see {@link CreateResourceSnapshotJobCommandOutput} for command's `response` shape.
63
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>This error occurs when you don't have permission to perform the requested
67
+ * action.</p>
68
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your
69
+ * AWS administrator for assistance.</p>
70
+ *
71
+ * @throws {@link ConflictException} (client fault)
72
+ * <p>This error occurs when the request can’t be processed due to a conflict with the
73
+ * target resource's current state, which could result from updating or deleting the
74
+ * resource.</p>
75
+ * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry
76
+ * the request.</p>
77
+ *
78
+ * @throws {@link ResourceNotFoundException} (client fault)
79
+ * <p>This error occurs when the specified resource can't be found. The resource might not
80
+ * exist, or isn't visible with the current credentials.</p>
81
+ * <p>Suggested action: Verify that the resource ID is correct and the resource is in the
82
+ * expected AWS region. Check IAM permissions for accessing the resource.</p>
83
+ *
84
+ * @throws {@link ServiceQuotaExceededException} (client fault)
85
+ * <p>This error occurs when the request would cause a service quota to be exceeded. Service
86
+ * quotas represent the maximum allowed use of a specific resource, and this error
87
+ * indicates that the request would surpass that limit.</p>
88
+ * <p>Suggested action: Review the <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> for the
89
+ * resource, and either reduce usage or request a quota increase.</p>
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas
93
+ * and adapt your usage to avoid throttling.</p>
94
+ * <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>
95
+ *
96
+ * @throws {@link ValidationException} (client fault)
97
+ * <p>The input fails to satisfy the constraints specified by the service or business
98
+ * validation rules.</p>
99
+ * <p>Suggested action: Review the error message, including the failed fields and reasons,
100
+ * to correct the request payload.</p>
101
+ *
102
+ * @throws {@link PartnerCentralSellingServiceException}
103
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
104
+ *
105
+ * @public
106
+ */
107
+ export declare class CreateResourceSnapshotJobCommand extends CreateResourceSnapshotJobCommand_base {
108
+ /** @internal type navigation helper, not in runtime. */
109
+ protected static __types: {
110
+ api: {
111
+ input: CreateResourceSnapshotJobRequest;
112
+ output: CreateResourceSnapshotJobResponse;
113
+ };
114
+ sdk: {
115
+ input: CreateResourceSnapshotJobCommandInput;
116
+ output: CreateResourceSnapshotJobCommandOutput;
117
+ };
118
+ };
119
+ }
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteResourceSnapshotJobRequest } from "../models/models_0";
4
+ import { PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PartnerCentralSellingClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DeleteResourceSnapshotJobCommand}.
14
+ */
15
+ export interface DeleteResourceSnapshotJobCommandInput extends DeleteResourceSnapshotJobRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DeleteResourceSnapshotJobCommand}.
21
+ */
22
+ export interface DeleteResourceSnapshotJobCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const DeleteResourceSnapshotJobCommand_base: {
25
+ new (input: DeleteResourceSnapshotJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceSnapshotJobCommandInput, DeleteResourceSnapshotJobCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: DeleteResourceSnapshotJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteResourceSnapshotJobCommandInput, DeleteResourceSnapshotJobCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Use this action to deletes a previously created resource snapshot job. The job must be
32
+ * in a stopped state before it can be deleted.
33
+ * </p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { PartnerCentralSellingClient, DeleteResourceSnapshotJobCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
38
+ * // const { PartnerCentralSellingClient, DeleteResourceSnapshotJobCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
39
+ * const client = new PartnerCentralSellingClient(config);
40
+ * const input = { // DeleteResourceSnapshotJobRequest
41
+ * Catalog: "STRING_VALUE", // required
42
+ * ResourceSnapshotJobIdentifier: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new DeleteResourceSnapshotJobCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param DeleteResourceSnapshotJobCommandInput - {@link DeleteResourceSnapshotJobCommandInput}
51
+ * @returns {@link DeleteResourceSnapshotJobCommandOutput}
52
+ * @see {@link DeleteResourceSnapshotJobCommandInput} for command's `input` shape.
53
+ * @see {@link DeleteResourceSnapshotJobCommandOutput} 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
58
+ * action.</p>
59
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your
60
+ * AWS administrator for assistance.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>This error occurs when the specified resource can't be found. The resource might not
64
+ * exist, or isn't visible with the current credentials.</p>
65
+ * <p>Suggested action: Verify that the resource ID is correct and the resource is in the
66
+ * expected AWS region. Check IAM permissions for accessing the resource.</p>
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas
70
+ * and adapt your usage to avoid throttling.</p>
71
+ * <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
75
+ * validation rules.</p>
76
+ * <p>Suggested action: Review the error message, including the failed fields and reasons,
77
+ * to correct the request payload.</p>
78
+ *
79
+ * @throws {@link PartnerCentralSellingServiceException}
80
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
81
+ *
82
+ * @public
83
+ */
84
+ export declare class DeleteResourceSnapshotJobCommand extends DeleteResourceSnapshotJobCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: DeleteResourceSnapshotJobRequest;
89
+ output: {};
90
+ };
91
+ sdk: {
92
+ input: DeleteResourceSnapshotJobCommandInput;
93
+ output: DeleteResourceSnapshotJobCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -27,17 +27,16 @@ declare const DisassociateOpportunityCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>
31
- * Allows you to remove an existing association between an <code>Opportunity</code> and related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer.
32
- * This operation is the counterpart to <code>AssociateOpportunity</code>, and it provides flexibility to manage
33
- * associations as business needs change.
34
- * </p>
35
- * <p>
36
- * Use this operation to update the associations of an <code>Opportunity</code> due to changes in the related entities,
37
- * or if an association was made in error. Ensuring accurate associations helps maintain clarity and accuracy to track
38
- * and manage business opportunities. When you replace an entity, first attach the new entity and then disassociate the
39
- * one to be removed, especially if it's the last remaining entity that's required.
40
- * </p>
30
+ * <p>Allows you to remove an existing association between an <code>Opportunity</code> and
31
+ * related entities, such as a Partner Solution, Amazon Web Services product, or an Amazon Web Services Marketplace offer. This operation is the counterpart to
32
+ * <code>AssociateOpportunity</code>, and it provides flexibility to manage
33
+ * associations as business needs change.</p>
34
+ * <p>Use this operation to update the associations of an <code>Opportunity</code> due to
35
+ * changes in the related entities, or if an association was made in error. Ensuring
36
+ * accurate associations helps maintain clarity and accuracy to track and manage business
37
+ * opportunities. When you replace an entity, first attach the new entity and then
38
+ * disassociate the one to be removed, especially if it's the last remaining entity that's
39
+ * required.</p>
41
40
  * @example
42
41
  * Use a bare-bones client and the command you need to make an API call.
43
42
  * ```javascript
@@ -63,37 +62,33 @@ declare const DisassociateOpportunityCommand_base: {
63
62
  * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
64
63
  *
65
64
  * @throws {@link AccessDeniedException} (client fault)
66
- * <p>This error occurs when you don't have permission to perform the
67
- * requested action.
68
- * </p>
69
- * <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
70
- * </p>
65
+ * <p>This error occurs when you don't have permission to perform the requested
66
+ * action.</p>
67
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your
68
+ * AWS administrator for assistance.</p>
71
69
  *
72
70
  * @throws {@link InternalServerException} (server fault)
73
- * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
74
- * </p>
75
- * <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.
76
- * </p>
71
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist.
72
+ * Resource ID and type might be incorrect.</p>
73
+ * <p>Suggested action: This is usually a transient error. Retry after the provided retry
74
+ * delay or a short interval. If the problem persists, contact AWS support.</p>
77
75
  *
78
76
  * @throws {@link ResourceNotFoundException} (client fault)
79
- * <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.
80
- * </p>
81
- * <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.
82
- * </p>
77
+ * <p>This error occurs when the specified resource can't be found. The resource might not
78
+ * exist, or isn't visible with the current credentials.</p>
79
+ * <p>Suggested action: Verify that the resource ID is correct and the resource is in the
80
+ * expected AWS region. Check IAM permissions for accessing the resource.</p>
83
81
  *
84
82
  * @throws {@link ThrottlingException} (client fault)
85
- * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your
86
- * usage to avoid throttling.
87
- * </p>
88
- * <p>This error occurs when there are too many requests sent. Review the provided
89
- * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">Quotas</a> and retry after the provided delay.
90
- * </p>
83
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas
84
+ * and adapt your usage to avoid throttling.</p>
85
+ * <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>
91
86
  *
92
87
  * @throws {@link ValidationException} (client fault)
93
- * <p>The input fails to satisfy the constraints specified by the service or business validation rules.
94
- * </p>
95
- * <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
96
- * </p>
88
+ * <p>The input fails to satisfy the constraints specified by the service or business
89
+ * validation rules.</p>
90
+ * <p>Suggested action: Review the error message, including the failed fields and reasons,
91
+ * to correct the request payload.</p>
97
92
  *
98
93
  * @throws {@link PartnerCentralSellingServiceException}
99
94
  * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>