@aws-sdk/client-partnercentral-selling 3.692.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 (155) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +357 -0
  3. package/dist-cjs/PartnerCentralSelling.js +39 -0
  4. package/dist-cjs/PartnerCentralSellingClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AssignOpportunityCommand.js +27 -0
  8. package/dist-cjs/commands/AssociateOpportunityCommand.js +26 -0
  9. package/dist-cjs/commands/CreateOpportunityCommand.js +27 -0
  10. package/dist-cjs/commands/DisassociateOpportunityCommand.js +26 -0
  11. package/dist-cjs/commands/GetAwsOpportunitySummaryCommand.js +27 -0
  12. package/dist-cjs/commands/GetEngagementInvitationCommand.js +27 -0
  13. package/dist-cjs/commands/GetOpportunityCommand.js +27 -0
  14. package/dist-cjs/commands/ListEngagementInvitationsCommand.js +27 -0
  15. package/dist-cjs/commands/ListOpportunitiesCommand.js +27 -0
  16. package/dist-cjs/commands/ListSolutionsCommand.js +26 -0
  17. package/dist-cjs/commands/RejectEngagementInvitationCommand.js +26 -0
  18. package/dist-cjs/commands/StartEngagementByAcceptingInvitationTaskCommand.js +26 -0
  19. package/dist-cjs/commands/StartEngagementFromOpportunityTaskCommand.js +26 -0
  20. package/dist-cjs/commands/UpdateOpportunityCommand.js +27 -0
  21. package/dist-cjs/commands/index.js +17 -0
  22. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  23. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  24. package/dist-cjs/endpoint/ruleset.js +7 -0
  25. package/dist-cjs/extensionConfiguration.js +2 -0
  26. package/dist-cjs/index.js +11 -0
  27. package/dist-cjs/models/PartnerCentralSellingServiceException.js +12 -0
  28. package/dist-cjs/models/index.js +4 -0
  29. package/dist-cjs/models/models_0.js +1097 -0
  30. package/dist-cjs/pagination/Interfaces.js +2 -0
  31. package/dist-cjs/pagination/ListEngagementInvitationsPaginator.js +7 -0
  32. package/dist-cjs/pagination/ListOpportunitiesPaginator.js +7 -0
  33. package/dist-cjs/pagination/ListSolutionsPaginator.js +7 -0
  34. package/dist-cjs/pagination/index.js +7 -0
  35. package/dist-cjs/protocols/Aws_json1_0.js +732 -0
  36. package/dist-cjs/runtimeConfig.browser.js +39 -0
  37. package/dist-cjs/runtimeConfig.js +50 -0
  38. package/dist-cjs/runtimeConfig.native.js +15 -0
  39. package/dist-cjs/runtimeConfig.shared.js +34 -0
  40. package/dist-cjs/runtimeExtensions.js +25 -0
  41. package/dist-es/PartnerCentralSelling.js +35 -0
  42. package/dist-es/PartnerCentralSellingClient.js +46 -0
  43. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  44. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  45. package/dist-es/commands/AssignOpportunityCommand.js +23 -0
  46. package/dist-es/commands/AssociateOpportunityCommand.js +22 -0
  47. package/dist-es/commands/CreateOpportunityCommand.js +23 -0
  48. package/dist-es/commands/DisassociateOpportunityCommand.js +22 -0
  49. package/dist-es/commands/GetAwsOpportunitySummaryCommand.js +23 -0
  50. package/dist-es/commands/GetEngagementInvitationCommand.js +23 -0
  51. package/dist-es/commands/GetOpportunityCommand.js +23 -0
  52. package/dist-es/commands/ListEngagementInvitationsCommand.js +23 -0
  53. package/dist-es/commands/ListOpportunitiesCommand.js +23 -0
  54. package/dist-es/commands/ListSolutionsCommand.js +22 -0
  55. package/dist-es/commands/RejectEngagementInvitationCommand.js +22 -0
  56. package/dist-es/commands/StartEngagementByAcceptingInvitationTaskCommand.js +22 -0
  57. package/dist-es/commands/StartEngagementFromOpportunityTaskCommand.js +22 -0
  58. package/dist-es/commands/UpdateOpportunityCommand.js +23 -0
  59. package/dist-es/commands/index.js +14 -0
  60. package/dist-es/endpoint/EndpointParameters.js +14 -0
  61. package/dist-es/endpoint/endpointResolver.js +14 -0
  62. package/dist-es/endpoint/ruleset.js +4 -0
  63. package/dist-es/extensionConfiguration.js +1 -0
  64. package/dist-es/index.js +6 -0
  65. package/dist-es/models/PartnerCentralSellingServiceException.js +8 -0
  66. package/dist-es/models/index.js +1 -0
  67. package/dist-es/models/models_0.js +1055 -0
  68. package/dist-es/pagination/Interfaces.js +1 -0
  69. package/dist-es/pagination/ListEngagementInvitationsPaginator.js +4 -0
  70. package/dist-es/pagination/ListOpportunitiesPaginator.js +4 -0
  71. package/dist-es/pagination/ListSolutionsPaginator.js +4 -0
  72. package/dist-es/pagination/index.js +4 -0
  73. package/dist-es/protocols/Aws_json1_0.js +701 -0
  74. package/dist-es/runtimeConfig.browser.js +34 -0
  75. package/dist-es/runtimeConfig.js +45 -0
  76. package/dist-es/runtimeConfig.native.js +11 -0
  77. package/dist-es/runtimeConfig.shared.js +30 -0
  78. package/dist-es/runtimeExtensions.js +21 -0
  79. package/dist-types/PartnerCentralSelling.d.ts +147 -0
  80. package/dist-types/PartnerCentralSellingClient.d.ts +222 -0
  81. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  82. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  83. package/dist-types/commands/AssignOpportunityCommand.d.ts +117 -0
  84. package/dist-types/commands/AssociateOpportunityCommand.d.ts +145 -0
  85. package/dist-types/commands/CreateOpportunityCommand.d.ts +244 -0
  86. package/dist-types/commands/DisassociateOpportunityCommand.d.ts +115 -0
  87. package/dist-types/commands/GetAwsOpportunitySummaryCommand.d.ts +167 -0
  88. package/dist-types/commands/GetEngagementInvitationCommand.d.ts +156 -0
  89. package/dist-types/commands/GetOpportunityCommand.d.ts +227 -0
  90. package/dist-types/commands/ListEngagementInvitationsCommand.d.ts +134 -0
  91. package/dist-types/commands/ListOpportunitiesCommand.d.ts +197 -0
  92. package/dist-types/commands/ListSolutionsCommand.d.ts +123 -0
  93. package/dist-types/commands/RejectEngagementInvitationCommand.d.ts +104 -0
  94. package/dist-types/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +127 -0
  95. package/dist-types/commands/StartEngagementFromOpportunityTaskCommand.d.ts +130 -0
  96. package/dist-types/commands/UpdateOpportunityCommand.d.ts +214 -0
  97. package/dist-types/commands/index.d.ts +14 -0
  98. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  99. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  100. package/dist-types/endpoint/ruleset.d.ts +2 -0
  101. package/dist-types/extensionConfiguration.d.ts +9 -0
  102. package/dist-types/index.d.ts +53 -0
  103. package/dist-types/models/PartnerCentralSellingServiceException.d.ts +14 -0
  104. package/dist-types/models/index.d.ts +1 -0
  105. package/dist-types/models/models_0.d.ts +4383 -0
  106. package/dist-types/pagination/Interfaces.d.ts +8 -0
  107. package/dist-types/pagination/ListEngagementInvitationsPaginator.d.ts +7 -0
  108. package/dist-types/pagination/ListOpportunitiesPaginator.d.ts +7 -0
  109. package/dist-types/pagination/ListSolutionsPaginator.d.ts +7 -0
  110. package/dist-types/pagination/index.d.ts +4 -0
  111. package/dist-types/protocols/Aws_json1_0.d.ts +128 -0
  112. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  113. package/dist-types/runtimeConfig.d.ts +48 -0
  114. package/dist-types/runtimeConfig.native.d.ts +47 -0
  115. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  116. package/dist-types/runtimeExtensions.d.ts +17 -0
  117. package/dist-types/ts3.4/PartnerCentralSelling.d.ts +257 -0
  118. package/dist-types/ts3.4/PartnerCentralSellingClient.d.ts +205 -0
  119. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  120. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  121. package/dist-types/ts3.4/commands/AssignOpportunityCommand.d.ts +46 -0
  122. package/dist-types/ts3.4/commands/AssociateOpportunityCommand.d.ts +46 -0
  123. package/dist-types/ts3.4/commands/CreateOpportunityCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/DisassociateOpportunityCommand.d.ts +47 -0
  125. package/dist-types/ts3.4/commands/GetAwsOpportunitySummaryCommand.d.ts +51 -0
  126. package/dist-types/ts3.4/commands/GetEngagementInvitationCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/GetOpportunityCommand.d.ts +50 -0
  128. package/dist-types/ts3.4/commands/ListEngagementInvitationsCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ListOpportunitiesCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/ListSolutionsCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/RejectEngagementInvitationCommand.d.ts +47 -0
  132. package/dist-types/ts3.4/commands/StartEngagementByAcceptingInvitationTaskCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/StartEngagementFromOpportunityTaskCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/UpdateOpportunityCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/index.d.ts +14 -0
  136. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  137. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  138. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  139. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  140. package/dist-types/ts3.4/index.d.ts +9 -0
  141. package/dist-types/ts3.4/models/PartnerCentralSellingServiceException.d.ts +9 -0
  142. package/dist-types/ts3.4/models/index.d.ts +1 -0
  143. package/dist-types/ts3.4/models/models_0.d.ts +1419 -0
  144. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  145. package/dist-types/ts3.4/pagination/ListEngagementInvitationsPaginator.d.ts +11 -0
  146. package/dist-types/ts3.4/pagination/ListOpportunitiesPaginator.d.ts +11 -0
  147. package/dist-types/ts3.4/pagination/ListSolutionsPaginator.d.ts +11 -0
  148. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  149. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +173 -0
  150. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  151. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  152. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  153. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  154. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  155. package/package.json +103 -0
