@aws-sdk/client-proton 3.99.0 → 3.105.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/CHANGELOG.md +30 -0
- package/dist-cjs/Proton.js +120 -0
- package/dist-cjs/ProtonClient.js +2 -0
- package/dist-cjs/commands/CancelComponentDeploymentCommand.js +36 -0
- package/dist-cjs/commands/CreateComponentCommand.js +36 -0
- package/dist-cjs/commands/DeleteComponentCommand.js +36 -0
- package/dist-cjs/commands/GetComponentCommand.js +36 -0
- package/dist-cjs/commands/ListComponentOutputsCommand.js +36 -0
- package/dist-cjs/commands/ListComponentProvisionedResourcesCommand.js +36 -0
- package/dist-cjs/commands/ListComponentsCommand.js +36 -0
- package/dist-cjs/commands/UpdateComponentCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +169 -33
- package/dist-cjs/pagination/ListComponentOutputsPaginator.js +35 -0
- package/dist-cjs/pagination/ListComponentProvisionedResourcesPaginator.js +35 -0
- package/dist-cjs/pagination/ListComponentsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_0.js +741 -34
- package/dist-cjs/waiters/index.js +2 -0
- package/dist-cjs/waiters/waitForComponentDeleted.js +39 -0
- package/dist-cjs/waiters/waitForComponentDeployed.js +45 -0
- package/dist-es/Proton.js +120 -0
- package/dist-es/ProtonClient.js +2 -0
- package/dist-es/commands/CancelComponentDeploymentCommand.js +39 -0
- package/dist-es/commands/CreateComponentCommand.js +39 -0
- package/dist-es/commands/DeleteComponentCommand.js +39 -0
- package/dist-es/commands/GetComponentCommand.js +39 -0
- package/dist-es/commands/ListComponentOutputsCommand.js +39 -0
- package/dist-es/commands/ListComponentProvisionedResourcesCommand.js +39 -0
- package/dist-es/commands/ListComponentsCommand.js +39 -0
- package/dist-es/commands/UpdateComponentCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +106 -25
- package/dist-es/pagination/ListComponentOutputsPaginator.js +74 -0
- package/dist-es/pagination/ListComponentProvisionedResourcesPaginator.js +74 -0
- package/dist-es/pagination/ListComponentsPaginator.js +75 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +899 -77
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForComponentDeleted.js +54 -0
- package/dist-es/waiters/waitForComponentDeployed.js +60 -0
- package/dist-types/Proton.d.ts +117 -46
- package/dist-types/ProtonClient.d.ts +10 -2
- package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +38 -0
- package/dist-types/commands/CreateComponentCommand.d.ts +38 -0
- package/dist-types/commands/DeleteComponentCommand.d.ts +38 -0
- package/dist-types/commands/DeleteServiceCommand.d.ts +7 -1
- package/dist-types/commands/GetComponentCommand.d.ts +38 -0
- package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetEnvironmentTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceInstanceCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceTemplateVersionCommand.d.ts +1 -1
- package/dist-types/commands/ListComponentOutputsCommand.d.ts +38 -0
- package/dist-types/commands/ListComponentProvisionedResourcesCommand.d.ts +38 -0
- package/dist-types/commands/ListComponentsCommand.d.ts +38 -0
- package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +1 -1
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateComponentCommand.d.ts +43 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +8 -34
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +683 -124
- package/dist-types/pagination/ListComponentOutputsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
- package/dist-types/ts3.4/Proton.d.ts +40 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +10 -2
- package/dist-types/ts3.4/commands/CancelComponentDeploymentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentOutputsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentProvisionedResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListComponentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateComponentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +305 -40
- package/dist-types/ts3.4/pagination/ListComponentOutputsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListComponentProvisionedResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListComponentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +24 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForComponentDeleted.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForComponentDeployed.d.ts +7 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForComponentDeleted.d.ts +14 -0
- package/dist-types/waiters/waitForComponentDeployed.d.ts +14 -0
- package/package.json +4 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.deserializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.deserializeAws_json1_0UpdateServiceTemplateVersionCommand = exports.deserializeAws_json1_0UpdateServiceTemplateCommand = exports.deserializeAws_json1_0UpdateServicePipelineCommand = exports.deserializeAws_json1_0UpdateServiceInstanceCommand = exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0UpdateEnvironmentTemplateCommand = exports.deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0UpdateEnvironmentCommand = exports.deserializeAws_json1_0UpdateAccountSettingsCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0RejectEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListServiceTemplateVersionsCommand = exports.deserializeAws_json1_0ListServiceTemplatesCommand = exports.deserializeAws_json1_0ListServicesCommand = exports.deserializeAws_json1_0ListServicePipelineProvisionedResourcesCommand = exports.deserializeAws_json1_0ListServicePipelineOutputsCommand = exports.deserializeAws_json1_0ListServiceInstancesCommand = exports.deserializeAws_json1_0ListServiceInstanceProvisionedResourcesCommand = exports.deserializeAws_json1_0ListServiceInstanceOutputsCommand = exports.deserializeAws_json1_0ListRepositorySyncDefinitionsCommand = exports.deserializeAws_json1_0ListRepositoriesCommand = exports.deserializeAws_json1_0ListEnvironmentTemplateVersionsCommand = exports.deserializeAws_json1_0ListEnvironmentTemplatesCommand = exports.deserializeAws_json1_0ListEnvironmentsCommand = exports.deserializeAws_json1_0ListEnvironmentProvisionedResourcesCommand = exports.deserializeAws_json1_0ListEnvironmentOutputsCommand = exports.deserializeAws_json1_0ListEnvironmentAccountConnectionsCommand = exports.deserializeAws_json1_0GetTemplateSyncStatusCommand = exports.deserializeAws_json1_0GetTemplateSyncConfigCommand = void 0;
|
|
3
|
+
exports.serializeAws_json1_0ListRepositorySyncDefinitionsCommand = exports.serializeAws_json1_0ListRepositoriesCommand = exports.serializeAws_json1_0ListEnvironmentTemplateVersionsCommand = exports.serializeAws_json1_0ListEnvironmentTemplatesCommand = exports.serializeAws_json1_0ListEnvironmentsCommand = exports.serializeAws_json1_0ListEnvironmentProvisionedResourcesCommand = exports.serializeAws_json1_0ListEnvironmentOutputsCommand = exports.serializeAws_json1_0ListEnvironmentAccountConnectionsCommand = exports.serializeAws_json1_0ListComponentsCommand = exports.serializeAws_json1_0ListComponentProvisionedResourcesCommand = exports.serializeAws_json1_0ListComponentOutputsCommand = exports.serializeAws_json1_0GetTemplateSyncStatusCommand = exports.serializeAws_json1_0GetTemplateSyncConfigCommand = exports.serializeAws_json1_0GetServiceTemplateVersionCommand = exports.serializeAws_json1_0GetServiceTemplateCommand = exports.serializeAws_json1_0GetServiceInstanceCommand = exports.serializeAws_json1_0GetServiceCommand = exports.serializeAws_json1_0GetRepositorySyncStatusCommand = exports.serializeAws_json1_0GetRepositoryCommand = exports.serializeAws_json1_0GetEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0GetEnvironmentTemplateCommand = exports.serializeAws_json1_0GetEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0GetEnvironmentCommand = exports.serializeAws_json1_0GetComponentCommand = exports.serializeAws_json1_0GetAccountSettingsCommand = exports.serializeAws_json1_0DeleteTemplateSyncConfigCommand = exports.serializeAws_json1_0DeleteServiceTemplateVersionCommand = exports.serializeAws_json1_0DeleteServiceTemplateCommand = exports.serializeAws_json1_0DeleteServiceCommand = exports.serializeAws_json1_0DeleteRepositoryCommand = exports.serializeAws_json1_0DeleteEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0DeleteEnvironmentTemplateCommand = exports.serializeAws_json1_0DeleteEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0DeleteEnvironmentCommand = exports.serializeAws_json1_0DeleteComponentCommand = exports.serializeAws_json1_0CreateTemplateSyncConfigCommand = exports.serializeAws_json1_0CreateServiceTemplateVersionCommand = exports.serializeAws_json1_0CreateServiceTemplateCommand = exports.serializeAws_json1_0CreateServiceCommand = exports.serializeAws_json1_0CreateRepositoryCommand = exports.serializeAws_json1_0CreateEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0CreateEnvironmentTemplateCommand = exports.serializeAws_json1_0CreateEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0CreateEnvironmentCommand = exports.serializeAws_json1_0CreateComponentCommand = exports.serializeAws_json1_0CancelServicePipelineDeploymentCommand = exports.serializeAws_json1_0CancelServiceInstanceDeploymentCommand = exports.serializeAws_json1_0CancelEnvironmentDeploymentCommand = exports.serializeAws_json1_0CancelComponentDeploymentCommand = exports.serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = void 0;
|
|
4
|
+
exports.deserializeAws_json1_0DeleteTemplateSyncConfigCommand = exports.deserializeAws_json1_0DeleteServiceTemplateVersionCommand = exports.deserializeAws_json1_0DeleteServiceTemplateCommand = exports.deserializeAws_json1_0DeleteServiceCommand = exports.deserializeAws_json1_0DeleteRepositoryCommand = exports.deserializeAws_json1_0DeleteEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0DeleteEnvironmentTemplateCommand = exports.deserializeAws_json1_0DeleteEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0DeleteEnvironmentCommand = exports.deserializeAws_json1_0DeleteComponentCommand = exports.deserializeAws_json1_0CreateTemplateSyncConfigCommand = exports.deserializeAws_json1_0CreateServiceTemplateVersionCommand = exports.deserializeAws_json1_0CreateServiceTemplateCommand = exports.deserializeAws_json1_0CreateServiceCommand = exports.deserializeAws_json1_0CreateRepositoryCommand = exports.deserializeAws_json1_0CreateEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0CreateEnvironmentTemplateCommand = exports.deserializeAws_json1_0CreateEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0CreateEnvironmentCommand = exports.deserializeAws_json1_0CreateComponentCommand = exports.deserializeAws_json1_0CancelServicePipelineDeploymentCommand = exports.deserializeAws_json1_0CancelServiceInstanceDeploymentCommand = exports.deserializeAws_json1_0CancelEnvironmentDeploymentCommand = exports.deserializeAws_json1_0CancelComponentDeploymentCommand = exports.deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.serializeAws_json1_0UpdateServiceTemplateVersionCommand = exports.serializeAws_json1_0UpdateServiceTemplateCommand = exports.serializeAws_json1_0UpdateServicePipelineCommand = exports.serializeAws_json1_0UpdateServiceInstanceCommand = exports.serializeAws_json1_0UpdateServiceCommand = exports.serializeAws_json1_0UpdateEnvironmentTemplateVersionCommand = exports.serializeAws_json1_0UpdateEnvironmentTemplateCommand = exports.serializeAws_json1_0UpdateEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0UpdateEnvironmentCommand = exports.serializeAws_json1_0UpdateComponentCommand = exports.serializeAws_json1_0UpdateAccountSettingsCommand = exports.serializeAws_json1_0UntagResourceCommand = exports.serializeAws_json1_0TagResourceCommand = exports.serializeAws_json1_0RejectEnvironmentAccountConnectionCommand = exports.serializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand = exports.serializeAws_json1_0ListTagsForResourceCommand = exports.serializeAws_json1_0ListServiceTemplateVersionsCommand = exports.serializeAws_json1_0ListServiceTemplatesCommand = exports.serializeAws_json1_0ListServicesCommand = exports.serializeAws_json1_0ListServicePipelineProvisionedResourcesCommand = exports.serializeAws_json1_0ListServicePipelineOutputsCommand = exports.serializeAws_json1_0ListServiceInstancesCommand = exports.serializeAws_json1_0ListServiceInstanceProvisionedResourcesCommand = exports.serializeAws_json1_0ListServiceInstanceOutputsCommand = void 0;
|
|
5
|
+
exports.deserializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.deserializeAws_json1_0UpdateServiceTemplateVersionCommand = exports.deserializeAws_json1_0UpdateServiceTemplateCommand = exports.deserializeAws_json1_0UpdateServicePipelineCommand = exports.deserializeAws_json1_0UpdateServiceInstanceCommand = exports.deserializeAws_json1_0UpdateServiceCommand = exports.deserializeAws_json1_0UpdateEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0UpdateEnvironmentTemplateCommand = exports.deserializeAws_json1_0UpdateEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0UpdateEnvironmentCommand = exports.deserializeAws_json1_0UpdateComponentCommand = exports.deserializeAws_json1_0UpdateAccountSettingsCommand = exports.deserializeAws_json1_0UntagResourceCommand = exports.deserializeAws_json1_0TagResourceCommand = exports.deserializeAws_json1_0RejectEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0NotifyResourceDeploymentStatusChangeCommand = exports.deserializeAws_json1_0ListTagsForResourceCommand = exports.deserializeAws_json1_0ListServiceTemplateVersionsCommand = exports.deserializeAws_json1_0ListServiceTemplatesCommand = exports.deserializeAws_json1_0ListServicesCommand = exports.deserializeAws_json1_0ListServicePipelineProvisionedResourcesCommand = exports.deserializeAws_json1_0ListServicePipelineOutputsCommand = exports.deserializeAws_json1_0ListServiceInstancesCommand = exports.deserializeAws_json1_0ListServiceInstanceProvisionedResourcesCommand = exports.deserializeAws_json1_0ListServiceInstanceOutputsCommand = exports.deserializeAws_json1_0ListRepositorySyncDefinitionsCommand = exports.deserializeAws_json1_0ListRepositoriesCommand = exports.deserializeAws_json1_0ListEnvironmentTemplateVersionsCommand = exports.deserializeAws_json1_0ListEnvironmentTemplatesCommand = exports.deserializeAws_json1_0ListEnvironmentsCommand = exports.deserializeAws_json1_0ListEnvironmentProvisionedResourcesCommand = exports.deserializeAws_json1_0ListEnvironmentOutputsCommand = exports.deserializeAws_json1_0ListEnvironmentAccountConnectionsCommand = exports.deserializeAws_json1_0ListComponentsCommand = exports.deserializeAws_json1_0ListComponentProvisionedResourcesCommand = exports.deserializeAws_json1_0ListComponentOutputsCommand = exports.deserializeAws_json1_0GetTemplateSyncStatusCommand = exports.deserializeAws_json1_0GetTemplateSyncConfigCommand = exports.deserializeAws_json1_0GetServiceTemplateVersionCommand = exports.deserializeAws_json1_0GetServiceTemplateCommand = exports.deserializeAws_json1_0GetServiceInstanceCommand = exports.deserializeAws_json1_0GetServiceCommand = exports.deserializeAws_json1_0GetRepositorySyncStatusCommand = exports.deserializeAws_json1_0GetRepositoryCommand = exports.deserializeAws_json1_0GetEnvironmentTemplateVersionCommand = exports.deserializeAws_json1_0GetEnvironmentTemplateCommand = exports.deserializeAws_json1_0GetEnvironmentAccountConnectionCommand = exports.deserializeAws_json1_0GetEnvironmentCommand = exports.deserializeAws_json1_0GetComponentCommand = exports.deserializeAws_json1_0GetAccountSettingsCommand = void 0;
|
|
6
6
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
8
8
|
const uuid_1 = require("uuid");
|
|
@@ -18,6 +18,16 @@ const serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = async (inp
|
|
|
18
18
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
19
19
|
};
|
|
20
20
|
exports.serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand = serializeAws_json1_0AcceptEnvironmentAccountConnectionCommand;
|
|
21
|
+
const serializeAws_json1_0CancelComponentDeploymentCommand = async (input, context) => {
|
|
22
|
+
const headers = {
|
|
23
|
+
"content-type": "application/x-amz-json-1.0",
|
|
24
|
+
"x-amz-target": "AwsProton20200720.CancelComponentDeployment",
|
|
25
|
+
};
|
|
26
|
+
let body;
|
|
27
|
+
body = JSON.stringify(serializeAws_json1_0CancelComponentDeploymentInput(input, context));
|
|
28
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
+
};
|
|
30
|
+
exports.serializeAws_json1_0CancelComponentDeploymentCommand = serializeAws_json1_0CancelComponentDeploymentCommand;
|
|
21
31
|
const serializeAws_json1_0CancelEnvironmentDeploymentCommand = async (input, context) => {
|
|
22
32
|
const headers = {
|
|
23
33
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -48,6 +58,16 @@ const serializeAws_json1_0CancelServicePipelineDeploymentCommand = async (input,
|
|
|
48
58
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
49
59
|
};
|
|
50
60
|
exports.serializeAws_json1_0CancelServicePipelineDeploymentCommand = serializeAws_json1_0CancelServicePipelineDeploymentCommand;
|
|
61
|
+
const serializeAws_json1_0CreateComponentCommand = async (input, context) => {
|
|
62
|
+
const headers = {
|
|
63
|
+
"content-type": "application/x-amz-json-1.0",
|
|
64
|
+
"x-amz-target": "AwsProton20200720.CreateComponent",
|
|
65
|
+
};
|
|
66
|
+
let body;
|
|
67
|
+
body = JSON.stringify(serializeAws_json1_0CreateComponentInput(input, context));
|
|
68
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
69
|
+
};
|
|
70
|
+
exports.serializeAws_json1_0CreateComponentCommand = serializeAws_json1_0CreateComponentCommand;
|
|
51
71
|
const serializeAws_json1_0CreateEnvironmentCommand = async (input, context) => {
|
|
52
72
|
const headers = {
|
|
53
73
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -138,6 +158,16 @@ const serializeAws_json1_0CreateTemplateSyncConfigCommand = async (input, contex
|
|
|
138
158
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
139
159
|
};
|
|
140
160
|
exports.serializeAws_json1_0CreateTemplateSyncConfigCommand = serializeAws_json1_0CreateTemplateSyncConfigCommand;
|
|
161
|
+
const serializeAws_json1_0DeleteComponentCommand = async (input, context) => {
|
|
162
|
+
const headers = {
|
|
163
|
+
"content-type": "application/x-amz-json-1.0",
|
|
164
|
+
"x-amz-target": "AwsProton20200720.DeleteComponent",
|
|
165
|
+
};
|
|
166
|
+
let body;
|
|
167
|
+
body = JSON.stringify(serializeAws_json1_0DeleteComponentInput(input, context));
|
|
168
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
169
|
+
};
|
|
170
|
+
exports.serializeAws_json1_0DeleteComponentCommand = serializeAws_json1_0DeleteComponentCommand;
|
|
141
171
|
const serializeAws_json1_0DeleteEnvironmentCommand = async (input, context) => {
|
|
142
172
|
const headers = {
|
|
143
173
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -238,6 +268,16 @@ const serializeAws_json1_0GetAccountSettingsCommand = async (input, context) =>
|
|
|
238
268
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
269
|
};
|
|
240
270
|
exports.serializeAws_json1_0GetAccountSettingsCommand = serializeAws_json1_0GetAccountSettingsCommand;
|
|
271
|
+
const serializeAws_json1_0GetComponentCommand = async (input, context) => {
|
|
272
|
+
const headers = {
|
|
273
|
+
"content-type": "application/x-amz-json-1.0",
|
|
274
|
+
"x-amz-target": "AwsProton20200720.GetComponent",
|
|
275
|
+
};
|
|
276
|
+
let body;
|
|
277
|
+
body = JSON.stringify(serializeAws_json1_0GetComponentInput(input, context));
|
|
278
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
279
|
+
};
|
|
280
|
+
exports.serializeAws_json1_0GetComponentCommand = serializeAws_json1_0GetComponentCommand;
|
|
241
281
|
const serializeAws_json1_0GetEnvironmentCommand = async (input, context) => {
|
|
242
282
|
const headers = {
|
|
243
283
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -358,6 +398,36 @@ const serializeAws_json1_0GetTemplateSyncStatusCommand = async (input, context)
|
|
|
358
398
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
399
|
};
|
|
360
400
|
exports.serializeAws_json1_0GetTemplateSyncStatusCommand = serializeAws_json1_0GetTemplateSyncStatusCommand;
|
|
401
|
+
const serializeAws_json1_0ListComponentOutputsCommand = async (input, context) => {
|
|
402
|
+
const headers = {
|
|
403
|
+
"content-type": "application/x-amz-json-1.0",
|
|
404
|
+
"x-amz-target": "AwsProton20200720.ListComponentOutputs",
|
|
405
|
+
};
|
|
406
|
+
let body;
|
|
407
|
+
body = JSON.stringify(serializeAws_json1_0ListComponentOutputsInput(input, context));
|
|
408
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
409
|
+
};
|
|
410
|
+
exports.serializeAws_json1_0ListComponentOutputsCommand = serializeAws_json1_0ListComponentOutputsCommand;
|
|
411
|
+
const serializeAws_json1_0ListComponentProvisionedResourcesCommand = async (input, context) => {
|
|
412
|
+
const headers = {
|
|
413
|
+
"content-type": "application/x-amz-json-1.0",
|
|
414
|
+
"x-amz-target": "AwsProton20200720.ListComponentProvisionedResources",
|
|
415
|
+
};
|
|
416
|
+
let body;
|
|
417
|
+
body = JSON.stringify(serializeAws_json1_0ListComponentProvisionedResourcesInput(input, context));
|
|
418
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
419
|
+
};
|
|
420
|
+
exports.serializeAws_json1_0ListComponentProvisionedResourcesCommand = serializeAws_json1_0ListComponentProvisionedResourcesCommand;
|
|
421
|
+
const serializeAws_json1_0ListComponentsCommand = async (input, context) => {
|
|
422
|
+
const headers = {
|
|
423
|
+
"content-type": "application/x-amz-json-1.0",
|
|
424
|
+
"x-amz-target": "AwsProton20200720.ListComponents",
|
|
425
|
+
};
|
|
426
|
+
let body;
|
|
427
|
+
body = JSON.stringify(serializeAws_json1_0ListComponentsInput(input, context));
|
|
428
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
429
|
+
};
|
|
430
|
+
exports.serializeAws_json1_0ListComponentsCommand = serializeAws_json1_0ListComponentsCommand;
|
|
361
431
|
const serializeAws_json1_0ListEnvironmentAccountConnectionsCommand = async (input, context) => {
|
|
362
432
|
const headers = {
|
|
363
433
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -578,6 +648,16 @@ const serializeAws_json1_0UpdateAccountSettingsCommand = async (input, context)
|
|
|
578
648
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
579
649
|
};
|
|
580
650
|
exports.serializeAws_json1_0UpdateAccountSettingsCommand = serializeAws_json1_0UpdateAccountSettingsCommand;
|
|
651
|
+
const serializeAws_json1_0UpdateComponentCommand = async (input, context) => {
|
|
652
|
+
const headers = {
|
|
653
|
+
"content-type": "application/x-amz-json-1.0",
|
|
654
|
+
"x-amz-target": "AwsProton20200720.UpdateComponent",
|
|
655
|
+
};
|
|
656
|
+
let body;
|
|
657
|
+
body = JSON.stringify(serializeAws_json1_0UpdateComponentInput(input, context));
|
|
658
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
659
|
+
};
|
|
660
|
+
exports.serializeAws_json1_0UpdateComponentCommand = serializeAws_json1_0UpdateComponentCommand;
|
|
581
661
|
const serializeAws_json1_0UpdateEnvironmentCommand = async (input, context) => {
|
|
582
662
|
const headers = {
|
|
583
663
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -729,6 +809,57 @@ const deserializeAws_json1_0AcceptEnvironmentAccountConnectionCommandError = asy
|
|
|
729
809
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
730
810
|
}
|
|
731
811
|
};
|
|
812
|
+
const deserializeAws_json1_0CancelComponentDeploymentCommand = async (output, context) => {
|
|
813
|
+
if (output.statusCode >= 300) {
|
|
814
|
+
return deserializeAws_json1_0CancelComponentDeploymentCommandError(output, context);
|
|
815
|
+
}
|
|
816
|
+
const data = await parseBody(output.body, context);
|
|
817
|
+
let contents = {};
|
|
818
|
+
contents = deserializeAws_json1_0CancelComponentDeploymentOutput(data, context);
|
|
819
|
+
const response = {
|
|
820
|
+
$metadata: deserializeMetadata(output),
|
|
821
|
+
...contents,
|
|
822
|
+
};
|
|
823
|
+
return Promise.resolve(response);
|
|
824
|
+
};
|
|
825
|
+
exports.deserializeAws_json1_0CancelComponentDeploymentCommand = deserializeAws_json1_0CancelComponentDeploymentCommand;
|
|
826
|
+
const deserializeAws_json1_0CancelComponentDeploymentCommandError = async (output, context) => {
|
|
827
|
+
const parsedOutput = {
|
|
828
|
+
...output,
|
|
829
|
+
body: await parseBody(output.body, context),
|
|
830
|
+
};
|
|
831
|
+
let response;
|
|
832
|
+
let errorCode = "UnknownError";
|
|
833
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
834
|
+
switch (errorCode) {
|
|
835
|
+
case "AccessDeniedException":
|
|
836
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
837
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
838
|
+
case "ConflictException":
|
|
839
|
+
case "com.amazonaws.proton#ConflictException":
|
|
840
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
841
|
+
case "InternalServerException":
|
|
842
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
843
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
844
|
+
case "ResourceNotFoundException":
|
|
845
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
846
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
847
|
+
case "ThrottlingException":
|
|
848
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
849
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
850
|
+
case "ValidationException":
|
|
851
|
+
case "com.amazonaws.proton#ValidationException":
|
|
852
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
853
|
+
default:
|
|
854
|
+
const parsedBody = parsedOutput.body;
|
|
855
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
856
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
857
|
+
$fault: "client",
|
|
858
|
+
$metadata: deserializeMetadata(output),
|
|
859
|
+
});
|
|
860
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
861
|
+
}
|
|
862
|
+
};
|
|
732
863
|
const deserializeAws_json1_0CancelEnvironmentDeploymentCommand = async (output, context) => {
|
|
733
864
|
if (output.statusCode >= 300) {
|
|
734
865
|
return deserializeAws_json1_0CancelEnvironmentDeploymentCommandError(output, context);
|
|
@@ -882,6 +1013,60 @@ const deserializeAws_json1_0CancelServicePipelineDeploymentCommandError = async
|
|
|
882
1013
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
883
1014
|
}
|
|
884
1015
|
};
|
|
1016
|
+
const deserializeAws_json1_0CreateComponentCommand = async (output, context) => {
|
|
1017
|
+
if (output.statusCode >= 300) {
|
|
1018
|
+
return deserializeAws_json1_0CreateComponentCommandError(output, context);
|
|
1019
|
+
}
|
|
1020
|
+
const data = await parseBody(output.body, context);
|
|
1021
|
+
let contents = {};
|
|
1022
|
+
contents = deserializeAws_json1_0CreateComponentOutput(data, context);
|
|
1023
|
+
const response = {
|
|
1024
|
+
$metadata: deserializeMetadata(output),
|
|
1025
|
+
...contents,
|
|
1026
|
+
};
|
|
1027
|
+
return Promise.resolve(response);
|
|
1028
|
+
};
|
|
1029
|
+
exports.deserializeAws_json1_0CreateComponentCommand = deserializeAws_json1_0CreateComponentCommand;
|
|
1030
|
+
const deserializeAws_json1_0CreateComponentCommandError = async (output, context) => {
|
|
1031
|
+
const parsedOutput = {
|
|
1032
|
+
...output,
|
|
1033
|
+
body: await parseBody(output.body, context),
|
|
1034
|
+
};
|
|
1035
|
+
let response;
|
|
1036
|
+
let errorCode = "UnknownError";
|
|
1037
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1038
|
+
switch (errorCode) {
|
|
1039
|
+
case "AccessDeniedException":
|
|
1040
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
1041
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1042
|
+
case "ConflictException":
|
|
1043
|
+
case "com.amazonaws.proton#ConflictException":
|
|
1044
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
1045
|
+
case "InternalServerException":
|
|
1046
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
1047
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
1048
|
+
case "ResourceNotFoundException":
|
|
1049
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1050
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1051
|
+
case "ServiceQuotaExceededException":
|
|
1052
|
+
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
1053
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
1054
|
+
case "ThrottlingException":
|
|
1055
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
1056
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
1057
|
+
case "ValidationException":
|
|
1058
|
+
case "com.amazonaws.proton#ValidationException":
|
|
1059
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1060
|
+
default:
|
|
1061
|
+
const parsedBody = parsedOutput.body;
|
|
1062
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
1063
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1064
|
+
$fault: "client",
|
|
1065
|
+
$metadata: deserializeMetadata(output),
|
|
1066
|
+
});
|
|
1067
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1068
|
+
}
|
|
1069
|
+
};
|
|
885
1070
|
const deserializeAws_json1_0CreateEnvironmentCommand = async (output, context) => {
|
|
886
1071
|
if (output.statusCode >= 300) {
|
|
887
1072
|
return deserializeAws_json1_0CreateEnvironmentCommandError(output, context);
|
|
@@ -1353,6 +1538,57 @@ const deserializeAws_json1_0CreateTemplateSyncConfigCommandError = async (output
|
|
|
1353
1538
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1354
1539
|
}
|
|
1355
1540
|
};
|
|
1541
|
+
const deserializeAws_json1_0DeleteComponentCommand = async (output, context) => {
|
|
1542
|
+
if (output.statusCode >= 300) {
|
|
1543
|
+
return deserializeAws_json1_0DeleteComponentCommandError(output, context);
|
|
1544
|
+
}
|
|
1545
|
+
const data = await parseBody(output.body, context);
|
|
1546
|
+
let contents = {};
|
|
1547
|
+
contents = deserializeAws_json1_0DeleteComponentOutput(data, context);
|
|
1548
|
+
const response = {
|
|
1549
|
+
$metadata: deserializeMetadata(output),
|
|
1550
|
+
...contents,
|
|
1551
|
+
};
|
|
1552
|
+
return Promise.resolve(response);
|
|
1553
|
+
};
|
|
1554
|
+
exports.deserializeAws_json1_0DeleteComponentCommand = deserializeAws_json1_0DeleteComponentCommand;
|
|
1555
|
+
const deserializeAws_json1_0DeleteComponentCommandError = async (output, context) => {
|
|
1556
|
+
const parsedOutput = {
|
|
1557
|
+
...output,
|
|
1558
|
+
body: await parseBody(output.body, context),
|
|
1559
|
+
};
|
|
1560
|
+
let response;
|
|
1561
|
+
let errorCode = "UnknownError";
|
|
1562
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1563
|
+
switch (errorCode) {
|
|
1564
|
+
case "AccessDeniedException":
|
|
1565
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
1566
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1567
|
+
case "ConflictException":
|
|
1568
|
+
case "com.amazonaws.proton#ConflictException":
|
|
1569
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
1570
|
+
case "InternalServerException":
|
|
1571
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
1572
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
1573
|
+
case "ResourceNotFoundException":
|
|
1574
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1575
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1576
|
+
case "ThrottlingException":
|
|
1577
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
1578
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
1579
|
+
case "ValidationException":
|
|
1580
|
+
case "com.amazonaws.proton#ValidationException":
|
|
1581
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1582
|
+
default:
|
|
1583
|
+
const parsedBody = parsedOutput.body;
|
|
1584
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
1585
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1586
|
+
$fault: "client",
|
|
1587
|
+
$metadata: deserializeMetadata(output),
|
|
1588
|
+
});
|
|
1589
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1356
1592
|
const deserializeAws_json1_0DeleteEnvironmentCommand = async (output, context) => {
|
|
1357
1593
|
if (output.statusCode >= 300) {
|
|
1358
1594
|
return deserializeAws_json1_0DeleteEnvironmentCommandError(output, context);
|
|
@@ -1860,6 +2096,54 @@ const deserializeAws_json1_0GetAccountSettingsCommandError = async (output, cont
|
|
|
1860
2096
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1861
2097
|
}
|
|
1862
2098
|
};
|
|
2099
|
+
const deserializeAws_json1_0GetComponentCommand = async (output, context) => {
|
|
2100
|
+
if (output.statusCode >= 300) {
|
|
2101
|
+
return deserializeAws_json1_0GetComponentCommandError(output, context);
|
|
2102
|
+
}
|
|
2103
|
+
const data = await parseBody(output.body, context);
|
|
2104
|
+
let contents = {};
|
|
2105
|
+
contents = deserializeAws_json1_0GetComponentOutput(data, context);
|
|
2106
|
+
const response = {
|
|
2107
|
+
$metadata: deserializeMetadata(output),
|
|
2108
|
+
...contents,
|
|
2109
|
+
};
|
|
2110
|
+
return Promise.resolve(response);
|
|
2111
|
+
};
|
|
2112
|
+
exports.deserializeAws_json1_0GetComponentCommand = deserializeAws_json1_0GetComponentCommand;
|
|
2113
|
+
const deserializeAws_json1_0GetComponentCommandError = async (output, context) => {
|
|
2114
|
+
const parsedOutput = {
|
|
2115
|
+
...output,
|
|
2116
|
+
body: await parseBody(output.body, context),
|
|
2117
|
+
};
|
|
2118
|
+
let response;
|
|
2119
|
+
let errorCode = "UnknownError";
|
|
2120
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2121
|
+
switch (errorCode) {
|
|
2122
|
+
case "AccessDeniedException":
|
|
2123
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2124
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2125
|
+
case "InternalServerException":
|
|
2126
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2127
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2128
|
+
case "ResourceNotFoundException":
|
|
2129
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2130
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2131
|
+
case "ThrottlingException":
|
|
2132
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2133
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2134
|
+
case "ValidationException":
|
|
2135
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2136
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2137
|
+
default:
|
|
2138
|
+
const parsedBody = parsedOutput.body;
|
|
2139
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
2140
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2141
|
+
$fault: "client",
|
|
2142
|
+
$metadata: deserializeMetadata(output),
|
|
2143
|
+
});
|
|
2144
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2145
|
+
}
|
|
2146
|
+
};
|
|
1863
2147
|
const deserializeAws_json1_0GetEnvironmentCommand = async (output, context) => {
|
|
1864
2148
|
if (output.statusCode >= 300) {
|
|
1865
2149
|
return deserializeAws_json1_0GetEnvironmentCommandError(output, context);
|
|
@@ -2154,15 +2438,159 @@ const deserializeAws_json1_0GetServiceCommand = async (output, context) => {
|
|
|
2154
2438
|
}
|
|
2155
2439
|
const data = await parseBody(output.body, context);
|
|
2156
2440
|
let contents = {};
|
|
2157
|
-
contents = deserializeAws_json1_0GetServiceOutput(data, context);
|
|
2441
|
+
contents = deserializeAws_json1_0GetServiceOutput(data, context);
|
|
2442
|
+
const response = {
|
|
2443
|
+
$metadata: deserializeMetadata(output),
|
|
2444
|
+
...contents,
|
|
2445
|
+
};
|
|
2446
|
+
return Promise.resolve(response);
|
|
2447
|
+
};
|
|
2448
|
+
exports.deserializeAws_json1_0GetServiceCommand = deserializeAws_json1_0GetServiceCommand;
|
|
2449
|
+
const deserializeAws_json1_0GetServiceCommandError = async (output, context) => {
|
|
2450
|
+
const parsedOutput = {
|
|
2451
|
+
...output,
|
|
2452
|
+
body: await parseBody(output.body, context),
|
|
2453
|
+
};
|
|
2454
|
+
let response;
|
|
2455
|
+
let errorCode = "UnknownError";
|
|
2456
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2457
|
+
switch (errorCode) {
|
|
2458
|
+
case "AccessDeniedException":
|
|
2459
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2460
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2461
|
+
case "InternalServerException":
|
|
2462
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2463
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2464
|
+
case "ResourceNotFoundException":
|
|
2465
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2466
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2467
|
+
case "ThrottlingException":
|
|
2468
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2469
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2470
|
+
case "ValidationException":
|
|
2471
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2472
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2473
|
+
default:
|
|
2474
|
+
const parsedBody = parsedOutput.body;
|
|
2475
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
2476
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2477
|
+
$fault: "client",
|
|
2478
|
+
$metadata: deserializeMetadata(output),
|
|
2479
|
+
});
|
|
2480
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2481
|
+
}
|
|
2482
|
+
};
|
|
2483
|
+
const deserializeAws_json1_0GetServiceInstanceCommand = async (output, context) => {
|
|
2484
|
+
if (output.statusCode >= 300) {
|
|
2485
|
+
return deserializeAws_json1_0GetServiceInstanceCommandError(output, context);
|
|
2486
|
+
}
|
|
2487
|
+
const data = await parseBody(output.body, context);
|
|
2488
|
+
let contents = {};
|
|
2489
|
+
contents = deserializeAws_json1_0GetServiceInstanceOutput(data, context);
|
|
2490
|
+
const response = {
|
|
2491
|
+
$metadata: deserializeMetadata(output),
|
|
2492
|
+
...contents,
|
|
2493
|
+
};
|
|
2494
|
+
return Promise.resolve(response);
|
|
2495
|
+
};
|
|
2496
|
+
exports.deserializeAws_json1_0GetServiceInstanceCommand = deserializeAws_json1_0GetServiceInstanceCommand;
|
|
2497
|
+
const deserializeAws_json1_0GetServiceInstanceCommandError = async (output, context) => {
|
|
2498
|
+
const parsedOutput = {
|
|
2499
|
+
...output,
|
|
2500
|
+
body: await parseBody(output.body, context),
|
|
2501
|
+
};
|
|
2502
|
+
let response;
|
|
2503
|
+
let errorCode = "UnknownError";
|
|
2504
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2505
|
+
switch (errorCode) {
|
|
2506
|
+
case "AccessDeniedException":
|
|
2507
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2508
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2509
|
+
case "InternalServerException":
|
|
2510
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2511
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2512
|
+
case "ResourceNotFoundException":
|
|
2513
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2514
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2515
|
+
case "ThrottlingException":
|
|
2516
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2517
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2518
|
+
case "ValidationException":
|
|
2519
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2520
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2521
|
+
default:
|
|
2522
|
+
const parsedBody = parsedOutput.body;
|
|
2523
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
2524
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2525
|
+
$fault: "client",
|
|
2526
|
+
$metadata: deserializeMetadata(output),
|
|
2527
|
+
});
|
|
2528
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2529
|
+
}
|
|
2530
|
+
};
|
|
2531
|
+
const deserializeAws_json1_0GetServiceTemplateCommand = async (output, context) => {
|
|
2532
|
+
if (output.statusCode >= 300) {
|
|
2533
|
+
return deserializeAws_json1_0GetServiceTemplateCommandError(output, context);
|
|
2534
|
+
}
|
|
2535
|
+
const data = await parseBody(output.body, context);
|
|
2536
|
+
let contents = {};
|
|
2537
|
+
contents = deserializeAws_json1_0GetServiceTemplateOutput(data, context);
|
|
2538
|
+
const response = {
|
|
2539
|
+
$metadata: deserializeMetadata(output),
|
|
2540
|
+
...contents,
|
|
2541
|
+
};
|
|
2542
|
+
return Promise.resolve(response);
|
|
2543
|
+
};
|
|
2544
|
+
exports.deserializeAws_json1_0GetServiceTemplateCommand = deserializeAws_json1_0GetServiceTemplateCommand;
|
|
2545
|
+
const deserializeAws_json1_0GetServiceTemplateCommandError = async (output, context) => {
|
|
2546
|
+
const parsedOutput = {
|
|
2547
|
+
...output,
|
|
2548
|
+
body: await parseBody(output.body, context),
|
|
2549
|
+
};
|
|
2550
|
+
let response;
|
|
2551
|
+
let errorCode = "UnknownError";
|
|
2552
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2553
|
+
switch (errorCode) {
|
|
2554
|
+
case "AccessDeniedException":
|
|
2555
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2556
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2557
|
+
case "InternalServerException":
|
|
2558
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2559
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2560
|
+
case "ResourceNotFoundException":
|
|
2561
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2562
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2563
|
+
case "ThrottlingException":
|
|
2564
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2565
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2566
|
+
case "ValidationException":
|
|
2567
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2568
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2569
|
+
default:
|
|
2570
|
+
const parsedBody = parsedOutput.body;
|
|
2571
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
2572
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2573
|
+
$fault: "client",
|
|
2574
|
+
$metadata: deserializeMetadata(output),
|
|
2575
|
+
});
|
|
2576
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2577
|
+
}
|
|
2578
|
+
};
|
|
2579
|
+
const deserializeAws_json1_0GetServiceTemplateVersionCommand = async (output, context) => {
|
|
2580
|
+
if (output.statusCode >= 300) {
|
|
2581
|
+
return deserializeAws_json1_0GetServiceTemplateVersionCommandError(output, context);
|
|
2582
|
+
}
|
|
2583
|
+
const data = await parseBody(output.body, context);
|
|
2584
|
+
let contents = {};
|
|
2585
|
+
contents = deserializeAws_json1_0GetServiceTemplateVersionOutput(data, context);
|
|
2158
2586
|
const response = {
|
|
2159
2587
|
$metadata: deserializeMetadata(output),
|
|
2160
2588
|
...contents,
|
|
2161
2589
|
};
|
|
2162
2590
|
return Promise.resolve(response);
|
|
2163
2591
|
};
|
|
2164
|
-
exports.
|
|
2165
|
-
const
|
|
2592
|
+
exports.deserializeAws_json1_0GetServiceTemplateVersionCommand = deserializeAws_json1_0GetServiceTemplateVersionCommand;
|
|
2593
|
+
const deserializeAws_json1_0GetServiceTemplateVersionCommandError = async (output, context) => {
|
|
2166
2594
|
const parsedOutput = {
|
|
2167
2595
|
...output,
|
|
2168
2596
|
body: await parseBody(output.body, context),
|
|
@@ -2196,21 +2624,21 @@ const deserializeAws_json1_0GetServiceCommandError = async (output, context) =>
|
|
|
2196
2624
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2197
2625
|
}
|
|
2198
2626
|
};
|
|
2199
|
-
const
|
|
2627
|
+
const deserializeAws_json1_0GetTemplateSyncConfigCommand = async (output, context) => {
|
|
2200
2628
|
if (output.statusCode >= 300) {
|
|
2201
|
-
return
|
|
2629
|
+
return deserializeAws_json1_0GetTemplateSyncConfigCommandError(output, context);
|
|
2202
2630
|
}
|
|
2203
2631
|
const data = await parseBody(output.body, context);
|
|
2204
2632
|
let contents = {};
|
|
2205
|
-
contents =
|
|
2633
|
+
contents = deserializeAws_json1_0GetTemplateSyncConfigOutput(data, context);
|
|
2206
2634
|
const response = {
|
|
2207
2635
|
$metadata: deserializeMetadata(output),
|
|
2208
2636
|
...contents,
|
|
2209
2637
|
};
|
|
2210
2638
|
return Promise.resolve(response);
|
|
2211
2639
|
};
|
|
2212
|
-
exports.
|
|
2213
|
-
const
|
|
2640
|
+
exports.deserializeAws_json1_0GetTemplateSyncConfigCommand = deserializeAws_json1_0GetTemplateSyncConfigCommand;
|
|
2641
|
+
const deserializeAws_json1_0GetTemplateSyncConfigCommandError = async (output, context) => {
|
|
2214
2642
|
const parsedOutput = {
|
|
2215
2643
|
...output,
|
|
2216
2644
|
body: await parseBody(output.body, context),
|
|
@@ -2244,21 +2672,21 @@ const deserializeAws_json1_0GetServiceInstanceCommandError = async (output, cont
|
|
|
2244
2672
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2245
2673
|
}
|
|
2246
2674
|
};
|
|
2247
|
-
const
|
|
2675
|
+
const deserializeAws_json1_0GetTemplateSyncStatusCommand = async (output, context) => {
|
|
2248
2676
|
if (output.statusCode >= 300) {
|
|
2249
|
-
return
|
|
2677
|
+
return deserializeAws_json1_0GetTemplateSyncStatusCommandError(output, context);
|
|
2250
2678
|
}
|
|
2251
2679
|
const data = await parseBody(output.body, context);
|
|
2252
2680
|
let contents = {};
|
|
2253
|
-
contents =
|
|
2681
|
+
contents = deserializeAws_json1_0GetTemplateSyncStatusOutput(data, context);
|
|
2254
2682
|
const response = {
|
|
2255
2683
|
$metadata: deserializeMetadata(output),
|
|
2256
2684
|
...contents,
|
|
2257
2685
|
};
|
|
2258
2686
|
return Promise.resolve(response);
|
|
2259
2687
|
};
|
|
2260
|
-
exports.
|
|
2261
|
-
const
|
|
2688
|
+
exports.deserializeAws_json1_0GetTemplateSyncStatusCommand = deserializeAws_json1_0GetTemplateSyncStatusCommand;
|
|
2689
|
+
const deserializeAws_json1_0GetTemplateSyncStatusCommandError = async (output, context) => {
|
|
2262
2690
|
const parsedOutput = {
|
|
2263
2691
|
...output,
|
|
2264
2692
|
body: await parseBody(output.body, context),
|
|
@@ -2292,21 +2720,21 @@ const deserializeAws_json1_0GetServiceTemplateCommandError = async (output, cont
|
|
|
2292
2720
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2293
2721
|
}
|
|
2294
2722
|
};
|
|
2295
|
-
const
|
|
2723
|
+
const deserializeAws_json1_0ListComponentOutputsCommand = async (output, context) => {
|
|
2296
2724
|
if (output.statusCode >= 300) {
|
|
2297
|
-
return
|
|
2725
|
+
return deserializeAws_json1_0ListComponentOutputsCommandError(output, context);
|
|
2298
2726
|
}
|
|
2299
2727
|
const data = await parseBody(output.body, context);
|
|
2300
2728
|
let contents = {};
|
|
2301
|
-
contents =
|
|
2729
|
+
contents = deserializeAws_json1_0ListComponentOutputsOutput(data, context);
|
|
2302
2730
|
const response = {
|
|
2303
2731
|
$metadata: deserializeMetadata(output),
|
|
2304
2732
|
...contents,
|
|
2305
2733
|
};
|
|
2306
2734
|
return Promise.resolve(response);
|
|
2307
2735
|
};
|
|
2308
|
-
exports.
|
|
2309
|
-
const
|
|
2736
|
+
exports.deserializeAws_json1_0ListComponentOutputsCommand = deserializeAws_json1_0ListComponentOutputsCommand;
|
|
2737
|
+
const deserializeAws_json1_0ListComponentOutputsCommandError = async (output, context) => {
|
|
2310
2738
|
const parsedOutput = {
|
|
2311
2739
|
...output,
|
|
2312
2740
|
body: await parseBody(output.body, context),
|
|
@@ -2340,21 +2768,21 @@ const deserializeAws_json1_0GetServiceTemplateVersionCommandError = async (outpu
|
|
|
2340
2768
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2341
2769
|
}
|
|
2342
2770
|
};
|
|
2343
|
-
const
|
|
2771
|
+
const deserializeAws_json1_0ListComponentProvisionedResourcesCommand = async (output, context) => {
|
|
2344
2772
|
if (output.statusCode >= 300) {
|
|
2345
|
-
return
|
|
2773
|
+
return deserializeAws_json1_0ListComponentProvisionedResourcesCommandError(output, context);
|
|
2346
2774
|
}
|
|
2347
2775
|
const data = await parseBody(output.body, context);
|
|
2348
2776
|
let contents = {};
|
|
2349
|
-
contents =
|
|
2777
|
+
contents = deserializeAws_json1_0ListComponentProvisionedResourcesOutput(data, context);
|
|
2350
2778
|
const response = {
|
|
2351
2779
|
$metadata: deserializeMetadata(output),
|
|
2352
2780
|
...contents,
|
|
2353
2781
|
};
|
|
2354
2782
|
return Promise.resolve(response);
|
|
2355
2783
|
};
|
|
2356
|
-
exports.
|
|
2357
|
-
const
|
|
2784
|
+
exports.deserializeAws_json1_0ListComponentProvisionedResourcesCommand = deserializeAws_json1_0ListComponentProvisionedResourcesCommand;
|
|
2785
|
+
const deserializeAws_json1_0ListComponentProvisionedResourcesCommandError = async (output, context) => {
|
|
2358
2786
|
const parsedOutput = {
|
|
2359
2787
|
...output,
|
|
2360
2788
|
body: await parseBody(output.body, context),
|
|
@@ -2388,21 +2816,21 @@ const deserializeAws_json1_0GetTemplateSyncConfigCommandError = async (output, c
|
|
|
2388
2816
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2389
2817
|
}
|
|
2390
2818
|
};
|
|
2391
|
-
const
|
|
2819
|
+
const deserializeAws_json1_0ListComponentsCommand = async (output, context) => {
|
|
2392
2820
|
if (output.statusCode >= 300) {
|
|
2393
|
-
return
|
|
2821
|
+
return deserializeAws_json1_0ListComponentsCommandError(output, context);
|
|
2394
2822
|
}
|
|
2395
2823
|
const data = await parseBody(output.body, context);
|
|
2396
2824
|
let contents = {};
|
|
2397
|
-
contents =
|
|
2825
|
+
contents = deserializeAws_json1_0ListComponentsOutput(data, context);
|
|
2398
2826
|
const response = {
|
|
2399
2827
|
$metadata: deserializeMetadata(output),
|
|
2400
2828
|
...contents,
|
|
2401
2829
|
};
|
|
2402
2830
|
return Promise.resolve(response);
|
|
2403
2831
|
};
|
|
2404
|
-
exports.
|
|
2405
|
-
const
|
|
2832
|
+
exports.deserializeAws_json1_0ListComponentsCommand = deserializeAws_json1_0ListComponentsCommand;
|
|
2833
|
+
const deserializeAws_json1_0ListComponentsCommandError = async (output, context) => {
|
|
2406
2834
|
const parsedOutput = {
|
|
2407
2835
|
...output,
|
|
2408
2836
|
body: await parseBody(output.body, context),
|
|
@@ -2417,9 +2845,6 @@ const deserializeAws_json1_0GetTemplateSyncStatusCommandError = async (output, c
|
|
|
2417
2845
|
case "InternalServerException":
|
|
2418
2846
|
case "com.amazonaws.proton#InternalServerException":
|
|
2419
2847
|
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2420
|
-
case "ResourceNotFoundException":
|
|
2421
|
-
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2422
|
-
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2423
2848
|
case "ThrottlingException":
|
|
2424
2849
|
case "com.amazonaws.proton#ThrottlingException":
|
|
2425
2850
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
@@ -3492,6 +3917,60 @@ const deserializeAws_json1_0UpdateAccountSettingsCommandError = async (output, c
|
|
|
3492
3917
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3493
3918
|
}
|
|
3494
3919
|
};
|
|
3920
|
+
const deserializeAws_json1_0UpdateComponentCommand = async (output, context) => {
|
|
3921
|
+
if (output.statusCode >= 300) {
|
|
3922
|
+
return deserializeAws_json1_0UpdateComponentCommandError(output, context);
|
|
3923
|
+
}
|
|
3924
|
+
const data = await parseBody(output.body, context);
|
|
3925
|
+
let contents = {};
|
|
3926
|
+
contents = deserializeAws_json1_0UpdateComponentOutput(data, context);
|
|
3927
|
+
const response = {
|
|
3928
|
+
$metadata: deserializeMetadata(output),
|
|
3929
|
+
...contents,
|
|
3930
|
+
};
|
|
3931
|
+
return Promise.resolve(response);
|
|
3932
|
+
};
|
|
3933
|
+
exports.deserializeAws_json1_0UpdateComponentCommand = deserializeAws_json1_0UpdateComponentCommand;
|
|
3934
|
+
const deserializeAws_json1_0UpdateComponentCommandError = async (output, context) => {
|
|
3935
|
+
const parsedOutput = {
|
|
3936
|
+
...output,
|
|
3937
|
+
body: await parseBody(output.body, context),
|
|
3938
|
+
};
|
|
3939
|
+
let response;
|
|
3940
|
+
let errorCode = "UnknownError";
|
|
3941
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3942
|
+
switch (errorCode) {
|
|
3943
|
+
case "AccessDeniedException":
|
|
3944
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
3945
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
3946
|
+
case "ConflictException":
|
|
3947
|
+
case "com.amazonaws.proton#ConflictException":
|
|
3948
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
3949
|
+
case "InternalServerException":
|
|
3950
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
3951
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
3952
|
+
case "ResourceNotFoundException":
|
|
3953
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
3954
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
3955
|
+
case "ServiceQuotaExceededException":
|
|
3956
|
+
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
3957
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
3958
|
+
case "ThrottlingException":
|
|
3959
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
3960
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
3961
|
+
case "ValidationException":
|
|
3962
|
+
case "com.amazonaws.proton#ValidationException":
|
|
3963
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
3964
|
+
default:
|
|
3965
|
+
const parsedBody = parsedOutput.body;
|
|
3966
|
+
response = new ProtonServiceException_1.ProtonServiceException({
|
|
3967
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
3968
|
+
$fault: "client",
|
|
3969
|
+
$metadata: deserializeMetadata(output),
|
|
3970
|
+
});
|
|
3971
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3972
|
+
}
|
|
3973
|
+
};
|
|
3495
3974
|
const deserializeAws_json1_0UpdateEnvironmentCommand = async (output, context) => {
|
|
3496
3975
|
if (output.statusCode >= 300) {
|
|
3497
3976
|
return deserializeAws_json1_0UpdateEnvironmentCommandError(output, context);
|
|
@@ -4073,6 +4552,11 @@ const serializeAws_json1_0AcceptEnvironmentAccountConnectionInput = (input, cont
|
|
|
4073
4552
|
...(input.id !== undefined && input.id !== null && { id: input.id }),
|
|
4074
4553
|
};
|
|
4075
4554
|
};
|
|
4555
|
+
const serializeAws_json1_0CancelComponentDeploymentInput = (input, context) => {
|
|
4556
|
+
return {
|
|
4557
|
+
...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
|
|
4558
|
+
};
|
|
4559
|
+
};
|
|
4076
4560
|
const serializeAws_json1_0CancelEnvironmentDeploymentInput = (input, context) => {
|
|
4077
4561
|
return {
|
|
4078
4562
|
...(input.environmentName !== undefined &&
|
|
@@ -4107,10 +4591,27 @@ const serializeAws_json1_0CompatibleEnvironmentTemplateInputList = (input, conte
|
|
|
4107
4591
|
return serializeAws_json1_0CompatibleEnvironmentTemplateInput(entry, context);
|
|
4108
4592
|
});
|
|
4109
4593
|
};
|
|
4594
|
+
const serializeAws_json1_0CreateComponentInput = (input, context) => {
|
|
4595
|
+
return {
|
|
4596
|
+
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
4597
|
+
...(input.environmentName !== undefined &&
|
|
4598
|
+
input.environmentName !== null && { environmentName: input.environmentName }),
|
|
4599
|
+
...(input.manifest !== undefined && input.manifest !== null && { manifest: input.manifest }),
|
|
4600
|
+
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
4601
|
+
...(input.serviceInstanceName !== undefined &&
|
|
4602
|
+
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
|
|
4603
|
+
...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
|
|
4604
|
+
...(input.serviceSpec !== undefined && input.serviceSpec !== null && { serviceSpec: input.serviceSpec }),
|
|
4605
|
+
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
4606
|
+
...(input.templateFile !== undefined && input.templateFile !== null && { templateFile: input.templateFile }),
|
|
4607
|
+
};
|
|
4608
|
+
};
|
|
4110
4609
|
const serializeAws_json1_0CreateEnvironmentAccountConnectionInput = (input, context) => {
|
|
4111
4610
|
var _a;
|
|
4112
4611
|
return {
|
|
4113
4612
|
clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
4613
|
+
...(input.componentRoleArn !== undefined &&
|
|
4614
|
+
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
|
|
4114
4615
|
...(input.environmentName !== undefined &&
|
|
4115
4616
|
input.environmentName !== null && { environmentName: input.environmentName }),
|
|
4116
4617
|
...(input.managementAccountId !== undefined &&
|
|
@@ -4121,6 +4622,8 @@ const serializeAws_json1_0CreateEnvironmentAccountConnectionInput = (input, cont
|
|
|
4121
4622
|
};
|
|
4122
4623
|
const serializeAws_json1_0CreateEnvironmentInput = (input, context) => {
|
|
4123
4624
|
return {
|
|
4625
|
+
...(input.componentRoleArn !== undefined &&
|
|
4626
|
+
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
|
|
4124
4627
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
4125
4628
|
...(input.environmentAccountConnectionId !== undefined &&
|
|
4126
4629
|
input.environmentAccountConnectionId !== null && {
|
|
@@ -4213,6 +4716,10 @@ const serializeAws_json1_0CreateServiceTemplateVersionInput = (input, context) =
|
|
|
4213
4716
|
...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
|
|
4214
4717
|
...(input.source !== undefined &&
|
|
4215
4718
|
input.source !== null && { source: serializeAws_json1_0TemplateVersionSourceInput(input.source, context) }),
|
|
4719
|
+
...(input.supportedComponentSources !== undefined &&
|
|
4720
|
+
input.supportedComponentSources !== null && {
|
|
4721
|
+
supportedComponentSources: serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(input.supportedComponentSources, context),
|
|
4722
|
+
}),
|
|
4216
4723
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
4217
4724
|
...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
|
|
4218
4725
|
};
|
|
@@ -4229,6 +4736,11 @@ const serializeAws_json1_0CreateTemplateSyncConfigInput = (input, context) => {
|
|
|
4229
4736
|
...(input.templateType !== undefined && input.templateType !== null && { templateType: input.templateType }),
|
|
4230
4737
|
};
|
|
4231
4738
|
};
|
|
4739
|
+
const serializeAws_json1_0DeleteComponentInput = (input, context) => {
|
|
4740
|
+
return {
|
|
4741
|
+
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
4742
|
+
};
|
|
4743
|
+
};
|
|
4232
4744
|
const serializeAws_json1_0DeleteEnvironmentAccountConnectionInput = (input, context) => {
|
|
4233
4745
|
return {
|
|
4234
4746
|
...(input.id !== undefined && input.id !== null && { id: input.id }),
|
|
@@ -4309,6 +4821,11 @@ const serializeAws_json1_0EnvironmentTemplateFilterList = (input, context) => {
|
|
|
4309
4821
|
const serializeAws_json1_0GetAccountSettingsInput = (input, context) => {
|
|
4310
4822
|
return {};
|
|
4311
4823
|
};
|
|
4824
|
+
const serializeAws_json1_0GetComponentInput = (input, context) => {
|
|
4825
|
+
return {
|
|
4826
|
+
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
4827
|
+
};
|
|
4828
|
+
};
|
|
4312
4829
|
const serializeAws_json1_0GetEnvironmentAccountConnectionInput = (input, context) => {
|
|
4313
4830
|
return {
|
|
4314
4831
|
...(input.id !== undefined && input.id !== null && { id: input.id }),
|
|
@@ -4384,6 +4901,29 @@ const serializeAws_json1_0GetTemplateSyncStatusInput = (input, context) => {
|
|
|
4384
4901
|
input.templateVersion !== null && { templateVersion: input.templateVersion }),
|
|
4385
4902
|
};
|
|
4386
4903
|
};
|
|
4904
|
+
const serializeAws_json1_0ListComponentOutputsInput = (input, context) => {
|
|
4905
|
+
return {
|
|
4906
|
+
...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
|
|
4907
|
+
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
4908
|
+
};
|
|
4909
|
+
};
|
|
4910
|
+
const serializeAws_json1_0ListComponentProvisionedResourcesInput = (input, context) => {
|
|
4911
|
+
return {
|
|
4912
|
+
...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
|
|
4913
|
+
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
4914
|
+
};
|
|
4915
|
+
};
|
|
4916
|
+
const serializeAws_json1_0ListComponentsInput = (input, context) => {
|
|
4917
|
+
return {
|
|
4918
|
+
...(input.environmentName !== undefined &&
|
|
4919
|
+
input.environmentName !== null && { environmentName: input.environmentName }),
|
|
4920
|
+
...(input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults }),
|
|
4921
|
+
...(input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken }),
|
|
4922
|
+
...(input.serviceInstanceName !== undefined &&
|
|
4923
|
+
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
|
|
4924
|
+
...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
|
|
4925
|
+
};
|
|
4926
|
+
};
|
|
4387
4927
|
const serializeAws_json1_0ListEnvironmentAccountConnectionsInput = (input, context) => {
|
|
4388
4928
|
return {
|
|
4389
4929
|
...(input.environmentName !== undefined &&
|
|
@@ -4557,6 +5097,16 @@ const serializeAws_json1_0S3ObjectSource = (input, context) => {
|
|
|
4557
5097
|
...(input.key !== undefined && input.key !== null && { key: input.key }),
|
|
4558
5098
|
};
|
|
4559
5099
|
};
|
|
5100
|
+
const serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = (input, context) => {
|
|
5101
|
+
return input
|
|
5102
|
+
.filter((e) => e != null)
|
|
5103
|
+
.map((entry) => {
|
|
5104
|
+
if (entry === null) {
|
|
5105
|
+
return null;
|
|
5106
|
+
}
|
|
5107
|
+
return entry;
|
|
5108
|
+
});
|
|
5109
|
+
};
|
|
4560
5110
|
const serializeAws_json1_0Tag = (input, context) => {
|
|
4561
5111
|
return {
|
|
4562
5112
|
...(input.key !== undefined && input.key !== null && { key: input.key }),
|
|
@@ -4612,14 +5162,31 @@ const serializeAws_json1_0UpdateAccountSettingsInput = (input, context) => {
|
|
|
4612
5162
|
input.pipelineServiceRoleArn !== null && { pipelineServiceRoleArn: input.pipelineServiceRoleArn }),
|
|
4613
5163
|
};
|
|
4614
5164
|
};
|
|
5165
|
+
const serializeAws_json1_0UpdateComponentInput = (input, context) => {
|
|
5166
|
+
return {
|
|
5167
|
+
...(input.deploymentType !== undefined &&
|
|
5168
|
+
input.deploymentType !== null && { deploymentType: input.deploymentType }),
|
|
5169
|
+
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
5170
|
+
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
5171
|
+
...(input.serviceInstanceName !== undefined &&
|
|
5172
|
+
input.serviceInstanceName !== null && { serviceInstanceName: input.serviceInstanceName }),
|
|
5173
|
+
...(input.serviceName !== undefined && input.serviceName !== null && { serviceName: input.serviceName }),
|
|
5174
|
+
...(input.serviceSpec !== undefined && input.serviceSpec !== null && { serviceSpec: input.serviceSpec }),
|
|
5175
|
+
...(input.templateFile !== undefined && input.templateFile !== null && { templateFile: input.templateFile }),
|
|
5176
|
+
};
|
|
5177
|
+
};
|
|
4615
5178
|
const serializeAws_json1_0UpdateEnvironmentAccountConnectionInput = (input, context) => {
|
|
4616
5179
|
return {
|
|
5180
|
+
...(input.componentRoleArn !== undefined &&
|
|
5181
|
+
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
|
|
4617
5182
|
...(input.id !== undefined && input.id !== null && { id: input.id }),
|
|
4618
5183
|
...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
|
|
4619
5184
|
};
|
|
4620
5185
|
};
|
|
4621
5186
|
const serializeAws_json1_0UpdateEnvironmentInput = (input, context) => {
|
|
4622
5187
|
return {
|
|
5188
|
+
...(input.componentRoleArn !== undefined &&
|
|
5189
|
+
input.componentRoleArn !== null && { componentRoleArn: input.componentRoleArn }),
|
|
4623
5190
|
...(input.deploymentType !== undefined &&
|
|
4624
5191
|
input.deploymentType !== null && { deploymentType: input.deploymentType }),
|
|
4625
5192
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
@@ -4706,6 +5273,10 @@ const serializeAws_json1_0UpdateServiceTemplateVersionInput = (input, context) =
|
|
|
4706
5273
|
...(input.majorVersion !== undefined && input.majorVersion !== null && { majorVersion: input.majorVersion }),
|
|
4707
5274
|
...(input.minorVersion !== undefined && input.minorVersion !== null && { minorVersion: input.minorVersion }),
|
|
4708
5275
|
...(input.status !== undefined && input.status !== null && { status: input.status }),
|
|
5276
|
+
...(input.supportedComponentSources !== undefined &&
|
|
5277
|
+
input.supportedComponentSources !== null && {
|
|
5278
|
+
supportedComponentSources: serializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(input.supportedComponentSources, context),
|
|
5279
|
+
}),
|
|
4709
5280
|
...(input.templateName !== undefined && input.templateName !== null && { templateName: input.templateName }),
|
|
4710
5281
|
};
|
|
4711
5282
|
};
|
|
@@ -4741,6 +5312,13 @@ const deserializeAws_json1_0AccountSettings = (output, context) => {
|
|
|
4741
5312
|
pipelineServiceRoleArn: (0, smithy_client_1.expectString)(output.pipelineServiceRoleArn),
|
|
4742
5313
|
};
|
|
4743
5314
|
};
|
|
5315
|
+
const deserializeAws_json1_0CancelComponentDeploymentOutput = (output, context) => {
|
|
5316
|
+
return {
|
|
5317
|
+
component: output.component !== undefined && output.component !== null
|
|
5318
|
+
? deserializeAws_json1_0Component(output.component, context)
|
|
5319
|
+
: undefined,
|
|
5320
|
+
};
|
|
5321
|
+
};
|
|
4744
5322
|
const deserializeAws_json1_0CancelEnvironmentDeploymentOutput = (output, context) => {
|
|
4745
5323
|
return {
|
|
4746
5324
|
environment: output.environment !== undefined && output.environment !== null
|
|
@@ -4779,11 +5357,77 @@ const deserializeAws_json1_0CompatibleEnvironmentTemplateList = (output, context
|
|
|
4779
5357
|
});
|
|
4780
5358
|
return retVal;
|
|
4781
5359
|
};
|
|
5360
|
+
const deserializeAws_json1_0Component = (output, context) => {
|
|
5361
|
+
return {
|
|
5362
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5363
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5364
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5365
|
+
: undefined,
|
|
5366
|
+
deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
|
|
5367
|
+
deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
|
|
5368
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5369
|
+
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
5370
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
|
|
5371
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
|
|
5372
|
+
: undefined,
|
|
5373
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
|
|
5374
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
|
|
5375
|
+
: undefined,
|
|
5376
|
+
lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
|
|
5377
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
|
|
5378
|
+
: undefined,
|
|
5379
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5380
|
+
serviceInstanceName: (0, smithy_client_1.expectString)(output.serviceInstanceName),
|
|
5381
|
+
serviceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
5382
|
+
serviceSpec: (0, smithy_client_1.expectString)(output.serviceSpec),
|
|
5383
|
+
};
|
|
5384
|
+
};
|
|
5385
|
+
const deserializeAws_json1_0ComponentSummary = (output, context) => {
|
|
5386
|
+
return {
|
|
5387
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5388
|
+
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5389
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5390
|
+
: undefined,
|
|
5391
|
+
deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
|
|
5392
|
+
deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
|
|
5393
|
+
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
5394
|
+
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt !== undefined && output.lastDeploymentAttemptedAt !== null
|
|
5395
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
|
|
5396
|
+
: undefined,
|
|
5397
|
+
lastDeploymentSucceededAt: output.lastDeploymentSucceededAt !== undefined && output.lastDeploymentSucceededAt !== null
|
|
5398
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentSucceededAt)))
|
|
5399
|
+
: undefined,
|
|
5400
|
+
lastModifiedAt: output.lastModifiedAt !== undefined && output.lastModifiedAt !== null
|
|
5401
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastModifiedAt)))
|
|
5402
|
+
: undefined,
|
|
5403
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5404
|
+
serviceInstanceName: (0, smithy_client_1.expectString)(output.serviceInstanceName),
|
|
5405
|
+
serviceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
5406
|
+
};
|
|
5407
|
+
};
|
|
5408
|
+
const deserializeAws_json1_0ComponentSummaryList = (output, context) => {
|
|
5409
|
+
const retVal = (output || [])
|
|
5410
|
+
.filter((e) => e != null)
|
|
5411
|
+
.map((entry) => {
|
|
5412
|
+
if (entry === null) {
|
|
5413
|
+
return null;
|
|
5414
|
+
}
|
|
5415
|
+
return deserializeAws_json1_0ComponentSummary(entry, context);
|
|
5416
|
+
});
|
|
5417
|
+
return retVal;
|
|
5418
|
+
};
|
|
4782
5419
|
const deserializeAws_json1_0ConflictException = (output, context) => {
|
|
4783
5420
|
return {
|
|
4784
5421
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
4785
5422
|
};
|
|
4786
5423
|
};
|
|
5424
|
+
const deserializeAws_json1_0CreateComponentOutput = (output, context) => {
|
|
5425
|
+
return {
|
|
5426
|
+
component: output.component !== undefined && output.component !== null
|
|
5427
|
+
? deserializeAws_json1_0Component(output.component, context)
|
|
5428
|
+
: undefined,
|
|
5429
|
+
};
|
|
5430
|
+
};
|
|
4787
5431
|
const deserializeAws_json1_0CreateEnvironmentAccountConnectionOutput = (output, context) => {
|
|
4788
5432
|
return {
|
|
4789
5433
|
environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
|
|
@@ -4847,6 +5491,13 @@ const deserializeAws_json1_0CreateTemplateSyncConfigOutput = (output, context) =
|
|
|
4847
5491
|
: undefined,
|
|
4848
5492
|
};
|
|
4849
5493
|
};
|
|
5494
|
+
const deserializeAws_json1_0DeleteComponentOutput = (output, context) => {
|
|
5495
|
+
return {
|
|
5496
|
+
component: output.component !== undefined && output.component !== null
|
|
5497
|
+
? deserializeAws_json1_0Component(output.component, context)
|
|
5498
|
+
: undefined,
|
|
5499
|
+
};
|
|
5500
|
+
};
|
|
4850
5501
|
const deserializeAws_json1_0DeleteEnvironmentAccountConnectionOutput = (output, context) => {
|
|
4851
5502
|
return {
|
|
4852
5503
|
environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
|
|
@@ -4913,6 +5564,7 @@ const deserializeAws_json1_0DeleteTemplateSyncConfigOutput = (output, context) =
|
|
|
4913
5564
|
const deserializeAws_json1_0Environment = (output, context) => {
|
|
4914
5565
|
return {
|
|
4915
5566
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5567
|
+
componentRoleArn: (0, smithy_client_1.expectString)(output.componentRoleArn),
|
|
4916
5568
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
4917
5569
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
4918
5570
|
: undefined,
|
|
@@ -4942,6 +5594,7 @@ const deserializeAws_json1_0Environment = (output, context) => {
|
|
|
4942
5594
|
const deserializeAws_json1_0EnvironmentAccountConnection = (output, context) => {
|
|
4943
5595
|
return {
|
|
4944
5596
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5597
|
+
componentRoleArn: (0, smithy_client_1.expectString)(output.componentRoleArn),
|
|
4945
5598
|
environmentAccountId: (0, smithy_client_1.expectString)(output.environmentAccountId),
|
|
4946
5599
|
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
4947
5600
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
@@ -4959,6 +5612,7 @@ const deserializeAws_json1_0EnvironmentAccountConnection = (output, context) =>
|
|
|
4959
5612
|
const deserializeAws_json1_0EnvironmentAccountConnectionSummary = (output, context) => {
|
|
4960
5613
|
return {
|
|
4961
5614
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5615
|
+
componentRoleArn: (0, smithy_client_1.expectString)(output.componentRoleArn),
|
|
4962
5616
|
environmentAccountId: (0, smithy_client_1.expectString)(output.environmentAccountId),
|
|
4963
5617
|
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
4964
5618
|
id: (0, smithy_client_1.expectString)(output.id),
|
|
@@ -4987,6 +5641,7 @@ const deserializeAws_json1_0EnvironmentAccountConnectionSummaryList = (output, c
|
|
|
4987
5641
|
const deserializeAws_json1_0EnvironmentSummary = (output, context) => {
|
|
4988
5642
|
return {
|
|
4989
5643
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5644
|
+
componentRoleArn: (0, smithy_client_1.expectString)(output.componentRoleArn),
|
|
4990
5645
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
4991
5646
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
4992
5647
|
: undefined,
|
|
@@ -5119,6 +5774,13 @@ const deserializeAws_json1_0GetAccountSettingsOutput = (output, context) => {
|
|
|
5119
5774
|
: undefined,
|
|
5120
5775
|
};
|
|
5121
5776
|
};
|
|
5777
|
+
const deserializeAws_json1_0GetComponentOutput = (output, context) => {
|
|
5778
|
+
return {
|
|
5779
|
+
component: output.component !== undefined && output.component !== null
|
|
5780
|
+
? deserializeAws_json1_0Component(output.component, context)
|
|
5781
|
+
: undefined,
|
|
5782
|
+
};
|
|
5783
|
+
};
|
|
5122
5784
|
const deserializeAws_json1_0GetEnvironmentAccountConnectionOutput = (output, context) => {
|
|
5123
5785
|
return {
|
|
5124
5786
|
environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
|
|
@@ -5214,6 +5876,30 @@ const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
|
5214
5876
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
5215
5877
|
};
|
|
5216
5878
|
};
|
|
5879
|
+
const deserializeAws_json1_0ListComponentOutputsOutput = (output, context) => {
|
|
5880
|
+
return {
|
|
5881
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5882
|
+
outputs: output.outputs !== undefined && output.outputs !== null
|
|
5883
|
+
? deserializeAws_json1_0OutputsList(output.outputs, context)
|
|
5884
|
+
: undefined,
|
|
5885
|
+
};
|
|
5886
|
+
};
|
|
5887
|
+
const deserializeAws_json1_0ListComponentProvisionedResourcesOutput = (output, context) => {
|
|
5888
|
+
return {
|
|
5889
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5890
|
+
provisionedResources: output.provisionedResources !== undefined && output.provisionedResources !== null
|
|
5891
|
+
? deserializeAws_json1_0ProvisionedResourceList(output.provisionedResources, context)
|
|
5892
|
+
: undefined,
|
|
5893
|
+
};
|
|
5894
|
+
};
|
|
5895
|
+
const deserializeAws_json1_0ListComponentsOutput = (output, context) => {
|
|
5896
|
+
return {
|
|
5897
|
+
components: output.components !== undefined && output.components !== null
|
|
5898
|
+
? deserializeAws_json1_0ComponentSummaryList(output.components, context)
|
|
5899
|
+
: undefined,
|
|
5900
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5901
|
+
};
|
|
5902
|
+
};
|
|
5217
5903
|
const deserializeAws_json1_0ListEnvironmentAccountConnectionsOutput = (output, context) => {
|
|
5218
5904
|
return {
|
|
5219
5905
|
environmentAccountConnections: output.environmentAccountConnections !== undefined && output.environmentAccountConnections !== null
|
|
@@ -5709,6 +6395,17 @@ const deserializeAws_json1_0ServiceTemplateSummaryList = (output, context) => {
|
|
|
5709
6395
|
});
|
|
5710
6396
|
return retVal;
|
|
5711
6397
|
};
|
|
6398
|
+
const deserializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList = (output, context) => {
|
|
6399
|
+
const retVal = (output || [])
|
|
6400
|
+
.filter((e) => e != null)
|
|
6401
|
+
.map((entry) => {
|
|
6402
|
+
if (entry === null) {
|
|
6403
|
+
return null;
|
|
6404
|
+
}
|
|
6405
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
6406
|
+
});
|
|
6407
|
+
return retVal;
|
|
6408
|
+
};
|
|
5712
6409
|
const deserializeAws_json1_0ServiceTemplateVersion = (output, context) => {
|
|
5713
6410
|
return {
|
|
5714
6411
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
@@ -5728,6 +6425,9 @@ const deserializeAws_json1_0ServiceTemplateVersion = (output, context) => {
|
|
|
5728
6425
|
schema: (0, smithy_client_1.expectString)(output.schema),
|
|
5729
6426
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
5730
6427
|
statusMessage: (0, smithy_client_1.expectString)(output.statusMessage),
|
|
6428
|
+
supportedComponentSources: output.supportedComponentSources !== undefined && output.supportedComponentSources !== null
|
|
6429
|
+
? deserializeAws_json1_0ServiceTemplateSupportedComponentSourceInputList(output.supportedComponentSources, context)
|
|
6430
|
+
: undefined,
|
|
5731
6431
|
templateName: (0, smithy_client_1.expectString)(output.templateName),
|
|
5732
6432
|
};
|
|
5733
6433
|
};
|
|
@@ -5805,6 +6505,13 @@ const deserializeAws_json1_0UpdateAccountSettingsOutput = (output, context) => {
|
|
|
5805
6505
|
: undefined,
|
|
5806
6506
|
};
|
|
5807
6507
|
};
|
|
6508
|
+
const deserializeAws_json1_0UpdateComponentOutput = (output, context) => {
|
|
6509
|
+
return {
|
|
6510
|
+
component: output.component !== undefined && output.component !== null
|
|
6511
|
+
? deserializeAws_json1_0Component(output.component, context)
|
|
6512
|
+
: undefined,
|
|
6513
|
+
};
|
|
6514
|
+
};
|
|
5808
6515
|
const deserializeAws_json1_0UpdateEnvironmentAccountConnectionOutput = (output, context) => {
|
|
5809
6516
|
return {
|
|
5810
6517
|
environmentAccountConnection: output.environmentAccountConnection !== undefined && output.environmentAccountConnection !== null
|