@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.
- package/README.md +206 -45
- package/dist-cjs/PartnerCentralSelling.js +42 -0
- package/dist-cjs/commands/AcceptEngagementInvitationCommand.js +26 -0
- package/dist-cjs/commands/CreateEngagementCommand.js +27 -0
- package/dist-cjs/commands/CreateEngagementInvitationCommand.js +27 -0
- package/dist-cjs/commands/CreateResourceSnapshotCommand.js +26 -0
- package/dist-cjs/commands/CreateResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/DeleteResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/GetEngagementCommand.js +27 -0
- package/dist-cjs/commands/GetResourceSnapshotCommand.js +27 -0
- package/dist-cjs/commands/GetResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/GetSellingSystemSettingsCommand.js +26 -0
- package/dist-cjs/commands/ListEngagementByAcceptingInvitationTasksCommand.js +26 -0
- package/dist-cjs/commands/ListEngagementFromOpportunityTasksCommand.js +26 -0
- package/dist-cjs/commands/ListEngagementInvitationsCommand.js +1 -1
- package/dist-cjs/commands/ListEngagementMembersCommand.js +27 -0
- package/dist-cjs/commands/ListEngagementResourceAssociationsCommand.js +27 -0
- package/dist-cjs/commands/ListEngagementsCommand.js +27 -0
- package/dist-cjs/commands/ListResourceSnapshotJobsCommand.js +26 -0
- package/dist-cjs/commands/ListResourceSnapshotsCommand.js +27 -0
- package/dist-cjs/commands/PutSellingSystemSettingsCommand.js +26 -0
- package/dist-cjs/commands/StartResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/StopResourceSnapshotJobCommand.js +26 -0
- package/dist-cjs/commands/SubmitOpportunityCommand.js +26 -0
- package/dist-cjs/commands/index.js +21 -0
- package/dist-cjs/models/models_0.js +281 -87
- package/dist-cjs/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementFromOpportunityTasksPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementMembersPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementResourceAssociationsPaginator.js +7 -0
- package/dist-cjs/pagination/ListEngagementsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourceSnapshotJobsPaginator.js +7 -0
- package/dist-cjs/pagination/ListResourceSnapshotsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +599 -1
- package/dist-es/PartnerCentralSelling.js +42 -0
- package/dist-es/commands/AcceptEngagementInvitationCommand.js +22 -0
- package/dist-es/commands/CreateEngagementCommand.js +23 -0
- package/dist-es/commands/CreateEngagementInvitationCommand.js +23 -0
- package/dist-es/commands/CreateResourceSnapshotCommand.js +22 -0
- package/dist-es/commands/CreateResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/DeleteResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/GetEngagementCommand.js +23 -0
- package/dist-es/commands/GetResourceSnapshotCommand.js +23 -0
- package/dist-es/commands/GetResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/GetSellingSystemSettingsCommand.js +22 -0
- package/dist-es/commands/ListEngagementByAcceptingInvitationTasksCommand.js +22 -0
- package/dist-es/commands/ListEngagementFromOpportunityTasksCommand.js +22 -0
- package/dist-es/commands/ListEngagementInvitationsCommand.js +2 -2
- package/dist-es/commands/ListEngagementMembersCommand.js +23 -0
- package/dist-es/commands/ListEngagementResourceAssociationsCommand.js +23 -0
- package/dist-es/commands/ListEngagementsCommand.js +23 -0
- package/dist-es/commands/ListResourceSnapshotJobsCommand.js +22 -0
- package/dist-es/commands/ListResourceSnapshotsCommand.js +23 -0
- package/dist-es/commands/PutSellingSystemSettingsCommand.js +22 -0
- package/dist-es/commands/StartResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/StopResourceSnapshotJobCommand.js +22 -0
- package/dist-es/commands/SubmitOpportunityCommand.js +22 -0
- package/dist-es/commands/index.js +21 -0
- package/dist-es/models/models_0.js +249 -81
- package/dist-es/pagination/ListEngagementByAcceptingInvitationTasksPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementFromOpportunityTasksPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementMembersPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListEngagementsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceSnapshotJobsPaginator.js +4 -0
- package/dist-es/pagination/ListResourceSnapshotsPaginator.js +4 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_json1_0.js +556 -1
- package/dist-types/PartnerCentralSelling.d.ts +182 -42
- package/dist-types/PartnerCentralSellingClient.d.ts +58 -44
- package/dist-types/commands/AcceptEngagementInvitationCommand.d.ts +103 -0
- package/dist-types/commands/AssignOpportunityCommand.d.ts +27 -32
- package/dist-types/commands/AssociateOpportunityCommand.d.ts +40 -46
- package/dist-types/commands/CreateEngagementCommand.d.ts +136 -0
- package/dist-types/commands/CreateEngagementInvitationCommand.d.ts +158 -0
- package/dist-types/commands/CreateOpportunityCommand.d.ts +40 -46
- package/dist-types/commands/CreateResourceSnapshotCommand.d.ts +117 -0
- package/dist-types/commands/CreateResourceSnapshotJobCommand.d.ts +119 -0
- package/dist-types/commands/DeleteResourceSnapshotJobCommand.d.ts +96 -0
- package/dist-types/commands/DisassociateOpportunityCommand.d.ts +29 -34
- package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +24 -28
- package/dist-types/commands/GetEngagementCommand.d.ts +124 -0
- package/dist-types/commands/GetEngagementInvitationCommand.d.ts +34 -24
- package/dist-types/commands/GetOpportunityCommand.d.ts +24 -29
- package/dist-types/commands/GetResourceSnapshotCommand.d.ts +186 -0
- package/dist-types/commands/GetResourceSnapshotJobCommand.d.ts +109 -0
- package/dist-types/commands/GetSellingSystemSettingsCommand.d.ts +95 -0
- package/dist-types/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +128 -0
- package/dist-types/commands/ListEngagementFromOpportunityTasksCommand.d.ts +129 -0
- package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +34 -25
- package/dist-types/commands/ListEngagementMembersCommand.d.ts +109 -0
- package/dist-types/commands/ListEngagementResourceAssociationsCommand.d.ts +112 -0
- package/dist-types/commands/ListEngagementsCommand.d.ts +123 -0
- package/dist-types/commands/ListOpportunitiesCommand.d.ts +35 -39
- package/dist-types/commands/ListResourceSnapshotJobsCommand.d.ts +108 -0
- package/dist-types/commands/ListResourceSnapshotsCommand.d.ts +113 -0
- package/dist-types/commands/ListSolutionsCommand.d.ts +20 -20
- package/dist-types/commands/PutSellingSystemSettingsCommand.d.ts +96 -0
- package/dist-types/commands/RejectEngagementInvitationCommand.d.ts +22 -27
- package/dist-types/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +37 -35
- package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +37 -35
- package/dist-types/commands/StartResourceSnapshotJobCommand.d.ts +95 -0
- package/dist-types/commands/StopResourceSnapshotJobCommand.d.ts +95 -0
- package/dist-types/commands/SubmitOpportunityCommand.d.ts +106 -0
- package/dist-types/commands/UpdateOpportunityCommand.d.ts +33 -35
- package/dist-types/commands/index.d.ts +21 -0
- package/dist-types/index.d.ts +35 -42
- package/dist-types/models/models_0.d.ts +4764 -2209
- package/dist-types/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementMembersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEngagementsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceSnapshotJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListResourceSnapshotsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +189 -0
- package/dist-types/ts3.4/PartnerCentralSelling.d.ts +375 -0
- package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +126 -0
- package/dist-types/ts3.4/commands/AcceptEngagementInvitationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateEngagementCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateEngagementInvitationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResourceSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateResourceSnapshotJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteResourceSnapshotJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetEngagementCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetResourceSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourceSnapshotJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSellingSystemSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementByAcceptingInvitationTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementFromOpportunityTasksCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementMembersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementResourceAssociationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEngagementsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListResourceSnapshotJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListResourceSnapshotsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSellingSystemSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartResourceSnapshotJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopResourceSnapshotJobCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/SubmitOpportunityCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/index.d.ts +21 -0
- package/dist-types/ts3.4/models/models_0.d.ts +587 -86
- package/dist-types/ts3.4/pagination/ListEngagementByAcceptingInvitationTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementFromOpportunityTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementMembersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEngagementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceSnapshotJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListResourceSnapshotsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +252 -0
- 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
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
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
|
|
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
|
|
44
|
+
* <p>To submit the opportunity, use
|
|
45
|
+
* <code>StartEngagementFromOpportunityTask</code>.</p>
|
|
47
46
|
* </li>
|
|
48
47
|
* </ol>
|
|
49
|
-
* <p>
|
|
50
|
-
*
|
|
51
|
-
* <code>Pending Submission</code>
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
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
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
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
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
*
|
|
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.
|
|
203
|
-
*
|
|
204
|
-
* <p>Suggested action: This is usually a transient error. Retry after the provided retry
|
|
205
|
-
*
|
|
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
|
|
209
|
-
*
|
|
210
|
-
* <p>Suggested action: Verify that the resource ID is correct and the resource is in the
|
|
211
|
-
*
|
|
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
|
|
215
|
-
* usage to avoid throttling
|
|
216
|
-
*
|
|
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
|
|
223
|
-
*
|
|
224
|
-
* <p>Suggested action: Review the error message, including the failed fields and reasons,
|
|
225
|
-
*
|
|
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
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* associations as business needs change
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
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
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
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.
|
|
74
|
-
*
|
|
75
|
-
* <p>Suggested action: This is usually a transient error. Retry after the provided retry
|
|
76
|
-
*
|
|
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
|
|
80
|
-
*
|
|
81
|
-
* <p>Suggested action: Verify that the resource ID is correct and the resource is in the
|
|
82
|
-
*
|
|
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
|
|
86
|
-
* usage to avoid throttling
|
|
87
|
-
*
|
|
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
|
|
94
|
-
*
|
|
95
|
-
* <p>Suggested action: Review the error message, including the failed fields and reasons,
|
|
96
|
-
*
|
|
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>
|