@aws-sdk/client-service-catalog 3.36.0 → 3.36.1

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 (210) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/ServiceCatalog.js +0 -9
  3. package/dist-cjs/ServiceCatalogClient.js +0 -14
  4. package/dist-cjs/commands/AcceptPortfolioShareCommand.js +0 -24
  5. package/dist-cjs/commands/AssociateBudgetWithResourceCommand.js +0 -24
  6. package/dist-cjs/commands/AssociatePrincipalWithPortfolioCommand.js +0 -24
  7. package/dist-cjs/commands/AssociateProductWithPortfolioCommand.js +0 -25
  8. package/dist-cjs/commands/AssociateServiceActionWithProvisioningArtifactCommand.js +0 -24
  9. package/dist-cjs/commands/AssociateTagOptionWithResourceCommand.js +0 -24
  10. package/dist-cjs/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.js +0 -24
  11. package/dist-cjs/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.js +0 -24
  12. package/dist-cjs/commands/CopyProductCommand.js +0 -28
  13. package/dist-cjs/commands/CreateConstraintCommand.js +0 -25
  14. package/dist-cjs/commands/CreatePortfolioCommand.js +0 -25
  15. package/dist-cjs/commands/CreatePortfolioShareCommand.js +0 -32
  16. package/dist-cjs/commands/CreateProductCommand.js +0 -30
  17. package/dist-cjs/commands/CreateProvisionedProductPlanCommand.js +0 -30
  18. package/dist-cjs/commands/CreateProvisioningArtifactCommand.js +0 -29
  19. package/dist-cjs/commands/CreateServiceActionCommand.js +0 -24
  20. package/dist-cjs/commands/CreateTagOptionCommand.js +0 -24
  21. package/dist-cjs/commands/DeleteConstraintCommand.js +0 -25
  22. package/dist-cjs/commands/DeletePortfolioCommand.js +0 -27
  23. package/dist-cjs/commands/DeletePortfolioShareCommand.js +0 -27
  24. package/dist-cjs/commands/DeleteProductCommand.js +0 -26
  25. package/dist-cjs/commands/DeleteProvisionedProductPlanCommand.js +0 -24
  26. package/dist-cjs/commands/DeleteProvisioningArtifactCommand.js +0 -27
  27. package/dist-cjs/commands/DeleteServiceActionCommand.js +0 -24
  28. package/dist-cjs/commands/DeleteTagOptionCommand.js +0 -25
  29. package/dist-cjs/commands/DescribeConstraintCommand.js +0 -24
  30. package/dist-cjs/commands/DescribeCopyProductStatusCommand.js +0 -24
  31. package/dist-cjs/commands/DescribePortfolioCommand.js +0 -25
  32. package/dist-cjs/commands/DescribePortfolioShareStatusCommand.js +0 -25
  33. package/dist-cjs/commands/DescribePortfolioSharesCommand.js +0 -28
  34. package/dist-cjs/commands/DescribeProductAsAdminCommand.js +0 -24
  35. package/dist-cjs/commands/DescribeProductCommand.js +0 -24
  36. package/dist-cjs/commands/DescribeProductViewCommand.js +0 -24
  37. package/dist-cjs/commands/DescribeProvisionedProductCommand.js +0 -24
  38. package/dist-cjs/commands/DescribeProvisionedProductPlanCommand.js +0 -24
  39. package/dist-cjs/commands/DescribeProvisioningArtifactCommand.js +0 -24
  40. package/dist-cjs/commands/DescribeProvisioningParametersCommand.js +0 -31
  41. package/dist-cjs/commands/DescribeRecordCommand.js +0 -32
  42. package/dist-cjs/commands/DescribeServiceActionCommand.js +0 -24
  43. package/dist-cjs/commands/DescribeServiceActionExecutionParametersCommand.js +0 -24
  44. package/dist-cjs/commands/DescribeTagOptionCommand.js +0 -24
  45. package/dist-cjs/commands/DisableAWSOrganizationsAccessCommand.js +0 -30
  46. package/dist-cjs/commands/DisassociateBudgetFromResourceCommand.js +0 -24
  47. package/dist-cjs/commands/DisassociatePrincipalFromPortfolioCommand.js +0 -25
  48. package/dist-cjs/commands/DisassociateProductFromPortfolioCommand.js +0 -25
  49. package/dist-cjs/commands/DisassociateServiceActionFromProvisioningArtifactCommand.js +0 -24
  50. package/dist-cjs/commands/DisassociateTagOptionFromResourceCommand.js +0 -24
  51. package/dist-cjs/commands/EnableAWSOrganizationsAccessCommand.js +0 -29
  52. package/dist-cjs/commands/ExecuteProvisionedProductPlanCommand.js +0 -24
  53. package/dist-cjs/commands/ExecuteProvisionedProductServiceActionCommand.js +0 -24
  54. package/dist-cjs/commands/GetAWSOrganizationsAccessStatusCommand.js +0 -25
  55. package/dist-cjs/commands/GetProvisionedProductOutputsCommand.js +0 -24
  56. package/dist-cjs/commands/ImportAsProvisionedProductCommand.js +0 -37
  57. package/dist-cjs/commands/ListAcceptedPortfolioSharesCommand.js +0 -24
  58. package/dist-cjs/commands/ListBudgetsForResourceCommand.js +0 -24
  59. package/dist-cjs/commands/ListConstraintsForPortfolioCommand.js +0 -24
  60. package/dist-cjs/commands/ListLaunchPathsCommand.js +0 -26
  61. package/dist-cjs/commands/ListOrganizationPortfolioAccessCommand.js +0 -27
  62. package/dist-cjs/commands/ListPortfolioAccessCommand.js +0 -25
  63. package/dist-cjs/commands/ListPortfoliosCommand.js +0 -24
  64. package/dist-cjs/commands/ListPortfoliosForProductCommand.js +0 -24
  65. package/dist-cjs/commands/ListPrincipalsForPortfolioCommand.js +0 -24
  66. package/dist-cjs/commands/ListProvisionedProductPlansCommand.js +0 -24
  67. package/dist-cjs/commands/ListProvisioningArtifactsCommand.js +0 -24
  68. package/dist-cjs/commands/ListProvisioningArtifactsForServiceActionCommand.js +0 -24
  69. package/dist-cjs/commands/ListRecordHistoryCommand.js +0 -24
  70. package/dist-cjs/commands/ListResourcesForTagOptionCommand.js +0 -24
  71. package/dist-cjs/commands/ListServiceActionsCommand.js +0 -24
  72. package/dist-cjs/commands/ListServiceActionsForProvisioningArtifactCommand.js +0 -24
  73. package/dist-cjs/commands/ListStackInstancesForProvisionedProductCommand.js +0 -24
  74. package/dist-cjs/commands/ListTagOptionsCommand.js +0 -24
  75. package/dist-cjs/commands/ProvisionProductCommand.js +0 -32
  76. package/dist-cjs/commands/RejectPortfolioShareCommand.js +0 -24
  77. package/dist-cjs/commands/ScanProvisionedProductsCommand.js +0 -25
  78. package/dist-cjs/commands/SearchProductsAsAdminCommand.js +0 -24
  79. package/dist-cjs/commands/SearchProductsCommand.js +0 -24
  80. package/dist-cjs/commands/SearchProvisionedProductsCommand.js +0 -24
  81. package/dist-cjs/commands/TerminateProvisionedProductCommand.js +0 -26
  82. package/dist-cjs/commands/UpdateConstraintCommand.js +0 -24
  83. package/dist-cjs/commands/UpdatePortfolioCommand.js +0 -25
  84. package/dist-cjs/commands/UpdatePortfolioShareCommand.js +0 -32
  85. package/dist-cjs/commands/UpdateProductCommand.js +0 -24
  86. package/dist-cjs/commands/UpdateProvisionedProductCommand.js +0 -28
  87. package/dist-cjs/commands/UpdateProvisionedProductPropertiesCommand.js +0 -24
  88. package/dist-cjs/commands/UpdateProvisioningArtifactCommand.js +0 -25
  89. package/dist-cjs/commands/UpdateServiceActionCommand.js +0 -24
  90. package/dist-cjs/commands/UpdateTagOptionCommand.js +0 -24
  91. package/dist-cjs/models/models_0.js +0 -705
  92. package/dist-cjs/pagination/DescribePortfolioSharesPaginator.js +0 -10
  93. package/dist-cjs/pagination/GetProvisionedProductOutputsPaginator.js +0 -10
  94. package/dist-cjs/pagination/ListAcceptedPortfolioSharesPaginator.js +0 -10
  95. package/dist-cjs/pagination/ListBudgetsForResourcePaginator.js +0 -10
  96. package/dist-cjs/pagination/ListConstraintsForPortfolioPaginator.js +0 -10
  97. package/dist-cjs/pagination/ListLaunchPathsPaginator.js +0 -10
  98. package/dist-cjs/pagination/ListOrganizationPortfolioAccessPaginator.js +0 -10
  99. package/dist-cjs/pagination/ListPortfolioAccessPaginator.js +0 -10
  100. package/dist-cjs/pagination/ListPortfoliosForProductPaginator.js +0 -10
  101. package/dist-cjs/pagination/ListPortfoliosPaginator.js +0 -10
  102. package/dist-cjs/pagination/ListPrincipalsForPortfolioPaginator.js +0 -10
  103. package/dist-cjs/pagination/ListProvisioningArtifactsForServiceActionPaginator.js +0 -10
  104. package/dist-cjs/pagination/ListResourcesForTagOptionPaginator.js +0 -10
  105. package/dist-cjs/pagination/ListServiceActionsForProvisioningArtifactPaginator.js +0 -10
  106. package/dist-cjs/pagination/ListServiceActionsPaginator.js +0 -10
  107. package/dist-cjs/pagination/ListTagOptionsPaginator.js +0 -10
  108. package/dist-cjs/pagination/SearchProductsAsAdminPaginator.js +0 -10
  109. package/dist-cjs/pagination/SearchProductsPaginator.js +0 -10
  110. package/dist-cjs/pagination/SearchProvisionedProductsPaginator.js +0 -10
  111. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  112. package/dist-cjs/runtimeConfig.browser.js +1 -5
  113. package/dist-cjs/runtimeConfig.js +1 -5
  114. package/dist-cjs/runtimeConfig.native.js +0 -3
  115. package/dist-cjs/runtimeConfig.shared.js +0 -3
  116. package/dist-types/ts3.4/ServiceCatalog.d.ts +88 -394
  117. package/dist-types/ts3.4/ServiceCatalogClient.d.ts +24 -95
  118. package/dist-types/ts3.4/commands/AcceptPortfolioShareCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/AssociateBudgetWithResourceCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/AssociatePrincipalWithPortfolioCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/AssociateProductWithPortfolioCommand.d.ts +2 -21
  122. package/dist-types/ts3.4/commands/AssociateServiceActionWithProvisioningArtifactCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/AssociateTagOptionWithResourceCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/BatchAssociateServiceActionWithProvisioningArtifactCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/BatchDisassociateServiceActionFromProvisioningArtifactCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/CopyProductCommand.d.ts +2 -24
  127. package/dist-types/ts3.4/commands/CreateConstraintCommand.d.ts +2 -21
  128. package/dist-types/ts3.4/commands/CreatePortfolioCommand.d.ts +2 -21
  129. package/dist-types/ts3.4/commands/CreatePortfolioShareCommand.d.ts +2 -28
  130. package/dist-types/ts3.4/commands/CreateProductCommand.d.ts +2 -26
  131. package/dist-types/ts3.4/commands/CreateProvisionedProductPlanCommand.d.ts +2 -26
  132. package/dist-types/ts3.4/commands/CreateProvisioningArtifactCommand.d.ts +2 -25
  133. package/dist-types/ts3.4/commands/CreateServiceActionCommand.d.ts +2 -20
  134. package/dist-types/ts3.4/commands/CreateTagOptionCommand.d.ts +2 -20
  135. package/dist-types/ts3.4/commands/DeleteConstraintCommand.d.ts +2 -21
  136. package/dist-types/ts3.4/commands/DeletePortfolioCommand.d.ts +2 -23
  137. package/dist-types/ts3.4/commands/DeletePortfolioShareCommand.d.ts +2 -23
  138. package/dist-types/ts3.4/commands/DeleteProductCommand.d.ts +2 -22
  139. package/dist-types/ts3.4/commands/DeleteProvisionedProductPlanCommand.d.ts +2 -20
  140. package/dist-types/ts3.4/commands/DeleteProvisioningArtifactCommand.d.ts +2 -23
  141. package/dist-types/ts3.4/commands/DeleteServiceActionCommand.d.ts +2 -20
  142. package/dist-types/ts3.4/commands/DeleteTagOptionCommand.d.ts +2 -21
  143. package/dist-types/ts3.4/commands/DescribeConstraintCommand.d.ts +2 -20
  144. package/dist-types/ts3.4/commands/DescribeCopyProductStatusCommand.d.ts +2 -20
  145. package/dist-types/ts3.4/commands/DescribePortfolioCommand.d.ts +2 -21
  146. package/dist-types/ts3.4/commands/DescribePortfolioShareStatusCommand.d.ts +2 -21
  147. package/dist-types/ts3.4/commands/DescribePortfolioSharesCommand.d.ts +2 -24
  148. package/dist-types/ts3.4/commands/DescribeProductAsAdminCommand.d.ts +2 -20
  149. package/dist-types/ts3.4/commands/DescribeProductCommand.d.ts +2 -20
  150. package/dist-types/ts3.4/commands/DescribeProductViewCommand.d.ts +2 -20
  151. package/dist-types/ts3.4/commands/DescribeProvisionedProductCommand.d.ts +2 -20
  152. package/dist-types/ts3.4/commands/DescribeProvisionedProductPlanCommand.d.ts +2 -20
  153. package/dist-types/ts3.4/commands/DescribeProvisioningArtifactCommand.d.ts +2 -20
  154. package/dist-types/ts3.4/commands/DescribeProvisioningParametersCommand.d.ts +2 -27
  155. package/dist-types/ts3.4/commands/DescribeRecordCommand.d.ts +2 -28
  156. package/dist-types/ts3.4/commands/DescribeServiceActionCommand.d.ts +2 -20
  157. package/dist-types/ts3.4/commands/DescribeServiceActionExecutionParametersCommand.d.ts +2 -20
  158. package/dist-types/ts3.4/commands/DescribeTagOptionCommand.d.ts +2 -20
  159. package/dist-types/ts3.4/commands/DisableAWSOrganizationsAccessCommand.d.ts +2 -26
  160. package/dist-types/ts3.4/commands/DisassociateBudgetFromResourceCommand.d.ts +2 -20
  161. package/dist-types/ts3.4/commands/DisassociatePrincipalFromPortfolioCommand.d.ts +2 -21
  162. package/dist-types/ts3.4/commands/DisassociateProductFromPortfolioCommand.d.ts +2 -21
  163. package/dist-types/ts3.4/commands/DisassociateServiceActionFromProvisioningArtifactCommand.d.ts +2 -20
  164. package/dist-types/ts3.4/commands/DisassociateTagOptionFromResourceCommand.d.ts +2 -20
  165. package/dist-types/ts3.4/commands/EnableAWSOrganizationsAccessCommand.d.ts +2 -25
  166. package/dist-types/ts3.4/commands/ExecuteProvisionedProductPlanCommand.d.ts +2 -20
  167. package/dist-types/ts3.4/commands/ExecuteProvisionedProductServiceActionCommand.d.ts +2 -20
  168. package/dist-types/ts3.4/commands/GetAWSOrganizationsAccessStatusCommand.d.ts +2 -21
  169. package/dist-types/ts3.4/commands/GetProvisionedProductOutputsCommand.d.ts +2 -20
  170. package/dist-types/ts3.4/commands/ImportAsProvisionedProductCommand.d.ts +2 -33
  171. package/dist-types/ts3.4/commands/ListAcceptedPortfolioSharesCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/ListBudgetsForResourceCommand.d.ts +2 -20
  173. package/dist-types/ts3.4/commands/ListConstraintsForPortfolioCommand.d.ts +2 -20
  174. package/dist-types/ts3.4/commands/ListLaunchPathsCommand.d.ts +2 -22
  175. package/dist-types/ts3.4/commands/ListOrganizationPortfolioAccessCommand.d.ts +2 -23
  176. package/dist-types/ts3.4/commands/ListPortfolioAccessCommand.d.ts +2 -21
  177. package/dist-types/ts3.4/commands/ListPortfoliosCommand.d.ts +2 -20
  178. package/dist-types/ts3.4/commands/ListPortfoliosForProductCommand.d.ts +2 -20
  179. package/dist-types/ts3.4/commands/ListPrincipalsForPortfolioCommand.d.ts +2 -20
  180. package/dist-types/ts3.4/commands/ListProvisionedProductPlansCommand.d.ts +2 -20
  181. package/dist-types/ts3.4/commands/ListProvisioningArtifactsCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/ListProvisioningArtifactsForServiceActionCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/ListRecordHistoryCommand.d.ts +2 -20
  184. package/dist-types/ts3.4/commands/ListResourcesForTagOptionCommand.d.ts +2 -20
  185. package/dist-types/ts3.4/commands/ListServiceActionsCommand.d.ts +2 -20
  186. package/dist-types/ts3.4/commands/ListServiceActionsForProvisioningArtifactCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/ListStackInstancesForProvisionedProductCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/ListTagOptionsCommand.d.ts +2 -20
  189. package/dist-types/ts3.4/commands/ProvisionProductCommand.d.ts +2 -28
  190. package/dist-types/ts3.4/commands/RejectPortfolioShareCommand.d.ts +2 -20
  191. package/dist-types/ts3.4/commands/ScanProvisionedProductsCommand.d.ts +2 -21
  192. package/dist-types/ts3.4/commands/SearchProductsAsAdminCommand.d.ts +2 -20
  193. package/dist-types/ts3.4/commands/SearchProductsCommand.d.ts +2 -20
  194. package/dist-types/ts3.4/commands/SearchProvisionedProductsCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/TerminateProvisionedProductCommand.d.ts +2 -22
  196. package/dist-types/ts3.4/commands/UpdateConstraintCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/UpdatePortfolioCommand.d.ts +2 -21
  198. package/dist-types/ts3.4/commands/UpdatePortfolioShareCommand.d.ts +2 -28
  199. package/dist-types/ts3.4/commands/UpdateProductCommand.d.ts +2 -20
  200. package/dist-types/ts3.4/commands/UpdateProvisionedProductCommand.d.ts +2 -24
  201. package/dist-types/ts3.4/commands/UpdateProvisionedProductPropertiesCommand.d.ts +2 -20
  202. package/dist-types/ts3.4/commands/UpdateProvisioningArtifactCommand.d.ts +2 -21
  203. package/dist-types/ts3.4/commands/UpdateServiceActionCommand.d.ts +2 -20
  204. package/dist-types/ts3.4/commands/UpdateTagOptionCommand.d.ts +2 -20
  205. package/dist-types/ts3.4/models/models_0.d.ts +1048 -4920
  206. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  207. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  208. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  209. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  210. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -89,15 +89,6 @@ const UpdateProvisioningArtifactCommand_1 = require("./commands/UpdateProvisioni
89
89
  const UpdateServiceActionCommand_1 = require("./commands/UpdateServiceActionCommand");
90
90
  const UpdateTagOptionCommand_1 = require("./commands/UpdateTagOptionCommand");
91
91
  const ServiceCatalogClient_1 = require("./ServiceCatalogClient");
92
- /**
93
- * <fullname>AWS Service Catalog</fullname>
94
- * <p>
95
- * <a href="https://aws.amazon.com/servicecatalog/">AWS Service Catalog</a> enables
96
- * organizations to create and manage catalogs of IT services that are approved for AWS. To
97
- * get the most out of this documentation, you should be familiar with the terminology
98
- * discussed in <a href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html">AWS Service Catalog
99
- * Concepts</a>.</p>
100
- */
101
92
  class ServiceCatalog extends ServiceCatalogClient_1.ServiceCatalogClient {
102
93
  acceptPortfolioShare(args, optionsOrCb, cb) {
103
94
  const command = new AcceptPortfolioShareCommand_1.AcceptPortfolioShareCommand(args);
@@ -10,15 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>AWS Service Catalog</fullname>
15
- * <p>
16
- * <a href="https://aws.amazon.com/servicecatalog/">AWS Service Catalog</a> enables
17
- * organizations to create and manage catalogs of IT services that are approved for AWS. To
18
- * get the most out of this documentation, you should be familiar with the terminology
19
- * discussed in <a href="http://docs.aws.amazon.com/servicecatalog/latest/adminguide/what-is_concepts.html">AWS Service Catalog
20
- * Concepts</a>.</p>
21
- */
22
13
  class ServiceCatalogClient extends smithy_client_1.Client {
23
14
  constructor(configuration) {
24
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -37,11 +28,6 @@ class ServiceCatalogClient extends smithy_client_1.Client {
37
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
38
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
39
30
  }
40
- /**
41
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
42
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
43
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
44
- */
45
31
  destroy() {
46
32
  super.destroy();
47
33
  }
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Accepts an offer to share the specified portfolio.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, AcceptPortfolioShareCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, AcceptPortfolioShareCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new AcceptPortfolioShareCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AcceptPortfolioShareCommandInput} for command's `input` shape.
21
- * @see {@link AcceptPortfolioShareCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AcceptPortfolioShareCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Associates the specified budget with the specified resource.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, AssociateBudgetWithResourceCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, AssociateBudgetWithResourceCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new AssociateBudgetWithResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociateBudgetWithResourceCommandInput} for command's `input` shape.
21
- * @see {@link AssociateBudgetWithResourceCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AssociateBudgetWithResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Associates the specified principal ARN with the specified portfolio.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, AssociatePrincipalWithPortfolioCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, AssociatePrincipalWithPortfolioCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new AssociatePrincipalWithPortfolioCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociatePrincipalWithPortfolioCommandInput} for command's `input` shape.
21
- * @see {@link AssociatePrincipalWithPortfolioCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AssociatePrincipalWithPortfolioCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Associates the specified product with the specified portfolio.</p>
10
- * <p>A delegated admin is authorized to invoke this command.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ServiceCatalogClient, AssociateProductWithPortfolioCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
15
- * // const { ServiceCatalogClient, AssociateProductWithPortfolioCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
16
- * const client = new ServiceCatalogClient(config);
17
- * const command = new AssociateProductWithPortfolioCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link AssociateProductWithPortfolioCommandInput} for command's `input` shape.
22
- * @see {@link AssociateProductWithPortfolioCommandOutput} for command's `response` shape.
23
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class AssociateProductWithPortfolioCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Associates a self-service action with a provisioning artifact.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, AssociateServiceActionWithProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, AssociateServiceActionWithProvisioningArtifactCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new AssociateServiceActionWithProvisioningArtifactCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociateServiceActionWithProvisioningArtifactCommandInput} for command's `input` shape.
21
- * @see {@link AssociateServiceActionWithProvisioningArtifactCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AssociateServiceActionWithProvisioningArtifactCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Associate the specified TagOption with the specified portfolio or product.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, AssociateTagOptionWithResourceCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, AssociateTagOptionWithResourceCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new AssociateTagOptionWithResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AssociateTagOptionWithResourceCommandInput} for command's `input` shape.
21
- * @see {@link AssociateTagOptionWithResourceCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AssociateTagOptionWithResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Associates multiple self-service actions with provisioning artifacts.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, BatchAssociateServiceActionWithProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, BatchAssociateServiceActionWithProvisioningArtifactCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new BatchAssociateServiceActionWithProvisioningArtifactCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchAssociateServiceActionWithProvisioningArtifactCommandInput} for command's `input` shape.
21
- * @see {@link BatchAssociateServiceActionWithProvisioningArtifactCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchAssociateServiceActionWithProvisioningArtifactCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Disassociates a batch of self-service actions from the specified provisioning artifact.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ServiceCatalogClient, BatchDisassociateServiceActionFromProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
14
- * // const { ServiceCatalogClient, BatchDisassociateServiceActionFromProvisioningArtifactCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
15
- * const client = new ServiceCatalogClient(config);
16
- * const command = new BatchDisassociateServiceActionFromProvisioningArtifactCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchDisassociateServiceActionFromProvisioningArtifactCommandInput} for command's `input` shape.
21
- * @see {@link BatchDisassociateServiceActionFromProvisioningArtifactCommandOutput} for command's `response` shape.
22
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchDisassociateServiceActionFromProvisioningArtifactCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Copies the specified source product to the specified target product or a new product.</p>
10
- * <p>You can copy a product to the same account or another account.
11
- * You can copy a product to the same region or another region.</p>
12
- * <p>This operation is performed asynchronously. To track the progress of the
13
- * operation, use <a>DescribeCopyProductStatus</a>.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ServiceCatalogClient, CopyProductCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
18
- * // const { ServiceCatalogClient, CopyProductCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
19
- * const client = new ServiceCatalogClient(config);
20
- * const command = new CopyProductCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link CopyProductCommandInput} for command's `input` shape.
25
- * @see {@link CopyProductCommandOutput} for command's `response` shape.
26
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class CopyProductCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a constraint.</p>
10
- * <p>A delegated admin is authorized to invoke this command.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ServiceCatalogClient, CreateConstraintCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
15
- * // const { ServiceCatalogClient, CreateConstraintCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
16
- * const client = new ServiceCatalogClient(config);
17
- * const command = new CreateConstraintCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateConstraintCommandInput} for command's `input` shape.
22
- * @see {@link CreateConstraintCommandOutput} for command's `response` shape.
23
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateConstraintCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a portfolio.</p>
10
- * <p>A delegated admin is authorized to invoke this command.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ServiceCatalogClient, CreatePortfolioCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
15
- * // const { ServiceCatalogClient, CreatePortfolioCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
16
- * const client = new ServiceCatalogClient(config);
17
- * const command = new CreatePortfolioCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreatePortfolioCommandInput} for command's `input` shape.
22
- * @see {@link CreatePortfolioCommandOutput} for command's `response` shape.
23
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreatePortfolioCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Shares the specified portfolio with the specified account or organization node.
10
- * Shares to an organization node can only be created by the management account of an
11
- * organization or by a delegated administrator. You can share portfolios to an organization,
12
- * an organizational unit, or a specific account.</p>
13
- * <p>Note that if a delegated admin is de-registered, they can no longer create portfolio shares.</p>
14
- * <p>
15
- * <code>AWSOrganizationsAccess</code> must be enabled in order to create a portfolio share to an organization node.</p>
16
- * <p>You can't share a shared resource, including portfolios that contain a shared product.</p>
17
- * <p>If the portfolio share with the specified account or organization node already exists, this action will have no effect and will not return an error. To update an existing share, you must use the <code> UpdatePortfolioShare</code> API instead.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { ServiceCatalogClient, CreatePortfolioShareCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
22
- * // const { ServiceCatalogClient, CreatePortfolioShareCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
23
- * const client = new ServiceCatalogClient(config);
24
- * const command = new CreatePortfolioShareCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link CreatePortfolioShareCommandInput} for command's `input` shape.
29
- * @see {@link CreatePortfolioShareCommandOutput} for command's `response` shape.
30
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class CreatePortfolioShareCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a product.</p>
10
- * <p>A delegated admin is authorized to invoke this command.</p>
11
- *
12
- * <p>The user or role that performs this operation must have the
13
- * <code>cloudformation:GetTemplate</code> IAM policy permission. This policy permission is
14
- * required when using the <code>ImportFromPhysicalId</code> template source in the
15
- * information data section.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ServiceCatalogClient, CreateProductCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
20
- * // const { ServiceCatalogClient, CreateProductCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
21
- * const client = new ServiceCatalogClient(config);
22
- * const command = new CreateProductCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link CreateProductCommandInput} for command's `input` shape.
27
- * @see {@link CreateProductCommandOutput} for command's `response` shape.
28
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class CreateProductCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a plan. A plan includes the list of resources to be
10
- * created (when provisioning a new product) or modified (when updating a provisioned product)
11
- * when the plan is executed.</p>
12
- * <p>You can create one plan per provisioned product. To create a plan for an existing
13
- * provisioned product, the product status must be AVAILBLE or TAINTED.</p>
14
- * <p>To view the resource changes in the change set, use <a>DescribeProvisionedProductPlan</a>.
15
- * To create or modify the provisioned product, use <a>ExecuteProvisionedProductPlan</a>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { ServiceCatalogClient, CreateProvisionedProductPlanCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
20
- * // const { ServiceCatalogClient, CreateProvisionedProductPlanCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
21
- * const client = new ServiceCatalogClient(config);
22
- * const command = new CreateProvisionedProductPlanCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link CreateProvisionedProductPlanCommandInput} for command's `input` shape.
27
- * @see {@link CreateProvisionedProductPlanCommandOutput} for command's `response` shape.
28
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class CreateProvisionedProductPlanCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a provisioning artifact (also known as a version) for the specified product.</p>
10
- * <p>You cannot create a provisioning artifact for a product that was shared with you.</p>
11
- *
12
- * <p>The user or role that performs this operation must have the <code>cloudformation:GetTemplate</code>
13
- * IAM policy permission. This policy permission is required when using the
14
- * <code>ImportFromPhysicalId</code> template source in the information data section.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ServiceCatalogClient, CreateProvisioningArtifactCommand } from "@aws-sdk/client-service-catalog"; // ES Modules import
19
- * // const { ServiceCatalogClient, CreateProvisioningArtifactCommand } = require("@aws-sdk/client-service-catalog"); // CommonJS import
20
- * const client = new ServiceCatalogClient(config);
21
- * const command = new CreateProvisioningArtifactCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link CreateProvisioningArtifactCommandInput} for command's `input` shape.
26
- * @see {@link CreateProvisioningArtifactCommandOutput} for command's `response` shape.
27
- * @see {@link ServiceCatalogClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class CreateProvisioningArtifactCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);