@@ -0,0 +1,127 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StartEngagementByAcceptingInvitationTaskRequest, StartEngagementByAcceptingInvitationTaskResponse } 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 StartEngagementByAcceptingInvitationTaskCommand}.
14
+ */
15
+ export interface StartEngagementByAcceptingInvitationTaskCommandInput extends StartEngagementByAcceptingInvitationTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartEngagementByAcceptingInvitationTaskCommand}.
21
+ */
22
+ export interface StartEngagementByAcceptingInvitationTaskCommandOutput extends StartEngagementByAcceptingInvitationTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const StartEngagementByAcceptingInvitationTaskCommand_base: {
25
+ new (input: StartEngagementByAcceptingInvitationTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartEngagementByAcceptingInvitationTaskCommandInput, StartEngagementByAcceptingInvitationTaskCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartEngagementByAcceptingInvitationTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartEngagementByAcceptingInvitationTaskCommandInput, StartEngagementByAcceptingInvitationTaskCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This action starts the engagement by accepting an <code>EngagementInvitation</code>. The task is asynchronous and involves several steps: accepting the invitation, creating an opportunity in the partner’s account from the AWS Opportunity, and copying over key details for tracking. Once completed, an <code>Opportunity Created</code> event is generated, indicating that the opportunity has been successfully created in the partner's account.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PartnerCentralSellingClient, StartEngagementByAcceptingInvitationTaskCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
35
+ * // const { PartnerCentralSellingClient, StartEngagementByAcceptingInvitationTaskCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
36
+ * const client = new PartnerCentralSellingClient(config);
37
+ * const input = { // StartEngagementByAcceptingInvitationTaskRequest
38
+ * Catalog: "STRING_VALUE", // required
39
+ * ClientToken: "STRING_VALUE", // required
40
+ * Identifier: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new StartEngagementByAcceptingInvitationTaskCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // StartEngagementByAcceptingInvitationTaskResponse
45
+ * // TaskId: "STRING_VALUE",
46
+ * // TaskArn: "STRING_VALUE",
47
+ * // StartTime: new Date("TIMESTAMP"),
48
+ * // TaskStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED",
49
+ * // Message: "STRING_VALUE",
50
+ * // ReasonCode: "InvitationAccessDenied" || "EngagementAccessDenied" || "OpportunityAccessDenied" || "ResourceSnapshotJobAccessDenied" || "EngagementValidationFailed" || "OpportunitySubmissionFailed" || "EngagementInvitationConflict" || "InternalError" || "OpportunityValidationFailed" || "OpportunityConflict",
51
+ * // OpportunityId: "STRING_VALUE",
52
+ * // EngagementInvitationId: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param StartEngagementByAcceptingInvitationTaskCommandInput - {@link StartEngagementByAcceptingInvitationTaskCommandInput}
58
+ * @returns {@link StartEngagementByAcceptingInvitationTaskCommandOutput}
59
+ * @see {@link StartEngagementByAcceptingInvitationTaskCommandInput} for command's `input` shape.
60
+ * @see {@link StartEngagementByAcceptingInvitationTaskCommandOutput} 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
65
+ * requested action.
66
+ * </p>
67
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
68
+ * </p>
69
+ *
70
+ * @throws {@link ConflictException} (client fault)
71
+ * <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.
72
+ * </p>
73
+ * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
74
+ * </p>
75
+ *
76
+ * @throws {@link InternalServerException} (server fault)
77
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
78
+ * </p>
79
+ * <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.
80
+ * </p>
81
+ *
82
+ * @throws {@link ResourceNotFoundException} (client fault)
83
+ * <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.
84
+ * </p>
85
+ * <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.
86
+ * </p>
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * <p>This error occurs when the request would cause a service quota to be exceeded.
90
+ * Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.
91
+ * </p>
92
+ * <p>Suggested action: Review the
93
+ * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">service quotas</a> for the specific resource, and reduce the usage or request a quota increase through support if necessary.
94
+ * </p>
95
+ *
96
+ * @throws {@link ThrottlingException} (client fault)
97
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your
98
+ * usage to avoid throttling.
99
+ * </p>
100
+ * <p>This error occurs when there are too many requests sent. Review the provided
101
+ * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">quotas</a> and retry after the provided delay.
102
+ * </p>
103
+ *
104
+ * @throws {@link ValidationException} (client fault)
105
+ * <p>The input fails to satisfy the constraints specified by the service or business validation rules.
106
+ * </p>
107
+ * <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
108
+ * </p>
109
+ *
110
+ * @throws {@link PartnerCentralSellingServiceException}
111
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
112
+ *
113
+ * @public
114
+ */
115
+ export declare class StartEngagementByAcceptingInvitationTaskCommand extends StartEngagementByAcceptingInvitationTaskCommand_base {
116
+ /** @internal type navigation helper, not in runtime. */
117
+ protected static __types: {
118
+ api: {
119
+ input: StartEngagementByAcceptingInvitationTaskRequest;
120
+ output: StartEngagementByAcceptingInvitationTaskResponse;
121
+ };
122
+ sdk: {
123
+ input: StartEngagementByAcceptingInvitationTaskCommandInput;
124
+ output: StartEngagementByAcceptingInvitationTaskCommandOutput;
125
+ };
126
+ };
127
+ }
@@ -0,0 +1,130 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { StartEngagementFromOpportunityTaskRequest, StartEngagementFromOpportunityTaskResponse } 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 StartEngagementFromOpportunityTaskCommand}.
14
+ */
15
+ export interface StartEngagementFromOpportunityTaskCommandInput extends StartEngagementFromOpportunityTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartEngagementFromOpportunityTaskCommand}.
21
+ */
22
+ export interface StartEngagementFromOpportunityTaskCommandOutput extends StartEngagementFromOpportunityTaskResponse, __MetadataBearer {
23
+ }
24
+ declare const StartEngagementFromOpportunityTaskCommand_base: {
25
+ new (input: StartEngagementFromOpportunityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartEngagementFromOpportunityTaskCommandInput, StartEngagementFromOpportunityTaskCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartEngagementFromOpportunityTaskCommandInput): import("@smithy/smithy-client").CommandImpl<StartEngagementFromOpportunityTaskCommandInput, StartEngagementFromOpportunityTaskCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>This action initiates the engagement process from an existing opportunity by accepting the engagement invitation and creating a corresponding opportunity in the partner’s system. Similar to <code>StartEngagementByAcceptingInvitationTask</code>, this action is asynchronous and performs multiple steps before completion.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { PartnerCentralSellingClient, StartEngagementFromOpportunityTaskCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
35
+ * // const { PartnerCentralSellingClient, StartEngagementFromOpportunityTaskCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
36
+ * const client = new PartnerCentralSellingClient(config);
37
+ * const input = { // StartEngagementFromOpportunityTaskRequest
38
+ * Catalog: "STRING_VALUE", // required
39
+ * ClientToken: "STRING_VALUE", // required
40
+ * Identifier: "STRING_VALUE", // required
41
+ * AwsSubmission: { // AwsSubmission
42
+ * InvolvementType: "For Visibility Only" || "Co-Sell", // required
43
+ * Visibility: "Full" || "Limited",
44
+ * },
45
+ * };
46
+ * const command = new StartEngagementFromOpportunityTaskCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // StartEngagementFromOpportunityTaskResponse
49
+ * // TaskId: "STRING_VALUE",
50
+ * // TaskArn: "STRING_VALUE",
51
+ * // StartTime: new Date("TIMESTAMP"),
52
+ * // TaskStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED",
53
+ * // Message: "STRING_VALUE",
54
+ * // ReasonCode: "InvitationAccessDenied" || "EngagementAccessDenied" || "OpportunityAccessDenied" || "ResourceSnapshotJobAccessDenied" || "EngagementValidationFailed" || "OpportunitySubmissionFailed" || "EngagementInvitationConflict" || "InternalError" || "OpportunityValidationFailed" || "OpportunityConflict",
55
+ * // OpportunityId: "STRING_VALUE",
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param StartEngagementFromOpportunityTaskCommandInput - {@link StartEngagementFromOpportunityTaskCommandInput}
61
+ * @returns {@link StartEngagementFromOpportunityTaskCommandOutput}
62
+ * @see {@link StartEngagementFromOpportunityTaskCommandInput} for command's `input` shape.
63
+ * @see {@link StartEngagementFromOpportunityTaskCommandOutput} for command's `response` shape.
64
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
65
+ *
66
+ * @throws {@link AccessDeniedException} (client fault)
67
+ * <p>This error occurs when you don't have permission to perform the
68
+ * requested action.
69
+ * </p>
70
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
71
+ * </p>
72
+ *
73
+ * @throws {@link ConflictException} (client fault)
74
+ * <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.
75
+ * </p>
76
+ * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
77
+ * </p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
81
+ * </p>
82
+ * <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.
83
+ * </p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <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.
87
+ * </p>
88
+ * <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.
89
+ * </p>
90
+ *
91
+ * @throws {@link ServiceQuotaExceededException} (client fault)
92
+ * <p>This error occurs when the request would cause a service quota to be exceeded.
93
+ * Service quotas represent the maximum allowed use of a specific resource, and this error indicates that the request would surpass that limit.
94
+ * </p>
95
+ * <p>Suggested action: Review the
96
+ * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">service quotas</a> for the specific resource, and reduce the usage or request a quota increase through support if necessary.
97
+ * </p>
98
+ *
99
+ * @throws {@link ThrottlingException} (client fault)
100
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your
101
+ * usage to avoid throttling.
102
+ * </p>
103
+ * <p>This error occurs when there are too many requests sent. Review the provided
104
+ * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">quotas</a> and retry after the provided delay.
105
+ * </p>
106
+ *
107
+ * @throws {@link ValidationException} (client fault)
108
+ * <p>The input fails to satisfy the constraints specified by the service or business validation rules.
109
+ * </p>
110
+ * <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
111
+ * </p>
112
+ *
113
+ * @throws {@link PartnerCentralSellingServiceException}
114
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
115
+ *
116
+ * @public
117
+ */
118
+ export declare class StartEngagementFromOpportunityTaskCommand extends StartEngagementFromOpportunityTaskCommand_base {
119
+ /** @internal type navigation helper, not in runtime. */
120
+ protected static __types: {
121
+ api: {
122
+ input: StartEngagementFromOpportunityTaskRequest;
123
+ output: StartEngagementFromOpportunityTaskResponse;
124
+ };
125
+ sdk: {
126
+ input: StartEngagementFromOpportunityTaskCommandInput;
127
+ output: StartEngagementFromOpportunityTaskCommandOutput;
128
+ };
129
+ };
130
+ }
@@ -0,0 +1,214 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateOpportunityRequest, UpdateOpportunityResponse } 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 UpdateOpportunityCommand}.
14
+ */
15
+ export interface UpdateOpportunityCommandInput extends UpdateOpportunityRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateOpportunityCommand}.
21
+ */
22
+ export interface UpdateOpportunityCommandOutput extends UpdateOpportunityResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateOpportunityCommand_base: {
25
+ new (input: UpdateOpportunityCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOpportunityCommandInput, UpdateOpportunityCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateOpportunityCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateOpportunityCommandInput, UpdateOpportunityCommandOutput, PartnerCentralSellingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>
31
+ * Updates the <code>Opportunity</code> record identified by a given <code>Identifier</code>.
32
+ * This operation allows you to modify the details of an existing opportunity to reflect the latest information
33
+ * and progress. Use this action to keep the opportunity record up-to-date and accurate.
34
+ * </p>
35
+ * <p>
36
+ * When you perform updates, include the entire payload with each request. If any field is omitted, the API assumes that the field is set to <code>null</code>. The best practice is to always perform a <code>GetOpportunity</code> to retrieve the latest values, then send the complete payload with the updated values to be changed.
37
+ * </p>
38
+ * @example
39
+ * Use a bare-bones client and the command you need to make an API call.
40
+ * ```javascript
41
+ * import { PartnerCentralSellingClient, UpdateOpportunityCommand } from "@aws-sdk/client-partnercentral-selling"; // ES Modules import
42
+ * // const { PartnerCentralSellingClient, UpdateOpportunityCommand } = require("@aws-sdk/client-partnercentral-selling"); // CommonJS import
43
+ * const client = new PartnerCentralSellingClient(config);
44
+ * const input = { // UpdateOpportunityRequest
45
+ * Catalog: "STRING_VALUE", // required
46
+ * PrimaryNeedsFromAws: [ // PrimaryNeedsFromAws
47
+ * "Co-Sell - Architectural Validation" || "Co-Sell - Business Presentation" || "Co-Sell - Competitive Information" || "Co-Sell - Pricing Assistance" || "Co-Sell - Technical Consultation" || "Co-Sell - Total Cost of Ownership Evaluation" || "Co-Sell - Deal Support" || "Co-Sell - Support for Public Tender / RFx",
48
+ * ],
49
+ * NationalSecurity: "Yes" || "No",
50
+ * PartnerOpportunityIdentifier: "STRING_VALUE",
51
+ * Customer: { // Customer
52
+ * Account: { // Account
53
+ * Industry: "Aerospace" || "Agriculture" || "Automotive" || "Computers and Electronics" || "Consumer Goods" || "Education" || "Energy - Oil and Gas" || "Energy - Power and Utilities" || "Financial Services" || "Gaming" || "Government" || "Healthcare" || "Hospitality" || "Life Sciences" || "Manufacturing" || "Marketing and Advertising" || "Media and Entertainment" || "Mining" || "Non-Profit Organization" || "Professional Services" || "Real Estate and Construction" || "Retail" || "Software and Internet" || "Telecommunications" || "Transportation and Logistics" || "Travel" || "Wholesale and Distribution" || "Other",
54
+ * OtherIndustry: "STRING_VALUE",
55
+ * CompanyName: "STRING_VALUE", // required
56
+ * WebsiteUrl: "STRING_VALUE",
57
+ * AwsAccountId: "STRING_VALUE",
58
+ * Address: { // Address
59
+ * City: "STRING_VALUE",
60
+ * PostalCode: "STRING_VALUE",
61
+ * StateOrRegion: "STRING_VALUE",
62
+ * 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",
63
+ * StreetAddress: "STRING_VALUE",
64
+ * },
65
+ * Duns: "STRING_VALUE",
66
+ * },
67
+ * Contacts: [ // CustomerContactsList
68
+ * { // Contact
69
+ * Email: "STRING_VALUE",
70
+ * FirstName: "STRING_VALUE",
71
+ * LastName: "STRING_VALUE",
72
+ * BusinessTitle: "STRING_VALUE",
73
+ * Phone: "STRING_VALUE",
74
+ * },
75
+ * ],
76
+ * },
77
+ * Project: { // Project
78
+ * DeliveryModels: [ // DeliveryModels
79
+ * "SaaS or PaaS" || "BYOL or AMI" || "Managed Services" || "Professional Services" || "Resell" || "Other",
80
+ * ],
81
+ * ExpectedCustomerSpend: [ // ExpectedCustomerSpendList
82
+ * { // ExpectedCustomerSpend
83
+ * Amount: "STRING_VALUE", // required
84
+ * 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
85
+ * Frequency: "Monthly", // required
86
+ * TargetCompany: "STRING_VALUE", // required
87
+ * },
88
+ * ],
89
+ * Title: "STRING_VALUE",
90
+ * ApnPrograms: [ // ApnPrograms
91
+ * "STRING_VALUE",
92
+ * ],
93
+ * CustomerBusinessProblem: "STRING_VALUE",
94
+ * CustomerUseCase: "STRING_VALUE",
95
+ * RelatedOpportunityIdentifier: "STRING_VALUE",
96
+ * SalesActivities: [ // SalesActivities
97
+ * "Initialized discussions with customer" || "Customer has shown interest in solution" || "Conducted POC / Demo" || "In evaluation / planning stage" || "Agreed on solution to Business Problem" || "Completed Action Plan" || "Finalized Deployment Need" || "SOW Signed",
98
+ * ],
99
+ * CompetitorName: "Oracle Cloud" || "On-Prem" || "Co-location" || "Akamai" || "AliCloud" || "Google Cloud Platform" || "IBM Softlayer" || "Microsoft Azure" || "Other- Cost Optimization" || "No Competition" || "*Other",
100
+ * OtherCompetitorNames: "STRING_VALUE",
101
+ * OtherSolutionDescription: "STRING_VALUE",
102
+ * AdditionalComments: "STRING_VALUE",
103
+ * },
104
+ * OpportunityType: "Net New Business" || "Flat Renewal" || "Expansion",
105
+ * Marketing: { // Marketing
106
+ * CampaignName: "STRING_VALUE",
107
+ * Source: "Marketing Activity" || "None",
108
+ * UseCases: [ // UseCases
109
+ * "STRING_VALUE",
110
+ * ],
111
+ * Channels: [ // Channels
112
+ * "AWS Marketing Central" || "Content Syndication" || "Display" || "Email" || "Live Event" || "Out Of Home (OOH)" || "Print" || "Search" || "Social" || "Telemarketing" || "TV" || "Video" || "Virtual Event",
113
+ * ],
114
+ * AwsFundingUsed: "Yes" || "No",
115
+ * },
116
+ * SoftwareRevenue: { // SoftwareRevenue
117
+ * DeliveryModel: "Contract" || "Pay-as-you-go" || "Subscription",
118
+ * Value: { // MonetaryValue
119
+ * Amount: "STRING_VALUE", // required
120
+ * 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
121
+ * },
122
+ * EffectiveDate: "STRING_VALUE",
123
+ * ExpirationDate: "STRING_VALUE",
124
+ * },
125
+ * LastModifiedDate: new Date("TIMESTAMP"), // required
126
+ * Identifier: "STRING_VALUE", // required
127
+ * LifeCycle: { // LifeCycle
128
+ * Stage: "Prospect" || "Qualified" || "Technical Validation" || "Business Validation" || "Committed" || "Launched" || "Closed Lost",
129
+ * ClosedLostReason: "Customer Deficiency" || "Delay / Cancellation of Project" || "Legal / Tax / Regulatory" || "Lost to Competitor - Google" || "Lost to Competitor - Microsoft" || "Lost to Competitor - SoftLayer" || "Lost to Competitor - VMWare" || "Lost to Competitor - Other" || "No Opportunity" || "On Premises Deployment" || "Partner Gap" || "Price" || "Security / Compliance" || "Technical Limitations" || "Customer Experience" || "Other" || "People/Relationship/Governance" || "Product/Technology" || "Financial/Commercial",
130
+ * NextSteps: "STRING_VALUE",
131
+ * TargetCloseDate: "STRING_VALUE",
132
+ * ReviewStatus: "Pending Submission" || "Submitted" || "In review" || "Approved" || "Rejected" || "Action Required",
133
+ * ReviewComments: "STRING_VALUE",
134
+ * ReviewStatusReason: "STRING_VALUE",
135
+ * NextStepsHistory: [ // NextStepsHistories
136
+ * { // NextStepsHistory
137
+ * Value: "STRING_VALUE", // required
138
+ * Time: new Date("TIMESTAMP"), // required
139
+ * },
140
+ * ],
141
+ * },
142
+ * };
143
+ * const command = new UpdateOpportunityCommand(input);
144
+ * const response = await client.send(command);
145
+ * // { // UpdateOpportunityResponse
146
+ * // Id: "STRING_VALUE", // required
147
+ * // LastModifiedDate: new Date("TIMESTAMP"), // required
148
+ * // };
149
+ *
150
+ * ```
151
+ *
152
+ * @param UpdateOpportunityCommandInput - {@link UpdateOpportunityCommandInput}
153
+ * @returns {@link UpdateOpportunityCommandOutput}
154
+ * @see {@link UpdateOpportunityCommandInput} for command's `input` shape.
155
+ * @see {@link UpdateOpportunityCommandOutput} for command's `response` shape.
156
+ * @see {@link PartnerCentralSellingClientResolvedConfig | config} for PartnerCentralSellingClient's `config` shape.
157
+ *
158
+ * @throws {@link AccessDeniedException} (client fault)
159
+ * <p>This error occurs when you don't have permission to perform the
160
+ * requested action.
161
+ * </p>
162
+ * <p>You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
163
+ * </p>
164
+ *
165
+ * @throws {@link ConflictException} (client fault)
166
+ * <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.
167
+ * </p>
168
+ * <p>Suggested action: Fetch the latest state of the resource, verify the state, and retry the request.
169
+ * </p>
170
+ *
171
+ * @throws {@link InternalServerException} (server fault)
172
+ * <p>This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
173
+ * </p>
174
+ * <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.
175
+ * </p>
176
+ *
177
+ * @throws {@link ResourceNotFoundException} (client fault)
178
+ * <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.
179
+ * </p>
180
+ * <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.
181
+ * </p>
182
+ *
183
+ * @throws {@link ThrottlingException} (client fault)
184
+ * <p>This error occurs when there are too many requests sent. Review the provided quotas and adapt your
185
+ * usage to avoid throttling.
186
+ * </p>
187
+ * <p>This error occurs when there are too many requests sent. Review the provided
188
+ * <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/quotas.html">quotas</a> and retry after the provided delay.
189
+ * </p>
190
+ *
191
+ * @throws {@link ValidationException} (client fault)
192
+ * <p>The input fails to satisfy the constraints specified by the service or business validation rules.
193
+ * </p>
194
+ * <p>Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
195
+ * </p>
196
+ *
197
+ * @throws {@link PartnerCentralSellingServiceException}
198
+ * <p>Base exception class for all service exceptions from PartnerCentralSelling service.</p>
199
+ *
200
+ * @public
201
+ */
202
+ export declare class UpdateOpportunityCommand extends UpdateOpportunityCommand_base {
203
+ /** @internal type navigation helper, not in runtime. */
204
+ protected static __types: {
205
+ api: {
206
+ input: UpdateOpportunityRequest;
207
+ output: UpdateOpportunityResponse;
208
+ };
209
+ sdk: {
210
+ input: UpdateOpportunityCommandInput;
211
+ output: UpdateOpportunityCommandOutput;
212
+ };
213
+ };
214
+ }
@@ -0,0 +1,14 @@
1
+ export * from "./AssignOpportunityCommand";
2
+ export * from "./AssociateOpportunityCommand";
3
+ export * from "./CreateOpportunityCommand";
4
+ export * from "./DisassociateOpportunityCommand";
5
+ export * from "./GetAwsOpportunitySummaryCommand";
6
+ export * from "./GetEngagementInvitationCommand";
7
+ export * from "./GetOpportunityCommand";
8
+ export * from "./ListEngagementInvitationsCommand";
9
+ export * from "./ListOpportunitiesCommand";
10
+ export * from "./ListSolutionsCommand";
11
+ export * from "./RejectEngagementInvitationCommand";
12
+ export * from "./StartEngagementByAcceptingInvitationTaskCommand";
13
+ export * from "./StartEngagementFromOpportunityTaskCommand";
14
+ export * from "./UpdateOpportunityCommand";
@@ -0,0 +1,40 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
35
+ export interface EndpointParameters extends __EndpointParameters {
36
+ Region?: string;
37
+ UseDualStack?: boolean;
38
+ UseFIPS?: boolean;
39
+ Endpoint?: string;
40
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface PartnerCentralSellingExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,53 @@
1
+ /**
2
+ * <fullname>AWS Partner Central API for Selling</fullname>
3
+ * <p>
4
+ * <b>AWS Partner Central API for Selling Reference Guide</b>
5
+ * </p>
6
+ * <p>
7
+ * Amazon Web Services (AWS) Partner Central API reference guide is designed to help
8
+ * <a href="https://docs.aws.amazon.com/partners/programs/">AWS Partners</a> programmatically integrate their Customer Relationship Management (CRM) systems with AWS Partner Central. Through the Partner Central APIs, partners can automate and streamline their interactions with AWS Partner Central, ensuring a more efficient and effective engagement in joint business activities.
9
+ * </p>
10
+ * <p>
11
+ * The AWS Partner Central API service provides standard AWS API functionality. You can directly use the API <a href="https://docs.aws.amazon.com/partner-central/latest/selling-api/API_Operations.html">Actions</a>, or you can use an AWS SDK to access an API that's tailored to the programming language or platform that you're using. For more information about AWS application development, see <a href="https://docs.aws.amazon.com/getting-started">Getting Started with AWS</a>. For more information about using AWS SDKs, see <a href="https://docs.aws.amazon.com/aws-sdk">AWS SDKs</a>.
12
+ * </p>
13
+ * <p class="title">
14
+ * <b>Features offered by AWS Partner Central API</b>
15
+ * </p>
16
+ * <ol>
17
+ * <li>
18
+ * <p>
19
+ * <b>Opportunity management:</b> Facilitates the management of co-selling opportunities with AWS using API actions such as <code>CreateOpportunity</code>, <code>UpdateOpportunity</code>, <code>ListOpportunities</code>, <code>GetOpportunity</code>, and <code>AssignOpportunity</code>.</p>
20
+ * </li>
21
+ * <li>
22
+ * <p>
23
+ * <b>AWS referral management:</b> Facilitates receiving referrals shared by AWS using actions like <code>ListEngagementInvitations</code>, <code>GetEngagementInvitation</code>, <code>StartEngagementByAcceptingInvitation</code>, and <code>RejectEngagementInvitation</code>.</p>
24
+ * </li>
25
+ * <li>
26
+ * <p>
27
+ * <b>Entity association:</b> Associate related entities such as <i>AWS Products</i>, <i>Partner Solutions</i>, and <i>AWS Marketplace Private Offers</i> with opportunities using the actions <code>AssociateOpportunity</code> and <code>DisassociateOpportunity</code>.</p>
28
+ * </li>
29
+ * <li>
30
+ * <p>
31
+ * <b>View AWS opportunity details:</b> Use the <code>GetAWSOpportunitySummary</code> action to retrieve real-time summaries of AWS opportunities that are linked to your opportunities.</p>
32
+ * </li>
33
+ * <li>
34
+ * <p>
35
+ * <b>List solutions:</b> Provides list APIs for listing solutions partners offer using <code>ListSolutions</code>.</p>
36
+ * </li>
37
+ * <li>
38
+ * <p>
39
+ * <b>Event subscription:</b> Partners can subscribe to real-time updates on opportunities by listening to events such as <i>Opportunity Created</i>, <i>Opportunity Updated</i>, <i>Engagement Invitation Accepted</i>, <i>Engagement Invitation Rejected</i> and <i>Engagement Invitation Created</i> using AWS EventBridge.</p>
40
+ * </li>
41
+ * </ol>
42
+ *
43
+ * @packageDocumentation
44
+ */
45
+ export * from "./PartnerCentralSellingClient";
46
+ export * from "./PartnerCentralSelling";
47
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
48
+ export type { RuntimeExtension } from "./runtimeExtensions";
49
+ export type { PartnerCentralSellingExtensionConfiguration } from "./extensionConfiguration";
50
+ export * from "./commands";
51
+ export * from "./pagination";
52
+ export * from "./models";
53
+ export { PartnerCentralSellingServiceException } from "./models/PartnerCentralSellingServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from PartnerCentralSelling service.
8
+ */
9
+ export declare class PartnerCentralSellingServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }