@aws-sdk/client-service-catalog 3.303.0 → 3.306.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/ServiceCatalog.js +45 -0
- package/dist-cjs/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +45 -0
- package/dist-cjs/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +45 -0
- package/dist-cjs/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +45 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/protocols/Aws_json1_1.js +215 -3
- package/dist-es/ServiceCatalog.js +45 -0
- package/dist-es/commands/NotifyProvisionProductEngineWorkflowResultCommand.js +41 -0
- package/dist-es/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.js +41 -0
- package/dist-es/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.js +41 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +206 -0
- package/dist-types/ServiceCatalog.d.ts +33 -0
- package/dist-types/ServiceCatalogClient.d.ts +5 -2
- package/dist-types/commands/AssociateServiceActionWithProvisioningArtifactCommand.d.ts +3 -0
- package/dist-types/commands/CreateProductCommand.d.ts +2 -2
- package/dist-types/commands/CreateProvisioningArtifactCommand.d.ts +1 -1
- package/dist-types/commands/NotifyProvisionProductEngineWorkflowResultCommand.d.ts +89 -0
- package/dist-types/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.d.ts +76 -0
- package/dist-types/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.d.ts +83 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +232 -294
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/ServiceCatalog.d.ts +69 -0
- package/dist-types/ts3.4/ServiceCatalogClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/NotifyProvisionProductEngineWorkflowResultCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +45 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -780,6 +780,30 @@ ListTagOptions
|
|
|
780
780
|
|
|
781
781
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/classes/listtagoptionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/listtagoptionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/listtagoptionscommandoutput.html)
|
|
782
782
|
|
|
783
|
+
</details>
|
|
784
|
+
<details>
|
|
785
|
+
<summary>
|
|
786
|
+
NotifyProvisionProductEngineWorkflowResult
|
|
787
|
+
</summary>
|
|
788
|
+
|
|
789
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/classes/notifyprovisionproductengineworkflowresultcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/notifyprovisionproductengineworkflowresultcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/notifyprovisionproductengineworkflowresultcommandoutput.html)
|
|
790
|
+
|
|
791
|
+
</details>
|
|
792
|
+
<details>
|
|
793
|
+
<summary>
|
|
794
|
+
NotifyTerminateProvisionedProductEngineWorkflowResult
|
|
795
|
+
</summary>
|
|
796
|
+
|
|
797
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/classes/notifyterminateprovisionedproductengineworkflowresultcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/notifyterminateprovisionedproductengineworkflowresultcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/notifyterminateprovisionedproductengineworkflowresultcommandoutput.html)
|
|
798
|
+
|
|
799
|
+
</details>
|
|
800
|
+
<details>
|
|
801
|
+
<summary>
|
|
802
|
+
NotifyUpdateProvisionedProductEngineWorkflowResult
|
|
803
|
+
</summary>
|
|
804
|
+
|
|
805
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/classes/notifyupdateprovisionedproductengineworkflowresultcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/notifyupdateprovisionedproductengineworkflowresultcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-service-catalog/interfaces/notifyupdateprovisionedproductengineworkflowresultcommandoutput.html)
|
|
806
|
+
|
|
783
807
|
</details>
|
|
784
808
|
<details>
|
|
785
809
|
<summary>
|
|
@@ -72,6 +72,9 @@ const ListServiceActionsCommand_1 = require("./commands/ListServiceActionsComman
|
|
|
72
72
|
const ListServiceActionsForProvisioningArtifactCommand_1 = require("./commands/ListServiceActionsForProvisioningArtifactCommand");
|
|
73
73
|
const ListStackInstancesForProvisionedProductCommand_1 = require("./commands/ListStackInstancesForProvisionedProductCommand");
|
|
74
74
|
const ListTagOptionsCommand_1 = require("./commands/ListTagOptionsCommand");
|
|
75
|
+
const NotifyProvisionProductEngineWorkflowResultCommand_1 = require("./commands/NotifyProvisionProductEngineWorkflowResultCommand");
|
|
76
|
+
const NotifyTerminateProvisionedProductEngineWorkflowResultCommand_1 = require("./commands/NotifyTerminateProvisionedProductEngineWorkflowResultCommand");
|
|
77
|
+
const NotifyUpdateProvisionedProductEngineWorkflowResultCommand_1 = require("./commands/NotifyUpdateProvisionedProductEngineWorkflowResultCommand");
|
|
75
78
|
const ProvisionProductCommand_1 = require("./commands/ProvisionProductCommand");
|
|
76
79
|
const RejectPortfolioShareCommand_1 = require("./commands/RejectPortfolioShareCommand");
|
|
77
80
|
const ScanProvisionedProductsCommand_1 = require("./commands/ScanProvisionedProductsCommand");
|
|
@@ -1084,6 +1087,48 @@ class ServiceCatalog extends ServiceCatalogClient_1.ServiceCatalogClient {
|
|
|
1084
1087
|
return this.send(command, optionsOrCb);
|
|
1085
1088
|
}
|
|
1086
1089
|
}
|
|
1090
|
+
notifyProvisionProductEngineWorkflowResult(args, optionsOrCb, cb) {
|
|
1091
|
+
const command = new NotifyProvisionProductEngineWorkflowResultCommand_1.NotifyProvisionProductEngineWorkflowResultCommand(args);
|
|
1092
|
+
if (typeof optionsOrCb === "function") {
|
|
1093
|
+
this.send(command, optionsOrCb);
|
|
1094
|
+
}
|
|
1095
|
+
else if (typeof cb === "function") {
|
|
1096
|
+
if (typeof optionsOrCb !== "object")
|
|
1097
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1098
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1099
|
+
}
|
|
1100
|
+
else {
|
|
1101
|
+
return this.send(command, optionsOrCb);
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
notifyTerminateProvisionedProductEngineWorkflowResult(args, optionsOrCb, cb) {
|
|
1105
|
+
const command = new NotifyTerminateProvisionedProductEngineWorkflowResultCommand_1.NotifyTerminateProvisionedProductEngineWorkflowResultCommand(args);
|
|
1106
|
+
if (typeof optionsOrCb === "function") {
|
|
1107
|
+
this.send(command, optionsOrCb);
|
|
1108
|
+
}
|
|
1109
|
+
else if (typeof cb === "function") {
|
|
1110
|
+
if (typeof optionsOrCb !== "object")
|
|
1111
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1112
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1113
|
+
}
|
|
1114
|
+
else {
|
|
1115
|
+
return this.send(command, optionsOrCb);
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
notifyUpdateProvisionedProductEngineWorkflowResult(args, optionsOrCb, cb) {
|
|
1119
|
+
const command = new NotifyUpdateProvisionedProductEngineWorkflowResultCommand_1.NotifyUpdateProvisionedProductEngineWorkflowResultCommand(args);
|
|
1120
|
+
if (typeof optionsOrCb === "function") {
|
|
1121
|
+
this.send(command, optionsOrCb);
|
|
1122
|
+
}
|
|
1123
|
+
else if (typeof cb === "function") {
|
|
1124
|
+
if (typeof optionsOrCb !== "object")
|
|
1125
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1126
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1127
|
+
}
|
|
1128
|
+
else {
|
|
1129
|
+
return this.send(command, optionsOrCb);
|
|
1130
|
+
}
|
|
1131
|
+
}
|
|
1087
1132
|
provisionProduct(args, optionsOrCb, cb) {
|
|
1088
1133
|
const command = new ProvisionProductCommand_1.ProvisionProductCommand(args);
|
|
1089
1134
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotifyProvisionProductEngineWorkflowResultCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class NotifyProvisionProductEngineWorkflowResultCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, NotifyProvisionProductEngineWorkflowResultCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ServiceCatalogClient";
|
|
27
|
+
const commandName = "NotifyProvisionProductEngineWorkflowResultCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.NotifyProvisionProductEngineWorkflowResultCommand = NotifyProvisionProductEngineWorkflowResultCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotifyTerminateProvisionedProductEngineWorkflowResultCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class NotifyTerminateProvisionedProductEngineWorkflowResultCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, NotifyTerminateProvisionedProductEngineWorkflowResultCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ServiceCatalogClient";
|
|
27
|
+
const commandName = "NotifyTerminateProvisionedProductEngineWorkflowResultCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.NotifyTerminateProvisionedProductEngineWorkflowResultCommand = NotifyTerminateProvisionedProductEngineWorkflowResultCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotifyUpdateProvisionedProductEngineWorkflowResultCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class NotifyUpdateProvisionedProductEngineWorkflowResultCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, NotifyUpdateProvisionedProductEngineWorkflowResultCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "ServiceCatalogClient";
|
|
27
|
+
const commandName = "NotifyUpdateProvisionedProductEngineWorkflowResultCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.NotifyUpdateProvisionedProductEngineWorkflowResultCommand = NotifyUpdateProvisionedProductEngineWorkflowResultCommand;
|
|
@@ -72,6 +72,9 @@ tslib_1.__exportStar(require("./ListServiceActionsCommand"), exports);
|
|
|
72
72
|
tslib_1.__exportStar(require("./ListServiceActionsForProvisioningArtifactCommand"), exports);
|
|
73
73
|
tslib_1.__exportStar(require("./ListStackInstancesForProvisionedProductCommand"), exports);
|
|
74
74
|
tslib_1.__exportStar(require("./ListTagOptionsCommand"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./NotifyProvisionProductEngineWorkflowResultCommand"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./NotifyTerminateProvisionedProductEngineWorkflowResultCommand"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./NotifyUpdateProvisionedProductEngineWorkflowResultCommand"), exports);
|
|
75
78
|
tslib_1.__exportStar(require("./ProvisionProductCommand"), exports);
|
|
76
79
|
tslib_1.__exportStar(require("./RejectPortfolioShareCommand"), exports);
|
|
77
80
|
tslib_1.__exportStar(require("./ScanProvisionedProductsCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PropertyKey = exports.StackSetOperationType = exports.ProvisionedProductViewFilterBy = exports.ProductSource = exports.SortOrder = exports.ProductViewSortBy = exports.ProductViewFilterBy = exports.StackInstanceStatus = exports.RecordStatus = exports.Replacement = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeAction = exports.ProvisionedProductPlanStatus = exports.ProvisionedProductStatus = exports.ShareStatus = exports.DescribePortfolioShareType = exports.CopyProductStatus = exports.ResourceInUseException = exports.ServiceActionDefinitionType = exports.ServiceActionDefinitionKey = exports.ProvisionedProductPlanType = exports.ProvisioningArtifactGuidance = exports.LastSyncStatus = exports.SourceType = exports.ProvisioningArtifactType = exports.ProductType = exports.OperationNotSupportedException = exports.OrganizationNodeType = exports.Status = exports.ProvisioningArtifactPropertyName = exports.CopyOption = exports.ServiceActionAssociationErrorCode = exports.TagOptionNotMigratedException = exports.InvalidStateException = exports.PrincipalType = exports.DuplicateResourceException = exports.AccessStatus = exports.AccessLevelFilterKey = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidParametersException = exports.PortfolioShareType = void 0;
|
|
3
|
+
exports.PropertyKey = exports.StackSetOperationType = exports.ProvisionedProductViewFilterBy = exports.ProductSource = exports.SortOrder = exports.ProductViewSortBy = exports.ProductViewFilterBy = exports.EngineWorkflowStatus = exports.StackInstanceStatus = exports.RecordStatus = exports.Replacement = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeAction = exports.ProvisionedProductPlanStatus = exports.ProvisionedProductStatus = exports.ShareStatus = exports.DescribePortfolioShareType = exports.CopyProductStatus = exports.ResourceInUseException = exports.ServiceActionDefinitionType = exports.ServiceActionDefinitionKey = exports.ProvisionedProductPlanType = exports.ProvisioningArtifactGuidance = exports.LastSyncStatus = exports.SourceType = exports.ProvisioningArtifactType = exports.ProductType = exports.OperationNotSupportedException = exports.OrganizationNodeType = exports.Status = exports.ProvisioningArtifactPropertyName = exports.CopyOption = exports.ServiceActionAssociationErrorCode = exports.TagOptionNotMigratedException = exports.InvalidStateException = exports.PrincipalType = exports.DuplicateResourceException = exports.AccessStatus = exports.AccessLevelFilterKey = exports.ResourceNotFoundException = exports.LimitExceededException = exports.InvalidParametersException = exports.PortfolioShareType = void 0;
|
|
4
4
|
const ServiceCatalogServiceException_1 = require("./ServiceCatalogServiceException");
|
|
5
5
|
exports.PortfolioShareType = {
|
|
6
6
|
AWS_ORGANIZATIONS: "AWS_ORGANIZATIONS",
|
|
@@ -108,6 +108,7 @@ exports.TagOptionNotMigratedException = TagOptionNotMigratedException;
|
|
|
108
108
|
exports.ServiceActionAssociationErrorCode = {
|
|
109
109
|
DuplicateResourceException: "DUPLICATE_RESOURCE",
|
|
110
110
|
InternalFailure: "INTERNAL_FAILURE",
|
|
111
|
+
InvalidParameterException: "INVALID_PARAMETER",
|
|
111
112
|
LimitExceededException: "LIMIT_EXCEEDED",
|
|
112
113
|
ResourceNotFoundException: "RESOURCE_NOT_FOUND",
|
|
113
114
|
ThrottlingException: "THROTTLING",
|
|
@@ -144,12 +145,16 @@ class OperationNotSupportedException extends ServiceCatalogServiceException_1.Se
|
|
|
144
145
|
exports.OperationNotSupportedException = OperationNotSupportedException;
|
|
145
146
|
exports.ProductType = {
|
|
146
147
|
CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
|
|
148
|
+
DEFAULT_CUSTOM: "DEFAULT_CUSTOM",
|
|
147
149
|
MARKETPLACE: "MARKETPLACE",
|
|
150
|
+
TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
|
|
148
151
|
};
|
|
149
152
|
exports.ProvisioningArtifactType = {
|
|
150
153
|
CLOUD_FORMATION_TEMPLATE: "CLOUD_FORMATION_TEMPLATE",
|
|
154
|
+
DEFAULT_CUSTOM: "DEFAULT_CUSTOM",
|
|
151
155
|
MARKETPLACE_AMI: "MARKETPLACE_AMI",
|
|
152
156
|
MARKETPLACE_CAR: "MARKETPLACE_CAR",
|
|
157
|
+
TERRAFORM_OPEN_SOURCE: "TERRAFORM_OPEN_SOURCE",
|
|
153
158
|
};
|
|
154
159
|
exports.SourceType = {
|
|
155
160
|
CODESTAR: "CODESTAR",
|
|
@@ -260,6 +265,10 @@ exports.StackInstanceStatus = {
|
|
|
260
265
|
INOPERABLE: "INOPERABLE",
|
|
261
266
|
OUTDATED: "OUTDATED",
|
|
262
267
|
};
|
|
268
|
+
exports.EngineWorkflowStatus = {
|
|
269
|
+
FAILED: "FAILED",
|
|
270
|
+
SUCCEEDED: "SUCCEEDED",
|
|
271
|
+
};
|
|
263
272
|
exports.ProductViewFilterBy = {
|
|
264
273
|
FullTextSearch: "FullTextSearch",
|
|
265
274
|
Owner: "Owner",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.serializeAws_json1_1ExecuteProvisionedProductServiceActionCommand = exports.serializeAws_json1_1ExecuteProvisionedProductPlanCommand = exports.serializeAws_json1_1EnableAWSOrganizationsAccessCommand = exports.serializeAws_json1_1DisassociateTagOptionFromResourceCommand = exports.serializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCommand = exports.serializeAws_json1_1DisassociateProductFromPortfolioCommand = exports.serializeAws_json1_1DisassociatePrincipalFromPortfolioCommand = exports.serializeAws_json1_1DisassociateBudgetFromResourceCommand = exports.serializeAws_json1_1DisableAWSOrganizationsAccessCommand = exports.serializeAws_json1_1DescribeTagOptionCommand = exports.serializeAws_json1_1DescribeServiceActionExecutionParametersCommand = exports.serializeAws_json1_1DescribeServiceActionCommand = exports.serializeAws_json1_1DescribeRecordCommand = exports.serializeAws_json1_1DescribeProvisioningParametersCommand = exports.serializeAws_json1_1DescribeProvisioningArtifactCommand = exports.serializeAws_json1_1DescribeProvisionedProductPlanCommand = exports.serializeAws_json1_1DescribeProvisionedProductCommand = exports.serializeAws_json1_1DescribeProductViewCommand = exports.serializeAws_json1_1DescribeProductAsAdminCommand = exports.serializeAws_json1_1DescribeProductCommand = exports.serializeAws_json1_1DescribePortfolioShareStatusCommand = exports.serializeAws_json1_1DescribePortfolioSharesCommand = exports.serializeAws_json1_1DescribePortfolioCommand = exports.serializeAws_json1_1DescribeCopyProductStatusCommand = exports.serializeAws_json1_1DescribeConstraintCommand = exports.serializeAws_json1_1DeleteTagOptionCommand = exports.serializeAws_json1_1DeleteServiceActionCommand = exports.serializeAws_json1_1DeleteProvisioningArtifactCommand = exports.serializeAws_json1_1DeleteProvisionedProductPlanCommand = exports.serializeAws_json1_1DeleteProductCommand = exports.serializeAws_json1_1DeletePortfolioShareCommand = exports.serializeAws_json1_1DeletePortfolioCommand = exports.serializeAws_json1_1DeleteConstraintCommand = exports.serializeAws_json1_1CreateTagOptionCommand = exports.serializeAws_json1_1CreateServiceActionCommand = exports.serializeAws_json1_1CreateProvisioningArtifactCommand = exports.serializeAws_json1_1CreateProvisionedProductPlanCommand = exports.serializeAws_json1_1CreateProductCommand = exports.serializeAws_json1_1CreatePortfolioShareCommand = exports.serializeAws_json1_1CreatePortfolioCommand = exports.serializeAws_json1_1CreateConstraintCommand = exports.serializeAws_json1_1CopyProductCommand = exports.serializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifactCommand = exports.serializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactCommand = exports.serializeAws_json1_1AssociateTagOptionWithResourceCommand = exports.serializeAws_json1_1AssociateServiceActionWithProvisioningArtifactCommand = exports.serializeAws_json1_1AssociateProductWithPortfolioCommand = exports.serializeAws_json1_1AssociatePrincipalWithPortfolioCommand = exports.serializeAws_json1_1AssociateBudgetWithResourceCommand = exports.serializeAws_json1_1AcceptPortfolioShareCommand = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.deserializeAws_json1_1UpdateTagOptionCommand = exports.deserializeAws_json1_1UpdateServiceActionCommand = exports.deserializeAws_json1_1UpdateProvisioningArtifactCommand = exports.deserializeAws_json1_1UpdateProvisionedProductPropertiesCommand = exports.deserializeAws_json1_1UpdateProvisionedProductCommand = exports.deserializeAws_json1_1UpdateProductCommand = exports.deserializeAws_json1_1UpdatePortfolioShareCommand = exports.deserializeAws_json1_1UpdatePortfolioCommand = exports.deserializeAws_json1_1UpdateConstraintCommand = exports.deserializeAws_json1_1TerminateProvisionedProductCommand = exports.deserializeAws_json1_1SearchProvisionedProductsCommand = exports.deserializeAws_json1_1SearchProductsAsAdminCommand = exports.deserializeAws_json1_1SearchProductsCommand = exports.deserializeAws_json1_1ScanProvisionedProductsCommand = exports.deserializeAws_json1_1RejectPortfolioShareCommand = exports.deserializeAws_json1_1ProvisionProductCommand = exports.deserializeAws_json1_1ListTagOptionsCommand = exports.deserializeAws_json1_1ListStackInstancesForProvisionedProductCommand = exports.deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand = exports.deserializeAws_json1_1ListServiceActionsCommand = exports.deserializeAws_json1_1ListResourcesForTagOptionCommand = exports.deserializeAws_json1_1ListRecordHistoryCommand = exports.deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand = exports.deserializeAws_json1_1ListProvisioningArtifactsCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_1CreateConstraintCommand = exports.deserializeAws_json1_1CopyProductCommand = exports.deserializeAws_json1_1BatchDisassociateServiceActionFromProvisioningArtifactCommand = exports.deserializeAws_json1_1BatchAssociateServiceActionWithProvisioningArtifactCommand = exports.deserializeAws_json1_1AssociateTagOptionWithResourceCommand = exports.deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactCommand = exports.deserializeAws_json1_1AssociateProductWithPortfolioCommand = exports.deserializeAws_json1_1AssociatePrincipalWithPortfolioCommand = exports.deserializeAws_json1_1AssociateBudgetWithResourceCommand = exports.deserializeAws_json1_1AcceptPortfolioShareCommand = exports.serializeAws_json1_1UpdateTagOptionCommand = exports.serializeAws_json1_1UpdateServiceActionCommand = exports.serializeAws_json1_1UpdateProvisioningArtifactCommand = exports.serializeAws_json1_1UpdateProvisionedProductPropertiesCommand = exports.serializeAws_json1_1UpdateProvisionedProductCommand = exports.serializeAws_json1_1UpdateProductCommand = exports.serializeAws_json1_1UpdatePortfolioShareCommand = exports.serializeAws_json1_1UpdatePortfolioCommand = exports.serializeAws_json1_1UpdateConstraintCommand = exports.serializeAws_json1_1TerminateProvisionedProductCommand = exports.serializeAws_json1_1SearchProvisionedProductsCommand = exports.serializeAws_json1_1SearchProductsAsAdminCommand = exports.serializeAws_json1_1SearchProductsCommand = exports.serializeAws_json1_1ScanProvisionedProductsCommand = exports.serializeAws_json1_1RejectPortfolioShareCommand = exports.serializeAws_json1_1ProvisionProductCommand = exports.serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = exports.serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = exports.serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = exports.serializeAws_json1_1ListTagOptionsCommand = exports.serializeAws_json1_1ListStackInstancesForProvisionedProductCommand = exports.serializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand = exports.serializeAws_json1_1ListServiceActionsCommand = exports.serializeAws_json1_1ListResourcesForTagOptionCommand = exports.serializeAws_json1_1ListRecordHistoryCommand = exports.serializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand = exports.serializeAws_json1_1ListProvisioningArtifactsCommand = exports.serializeAws_json1_1ListProvisionedProductPlansCommand = exports.serializeAws_json1_1ListPrincipalsForPortfolioCommand = exports.serializeAws_json1_1ListPortfoliosForProductCommand = exports.serializeAws_json1_1ListPortfoliosCommand = exports.serializeAws_json1_1ListPortfolioAccessCommand = exports.serializeAws_json1_1ListOrganizationPortfolioAccessCommand = exports.serializeAws_json1_1ListLaunchPathsCommand = exports.serializeAws_json1_1ListConstraintsForPortfolioCommand = exports.serializeAws_json1_1ListBudgetsForResourceCommand = exports.serializeAws_json1_1ListAcceptedPortfolioSharesCommand = exports.serializeAws_json1_1ImportAsProvisionedProductCommand = exports.serializeAws_json1_1GetProvisionedProductOutputsCommand = exports.serializeAws_json1_1GetAWSOrganizationsAccessStatusCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_1ListPortfoliosCommand = exports.deserializeAws_json1_1ListPortfolioAccessCommand = exports.deserializeAws_json1_1ListOrganizationPortfolioAccessCommand = exports.deserializeAws_json1_1ListLaunchPathsCommand = exports.deserializeAws_json1_1ListConstraintsForPortfolioCommand = exports.deserializeAws_json1_1ListBudgetsForResourceCommand = exports.deserializeAws_json1_1ListAcceptedPortfolioSharesCommand = exports.deserializeAws_json1_1ImportAsProvisionedProductCommand = exports.deserializeAws_json1_1GetProvisionedProductOutputsCommand = exports.deserializeAws_json1_1GetAWSOrganizationsAccessStatusCommand = exports.deserializeAws_json1_1ExecuteProvisionedProductServiceActionCommand = exports.deserializeAws_json1_1ExecuteProvisionedProductPlanCommand = exports.deserializeAws_json1_1EnableAWSOrganizationsAccessCommand = exports.deserializeAws_json1_1DisassociateTagOptionFromResourceCommand = exports.deserializeAws_json1_1DisassociateServiceActionFromProvisioningArtifactCommand = exports.deserializeAws_json1_1DisassociateProductFromPortfolioCommand = exports.deserializeAws_json1_1DisassociatePrincipalFromPortfolioCommand = exports.deserializeAws_json1_1DisassociateBudgetFromResourceCommand = exports.deserializeAws_json1_1DisableAWSOrganizationsAccessCommand = exports.deserializeAws_json1_1DescribeTagOptionCommand = exports.deserializeAws_json1_1DescribeServiceActionExecutionParametersCommand = exports.deserializeAws_json1_1DescribeServiceActionCommand = exports.deserializeAws_json1_1DescribeRecordCommand = exports.deserializeAws_json1_1DescribeProvisioningParametersCommand = exports.deserializeAws_json1_1DescribeProvisioningArtifactCommand = exports.deserializeAws_json1_1DescribeProvisionedProductPlanCommand = exports.deserializeAws_json1_1DescribeProvisionedProductCommand = exports.deserializeAws_json1_1DescribeProductViewCommand = exports.deserializeAws_json1_1DescribeProductAsAdminCommand = exports.deserializeAws_json1_1DescribeProductCommand = exports.deserializeAws_json1_1DescribePortfolioShareStatusCommand = exports.deserializeAws_json1_1DescribePortfolioSharesCommand = exports.deserializeAws_json1_1DescribePortfolioCommand = exports.deserializeAws_json1_1DescribeCopyProductStatusCommand = exports.deserializeAws_json1_1DescribeConstraintCommand = exports.deserializeAws_json1_1DeleteTagOptionCommand = exports.deserializeAws_json1_1DeleteServiceActionCommand = exports.deserializeAws_json1_1DeleteProvisioningArtifactCommand = exports.deserializeAws_json1_1DeleteProvisionedProductPlanCommand = exports.deserializeAws_json1_1DeleteProductCommand = exports.deserializeAws_json1_1DeletePortfolioShareCommand = exports.deserializeAws_json1_1DeletePortfolioCommand = exports.deserializeAws_json1_1DeleteConstraintCommand = exports.deserializeAws_json1_1CreateTagOptionCommand = exports.deserializeAws_json1_1CreateServiceActionCommand = exports.deserializeAws_json1_1CreateProvisioningArtifactCommand = exports.deserializeAws_json1_1CreateProvisionedProductPlanCommand = exports.deserializeAws_json1_1CreateProductCommand = exports.deserializeAws_json1_1CreatePortfolioShareCommand = exports.deserializeAws_json1_1CreatePortfolioCommand = void 0;
|
|
6
|
+
exports.deserializeAws_json1_1UpdateTagOptionCommand = exports.deserializeAws_json1_1UpdateServiceActionCommand = exports.deserializeAws_json1_1UpdateProvisioningArtifactCommand = exports.deserializeAws_json1_1UpdateProvisionedProductPropertiesCommand = exports.deserializeAws_json1_1UpdateProvisionedProductCommand = exports.deserializeAws_json1_1UpdateProductCommand = exports.deserializeAws_json1_1UpdatePortfolioShareCommand = exports.deserializeAws_json1_1UpdatePortfolioCommand = exports.deserializeAws_json1_1UpdateConstraintCommand = exports.deserializeAws_json1_1TerminateProvisionedProductCommand = exports.deserializeAws_json1_1SearchProvisionedProductsCommand = exports.deserializeAws_json1_1SearchProductsAsAdminCommand = exports.deserializeAws_json1_1SearchProductsCommand = exports.deserializeAws_json1_1ScanProvisionedProductsCommand = exports.deserializeAws_json1_1RejectPortfolioShareCommand = exports.deserializeAws_json1_1ProvisionProductCommand = exports.deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = exports.deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = exports.deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = exports.deserializeAws_json1_1ListTagOptionsCommand = exports.deserializeAws_json1_1ListStackInstancesForProvisionedProductCommand = exports.deserializeAws_json1_1ListServiceActionsForProvisioningArtifactCommand = exports.deserializeAws_json1_1ListServiceActionsCommand = exports.deserializeAws_json1_1ListResourcesForTagOptionCommand = exports.deserializeAws_json1_1ListRecordHistoryCommand = exports.deserializeAws_json1_1ListProvisioningArtifactsForServiceActionCommand = exports.deserializeAws_json1_1ListProvisioningArtifactsCommand = exports.deserializeAws_json1_1ListProvisionedProductPlansCommand = exports.deserializeAws_json1_1ListPrincipalsForPortfolioCommand = exports.deserializeAws_json1_1ListPortfoliosForProductCommand = void 0;
|
|
7
7
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const uuid_1 = require("uuid");
|
|
@@ -719,6 +719,36 @@ const serializeAws_json1_1ListTagOptionsCommand = async (input, context) => {
|
|
|
719
719
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
720
720
|
};
|
|
721
721
|
exports.serializeAws_json1_1ListTagOptionsCommand = serializeAws_json1_1ListTagOptionsCommand;
|
|
722
|
+
const serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = async (input, context) => {
|
|
723
|
+
const headers = {
|
|
724
|
+
"content-type": "application/x-amz-json-1.1",
|
|
725
|
+
"x-amz-target": "AWS242ServiceCatalogService.NotifyProvisionProductEngineWorkflowResult",
|
|
726
|
+
};
|
|
727
|
+
let body;
|
|
728
|
+
body = JSON.stringify(serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultInput(input, context));
|
|
729
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
730
|
+
};
|
|
731
|
+
exports.serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand;
|
|
732
|
+
const serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = async (input, context) => {
|
|
733
|
+
const headers = {
|
|
734
|
+
"content-type": "application/x-amz-json-1.1",
|
|
735
|
+
"x-amz-target": "AWS242ServiceCatalogService.NotifyTerminateProvisionedProductEngineWorkflowResult",
|
|
736
|
+
};
|
|
737
|
+
let body;
|
|
738
|
+
body = JSON.stringify(serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultInput(input, context));
|
|
739
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
740
|
+
};
|
|
741
|
+
exports.serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand;
|
|
742
|
+
const serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = async (input, context) => {
|
|
743
|
+
const headers = {
|
|
744
|
+
"content-type": "application/x-amz-json-1.1",
|
|
745
|
+
"x-amz-target": "AWS242ServiceCatalogService.NotifyUpdateProvisionedProductEngineWorkflowResult",
|
|
746
|
+
};
|
|
747
|
+
let body;
|
|
748
|
+
body = JSON.stringify(serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultInput(input, context));
|
|
749
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
750
|
+
};
|
|
751
|
+
exports.serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand;
|
|
722
752
|
const serializeAws_json1_1ProvisionProductCommand = async (input, context) => {
|
|
723
753
|
const headers = {
|
|
724
754
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1066,6 +1096,9 @@ const deserializeAws_json1_1AssociateServiceActionWithProvisioningArtifactComman
|
|
|
1066
1096
|
case "DuplicateResourceException":
|
|
1067
1097
|
case "com.amazonaws.servicecatalog#DuplicateResourceException":
|
|
1068
1098
|
throw await deserializeAws_json1_1DuplicateResourceExceptionResponse(parsedOutput, context);
|
|
1099
|
+
case "InvalidParametersException":
|
|
1100
|
+
case "com.amazonaws.servicecatalog#InvalidParametersException":
|
|
1101
|
+
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
1069
1102
|
case "LimitExceededException":
|
|
1070
1103
|
case "com.amazonaws.servicecatalog#LimitExceededException":
|
|
1071
1104
|
throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
|
|
@@ -3584,6 +3617,117 @@ const deserializeAws_json1_1ListTagOptionsCommandError = async (output, context)
|
|
|
3584
3617
|
});
|
|
3585
3618
|
}
|
|
3586
3619
|
};
|
|
3620
|
+
const deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = async (output, context) => {
|
|
3621
|
+
if (output.statusCode >= 300) {
|
|
3622
|
+
return deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommandError(output, context);
|
|
3623
|
+
}
|
|
3624
|
+
const data = await parseBody(output.body, context);
|
|
3625
|
+
let contents = {};
|
|
3626
|
+
contents = deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultOutput(data, context);
|
|
3627
|
+
const response = {
|
|
3628
|
+
$metadata: deserializeMetadata(output),
|
|
3629
|
+
...contents,
|
|
3630
|
+
};
|
|
3631
|
+
return Promise.resolve(response);
|
|
3632
|
+
};
|
|
3633
|
+
exports.deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand = deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommand;
|
|
3634
|
+
const deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultCommandError = async (output, context) => {
|
|
3635
|
+
const parsedOutput = {
|
|
3636
|
+
...output,
|
|
3637
|
+
body: await parseErrorBody(output.body, context),
|
|
3638
|
+
};
|
|
3639
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3640
|
+
switch (errorCode) {
|
|
3641
|
+
case "InvalidParametersException":
|
|
3642
|
+
case "com.amazonaws.servicecatalog#InvalidParametersException":
|
|
3643
|
+
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3644
|
+
case "ResourceNotFoundException":
|
|
3645
|
+
case "com.amazonaws.servicecatalog#ResourceNotFoundException":
|
|
3646
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3647
|
+
default:
|
|
3648
|
+
const parsedBody = parsedOutput.body;
|
|
3649
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3650
|
+
output,
|
|
3651
|
+
parsedBody,
|
|
3652
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3653
|
+
errorCode,
|
|
3654
|
+
});
|
|
3655
|
+
}
|
|
3656
|
+
};
|
|
3657
|
+
const deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = async (output, context) => {
|
|
3658
|
+
if (output.statusCode >= 300) {
|
|
3659
|
+
return deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommandError(output, context);
|
|
3660
|
+
}
|
|
3661
|
+
const data = await parseBody(output.body, context);
|
|
3662
|
+
let contents = {};
|
|
3663
|
+
contents = deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultOutput(data, context);
|
|
3664
|
+
const response = {
|
|
3665
|
+
$metadata: deserializeMetadata(output),
|
|
3666
|
+
...contents,
|
|
3667
|
+
};
|
|
3668
|
+
return Promise.resolve(response);
|
|
3669
|
+
};
|
|
3670
|
+
exports.deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand = deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommand;
|
|
3671
|
+
const deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultCommandError = async (output, context) => {
|
|
3672
|
+
const parsedOutput = {
|
|
3673
|
+
...output,
|
|
3674
|
+
body: await parseErrorBody(output.body, context),
|
|
3675
|
+
};
|
|
3676
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3677
|
+
switch (errorCode) {
|
|
3678
|
+
case "InvalidParametersException":
|
|
3679
|
+
case "com.amazonaws.servicecatalog#InvalidParametersException":
|
|
3680
|
+
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3681
|
+
case "ResourceNotFoundException":
|
|
3682
|
+
case "com.amazonaws.servicecatalog#ResourceNotFoundException":
|
|
3683
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3684
|
+
default:
|
|
3685
|
+
const parsedBody = parsedOutput.body;
|
|
3686
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3687
|
+
output,
|
|
3688
|
+
parsedBody,
|
|
3689
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3690
|
+
errorCode,
|
|
3691
|
+
});
|
|
3692
|
+
}
|
|
3693
|
+
};
|
|
3694
|
+
const deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = async (output, context) => {
|
|
3695
|
+
if (output.statusCode >= 300) {
|
|
3696
|
+
return deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommandError(output, context);
|
|
3697
|
+
}
|
|
3698
|
+
const data = await parseBody(output.body, context);
|
|
3699
|
+
let contents = {};
|
|
3700
|
+
contents = deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultOutput(data, context);
|
|
3701
|
+
const response = {
|
|
3702
|
+
$metadata: deserializeMetadata(output),
|
|
3703
|
+
...contents,
|
|
3704
|
+
};
|
|
3705
|
+
return Promise.resolve(response);
|
|
3706
|
+
};
|
|
3707
|
+
exports.deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand = deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommand;
|
|
3708
|
+
const deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultCommandError = async (output, context) => {
|
|
3709
|
+
const parsedOutput = {
|
|
3710
|
+
...output,
|
|
3711
|
+
body: await parseErrorBody(output.body, context),
|
|
3712
|
+
};
|
|
3713
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3714
|
+
switch (errorCode) {
|
|
3715
|
+
case "InvalidParametersException":
|
|
3716
|
+
case "com.amazonaws.servicecatalog#InvalidParametersException":
|
|
3717
|
+
throw await deserializeAws_json1_1InvalidParametersExceptionResponse(parsedOutput, context);
|
|
3718
|
+
case "ResourceNotFoundException":
|
|
3719
|
+
case "com.amazonaws.servicecatalog#ResourceNotFoundException":
|
|
3720
|
+
throw await deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3721
|
+
default:
|
|
3722
|
+
const parsedBody = parsedOutput.body;
|
|
3723
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3724
|
+
output,
|
|
3725
|
+
parsedBody,
|
|
3726
|
+
exceptionCtor: ServiceCatalogServiceException_1.ServiceCatalogServiceException,
|
|
3727
|
+
errorCode,
|
|
3728
|
+
});
|
|
3729
|
+
}
|
|
3730
|
+
};
|
|
3587
3731
|
const deserializeAws_json1_1ProvisionProductCommand = async (output, context) => {
|
|
3588
3732
|
if (output.statusCode >= 300) {
|
|
3589
3733
|
return deserializeAws_json1_1ProvisionProductCommandError(output, context);
|
|
@@ -4669,6 +4813,13 @@ const serializeAws_json1_1DisassociateTagOptionFromResourceInput = (input, conte
|
|
|
4669
4813
|
const serializeAws_json1_1EnableAWSOrganizationsAccessInput = (input, context) => {
|
|
4670
4814
|
return {};
|
|
4671
4815
|
};
|
|
4816
|
+
const serializeAws_json1_1EngineWorkflowResourceIdentifier = (input, context) => {
|
|
4817
|
+
return {
|
|
4818
|
+
...(input.UniqueTag != null && {
|
|
4819
|
+
UniqueTag: serializeAws_json1_1UniqueTagResourceIdentifier(input.UniqueTag, context),
|
|
4820
|
+
}),
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4672
4823
|
const serializeAws_json1_1ExecuteProvisionedProductPlanInput = (input, context) => {
|
|
4673
4824
|
return {
|
|
4674
4825
|
...(input.AcceptLanguage != null && { AcceptLanguage: input.AcceptLanguage }),
|
|
@@ -4897,6 +5048,38 @@ const serializeAws_json1_1NotificationArns = (input, context) => {
|
|
|
4897
5048
|
return entry;
|
|
4898
5049
|
});
|
|
4899
5050
|
};
|
|
5051
|
+
const serializeAws_json1_1NotifyProvisionProductEngineWorkflowResultInput = (input, context) => {
|
|
5052
|
+
return {
|
|
5053
|
+
...(input.FailureReason != null && { FailureReason: input.FailureReason }),
|
|
5054
|
+
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
5055
|
+
...(input.Outputs != null && { Outputs: serializeAws_json1_1RecordOutputs(input.Outputs, context) }),
|
|
5056
|
+
...(input.RecordId != null && { RecordId: input.RecordId }),
|
|
5057
|
+
...(input.ResourceIdentifier != null && {
|
|
5058
|
+
ResourceIdentifier: serializeAws_json1_1EngineWorkflowResourceIdentifier(input.ResourceIdentifier, context),
|
|
5059
|
+
}),
|
|
5060
|
+
...(input.Status != null && { Status: input.Status }),
|
|
5061
|
+
...(input.WorkflowToken != null && { WorkflowToken: input.WorkflowToken }),
|
|
5062
|
+
};
|
|
5063
|
+
};
|
|
5064
|
+
const serializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultInput = (input, context) => {
|
|
5065
|
+
return {
|
|
5066
|
+
...(input.FailureReason != null && { FailureReason: input.FailureReason }),
|
|
5067
|
+
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
5068
|
+
...(input.RecordId != null && { RecordId: input.RecordId }),
|
|
5069
|
+
...(input.Status != null && { Status: input.Status }),
|
|
5070
|
+
...(input.WorkflowToken != null && { WorkflowToken: input.WorkflowToken }),
|
|
5071
|
+
};
|
|
5072
|
+
};
|
|
5073
|
+
const serializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultInput = (input, context) => {
|
|
5074
|
+
return {
|
|
5075
|
+
...(input.FailureReason != null && { FailureReason: input.FailureReason }),
|
|
5076
|
+
IdempotencyToken: input.IdempotencyToken ?? (0, uuid_1.v4)(),
|
|
5077
|
+
...(input.Outputs != null && { Outputs: serializeAws_json1_1RecordOutputs(input.Outputs, context) }),
|
|
5078
|
+
...(input.RecordId != null && { RecordId: input.RecordId }),
|
|
5079
|
+
...(input.Status != null && { Status: input.Status }),
|
|
5080
|
+
...(input.WorkflowToken != null && { WorkflowToken: input.WorkflowToken }),
|
|
5081
|
+
};
|
|
5082
|
+
};
|
|
4900
5083
|
const serializeAws_json1_1OrganizationNode = (input, context) => {
|
|
4901
5084
|
return {
|
|
4902
5085
|
...(input.Type != null && { Type: input.Type }),
|
|
@@ -5027,6 +5210,20 @@ const serializeAws_json1_1ProvisionProductInput = (input, context) => {
|
|
|
5027
5210
|
...(input.Tags != null && { Tags: serializeAws_json1_1Tags(input.Tags, context) }),
|
|
5028
5211
|
};
|
|
5029
5212
|
};
|
|
5213
|
+
const serializeAws_json1_1RecordOutput = (input, context) => {
|
|
5214
|
+
return {
|
|
5215
|
+
...(input.Description != null && { Description: input.Description }),
|
|
5216
|
+
...(input.OutputKey != null && { OutputKey: input.OutputKey }),
|
|
5217
|
+
...(input.OutputValue != null && { OutputValue: input.OutputValue }),
|
|
5218
|
+
};
|
|
5219
|
+
};
|
|
5220
|
+
const serializeAws_json1_1RecordOutputs = (input, context) => {
|
|
5221
|
+
return input
|
|
5222
|
+
.filter((e) => e != null)
|
|
5223
|
+
.map((entry) => {
|
|
5224
|
+
return serializeAws_json1_1RecordOutput(entry, context);
|
|
5225
|
+
});
|
|
5226
|
+
};
|
|
5030
5227
|
const serializeAws_json1_1RejectPortfolioShareInput = (input, context) => {
|
|
5031
5228
|
return {
|
|
5032
5229
|
...(input.AcceptLanguage != null && { AcceptLanguage: input.AcceptLanguage }),
|
|
@@ -5175,6 +5372,12 @@ const serializeAws_json1_1TerminateProvisionedProductInput = (input, context) =>
|
|
|
5175
5372
|
TerminateToken: input.TerminateToken ?? (0, uuid_1.v4)(),
|
|
5176
5373
|
};
|
|
5177
5374
|
};
|
|
5375
|
+
const serializeAws_json1_1UniqueTagResourceIdentifier = (input, context) => {
|
|
5376
|
+
return {
|
|
5377
|
+
...(input.Key != null && { Key: input.Key }),
|
|
5378
|
+
...(input.Value != null && { Value: input.Value }),
|
|
5379
|
+
};
|
|
5380
|
+
};
|
|
5178
5381
|
const serializeAws_json1_1UpdateConstraintInput = (input, context) => {
|
|
5179
5382
|
return {
|
|
5180
5383
|
...(input.AcceptLanguage != null && { AcceptLanguage: input.AcceptLanguage }),
|
|
@@ -6033,6 +6236,15 @@ const deserializeAws_json1_1NotificationArns = (output, context) => {
|
|
|
6033
6236
|
});
|
|
6034
6237
|
return retVal;
|
|
6035
6238
|
};
|
|
6239
|
+
const deserializeAws_json1_1NotifyProvisionProductEngineWorkflowResultOutput = (output, context) => {
|
|
6240
|
+
return {};
|
|
6241
|
+
};
|
|
6242
|
+
const deserializeAws_json1_1NotifyTerminateProvisionedProductEngineWorkflowResultOutput = (output, context) => {
|
|
6243
|
+
return {};
|
|
6244
|
+
};
|
|
6245
|
+
const deserializeAws_json1_1NotifyUpdateProvisionedProductEngineWorkflowResultOutput = (output, context) => {
|
|
6246
|
+
return {};
|
|
6247
|
+
};
|
|
6036
6248
|
const deserializeAws_json1_1OperationNotSupportedException = (output, context) => {
|
|
6037
6249
|
return {
|
|
6038
6250
|
Message: (0, smithy_client_1.expectString)(output.Message),
|