@aws-sdk/client-service-catalog 3.303.0 → 3.305.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 (35) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/ServiceCatalog.js +45 -0
  3. package/dist-cjs/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +45 -0
  4. package/dist-cjs/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +45 -0
  5. package/dist-cjs/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +45 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/models/models_0.js +10 -1
  8. package/dist-cjs/protocols/Aws_json1_1.js +215 -3
  9. package/dist-es/ServiceCatalog.js +45 -0
  10. package/dist-es/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +41 -0
  11. package/dist-es/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +41 -0
  12. package/dist-es/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +41 -0
  13. package/dist-es/commands/index.js +3 -0
  14. package/dist-es/models/models_0.js +9 -0
  15. package/dist-es/protocols/Aws_json1_1.js +206 -0
  16. package/dist-types/ServiceCatalog.d.ts +33 -0
  17. package/dist-types/ServiceCatalogClient.d.ts +5 -2
  18. package/dist-types/commands/AssociateServiceActionWithProvisioningArtifactCommand.d.ts +3 -0
  19. package/dist-types/commands/CreateProductCommand.d.ts +2 -2
  20. package/dist-types/commands/CreateProvisioningArtifactCommand.d.ts +1 -1
  21. package/dist-types/commands/NotifyProvisionProductEngineWorkflowResultCommand.d.ts +89 -0
  22. package/dist-types/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.d.ts +76 -0
  23. package/dist-types/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.d.ts +83 -0
  24. package/dist-types/commands/index.d.ts +3 -0
  25. package/dist-types/models/models_0.d.ts +232 -294
  26. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  27. package/dist-types/ts3.4/ServiceCatalog.d.ts +69 -0
  28. package/dist-types/ts3.4/ServiceCatalogClient.d.ts +18 -0
  29. package/dist-types/ts3.4/commands/NotifyProvisionProductEngineWorkflowResultCommand.d.ts +41 -0
  30. package/dist-types/ts3.4/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.d.ts +43 -0
  31. package/dist-types/ts3.4/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.d.ts +43 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +45 -0
  34. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  35. package/package.json +1 -1
@@ -69,6 +69,9 @@ import { ListServiceActionsCommand, } from "./commands/ListServiceActionsCommand
69
69
  import { ListServiceActionsForProvisioningArtifactCommand, } from "./commands/ListServiceActionsForProvisioningArtifactCommand";
70
70
  import { ListStackInstancesForProvisionedProductCommand, } from "./commands/ListStackInstancesForProvisionedProductCommand";
71
71
  import { ListTagOptionsCommand, } from "./commands/ListTagOptionsCommand";
72
+ import { NotifyProvisionProductEngineWorkflowResultCommand, } from "./commands/NotifyProvisionProductEngineWorkflowResultCommand";
73
+ import { NotifyTerminateProvisionedProductEngineWorkflowResultCommand, } from "./commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
74
+ import { NotifyUpdateProvisionedProductEngineWorkflowResultCommand, } from "./commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
72
75
  import { ProvisionProductCommand, } from "./commands/ProvisionProductCommand";
73
76
  import { RejectPortfolioShareCommand, } from "./commands/RejectPortfolioShareCommand";
74
77
  import { ScanProvisionedProductsCommand, } from "./commands/ScanProvisionedProductsCommand";
@@ -1081,6 +1084,48 @@ export class ServiceCatalog extends ServiceCatalogClient {
1081
1084
  return this.send(command, optionsOrCb);
1082
1085
  }
1083
1086
  }
1087
+ notifyProvisionProductEngineWorkflowResult(args, optionsOrCb, cb) {
1088
+ const command = new NotifyProvisionProductEngineWorkflowResultCommand(args);
1089
+ if (typeof optionsOrCb === "function") {
1090
+ this.send(command, optionsOrCb);
1091
+ }
1092
+ else if (typeof cb === "function") {
1093
+ if (typeof optionsOrCb !== "object")
1094
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1095
+ this.send(command, optionsOrCb || {}, cb);
1096
+ }
1097
+ else {
1098
+ return this.send(command, optionsOrCb);
1099
+ }
1100
+ }
1101
+ notifyTerminateProvisionedProductEngineWorkflowResult(args, optionsOrCb, cb) {
1102
+ const command = new NotifyTerminateProvisionedProductEngineWorkflowResultCommand(args);
1103
+ if (typeof optionsOrCb === "function") {
1104
+ this.send(command, optionsOrCb);
1105
+ }
1106
+ else if (typeof cb === "function") {
1107
+ if (typeof optionsOrCb !== "object")
1108
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1109
+ this.send(command, optionsOrCb || {}, cb);
1110
+ }
1111
+ else {
1112
+ return this.send(command, optionsOrCb);
1113
+ }
1114
+ }
1115
+ notifyUpdateProvisionedProductEngineWorkflowResult(args, optionsOrCb, cb) {
1116
+ const command = new NotifyUpdateProvisionedProductEngineWorkflowResultCommand(args);
1117
+ if (typeof optionsOrCb === "function") {
1118
+ this.send(command, optionsOrCb);
1119
+ }
1120
+ else if (typeof cb === "function") {
1121
+ if (typeof optionsOrCb !== "object")
1122
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1123
+ this.send(command, optionsOrCb || {}, cb);
1124
+ }
1125
+ else {
1126
+ return this.send(command, optionsOrCb);
1127
+ }
1128
+ }
1084
1129
  provisionProduct(args, optionsOrCb, cb) {
1085
1130
  const command = new ProvisionProductCommand(args);
1086
1131
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand, serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand, } from "../protocols/Aws_json1_1";
5
+ export class NotifyProvisionProductEngineWorkflowResultCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, NotifyProvisionProductEngineWorkflowResultCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ServiceCatalogClient";
24
+ const commandName = "NotifyProvisionProductEngineWorkflowResultCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand, serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand, } from "../protocols/Aws_json1_1";
5
+ export class NotifyTerminateProvisionedProductEngineWorkflowResultCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, NotifyTerminateProvisionedProductEngineWorkflowResultCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ServiceCatalogClient";
24
+ const commandName = "NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand(output, context);
40
+ }
41
+ }
@@ -0,0 +1,41 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand, serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand, } from "../protocols/Aws_json1_1";
5
+ export class NotifyUpdateProvisionedProductEngineWorkflowResultCommand extends $Command {
6
+ static getEndpointParameterInstructions() {
7
+ return {
8
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
9
+ Endpoint: { type: "builtInParams", name: "endpoint" },
10
+ Region: { type: "builtInParams", name: "region" },
11
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
12
+ };
13
+ }
14
+ constructor(input) {
15
+ super();
16
+ this.input = input;
17
+ }
18
+ resolveMiddleware(clientStack, configuration, options) {
19
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
20
+ this.middlewareStack.use(getEndpointPlugin(configuration, NotifyUpdateProvisionedProductEngineWorkflowResultCommand.getEndpointParameterInstructions()));
21
+ const stack = clientStack.concat(this.middlewareStack);
22
+ const { logger } = configuration;
23
+ const clientName = "ServiceCatalogClient";
24
+ const commandName = "NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
25
+ const handlerExecutionContext = {
26
+ logger,
27
+ clientName,
28
+ commandName,
29
+ inputFilterSensitiveLog: (_) => _,
30
+ outputFilterSensitiveLog: (_) => _,
31
+ };
32
+ const { requestHandler } = configuration;
33
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
+ }
35
+ serialize(input, context) {
36
+ return serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand(input, context);
37
+ }
38
+ deserialize(output, context) {
39
+ return deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand(output, context);
40
+ }
41
+ }
@@ -69,6 +69,9 @@ export * from "./ListServiceActionsCommand";
69
69
  export * from "./ListServiceActionsForProvisioningArtifactCommand";
70
70
  export * from "./ListStackInstancesForProvisionedProductCommand";
71
71
  export * from "./ListTagOptionsCommand";
72
+ export * from "./NotifyProvisionProductEngineWorkflowResultCommand";
73
+ export * from "./NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
74
+ export * from "./NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
72
75
  export * from "./ProvisionProductCommand";
73
76
  export * from "./RejectPortfolioShareCommand";
74
77
  export * from "./ScanProvisionedProductsCommand";
@@ -99,6 +99,7 @@ export class TagOptionNotMigratedException extends __BaseException {
99
99
  export const ServiceActionAssociationErrorCode = {
100
100
  DuplicateResourceException: "DUPLICATE_RESOURCE",
101
101
  InternalFailure: "INTERNAL_FAILURE",
102
+ InvalidParameterException: "INVALID_PARAMETER",
102
103
  LimitExceededException: "LIMIT_EXCEEDED",
103
104
  ResourceNotFoundException: "RESOURCE_NOT_FOUND",
104
105
  ThrottlingException: "THROTTLING",
@@ -134,12 +135,16 @@ export class OperationNotSupportedException extends __BaseException {
134
135
  }
135
136
  export const ProductType = {
136
137
  CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
138
+ DEFAULT_CUSTOM: "DEFAULT_CUSTOM",
137
139
  MARKETPLACE: "MARKETPLACE",
140
+ TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
138
141
  };
139
142
  export const ProvisioningArtifactType = {
140
143
  CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
144
+ DEFAULT_CUSTOM: "DEFAULT_CUSTOM",
141
145
  MARKETPLACE_AMI: "MARKETPLACE_AMI",
142
146
  MARKETPLACE_CAR: "MARKETPLACE_CAR",
147
+ TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
143
148
  };
144
149
  export const SourceType = {
145
150
  CODESTAR: "CODESTAR",
@@ -249,6 +254,10 @@ export const StackInstanceStatus = {
249
254
  INOPERABLE: "INOPERABLE",
250
255
  OUTDATED: "OUTDATED",
251
256
  };
257
+ export const EngineWorkflowStatus = {
258
+ FAILED: "FAILED",
259
+ SUCCEEDED: "SUCCEEDED",
260
+ };
252
261
  export const ProductViewFilterBy = {
253
262
  FullTextSearch: "FullTextSearch",
254
263
  Owner: "Owner",
@@ -642,6 +642,33 @@ export const serializeAws_json1_1ListTagOptionsCommand = async (input, context)
642
642
  body = JSON.stringify(serializeAws_json1_1ListTagOptionsInput(input, context));
643
643
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
644
644
  };
645
+ export const serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = async (input, context) => {
646
+ const headers = {
647
+ "content-type": "application/x-amz-json-1.1",
648
+ "x-amz-target": "AWS242ServiceCatalogService.NotifyProvisionProductEngineWorkflowResult",
649
+ };
650
+ let body;
651
+ body = JSON.stringify(serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultInput(input, context));
652
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
653
+ };
654
+ export const serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = async (input, context) => {
655
+ const headers = {
656
+ "content-type": "application/x-amz-json-1.1",
657
+ "x-amz-target": "AWS242ServiceCatalogService.NotifyTerminateProvisionedProductEngineWorkflowResult",
658
+ };
659
+ let body;
660
+ body = JSON.stringify(serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultInput(input, context));
661
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
662
+ };
663
+ export const serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = async (input, context) => {
664
+ const headers = {
665
+ "content-type": "application/x-amz-json-1.1",
666
+ "x-amz-target": "AWS242ServiceCatalogService.NotifyUpdateProvisionedProductEngineWorkflowResult",
667
+ };
668
+ let body;
669
+ body = JSON.stringify(serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultInput(input, context));
670
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
671
+ };
645
672
  export const serializeAws_json1_1ProvisionProductCommand = async (input, context) => {
646
673
  const headers = {
647
674
  "content-type": "application/x-amz-json-1.1",
@@ -968,6 +995,9 @@ const deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactComman
968
995
  case "DuplicateResourceException":
969
996
  case "com.amazonaws.servicecatalog#DuplicateResourceException":
970
997
  throw await deserializeAws_json1_1DuplicateResourceExceptionResponse(parsedOutput, context);
998
+ case "InvalidParametersException":
999
+ case "com.amazonaws.servicecatalog#InvalidParametersException":
1000
+ throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
971
1001
  case "LimitExceededException":
972
1002
  case "com.amazonaws.servicecatalog#LimitExceededException":
973
1003
  throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
@@ -3420,6 +3450,114 @@ const deserializeAws_json1_1ListTagOptionsCommandError = async (output, context)
3420
3450
  });
3421
3451
  }
3422
3452
  };
3453
+ export const deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = async (output, context) => {
3454
+ if (output.statusCode >= 300) {
3455
+ return deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommandError(output, context);
3456
+ }
3457
+ const data = await parseBody(output.body, context);
3458
+ let contents = {};
3459
+ contents = deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultOutput(data, context);
3460
+ const response = {
3461
+ $metadata: deserializeMetadata(output),
3462
+ ...contents,
3463
+ };
3464
+ return Promise.resolve(response);
3465
+ };
3466
+ const deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommandError = async (output, context) => {
3467
+ const parsedOutput = {
3468
+ ...output,
3469
+ body: await parseErrorBody(output.body, context),
3470
+ };
3471
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3472
+ switch (errorCode) {
3473
+ case "InvalidParametersException":
3474
+ case "com.amazonaws.servicecatalog#InvalidParametersException":
3475
+ throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
3476
+ case "ResourceNotFoundException":
3477
+ case "com.amazonaws.servicecatalog#ResourceNotFoundException":
3478
+ throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
3479
+ default:
3480
+ const parsedBody = parsedOutput.body;
3481
+ throwDefaultError({
3482
+ output,
3483
+ parsedBody,
3484
+ exceptionCtor: __BaseException,
3485
+ errorCode,
3486
+ });
3487
+ }
3488
+ };
3489
+ export const deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = async (output, context) => {
3490
+ if (output.statusCode >= 300) {
3491
+ return deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommandError(output, context);
3492
+ }
3493
+ const data = await parseBody(output.body, context);
3494
+ let contents = {};
3495
+ contents = deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultOutput(data, context);
3496
+ const response = {
3497
+ $metadata: deserializeMetadata(output),
3498
+ ...contents,
3499
+ };
3500
+ return Promise.resolve(response);
3501
+ };
3502
+ const deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommandError = async (output, context) => {
3503
+ const parsedOutput = {
3504
+ ...output,
3505
+ body: await parseErrorBody(output.body, context),
3506
+ };
3507
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3508
+ switch (errorCode) {
3509
+ case "InvalidParametersException":
3510
+ case "com.amazonaws.servicecatalog#InvalidParametersException":
3511
+ throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
3512
+ case "ResourceNotFoundException":
3513
+ case "com.amazonaws.servicecatalog#ResourceNotFoundException":
3514
+ throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
3515
+ default:
3516
+ const parsedBody = parsedOutput.body;
3517
+ throwDefaultError({
3518
+ output,
3519
+ parsedBody,
3520
+ exceptionCtor: __BaseException,
3521
+ errorCode,
3522
+ });
3523
+ }
3524
+ };
3525
+ export const deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = async (output, context) => {
3526
+ if (output.statusCode >= 300) {
3527
+ return deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommandError(output, context);
3528
+ }
3529
+ const data = await parseBody(output.body, context);
3530
+ let contents = {};
3531
+ contents = deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultOutput(data, context);
3532
+ const response = {
3533
+ $metadata: deserializeMetadata(output),
3534
+ ...contents,
3535
+ };
3536
+ return Promise.resolve(response);
3537
+ };
3538
+ const deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommandError = async (output, context) => {
3539
+ const parsedOutput = {
3540
+ ...output,
3541
+ body: await parseErrorBody(output.body, context),
3542
+ };
3543
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3544
+ switch (errorCode) {
3545
+ case "InvalidParametersException":
3546
+ case "com.amazonaws.servicecatalog#InvalidParametersException":
3547
+ throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
3548
+ case "ResourceNotFoundException":
3549
+ case "com.amazonaws.servicecatalog#ResourceNotFoundException":
3550
+ throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
3551
+ default:
3552
+ const parsedBody = parsedOutput.body;
3553
+ throwDefaultError({
3554
+ output,
3555
+ parsedBody,
3556
+ exceptionCtor: __BaseException,
3557
+ errorCode,
3558
+ });
3559
+ }
3560
+ };
3423
3561
  export const deserializeAws_json1_1ProvisionProductCommand = async (output, context) => {
3424
3562
  if (output.statusCode >= 300) {
3425
3563
  return deserializeAws_json1_1ProvisionProductCommandError(output, context);
@@ -4489,6 +4627,13 @@ const serializeAws_json1_1DisassociateTagOptionFromResourceInput = (input, conte
4489
4627
  const serializeAws_json1_1EnableAWSOrganizationsAccessInput = (input, context) => {
4490
4628
  return {};
4491
4629
  };
4630
+ const serializeAws_json1_1EngineWorkflowResourceIdentifier = (input, context) => {
4631
+ return {
4632
+ ...(input.UniqueTag != null && {
4633
+ UniqueTag: serializeAws_json1_1UniqueTagResourceIdentifier(input.UniqueTag, context),
4634
+ }),
4635
+ };
4636
+ };
4492
4637
  const serializeAws_json1_1ExecuteProvisionedProductPlanInput = (input, context) => {
4493
4638
  return {
4494
4639
  ...(input.AcceptLanguage != null && { AcceptLanguage: input.AcceptLanguage }),
@@ -4717,6 +4862,38 @@ const serializeAws_json1_1NotificationArns = (input, context) => {
4717
4862
  return entry;
4718
4863
  });
4719
4864
  };
4865
+ const serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultInput = (input, context) => {
4866
+ return {
4867
+ ...(input.FailureReason != null && { FailureReason: input.FailureReason }),
4868
+ IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
4869
+ ...(input.Outputs != null && { Outputs: serializeAws_json1_1RecordOutputs(input.Outputs, context) }),
4870
+ ...(input.RecordId != null && { RecordId: input.RecordId }),
4871
+ ...(input.ResourceIdentifier != null && {
4872
+ ResourceIdentifier: serializeAws_json1_1EngineWorkflowResourceIdentifier(input.ResourceIdentifier, context),
4873
+ }),
4874
+ ...(input.Status != null && { Status: input.Status }),
4875
+ ...(input.WorkflowToken != null && { WorkflowToken: input.WorkflowToken }),
4876
+ };
4877
+ };
4878
+ const serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultInput = (input, context) => {
4879
+ return {
4880
+ ...(input.FailureReason != null && { FailureReason: input.FailureReason }),
4881
+ IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
4882
+ ...(input.RecordId != null && { RecordId: input.RecordId }),
4883
+ ...(input.Status != null && { Status: input.Status }),
4884
+ ...(input.WorkflowToken != null && { WorkflowToken: input.WorkflowToken }),
4885
+ };
4886
+ };
4887
+ const serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultInput = (input, context) => {
4888
+ return {
4889
+ ...(input.FailureReason != null && { FailureReason: input.FailureReason }),
4890
+ IdempotencyToken: input.IdempotencyToken ?? generateIdempotencyToken(),
4891
+ ...(input.Outputs != null && { Outputs: serializeAws_json1_1RecordOutputs(input.Outputs, context) }),
4892
+ ...(input.RecordId != null && { RecordId: input.RecordId }),
4893
+ ...(input.Status != null && { Status: input.Status }),
4894
+ ...(input.WorkflowToken != null && { WorkflowToken: input.WorkflowToken }),
4895
+ };
4896
+ };
4720
4897
  const serializeAws_json1_1OrganizationNode = (input, context) => {
4721
4898
  return {
4722
4899
  ...(input.Type != null && { Type: input.Type }),
@@ -4847,6 +5024,20 @@ const serializeAws_json1_1ProvisionProductInput = (input, context) => {
4847
5024
  ...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
4848
5025
  };
4849
5026
  };
5027
+ const serializeAws_json1_1RecordOutput = (input, context) => {
5028
+ return {
5029
+ ...(input.Description != null && { Description: input.Description }),
5030
+ ...(input.OutputKey != null && { OutputKey: input.OutputKey }),
5031
+ ...(input.OutputValue != null && { OutputValue: input.OutputValue }),
5032
+ };
5033
+ };
5034
+ const serializeAws_json1_1RecordOutputs = (input, context) => {
5035
+ return input
5036
+ .filter((e) => e != null)
5037
+ .map((entry) => {
5038
+ return serializeAws_json1_1RecordOutput(entry, context);
5039
+ });
5040
+ };
4850
5041
  const serializeAws_json1_1RejectPortfolioShareInput = (input, context) => {
4851
5042
  return {
4852
5043
  ...(input.AcceptLanguage != null && { AcceptLanguage: input.AcceptLanguage }),
@@ -4995,6 +5186,12 @@ const serializeAws_json1_1TerminateProvisionedProductInput = (input, context) =>
4995
5186
  TerminateToken: input.TerminateToken ?? generateIdempotencyToken(),
4996
5187
  };
4997
5188
  };
5189
+ const serializeAws_json1_1UniqueTagResourceIdentifier = (input, context) => {
5190
+ return {
5191
+ ...(input.Key != null && { Key: input.Key }),
5192
+ ...(input.Value != null && { Value: input.Value }),
5193
+ };
5194
+ };
4998
5195
  const serializeAws_json1_1UpdateConstraintInput = (input, context) => {
4999
5196
  return {
5000
5197
  ...(input.AcceptLanguage != null && { AcceptLanguage: input.AcceptLanguage }),
@@ -5853,6 +6050,15 @@ const deserializeAws_json1_1NotificationArns = (output, context) => {
5853
6050
  });
5854
6051
  return retVal;
5855
6052
  };
6053
+ const deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultOutput = (output, context) => {
6054
+ return {};
6055
+ };
6056
+ const deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultOutput = (output, context) => {
6057
+ return {};
6058
+ };
6059
+ const deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultOutput = (output, context) => {
6060
+ return {};
6061
+ };
5856
6062
  const deserializeAws_json1_1OperationNotSupportedException = (output, context) => {
5857
6063
  return {
5858
6064
  Message: __expectString(output.Message),
@@ -70,6 +70,9 @@ import { ListServiceActionsCommandInput, ListServiceActionsCommandOutput } from
70
70
  import { ListServiceActionsForProvisioningArtifactCommandInput, ListServiceActionsForProvisioningArtifactCommandOutput } from "./commands/ListServiceActionsForProvisioningArtifactCommand";
71
71
  import { ListStackInstancesForProvisionedProductCommandInput, ListStackInstancesForProvisionedProductCommandOutput } from "./commands/ListStackInstancesForProvisionedProductCommand";
72
72
  import { ListTagOptionsCommandInput, ListTagOptionsCommandOutput } from "./commands/ListTagOptionsCommand";
73
+ import { NotifyProvisionProductEngineWorkflowResultCommandInput, NotifyProvisionProductEngineWorkflowResultCommandOutput } from "./commands/NotifyProvisionProductEngineWorkflowResultCommand";
74
+ import { NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput } from "./commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
75
+ import { NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput } from "./commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
73
76
  import { ProvisionProductCommandInput, ProvisionProductCommandOutput } from "./commands/ProvisionProductCommand";
74
77
  import { RejectPortfolioShareCommandInput, RejectPortfolioShareCommandOutput } from "./commands/RejectPortfolioShareCommand";
75
78
  import { ScanProvisionedProductsCommandInput, ScanProvisionedProductsCommandOutput } from "./commands/ScanProvisionedProductsCommand";
@@ -802,6 +805,36 @@ export declare class ServiceCatalog extends ServiceCatalogClient {
802
805
  listTagOptions(args: ListTagOptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListTagOptionsCommandOutput>;
803
806
  listTagOptions(args: ListTagOptionsCommandInput, cb: (err: any, data?: ListTagOptionsCommandOutput) => void): void;
804
807
  listTagOptions(args: ListTagOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagOptionsCommandOutput) => void): void;
808
+ /**
809
+ * @public
810
+ * <p>
811
+ * Notifies the result
812
+ * of the provisioning engine execution.
813
+ * </p>
814
+ */
815
+ notifyProvisionProductEngineWorkflowResult(args: NotifyProvisionProductEngineWorkflowResultCommandInput, options?: __HttpHandlerOptions): Promise<NotifyProvisionProductEngineWorkflowResultCommandOutput>;
816
+ notifyProvisionProductEngineWorkflowResult(args: NotifyProvisionProductEngineWorkflowResultCommandInput, cb: (err: any, data?: NotifyProvisionProductEngineWorkflowResultCommandOutput) => void): void;
817
+ notifyProvisionProductEngineWorkflowResult(args: NotifyProvisionProductEngineWorkflowResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyProvisionProductEngineWorkflowResultCommandOutput) => void): void;
818
+ /**
819
+ * @public
820
+ * <p>
821
+ * Notifies the result
822
+ * of the terminate engine execution.
823
+ * </p>
824
+ */
825
+ notifyTerminateProvisionedProductEngineWorkflowResult(args: NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, options?: __HttpHandlerOptions): Promise<NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput>;
826
+ notifyTerminateProvisionedProductEngineWorkflowResult(args: NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, cb: (err: any, data?: NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput) => void): void;
827
+ notifyTerminateProvisionedProductEngineWorkflowResult(args: NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput) => void): void;
828
+ /**
829
+ * @public
830
+ * <p>
831
+ * Notifies the result
832
+ * of the update engine execution.
833
+ * </p>
834
+ */
835
+ notifyUpdateProvisionedProductEngineWorkflowResult(args: NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, options?: __HttpHandlerOptions): Promise<NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput>;
836
+ notifyUpdateProvisionedProductEngineWorkflowResult(args: NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, cb: (err: any, data?: NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput) => void): void;
837
+ notifyUpdateProvisionedProductEngineWorkflowResult(args: NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput) => void): void;
805
838
  /**
806
839
  * @public
807
840
  * <p>
@@ -78,6 +78,9 @@ import { ListServiceActionsCommandInput, ListServiceActionsCommandOutput } from
78
78
  import { ListServiceActionsForProvisioningArtifactCommandInput, ListServiceActionsForProvisioningArtifactCommandOutput } from "./commands/ListServiceActionsForProvisioningArtifactCommand";
79
79
  import { ListStackInstancesForProvisionedProductCommandInput, ListStackInstancesForProvisionedProductCommandOutput } from "./commands/ListStackInstancesForProvisionedProductCommand";
80
80
  import { ListTagOptionsCommandInput, ListTagOptionsCommandOutput } from "./commands/ListTagOptionsCommand";
81
+ import { NotifyProvisionProductEngineWorkflowResultCommandInput, NotifyProvisionProductEngineWorkflowResultCommandOutput } from "./commands/NotifyProvisionProductEngineWorkflowResultCommand";
82
+ import { NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput, NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput } from "./commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
83
+ import { NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput, NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput } from "./commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
81
84
  import { ProvisionProductCommandInput, ProvisionProductCommandOutput } from "./commands/ProvisionProductCommand";
82
85
  import { RejectPortfolioShareCommandInput, RejectPortfolioShareCommandOutput } from "./commands/RejectPortfolioShareCommand";
83
86
  import { ScanProvisionedProductsCommandInput, ScanProvisionedProductsCommandOutput } from "./commands/ScanProvisionedProductsCommand";
@@ -98,11 +101,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
98
101
  /**
99
102
  * @public
100
103
  */
101
- export type ServiceInputTypes = AcceptPortfolioShareCommandInput | AssociateBudgetWithResourceCommandInput | AssociatePrincipalWithPortfolioCommandInput | AssociateProductWithPortfolioCommandInput | AssociateServiceActionWithProvisioningArtifactCommandInput | AssociateTagOptionWithResourceCommandInput | BatchAssociateServiceActionWithProvisioningArtifactCommandInput | BatchDisassociateServiceActionFromProvisioningArtifactCommandInput | CopyProductCommandInput | CreateConstraintCommandInput | CreatePortfolioCommandInput | CreatePortfolioShareCommandInput | CreateProductCommandInput | CreateProvisionedProductPlanCommandInput | CreateProvisioningArtifactCommandInput | CreateServiceActionCommandInput | CreateTagOptionCommandInput | DeleteConstraintCommandInput | DeletePortfolioCommandInput | DeletePortfolioShareCommandInput | DeleteProductCommandInput | DeleteProvisionedProductPlanCommandInput | DeleteProvisioningArtifactCommandInput | DeleteServiceActionCommandInput | DeleteTagOptionCommandInput | DescribeConstraintCommandInput | DescribeCopyProductStatusCommandInput | DescribePortfolioCommandInput | DescribePortfolioShareStatusCommandInput | DescribePortfolioSharesCommandInput | DescribeProductAsAdminCommandInput | DescribeProductCommandInput | DescribeProductViewCommandInput | DescribeProvisionedProductCommandInput | DescribeProvisionedProductPlanCommandInput | DescribeProvisioningArtifactCommandInput | DescribeProvisioningParametersCommandInput | DescribeRecordCommandInput | DescribeServiceActionCommandInput | DescribeServiceActionExecutionParametersCommandInput | DescribeTagOptionCommandInput | DisableAWSOrganizationsAccessCommandInput | DisassociateBudgetFromResourceCommandInput | DisassociatePrincipalFromPortfolioCommandInput | DisassociateProductFromPortfolioCommandInput | DisassociateServiceActionFromProvisioningArtifactCommandInput | DisassociateTagOptionFromResourceCommandInput | EnableAWSOrganizationsAccessCommandInput | ExecuteProvisionedProductPlanCommandInput | ExecuteProvisionedProductServiceActionCommandInput | GetAWSOrganizationsAccessStatusCommandInput | GetProvisionedProductOutputsCommandInput | ImportAsProvisionedProductCommandInput | ListAcceptedPortfolioSharesCommandInput | ListBudgetsForResourceCommandInput | ListConstraintsForPortfolioCommandInput | ListLaunchPathsCommandInput | ListOrganizationPortfolioAccessCommandInput | ListPortfolioAccessCommandInput | ListPortfoliosCommandInput | ListPortfoliosForProductCommandInput | ListPrincipalsForPortfolioCommandInput | ListProvisionedProductPlansCommandInput | ListProvisioningArtifactsCommandInput | ListProvisioningArtifactsForServiceActionCommandInput | ListRecordHistoryCommandInput | ListResourcesForTagOptionCommandInput | ListServiceActionsCommandInput | ListServiceActionsForProvisioningArtifactCommandInput | ListStackInstancesForProvisionedProductCommandInput | ListTagOptionsCommandInput | ProvisionProductCommandInput | RejectPortfolioShareCommandInput | ScanProvisionedProductsCommandInput | SearchProductsAsAdminCommandInput | SearchProductsCommandInput | SearchProvisionedProductsCommandInput | TerminateProvisionedProductCommandInput | UpdateConstraintCommandInput | UpdatePortfolioCommandInput | UpdatePortfolioShareCommandInput | UpdateProductCommandInput | UpdateProvisionedProductCommandInput | UpdateProvisionedProductPropertiesCommandInput | UpdateProvisioningArtifactCommandInput | UpdateServiceActionCommandInput | UpdateTagOptionCommandInput;
104
+ export type ServiceInputTypes = AcceptPortfolioShareCommandInput | AssociateBudgetWithResourceCommandInput | AssociatePrincipalWithPortfolioCommandInput | AssociateProductWithPortfolioCommandInput | AssociateServiceActionWithProvisioningArtifactCommandInput | AssociateTagOptionWithResourceCommandInput | BatchAssociateServiceActionWithProvisioningArtifactCommandInput | BatchDisassociateServiceActionFromProvisioningArtifactCommandInput | CopyProductCommandInput | CreateConstraintCommandInput | CreatePortfolioCommandInput | CreatePortfolioShareCommandInput | CreateProductCommandInput | CreateProvisionedProductPlanCommandInput | CreateProvisioningArtifactCommandInput | CreateServiceActionCommandInput | CreateTagOptionCommandInput | DeleteConstraintCommandInput | DeletePortfolioCommandInput | DeletePortfolioShareCommandInput | DeleteProductCommandInput | DeleteProvisionedProductPlanCommandInput | DeleteProvisioningArtifactCommandInput | DeleteServiceActionCommandInput | DeleteTagOptionCommandInput | DescribeConstraintCommandInput | DescribeCopyProductStatusCommandInput | DescribePortfolioCommandInput | DescribePortfolioShareStatusCommandInput | DescribePortfolioSharesCommandInput | DescribeProductAsAdminCommandInput | DescribeProductCommandInput | DescribeProductViewCommandInput | DescribeProvisionedProductCommandInput | DescribeProvisionedProductPlanCommandInput | DescribeProvisioningArtifactCommandInput | DescribeProvisioningParametersCommandInput | DescribeRecordCommandInput | DescribeServiceActionCommandInput | DescribeServiceActionExecutionParametersCommandInput | DescribeTagOptionCommandInput | DisableAWSOrganizationsAccessCommandInput | DisassociateBudgetFromResourceCommandInput | DisassociatePrincipalFromPortfolioCommandInput | DisassociateProductFromPortfolioCommandInput | DisassociateServiceActionFromProvisioningArtifactCommandInput | DisassociateTagOptionFromResourceCommandInput | EnableAWSOrganizationsAccessCommandInput | ExecuteProvisionedProductPlanCommandInput | ExecuteProvisionedProductServiceActionCommandInput | GetAWSOrganizationsAccessStatusCommandInput | GetProvisionedProductOutputsCommandInput | ImportAsProvisionedProductCommandInput | ListAcceptedPortfolioSharesCommandInput | ListBudgetsForResourceCommandInput | ListConstraintsForPortfolioCommandInput | ListLaunchPathsCommandInput | ListOrganizationPortfolioAccessCommandInput | ListPortfolioAccessCommandInput | ListPortfoliosCommandInput | ListPortfoliosForProductCommandInput | ListPrincipalsForPortfolioCommandInput | ListProvisionedProductPlansCommandInput | ListProvisioningArtifactsCommandInput | ListProvisioningArtifactsForServiceActionCommandInput | ListRecordHistoryCommandInput | ListResourcesForTagOptionCommandInput | ListServiceActionsCommandInput | ListServiceActionsForProvisioningArtifactCommandInput | ListStackInstancesForProvisionedProductCommandInput | ListTagOptionsCommandInput | NotifyProvisionProductEngineWorkflowResultCommandInput | NotifyTerminateProvisionedProductEngineWorkflowResultCommandInput | NotifyUpdateProvisionedProductEngineWorkflowResultCommandInput | ProvisionProductCommandInput | RejectPortfolioShareCommandInput | ScanProvisionedProductsCommandInput | SearchProductsAsAdminCommandInput | SearchProductsCommandInput | SearchProvisionedProductsCommandInput | TerminateProvisionedProductCommandInput | UpdateConstraintCommandInput | UpdatePortfolioCommandInput | UpdatePortfolioShareCommandInput | UpdateProductCommandInput | UpdateProvisionedProductCommandInput | UpdateProvisionedProductPropertiesCommandInput | UpdateProvisioningArtifactCommandInput | UpdateServiceActionCommandInput | UpdateTagOptionCommandInput;
102
105
  /**
103
106
  * @public
104
107
  */
105
- export type ServiceOutputTypes = AcceptPortfolioShareCommandOutput | AssociateBudgetWithResourceCommandOutput | AssociatePrincipalWithPortfolioCommandOutput | AssociateProductWithPortfolioCommandOutput | AssociateServiceActionWithProvisioningArtifactCommandOutput | AssociateTagOptionWithResourceCommandOutput | BatchAssociateServiceActionWithProvisioningArtifactCommandOutput | BatchDisassociateServiceActionFromProvisioningArtifactCommandOutput | CopyProductCommandOutput | CreateConstraintCommandOutput | CreatePortfolioCommandOutput | CreatePortfolioShareCommandOutput | CreateProductCommandOutput | CreateProvisionedProductPlanCommandOutput | CreateProvisioningArtifactCommandOutput | CreateServiceActionCommandOutput | CreateTagOptionCommandOutput | DeleteConstraintCommandOutput | DeletePortfolioCommandOutput | DeletePortfolioShareCommandOutput | DeleteProductCommandOutput | DeleteProvisionedProductPlanCommandOutput | DeleteProvisioningArtifactCommandOutput | DeleteServiceActionCommandOutput | DeleteTagOptionCommandOutput | DescribeConstraintCommandOutput | DescribeCopyProductStatusCommandOutput | DescribePortfolioCommandOutput | DescribePortfolioShareStatusCommandOutput | DescribePortfolioSharesCommandOutput | DescribeProductAsAdminCommandOutput | DescribeProductCommandOutput | DescribeProductViewCommandOutput | DescribeProvisionedProductCommandOutput | DescribeProvisionedProductPlanCommandOutput | DescribeProvisioningArtifactCommandOutput | DescribeProvisioningParametersCommandOutput | DescribeRecordCommandOutput | DescribeServiceActionCommandOutput | DescribeServiceActionExecutionParametersCommandOutput | DescribeTagOptionCommandOutput | DisableAWSOrganizationsAccessCommandOutput | DisassociateBudgetFromResourceCommandOutput | DisassociatePrincipalFromPortfolioCommandOutput | DisassociateProductFromPortfolioCommandOutput | DisassociateServiceActionFromProvisioningArtifactCommandOutput | DisassociateTagOptionFromResourceCommandOutput | EnableAWSOrganizationsAccessCommandOutput | ExecuteProvisionedProductPlanCommandOutput | ExecuteProvisionedProductServiceActionCommandOutput | GetAWSOrganizationsAccessStatusCommandOutput | GetProvisionedProductOutputsCommandOutput | ImportAsProvisionedProductCommandOutput | ListAcceptedPortfolioSharesCommandOutput | ListBudgetsForResourceCommandOutput | ListConstraintsForPortfolioCommandOutput | ListLaunchPathsCommandOutput | ListOrganizationPortfolioAccessCommandOutput | ListPortfolioAccessCommandOutput | ListPortfoliosCommandOutput | ListPortfoliosForProductCommandOutput | ListPrincipalsForPortfolioCommandOutput | ListProvisionedProductPlansCommandOutput | ListProvisioningArtifactsCommandOutput | ListProvisioningArtifactsForServiceActionCommandOutput | ListRecordHistoryCommandOutput | ListResourcesForTagOptionCommandOutput | ListServiceActionsCommandOutput | ListServiceActionsForProvisioningArtifactCommandOutput | ListStackInstancesForProvisionedProductCommandOutput | ListTagOptionsCommandOutput | ProvisionProductCommandOutput | RejectPortfolioShareCommandOutput | ScanProvisionedProductsCommandOutput | SearchProductsAsAdminCommandOutput | SearchProductsCommandOutput | SearchProvisionedProductsCommandOutput | TerminateProvisionedProductCommandOutput | UpdateConstraintCommandOutput | UpdatePortfolioCommandOutput | UpdatePortfolioShareCommandOutput | UpdateProductCommandOutput | UpdateProvisionedProductCommandOutput | UpdateProvisionedProductPropertiesCommandOutput | UpdateProvisioningArtifactCommandOutput | UpdateServiceActionCommandOutput | UpdateTagOptionCommandOutput;
108
+ export type ServiceOutputTypes = AcceptPortfolioShareCommandOutput | AssociateBudgetWithResourceCommandOutput | AssociatePrincipalWithPortfolioCommandOutput | AssociateProductWithPortfolioCommandOutput | AssociateServiceActionWithProvisioningArtifactCommandOutput | AssociateTagOptionWithResourceCommandOutput | BatchAssociateServiceActionWithProvisioningArtifactCommandOutput | BatchDisassociateServiceActionFromProvisioningArtifactCommandOutput | CopyProductCommandOutput | CreateConstraintCommandOutput | CreatePortfolioCommandOutput | CreatePortfolioShareCommandOutput | CreateProductCommandOutput | CreateProvisionedProductPlanCommandOutput | CreateProvisioningArtifactCommandOutput | CreateServiceActionCommandOutput | CreateTagOptionCommandOutput | DeleteConstraintCommandOutput | DeletePortfolioCommandOutput | DeletePortfolioShareCommandOutput | DeleteProductCommandOutput | DeleteProvisionedProductPlanCommandOutput | DeleteProvisioningArtifactCommandOutput | DeleteServiceActionCommandOutput | DeleteTagOptionCommandOutput | DescribeConstraintCommandOutput | DescribeCopyProductStatusCommandOutput | DescribePortfolioCommandOutput | DescribePortfolioShareStatusCommandOutput | DescribePortfolioSharesCommandOutput | DescribeProductAsAdminCommandOutput | DescribeProductCommandOutput | DescribeProductViewCommandOutput | DescribeProvisionedProductCommandOutput | DescribeProvisionedProductPlanCommandOutput | DescribeProvisioningArtifactCommandOutput | DescribeProvisioningParametersCommandOutput | DescribeRecordCommandOutput | DescribeServiceActionCommandOutput | DescribeServiceActionExecutionParametersCommandOutput | DescribeTagOptionCommandOutput | DisableAWSOrganizationsAccessCommandOutput | DisassociateBudgetFromResourceCommandOutput | DisassociatePrincipalFromPortfolioCommandOutput | DisassociateProductFromPortfolioCommandOutput | DisassociateServiceActionFromProvisioningArtifactCommandOutput | DisassociateTagOptionFromResourceCommandOutput | EnableAWSOrganizationsAccessCommandOutput | ExecuteProvisionedProductPlanCommandOutput | ExecuteProvisionedProductServiceActionCommandOutput | GetAWSOrganizationsAccessStatusCommandOutput | GetProvisionedProductOutputsCommandOutput | ImportAsProvisionedProductCommandOutput | ListAcceptedPortfolioSharesCommandOutput | ListBudgetsForResourceCommandOutput | ListConstraintsForPortfolioCommandOutput | ListLaunchPathsCommandOutput | ListOrganizationPortfolioAccessCommandOutput | ListPortfolioAccessCommandOutput | ListPortfoliosCommandOutput | ListPortfoliosForProductCommandOutput | ListPrincipalsForPortfolioCommandOutput | ListProvisionedProductPlansCommandOutput | ListProvisioningArtifactsCommandOutput | ListProvisioningArtifactsForServiceActionCommandOutput | ListRecordHistoryCommandOutput | ListResourcesForTagOptionCommandOutput | ListServiceActionsCommandOutput | ListServiceActionsForProvisioningArtifactCommandOutput | ListStackInstancesForProvisionedProductCommandOutput | ListTagOptionsCommandOutput | NotifyProvisionProductEngineWorkflowResultCommandOutput | NotifyTerminateProvisionedProductEngineWorkflowResultCommandOutput | NotifyUpdateProvisionedProductEngineWorkflowResultCommandOutput | ProvisionProductCommandOutput | RejectPortfolioShareCommandOutput | ScanProvisionedProductsCommandOutput | SearchProductsAsAdminCommandOutput | SearchProductsCommandOutput | SearchProvisionedProductsCommandOutput | TerminateProvisionedProductCommandOutput | UpdateConstraintCommandOutput | UpdatePortfolioCommandOutput | UpdatePortfolioShareCommandOutput | UpdateProductCommandOutput | UpdateProvisionedProductCommandOutput | UpdateProvisionedProductPropertiesCommandOutput | UpdateProvisioningArtifactCommandOutput | UpdateServiceActionCommandOutput | UpdateTagOptionCommandOutput;
106
109
  /**
107
110
  * @public
108
111
  */
@@ -45,6 +45,9 @@ export interface AssociateServiceActionWithProvisioningArtifactCommandOutput ext
45
45
  * @throws {@link DuplicateResourceException} (client fault)
46
46
  * <p>The specified resource is a duplicate.</p>
47
47
  *
48
+ * @throws {@link InvalidParametersException} (client fault)
49
+ * <p>One or more parameters provided to the operation are not valid.</p>
50
+ *
48
51
  * @throws {@link LimitExceededException} (client fault)
49
52
  * <p>The current limits of the service would have been exceeded by this operation. Decrease your
50
53
  * resource use or increase your service limits and retry the operation.</p>
@@ -40,7 +40,7 @@ export interface CreateProductCommandOutput extends CreateProductOutput, __Metad
40
40
  * SupportDescription: "STRING_VALUE",
41
41
  * SupportEmail: "STRING_VALUE",
42
42
  * SupportUrl: "STRING_VALUE",
43
- * ProductType: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE", // required
43
+ * ProductType: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE" || "DEFAULT_CUSTOM" || "TERRAFORM_OPEN_SOURCE", // required
44
44
  * Tags: [ // AddTags
45
45
  * { // Tag
46
46
  * Key: "STRING_VALUE", // required
@@ -53,7 +53,7 @@ export interface CreateProductCommandOutput extends CreateProductOutput, __Metad
53
53
  * Info: { // ProvisioningArtifactInfo
54
54
  * "<keys>": "STRING_VALUE",
55
55
  * },
56
- * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR",
56
+ * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "DEFAULT_CUSTOM" || "TERRAFORM_OPEN_SOURCE",
57
57
  * DisableTemplateValidation: true || false,
58
58
  * },
59
59
  * IdempotencyToken: "STRING_VALUE", // required
@@ -39,7 +39,7 @@ export interface CreateProvisioningArtifactCommandOutput extends CreateProvision
39
39
  * Info: { // ProvisioningArtifactInfo
40
40
  * "<keys>": "STRING_VALUE",
41
41
  * },
42
- * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR",
42
+ * Type: "CLOUD_FORMATION_TEMPLATE" || "MARKETPLACE_AMI" || "MARKETPLACE_CAR" || "DEFAULT_CUSTOM" || "TERRAFORM_OPEN_SOURCE",
43
43
  * DisableTemplateValidation: true || false,
44
44
  * },
45
45
  * IdempotencyToken: "STRING_VALUE", // required