@aws-sdk/client-proton 3.303.0 → 3.308.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 +64 -0
- package/dist-cjs/Proton.js +120 -0
- package/dist-cjs/commands/CreateServiceInstanceCommand.js +46 -0
- package/dist-cjs/commands/CreateServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/DeleteServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/GetServiceInstanceSyncStatusCommand.js +45 -0
- package/dist-cjs/commands/GetServiceSyncBlockerSummaryCommand.js +45 -0
- package/dist-cjs/commands/GetServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceSyncBlockerCommand.js +45 -0
- package/dist-cjs/commands/UpdateServiceSyncConfigCommand.js +45 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +25 -7
- package/dist-cjs/protocols/Aws_json1_0.js +671 -27
- package/dist-es/Proton.js +120 -0
- package/dist-es/commands/CreateServiceInstanceCommand.js +42 -0
- package/dist-es/commands/CreateServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/DeleteServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/GetServiceInstanceSyncStatusCommand.js +41 -0
- package/dist-es/commands/GetServiceSyncBlockerSummaryCommand.js +41 -0
- package/dist-es/commands/GetServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/UpdateServiceSyncBlockerCommand.js +41 -0
- package/dist-es/commands/UpdateServiceSyncConfigCommand.js +41 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +20 -4
- package/dist-es/protocols/Aws_json1_0.js +651 -23
- package/dist-types/Proton.d.ts +172 -75
- package/dist-types/ProtonClient.d.ts +10 -2
- package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +10 -7
- package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +10 -7
- package/dist-types/commands/CreateComponentCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceCommand.d.ts +4 -3
- package/dist-types/commands/CreateServiceInstanceCommand.d.ts +92 -0
- package/dist-types/commands/CreateServiceSyncConfigCommand.d.ts +86 -0
- package/dist-types/commands/CreateServiceTemplateCommand.d.ts +6 -5
- package/dist-types/commands/CreateServiceTemplateVersionCommand.d.ts +3 -2
- package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +8 -6
- package/dist-types/commands/DeleteServiceCommand.d.ts +2 -1
- package/dist-types/commands/DeleteServiceSyncConfigCommand.d.ts +81 -0
- package/dist-types/commands/DeleteServiceTemplateCommand.d.ts +2 -1
- package/dist-types/commands/DeleteServiceTemplateVersionCommand.d.ts +9 -6
- package/dist-types/commands/GetResourcesSummaryCommand.d.ts +13 -9
- package/dist-types/commands/GetServiceInstanceCommand.d.ts +2 -1
- package/dist-types/commands/GetServiceInstanceSyncStatusCommand.d.ts +79 -0
- package/dist-types/commands/GetServiceSyncBlockerSummaryCommand.d.ts +79 -0
- package/dist-types/commands/GetServiceSyncConfigCommand.d.ts +78 -0
- package/dist-types/commands/ListServiceInstancesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +4 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -4
- package/dist-types/commands/UpdateComponentCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServiceCommand.d.ts +4 -2
- package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +5 -3
- package/dist-types/commands/UpdateServicePipelineCommand.d.ts +14 -8
- package/dist-types/commands/UpdateServiceSyncBlockerCommand.d.ts +82 -0
- package/dist-types/commands/UpdateServiceSyncConfigCommand.d.ts +85 -0
- package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -2
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +623 -148
- package/dist-types/protocols/Aws_json1_0.d.ts +24 -0
- package/dist-types/ts3.4/Proton.d.ts +136 -0
- package/dist-types/ts3.4/ProtonClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/CreateServiceInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceInstanceSyncStatusCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceSyncBlockerSummaryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateServiceSyncBlockerCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateServiceSyncConfigCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +126 -9
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +96 -0
- package/package.json +30 -30
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.deserializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.deserializeAws_json1_0UpdateServiceTemplateVersionCommand = void 0;
|
|
3
|
+
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_0GetServiceSyncConfigCommand = exports.serializeAws_json1_0GetServiceSyncBlockerSummaryCommand = exports.serializeAws_json1_0GetServiceInstanceSyncStatusCommand = exports.serializeAws_json1_0GetServiceInstanceCommand = exports.serializeAws_json1_0GetServiceCommand = exports.serializeAws_json1_0GetResourcesSummaryCommand = 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_0DeleteServiceSyncConfigCommand = 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_0CreateServiceSyncConfigCommand = exports.serializeAws_json1_0CreateServiceInstanceCommand = 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_0CreateServiceTemplateVersionCommand = exports.deserializeAws_json1_0CreateServiceTemplateCommand = exports.deserializeAws_json1_0CreateServiceSyncConfigCommand = exports.deserializeAws_json1_0CreateServiceInstanceCommand = 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_0UpdateServiceSyncConfigCommand = exports.serializeAws_json1_0UpdateServiceSyncBlockerCommand = 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 = 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 = void 0;
|
|
5
|
+
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_0GetServiceSyncConfigCommand = exports.deserializeAws_json1_0GetServiceSyncBlockerSummaryCommand = exports.deserializeAws_json1_0GetServiceInstanceSyncStatusCommand = exports.deserializeAws_json1_0GetServiceInstanceCommand = exports.deserializeAws_json1_0GetServiceCommand = exports.deserializeAws_json1_0GetResourcesSummaryCommand = 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 = exports.deserializeAws_json1_0DeleteTemplateSyncConfigCommand = exports.deserializeAws_json1_0DeleteServiceTemplateVersionCommand = exports.deserializeAws_json1_0DeleteServiceTemplateCommand = exports.deserializeAws_json1_0DeleteServiceSyncConfigCommand = 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 = void 0;
|
|
6
|
+
exports.deserializeAws_json1_0UpdateTemplateSyncConfigCommand = exports.deserializeAws_json1_0UpdateServiceTemplateVersionCommand = exports.deserializeAws_json1_0UpdateServiceTemplateCommand = exports.deserializeAws_json1_0UpdateServiceSyncConfigCommand = exports.deserializeAws_json1_0UpdateServiceSyncBlockerCommand = 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 = 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");
|
|
@@ -129,6 +129,26 @@ const serializeAws_json1_0CreateServiceCommand = async (input, context) => {
|
|
|
129
129
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
130
130
|
};
|
|
131
131
|
exports.serializeAws_json1_0CreateServiceCommand = serializeAws_json1_0CreateServiceCommand;
|
|
132
|
+
const serializeAws_json1_0CreateServiceInstanceCommand = async (input, context) => {
|
|
133
|
+
const headers = {
|
|
134
|
+
"content-type": "application/x-amz-json-1.0",
|
|
135
|
+
"x-amz-target": "AwsProton20200720.CreateServiceInstance",
|
|
136
|
+
};
|
|
137
|
+
let body;
|
|
138
|
+
body = JSON.stringify(serializeAws_json1_0CreateServiceInstanceInput(input, context));
|
|
139
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
140
|
+
};
|
|
141
|
+
exports.serializeAws_json1_0CreateServiceInstanceCommand = serializeAws_json1_0CreateServiceInstanceCommand;
|
|
142
|
+
const serializeAws_json1_0CreateServiceSyncConfigCommand = async (input, context) => {
|
|
143
|
+
const headers = {
|
|
144
|
+
"content-type": "application/x-amz-json-1.0",
|
|
145
|
+
"x-amz-target": "AwsProton20200720.CreateServiceSyncConfig",
|
|
146
|
+
};
|
|
147
|
+
let body;
|
|
148
|
+
body = JSON.stringify(serializeAws_json1_0CreateServiceSyncConfigInput(input, context));
|
|
149
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
150
|
+
};
|
|
151
|
+
exports.serializeAws_json1_0CreateServiceSyncConfigCommand = serializeAws_json1_0CreateServiceSyncConfigCommand;
|
|
132
152
|
const serializeAws_json1_0CreateServiceTemplateCommand = async (input, context) => {
|
|
133
153
|
const headers = {
|
|
134
154
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -229,6 +249,16 @@ const serializeAws_json1_0DeleteServiceCommand = async (input, context) => {
|
|
|
229
249
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
230
250
|
};
|
|
231
251
|
exports.serializeAws_json1_0DeleteServiceCommand = serializeAws_json1_0DeleteServiceCommand;
|
|
252
|
+
const serializeAws_json1_0DeleteServiceSyncConfigCommand = async (input, context) => {
|
|
253
|
+
const headers = {
|
|
254
|
+
"content-type": "application/x-amz-json-1.0",
|
|
255
|
+
"x-amz-target": "AwsProton20200720.DeleteServiceSyncConfig",
|
|
256
|
+
};
|
|
257
|
+
let body;
|
|
258
|
+
body = JSON.stringify(serializeAws_json1_0DeleteServiceSyncConfigInput(input, context));
|
|
259
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
260
|
+
};
|
|
261
|
+
exports.serializeAws_json1_0DeleteServiceSyncConfigCommand = serializeAws_json1_0DeleteServiceSyncConfigCommand;
|
|
232
262
|
const serializeAws_json1_0DeleteServiceTemplateCommand = async (input, context) => {
|
|
233
263
|
const headers = {
|
|
234
264
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -369,6 +399,36 @@ const serializeAws_json1_0GetServiceInstanceCommand = async (input, context) =>
|
|
|
369
399
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
370
400
|
};
|
|
371
401
|
exports.serializeAws_json1_0GetServiceInstanceCommand = serializeAws_json1_0GetServiceInstanceCommand;
|
|
402
|
+
const serializeAws_json1_0GetServiceInstanceSyncStatusCommand = async (input, context) => {
|
|
403
|
+
const headers = {
|
|
404
|
+
"content-type": "application/x-amz-json-1.0",
|
|
405
|
+
"x-amz-target": "AwsProton20200720.GetServiceInstanceSyncStatus",
|
|
406
|
+
};
|
|
407
|
+
let body;
|
|
408
|
+
body = JSON.stringify(serializeAws_json1_0GetServiceInstanceSyncStatusInput(input, context));
|
|
409
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
410
|
+
};
|
|
411
|
+
exports.serializeAws_json1_0GetServiceInstanceSyncStatusCommand = serializeAws_json1_0GetServiceInstanceSyncStatusCommand;
|
|
412
|
+
const serializeAws_json1_0GetServiceSyncBlockerSummaryCommand = async (input, context) => {
|
|
413
|
+
const headers = {
|
|
414
|
+
"content-type": "application/x-amz-json-1.0",
|
|
415
|
+
"x-amz-target": "AwsProton20200720.GetServiceSyncBlockerSummary",
|
|
416
|
+
};
|
|
417
|
+
let body;
|
|
418
|
+
body = JSON.stringify(serializeAws_json1_0GetServiceSyncBlockerSummaryInput(input, context));
|
|
419
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
420
|
+
};
|
|
421
|
+
exports.serializeAws_json1_0GetServiceSyncBlockerSummaryCommand = serializeAws_json1_0GetServiceSyncBlockerSummaryCommand;
|
|
422
|
+
const serializeAws_json1_0GetServiceSyncConfigCommand = async (input, context) => {
|
|
423
|
+
const headers = {
|
|
424
|
+
"content-type": "application/x-amz-json-1.0",
|
|
425
|
+
"x-amz-target": "AwsProton20200720.GetServiceSyncConfig",
|
|
426
|
+
};
|
|
427
|
+
let body;
|
|
428
|
+
body = JSON.stringify(serializeAws_json1_0GetServiceSyncConfigInput(input, context));
|
|
429
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
430
|
+
};
|
|
431
|
+
exports.serializeAws_json1_0GetServiceSyncConfigCommand = serializeAws_json1_0GetServiceSyncConfigCommand;
|
|
372
432
|
const serializeAws_json1_0GetServiceTemplateCommand = async (input, context) => {
|
|
373
433
|
const headers = {
|
|
374
434
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -739,6 +799,26 @@ const serializeAws_json1_0UpdateServicePipelineCommand = async (input, context)
|
|
|
739
799
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
740
800
|
};
|
|
741
801
|
exports.serializeAws_json1_0UpdateServicePipelineCommand = serializeAws_json1_0UpdateServicePipelineCommand;
|
|
802
|
+
const serializeAws_json1_0UpdateServiceSyncBlockerCommand = async (input, context) => {
|
|
803
|
+
const headers = {
|
|
804
|
+
"content-type": "application/x-amz-json-1.0",
|
|
805
|
+
"x-amz-target": "AwsProton20200720.UpdateServiceSyncBlocker",
|
|
806
|
+
};
|
|
807
|
+
let body;
|
|
808
|
+
body = JSON.stringify(serializeAws_json1_0UpdateServiceSyncBlockerInput(input, context));
|
|
809
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
810
|
+
};
|
|
811
|
+
exports.serializeAws_json1_0UpdateServiceSyncBlockerCommand = serializeAws_json1_0UpdateServiceSyncBlockerCommand;
|
|
812
|
+
const serializeAws_json1_0UpdateServiceSyncConfigCommand = async (input, context) => {
|
|
813
|
+
const headers = {
|
|
814
|
+
"content-type": "application/x-amz-json-1.0",
|
|
815
|
+
"x-amz-target": "AwsProton20200720.UpdateServiceSyncConfig",
|
|
816
|
+
};
|
|
817
|
+
let body;
|
|
818
|
+
body = JSON.stringify(serializeAws_json1_0UpdateServiceSyncConfigInput(input, context));
|
|
819
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
820
|
+
};
|
|
821
|
+
exports.serializeAws_json1_0UpdateServiceSyncConfigCommand = serializeAws_json1_0UpdateServiceSyncConfigCommand;
|
|
742
822
|
const serializeAws_json1_0UpdateServiceTemplateCommand = async (input, context) => {
|
|
743
823
|
const headers = {
|
|
744
824
|
"content-type": "application/x-amz-json-1.0",
|
|
@@ -1369,6 +1449,104 @@ const deserializeAws_json1_0CreateServiceCommandError = async (output, context)
|
|
|
1369
1449
|
});
|
|
1370
1450
|
}
|
|
1371
1451
|
};
|
|
1452
|
+
const deserializeAws_json1_0CreateServiceInstanceCommand = async (output, context) => {
|
|
1453
|
+
if (output.statusCode >= 300) {
|
|
1454
|
+
return deserializeAws_json1_0CreateServiceInstanceCommandError(output, context);
|
|
1455
|
+
}
|
|
1456
|
+
const data = await parseBody(output.body, context);
|
|
1457
|
+
let contents = {};
|
|
1458
|
+
contents = deserializeAws_json1_0CreateServiceInstanceOutput(data, context);
|
|
1459
|
+
const response = {
|
|
1460
|
+
$metadata: deserializeMetadata(output),
|
|
1461
|
+
...contents,
|
|
1462
|
+
};
|
|
1463
|
+
return Promise.resolve(response);
|
|
1464
|
+
};
|
|
1465
|
+
exports.deserializeAws_json1_0CreateServiceInstanceCommand = deserializeAws_json1_0CreateServiceInstanceCommand;
|
|
1466
|
+
const deserializeAws_json1_0CreateServiceInstanceCommandError = async (output, context) => {
|
|
1467
|
+
const parsedOutput = {
|
|
1468
|
+
...output,
|
|
1469
|
+
body: await parseErrorBody(output.body, context),
|
|
1470
|
+
};
|
|
1471
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1472
|
+
switch (errorCode) {
|
|
1473
|
+
case "AccessDeniedException":
|
|
1474
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
1475
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1476
|
+
case "ConflictException":
|
|
1477
|
+
case "com.amazonaws.proton#ConflictException":
|
|
1478
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
1479
|
+
case "InternalServerException":
|
|
1480
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
1481
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
1482
|
+
case "ResourceNotFoundException":
|
|
1483
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
1484
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
1485
|
+
case "ThrottlingException":
|
|
1486
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
1487
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
1488
|
+
case "ValidationException":
|
|
1489
|
+
case "com.amazonaws.proton#ValidationException":
|
|
1490
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1491
|
+
default:
|
|
1492
|
+
const parsedBody = parsedOutput.body;
|
|
1493
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1494
|
+
output,
|
|
1495
|
+
parsedBody,
|
|
1496
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1497
|
+
errorCode,
|
|
1498
|
+
});
|
|
1499
|
+
}
|
|
1500
|
+
};
|
|
1501
|
+
const deserializeAws_json1_0CreateServiceSyncConfigCommand = async (output, context) => {
|
|
1502
|
+
if (output.statusCode >= 300) {
|
|
1503
|
+
return deserializeAws_json1_0CreateServiceSyncConfigCommandError(output, context);
|
|
1504
|
+
}
|
|
1505
|
+
const data = await parseBody(output.body, context);
|
|
1506
|
+
let contents = {};
|
|
1507
|
+
contents = deserializeAws_json1_0CreateServiceSyncConfigOutput(data, context);
|
|
1508
|
+
const response = {
|
|
1509
|
+
$metadata: deserializeMetadata(output),
|
|
1510
|
+
...contents,
|
|
1511
|
+
};
|
|
1512
|
+
return Promise.resolve(response);
|
|
1513
|
+
};
|
|
1514
|
+
exports.deserializeAws_json1_0CreateServiceSyncConfigCommand = deserializeAws_json1_0CreateServiceSyncConfigCommand;
|
|
1515
|
+
const deserializeAws_json1_0CreateServiceSyncConfigCommandError = async (output, context) => {
|
|
1516
|
+
const parsedOutput = {
|
|
1517
|
+
...output,
|
|
1518
|
+
body: await parseErrorBody(output.body, context),
|
|
1519
|
+
};
|
|
1520
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1521
|
+
switch (errorCode) {
|
|
1522
|
+
case "AccessDeniedException":
|
|
1523
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
1524
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
1525
|
+
case "ConflictException":
|
|
1526
|
+
case "com.amazonaws.proton#ConflictException":
|
|
1527
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
1528
|
+
case "InternalServerException":
|
|
1529
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
1530
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
1531
|
+
case "ServiceQuotaExceededException":
|
|
1532
|
+
case "com.amazonaws.proton#ServiceQuotaExceededException":
|
|
1533
|
+
throw await deserializeAws_json1_0ServiceQuotaExceededExceptionResponse(parsedOutput, context);
|
|
1534
|
+
case "ThrottlingException":
|
|
1535
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
1536
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
1537
|
+
case "ValidationException":
|
|
1538
|
+
case "com.amazonaws.proton#ValidationException":
|
|
1539
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
1540
|
+
default:
|
|
1541
|
+
const parsedBody = parsedOutput.body;
|
|
1542
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
1543
|
+
output,
|
|
1544
|
+
parsedBody,
|
|
1545
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
1546
|
+
errorCode,
|
|
1547
|
+
});
|
|
1548
|
+
}
|
|
1549
|
+
};
|
|
1372
1550
|
const deserializeAws_json1_0CreateServiceTemplateCommand = async (output, context) => {
|
|
1373
1551
|
if (output.statusCode >= 300) {
|
|
1374
1552
|
return deserializeAws_json1_0CreateServiceTemplateCommandError(output, context);
|
|
@@ -1862,6 +2040,55 @@ const deserializeAws_json1_0DeleteServiceCommandError = async (output, context)
|
|
|
1862
2040
|
});
|
|
1863
2041
|
}
|
|
1864
2042
|
};
|
|
2043
|
+
const deserializeAws_json1_0DeleteServiceSyncConfigCommand = async (output, context) => {
|
|
2044
|
+
if (output.statusCode >= 300) {
|
|
2045
|
+
return deserializeAws_json1_0DeleteServiceSyncConfigCommandError(output, context);
|
|
2046
|
+
}
|
|
2047
|
+
const data = await parseBody(output.body, context);
|
|
2048
|
+
let contents = {};
|
|
2049
|
+
contents = deserializeAws_json1_0DeleteServiceSyncConfigOutput(data, context);
|
|
2050
|
+
const response = {
|
|
2051
|
+
$metadata: deserializeMetadata(output),
|
|
2052
|
+
...contents,
|
|
2053
|
+
};
|
|
2054
|
+
return Promise.resolve(response);
|
|
2055
|
+
};
|
|
2056
|
+
exports.deserializeAws_json1_0DeleteServiceSyncConfigCommand = deserializeAws_json1_0DeleteServiceSyncConfigCommand;
|
|
2057
|
+
const deserializeAws_json1_0DeleteServiceSyncConfigCommandError = async (output, context) => {
|
|
2058
|
+
const parsedOutput = {
|
|
2059
|
+
...output,
|
|
2060
|
+
body: await parseErrorBody(output.body, context),
|
|
2061
|
+
};
|
|
2062
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2063
|
+
switch (errorCode) {
|
|
2064
|
+
case "AccessDeniedException":
|
|
2065
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2066
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2067
|
+
case "ConflictException":
|
|
2068
|
+
case "com.amazonaws.proton#ConflictException":
|
|
2069
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
2070
|
+
case "InternalServerException":
|
|
2071
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2072
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2073
|
+
case "ResourceNotFoundException":
|
|
2074
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2075
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2076
|
+
case "ThrottlingException":
|
|
2077
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2078
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2079
|
+
case "ValidationException":
|
|
2080
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2081
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2082
|
+
default:
|
|
2083
|
+
const parsedBody = parsedOutput.body;
|
|
2084
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2085
|
+
output,
|
|
2086
|
+
parsedBody,
|
|
2087
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2088
|
+
errorCode,
|
|
2089
|
+
});
|
|
2090
|
+
}
|
|
2091
|
+
};
|
|
1865
2092
|
const deserializeAws_json1_0DeleteServiceTemplateCommand = async (output, context) => {
|
|
1866
2093
|
if (output.statusCode >= 300) {
|
|
1867
2094
|
return deserializeAws_json1_0DeleteServiceTemplateCommandError(output, context);
|
|
@@ -2291,15 +2518,150 @@ const deserializeAws_json1_0GetRepositoryCommand = async (output, context) => {
|
|
|
2291
2518
|
}
|
|
2292
2519
|
const data = await parseBody(output.body, context);
|
|
2293
2520
|
let contents = {};
|
|
2294
|
-
contents = deserializeAws_json1_0GetRepositoryOutput(data, context);
|
|
2521
|
+
contents = deserializeAws_json1_0GetRepositoryOutput(data, context);
|
|
2522
|
+
const response = {
|
|
2523
|
+
$metadata: deserializeMetadata(output),
|
|
2524
|
+
...contents,
|
|
2525
|
+
};
|
|
2526
|
+
return Promise.resolve(response);
|
|
2527
|
+
};
|
|
2528
|
+
exports.deserializeAws_json1_0GetRepositoryCommand = deserializeAws_json1_0GetRepositoryCommand;
|
|
2529
|
+
const deserializeAws_json1_0GetRepositoryCommandError = async (output, context) => {
|
|
2530
|
+
const parsedOutput = {
|
|
2531
|
+
...output,
|
|
2532
|
+
body: await parseErrorBody(output.body, context),
|
|
2533
|
+
};
|
|
2534
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2535
|
+
switch (errorCode) {
|
|
2536
|
+
case "AccessDeniedException":
|
|
2537
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2538
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2539
|
+
case "InternalServerException":
|
|
2540
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2541
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2542
|
+
case "ResourceNotFoundException":
|
|
2543
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2544
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2545
|
+
case "ThrottlingException":
|
|
2546
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2547
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2548
|
+
case "ValidationException":
|
|
2549
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2550
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2551
|
+
default:
|
|
2552
|
+
const parsedBody = parsedOutput.body;
|
|
2553
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2554
|
+
output,
|
|
2555
|
+
parsedBody,
|
|
2556
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2557
|
+
errorCode,
|
|
2558
|
+
});
|
|
2559
|
+
}
|
|
2560
|
+
};
|
|
2561
|
+
const deserializeAws_json1_0GetRepositorySyncStatusCommand = async (output, context) => {
|
|
2562
|
+
if (output.statusCode >= 300) {
|
|
2563
|
+
return deserializeAws_json1_0GetRepositorySyncStatusCommandError(output, context);
|
|
2564
|
+
}
|
|
2565
|
+
const data = await parseBody(output.body, context);
|
|
2566
|
+
let contents = {};
|
|
2567
|
+
contents = deserializeAws_json1_0GetRepositorySyncStatusOutput(data, context);
|
|
2568
|
+
const response = {
|
|
2569
|
+
$metadata: deserializeMetadata(output),
|
|
2570
|
+
...contents,
|
|
2571
|
+
};
|
|
2572
|
+
return Promise.resolve(response);
|
|
2573
|
+
};
|
|
2574
|
+
exports.deserializeAws_json1_0GetRepositorySyncStatusCommand = deserializeAws_json1_0GetRepositorySyncStatusCommand;
|
|
2575
|
+
const deserializeAws_json1_0GetRepositorySyncStatusCommandError = async (output, context) => {
|
|
2576
|
+
const parsedOutput = {
|
|
2577
|
+
...output,
|
|
2578
|
+
body: await parseErrorBody(output.body, context),
|
|
2579
|
+
};
|
|
2580
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2581
|
+
switch (errorCode) {
|
|
2582
|
+
case "AccessDeniedException":
|
|
2583
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2584
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2585
|
+
case "InternalServerException":
|
|
2586
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2587
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2588
|
+
case "ResourceNotFoundException":
|
|
2589
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2590
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2591
|
+
case "ThrottlingException":
|
|
2592
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2593
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2594
|
+
case "ValidationException":
|
|
2595
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2596
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2597
|
+
default:
|
|
2598
|
+
const parsedBody = parsedOutput.body;
|
|
2599
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2600
|
+
output,
|
|
2601
|
+
parsedBody,
|
|
2602
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2603
|
+
errorCode,
|
|
2604
|
+
});
|
|
2605
|
+
}
|
|
2606
|
+
};
|
|
2607
|
+
const deserializeAws_json1_0GetResourcesSummaryCommand = async (output, context) => {
|
|
2608
|
+
if (output.statusCode >= 300) {
|
|
2609
|
+
return deserializeAws_json1_0GetResourcesSummaryCommandError(output, context);
|
|
2610
|
+
}
|
|
2611
|
+
const data = await parseBody(output.body, context);
|
|
2612
|
+
let contents = {};
|
|
2613
|
+
contents = deserializeAws_json1_0GetResourcesSummaryOutput(data, context);
|
|
2614
|
+
const response = {
|
|
2615
|
+
$metadata: deserializeMetadata(output),
|
|
2616
|
+
...contents,
|
|
2617
|
+
};
|
|
2618
|
+
return Promise.resolve(response);
|
|
2619
|
+
};
|
|
2620
|
+
exports.deserializeAws_json1_0GetResourcesSummaryCommand = deserializeAws_json1_0GetResourcesSummaryCommand;
|
|
2621
|
+
const deserializeAws_json1_0GetResourcesSummaryCommandError = async (output, context) => {
|
|
2622
|
+
const parsedOutput = {
|
|
2623
|
+
...output,
|
|
2624
|
+
body: await parseErrorBody(output.body, context),
|
|
2625
|
+
};
|
|
2626
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2627
|
+
switch (errorCode) {
|
|
2628
|
+
case "AccessDeniedException":
|
|
2629
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
2630
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
2631
|
+
case "InternalServerException":
|
|
2632
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
2633
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2634
|
+
case "ThrottlingException":
|
|
2635
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
2636
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
2637
|
+
case "ValidationException":
|
|
2638
|
+
case "com.amazonaws.proton#ValidationException":
|
|
2639
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
2640
|
+
default:
|
|
2641
|
+
const parsedBody = parsedOutput.body;
|
|
2642
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
2643
|
+
output,
|
|
2644
|
+
parsedBody,
|
|
2645
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
2646
|
+
errorCode,
|
|
2647
|
+
});
|
|
2648
|
+
}
|
|
2649
|
+
};
|
|
2650
|
+
const deserializeAws_json1_0GetServiceCommand = async (output, context) => {
|
|
2651
|
+
if (output.statusCode >= 300) {
|
|
2652
|
+
return deserializeAws_json1_0GetServiceCommandError(output, context);
|
|
2653
|
+
}
|
|
2654
|
+
const data = await parseBody(output.body, context);
|
|
2655
|
+
let contents = {};
|
|
2656
|
+
contents = deserializeAws_json1_0GetServiceOutput(data, context);
|
|
2295
2657
|
const response = {
|
|
2296
2658
|
$metadata: deserializeMetadata(output),
|
|
2297
2659
|
...contents,
|
|
2298
2660
|
};
|
|
2299
2661
|
return Promise.resolve(response);
|
|
2300
2662
|
};
|
|
2301
|
-
exports.
|
|
2302
|
-
const
|
|
2663
|
+
exports.deserializeAws_json1_0GetServiceCommand = deserializeAws_json1_0GetServiceCommand;
|
|
2664
|
+
const deserializeAws_json1_0GetServiceCommandError = async (output, context) => {
|
|
2303
2665
|
const parsedOutput = {
|
|
2304
2666
|
...output,
|
|
2305
2667
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2331,21 +2693,21 @@ const deserializeAws_json1_0GetRepositoryCommandError = async (output, context)
|
|
|
2331
2693
|
});
|
|
2332
2694
|
}
|
|
2333
2695
|
};
|
|
2334
|
-
const
|
|
2696
|
+
const deserializeAws_json1_0GetServiceInstanceCommand = async (output, context) => {
|
|
2335
2697
|
if (output.statusCode >= 300) {
|
|
2336
|
-
return
|
|
2698
|
+
return deserializeAws_json1_0GetServiceInstanceCommandError(output, context);
|
|
2337
2699
|
}
|
|
2338
2700
|
const data = await parseBody(output.body, context);
|
|
2339
2701
|
let contents = {};
|
|
2340
|
-
contents =
|
|
2702
|
+
contents = deserializeAws_json1_0GetServiceInstanceOutput(data, context);
|
|
2341
2703
|
const response = {
|
|
2342
2704
|
$metadata: deserializeMetadata(output),
|
|
2343
2705
|
...contents,
|
|
2344
2706
|
};
|
|
2345
2707
|
return Promise.resolve(response);
|
|
2346
2708
|
};
|
|
2347
|
-
exports.
|
|
2348
|
-
const
|
|
2709
|
+
exports.deserializeAws_json1_0GetServiceInstanceCommand = deserializeAws_json1_0GetServiceInstanceCommand;
|
|
2710
|
+
const deserializeAws_json1_0GetServiceInstanceCommandError = async (output, context) => {
|
|
2349
2711
|
const parsedOutput = {
|
|
2350
2712
|
...output,
|
|
2351
2713
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2377,21 +2739,21 @@ const deserializeAws_json1_0GetRepositorySyncStatusCommandError = async (output,
|
|
|
2377
2739
|
});
|
|
2378
2740
|
}
|
|
2379
2741
|
};
|
|
2380
|
-
const
|
|
2742
|
+
const deserializeAws_json1_0GetServiceInstanceSyncStatusCommand = async (output, context) => {
|
|
2381
2743
|
if (output.statusCode >= 300) {
|
|
2382
|
-
return
|
|
2744
|
+
return deserializeAws_json1_0GetServiceInstanceSyncStatusCommandError(output, context);
|
|
2383
2745
|
}
|
|
2384
2746
|
const data = await parseBody(output.body, context);
|
|
2385
2747
|
let contents = {};
|
|
2386
|
-
contents =
|
|
2748
|
+
contents = deserializeAws_json1_0GetServiceInstanceSyncStatusOutput(data, context);
|
|
2387
2749
|
const response = {
|
|
2388
2750
|
$metadata: deserializeMetadata(output),
|
|
2389
2751
|
...contents,
|
|
2390
2752
|
};
|
|
2391
2753
|
return Promise.resolve(response);
|
|
2392
2754
|
};
|
|
2393
|
-
exports.
|
|
2394
|
-
const
|
|
2755
|
+
exports.deserializeAws_json1_0GetServiceInstanceSyncStatusCommand = deserializeAws_json1_0GetServiceInstanceSyncStatusCommand;
|
|
2756
|
+
const deserializeAws_json1_0GetServiceInstanceSyncStatusCommandError = async (output, context) => {
|
|
2395
2757
|
const parsedOutput = {
|
|
2396
2758
|
...output,
|
|
2397
2759
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2404,6 +2766,9 @@ const deserializeAws_json1_0GetResourcesSummaryCommandError = async (output, con
|
|
|
2404
2766
|
case "InternalServerException":
|
|
2405
2767
|
case "com.amazonaws.proton#InternalServerException":
|
|
2406
2768
|
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
2769
|
+
case "ResourceNotFoundException":
|
|
2770
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
2771
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
2407
2772
|
case "ThrottlingException":
|
|
2408
2773
|
case "com.amazonaws.proton#ThrottlingException":
|
|
2409
2774
|
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
@@ -2420,21 +2785,21 @@ const deserializeAws_json1_0GetResourcesSummaryCommandError = async (output, con
|
|
|
2420
2785
|
});
|
|
2421
2786
|
}
|
|
2422
2787
|
};
|
|
2423
|
-
const
|
|
2788
|
+
const deserializeAws_json1_0GetServiceSyncBlockerSummaryCommand = async (output, context) => {
|
|
2424
2789
|
if (output.statusCode >= 300) {
|
|
2425
|
-
return
|
|
2790
|
+
return deserializeAws_json1_0GetServiceSyncBlockerSummaryCommandError(output, context);
|
|
2426
2791
|
}
|
|
2427
2792
|
const data = await parseBody(output.body, context);
|
|
2428
2793
|
let contents = {};
|
|
2429
|
-
contents =
|
|
2794
|
+
contents = deserializeAws_json1_0GetServiceSyncBlockerSummaryOutput(data, context);
|
|
2430
2795
|
const response = {
|
|
2431
2796
|
$metadata: deserializeMetadata(output),
|
|
2432
2797
|
...contents,
|
|
2433
2798
|
};
|
|
2434
2799
|
return Promise.resolve(response);
|
|
2435
2800
|
};
|
|
2436
|
-
exports.
|
|
2437
|
-
const
|
|
2801
|
+
exports.deserializeAws_json1_0GetServiceSyncBlockerSummaryCommand = deserializeAws_json1_0GetServiceSyncBlockerSummaryCommand;
|
|
2802
|
+
const deserializeAws_json1_0GetServiceSyncBlockerSummaryCommandError = async (output, context) => {
|
|
2438
2803
|
const parsedOutput = {
|
|
2439
2804
|
...output,
|
|
2440
2805
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2466,21 +2831,21 @@ const deserializeAws_json1_0GetServiceCommandError = async (output, context) =>
|
|
|
2466
2831
|
});
|
|
2467
2832
|
}
|
|
2468
2833
|
};
|
|
2469
|
-
const
|
|
2834
|
+
const deserializeAws_json1_0GetServiceSyncConfigCommand = async (output, context) => {
|
|
2470
2835
|
if (output.statusCode >= 300) {
|
|
2471
|
-
return
|
|
2836
|
+
return deserializeAws_json1_0GetServiceSyncConfigCommandError(output, context);
|
|
2472
2837
|
}
|
|
2473
2838
|
const data = await parseBody(output.body, context);
|
|
2474
2839
|
let contents = {};
|
|
2475
|
-
contents =
|
|
2840
|
+
contents = deserializeAws_json1_0GetServiceSyncConfigOutput(data, context);
|
|
2476
2841
|
const response = {
|
|
2477
2842
|
$metadata: deserializeMetadata(output),
|
|
2478
2843
|
...contents,
|
|
2479
2844
|
};
|
|
2480
2845
|
return Promise.resolve(response);
|
|
2481
2846
|
};
|
|
2482
|
-
exports.
|
|
2483
|
-
const
|
|
2847
|
+
exports.deserializeAws_json1_0GetServiceSyncConfigCommand = deserializeAws_json1_0GetServiceSyncConfigCommand;
|
|
2848
|
+
const deserializeAws_json1_0GetServiceSyncConfigCommandError = async (output, context) => {
|
|
2484
2849
|
const parsedOutput = {
|
|
2485
2850
|
...output,
|
|
2486
2851
|
body: await parseErrorBody(output.body, context),
|
|
@@ -4241,6 +4606,104 @@ const deserializeAws_json1_0UpdateServicePipelineCommandError = async (output, c
|
|
|
4241
4606
|
});
|
|
4242
4607
|
}
|
|
4243
4608
|
};
|
|
4609
|
+
const deserializeAws_json1_0UpdateServiceSyncBlockerCommand = async (output, context) => {
|
|
4610
|
+
if (output.statusCode >= 300) {
|
|
4611
|
+
return deserializeAws_json1_0UpdateServiceSyncBlockerCommandError(output, context);
|
|
4612
|
+
}
|
|
4613
|
+
const data = await parseBody(output.body, context);
|
|
4614
|
+
let contents = {};
|
|
4615
|
+
contents = deserializeAws_json1_0UpdateServiceSyncBlockerOutput(data, context);
|
|
4616
|
+
const response = {
|
|
4617
|
+
$metadata: deserializeMetadata(output),
|
|
4618
|
+
...contents,
|
|
4619
|
+
};
|
|
4620
|
+
return Promise.resolve(response);
|
|
4621
|
+
};
|
|
4622
|
+
exports.deserializeAws_json1_0UpdateServiceSyncBlockerCommand = deserializeAws_json1_0UpdateServiceSyncBlockerCommand;
|
|
4623
|
+
const deserializeAws_json1_0UpdateServiceSyncBlockerCommandError = async (output, context) => {
|
|
4624
|
+
const parsedOutput = {
|
|
4625
|
+
...output,
|
|
4626
|
+
body: await parseErrorBody(output.body, context),
|
|
4627
|
+
};
|
|
4628
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4629
|
+
switch (errorCode) {
|
|
4630
|
+
case "AccessDeniedException":
|
|
4631
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
4632
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
4633
|
+
case "ConflictException":
|
|
4634
|
+
case "com.amazonaws.proton#ConflictException":
|
|
4635
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
4636
|
+
case "InternalServerException":
|
|
4637
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
4638
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
4639
|
+
case "ResourceNotFoundException":
|
|
4640
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4641
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4642
|
+
case "ThrottlingException":
|
|
4643
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
4644
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
4645
|
+
case "ValidationException":
|
|
4646
|
+
case "com.amazonaws.proton#ValidationException":
|
|
4647
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4648
|
+
default:
|
|
4649
|
+
const parsedBody = parsedOutput.body;
|
|
4650
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4651
|
+
output,
|
|
4652
|
+
parsedBody,
|
|
4653
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4654
|
+
errorCode,
|
|
4655
|
+
});
|
|
4656
|
+
}
|
|
4657
|
+
};
|
|
4658
|
+
const deserializeAws_json1_0UpdateServiceSyncConfigCommand = async (output, context) => {
|
|
4659
|
+
if (output.statusCode >= 300) {
|
|
4660
|
+
return deserializeAws_json1_0UpdateServiceSyncConfigCommandError(output, context);
|
|
4661
|
+
}
|
|
4662
|
+
const data = await parseBody(output.body, context);
|
|
4663
|
+
let contents = {};
|
|
4664
|
+
contents = deserializeAws_json1_0UpdateServiceSyncConfigOutput(data, context);
|
|
4665
|
+
const response = {
|
|
4666
|
+
$metadata: deserializeMetadata(output),
|
|
4667
|
+
...contents,
|
|
4668
|
+
};
|
|
4669
|
+
return Promise.resolve(response);
|
|
4670
|
+
};
|
|
4671
|
+
exports.deserializeAws_json1_0UpdateServiceSyncConfigCommand = deserializeAws_json1_0UpdateServiceSyncConfigCommand;
|
|
4672
|
+
const deserializeAws_json1_0UpdateServiceSyncConfigCommandError = async (output, context) => {
|
|
4673
|
+
const parsedOutput = {
|
|
4674
|
+
...output,
|
|
4675
|
+
body: await parseErrorBody(output.body, context),
|
|
4676
|
+
};
|
|
4677
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4678
|
+
switch (errorCode) {
|
|
4679
|
+
case "AccessDeniedException":
|
|
4680
|
+
case "com.amazonaws.proton#AccessDeniedException":
|
|
4681
|
+
throw await deserializeAws_json1_0AccessDeniedExceptionResponse(parsedOutput, context);
|
|
4682
|
+
case "ConflictException":
|
|
4683
|
+
case "com.amazonaws.proton#ConflictException":
|
|
4684
|
+
throw await deserializeAws_json1_0ConflictExceptionResponse(parsedOutput, context);
|
|
4685
|
+
case "InternalServerException":
|
|
4686
|
+
case "com.amazonaws.proton#InternalServerException":
|
|
4687
|
+
throw await deserializeAws_json1_0InternalServerExceptionResponse(parsedOutput, context);
|
|
4688
|
+
case "ResourceNotFoundException":
|
|
4689
|
+
case "com.amazonaws.proton#ResourceNotFoundException":
|
|
4690
|
+
throw await deserializeAws_json1_0ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
4691
|
+
case "ThrottlingException":
|
|
4692
|
+
case "com.amazonaws.proton#ThrottlingException":
|
|
4693
|
+
throw await deserializeAws_json1_0ThrottlingExceptionResponse(parsedOutput, context);
|
|
4694
|
+
case "ValidationException":
|
|
4695
|
+
case "com.amazonaws.proton#ValidationException":
|
|
4696
|
+
throw await deserializeAws_json1_0ValidationExceptionResponse(parsedOutput, context);
|
|
4697
|
+
default:
|
|
4698
|
+
const parsedBody = parsedOutput.body;
|
|
4699
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4700
|
+
output,
|
|
4701
|
+
parsedBody,
|
|
4702
|
+
exceptionCtor: ProtonServiceException_1.ProtonServiceException,
|
|
4703
|
+
errorCode,
|
|
4704
|
+
});
|
|
4705
|
+
}
|
|
4706
|
+
};
|
|
4244
4707
|
const deserializeAws_json1_0UpdateServiceTemplateCommand = async (output, context) => {
|
|
4245
4708
|
if (output.statusCode >= 300) {
|
|
4246
4709
|
return deserializeAws_json1_0UpdateServiceTemplateCommandError(output, context);
|
|
@@ -4492,6 +4955,7 @@ const serializeAws_json1_0CompatibleEnvironmentTemplateInputList = (input, conte
|
|
|
4492
4955
|
};
|
|
4493
4956
|
const serializeAws_json1_0CreateComponentInput = (input, context) => {
|
|
4494
4957
|
return {
|
|
4958
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
4495
4959
|
...(input.description != null && { description: input.description }),
|
|
4496
4960
|
...(input.environmentName != null && { environmentName: input.environmentName }),
|
|
4497
4961
|
...(input.manifest != null && { manifest: input.manifest }),
|
|
@@ -4577,6 +5041,26 @@ const serializeAws_json1_0CreateServiceInput = (input, context) => {
|
|
|
4577
5041
|
...(input.templateName != null && { templateName: input.templateName }),
|
|
4578
5042
|
};
|
|
4579
5043
|
};
|
|
5044
|
+
const serializeAws_json1_0CreateServiceInstanceInput = (input, context) => {
|
|
5045
|
+
return {
|
|
5046
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
5047
|
+
...(input.name != null && { name: input.name }),
|
|
5048
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5049
|
+
...(input.spec != null && { spec: input.spec }),
|
|
5050
|
+
...(input.tags != null && { tags: serializeAws_json1_0TagList(input.tags, context) }),
|
|
5051
|
+
...(input.templateMajorVersion != null && { templateMajorVersion: input.templateMajorVersion }),
|
|
5052
|
+
...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
|
|
5053
|
+
};
|
|
5054
|
+
};
|
|
5055
|
+
const serializeAws_json1_0CreateServiceSyncConfigInput = (input, context) => {
|
|
5056
|
+
return {
|
|
5057
|
+
...(input.branch != null && { branch: input.branch }),
|
|
5058
|
+
...(input.filePath != null && { filePath: input.filePath }),
|
|
5059
|
+
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
5060
|
+
...(input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider }),
|
|
5061
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5062
|
+
};
|
|
5063
|
+
};
|
|
4580
5064
|
const serializeAws_json1_0CreateServiceTemplateInput = (input, context) => {
|
|
4581
5065
|
return {
|
|
4582
5066
|
...(input.description != null && { description: input.description }),
|
|
@@ -4651,6 +5135,11 @@ const serializeAws_json1_0DeleteServiceInput = (input, context) => {
|
|
|
4651
5135
|
...(input.name != null && { name: input.name }),
|
|
4652
5136
|
};
|
|
4653
5137
|
};
|
|
5138
|
+
const serializeAws_json1_0DeleteServiceSyncConfigInput = (input, context) => {
|
|
5139
|
+
return {
|
|
5140
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5141
|
+
};
|
|
5142
|
+
};
|
|
4654
5143
|
const serializeAws_json1_0DeleteServiceTemplateInput = (input, context) => {
|
|
4655
5144
|
return {
|
|
4656
5145
|
...(input.name != null && { name: input.name }),
|
|
@@ -4747,6 +5236,23 @@ const serializeAws_json1_0GetServiceInstanceInput = (input, context) => {
|
|
|
4747
5236
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
4748
5237
|
};
|
|
4749
5238
|
};
|
|
5239
|
+
const serializeAws_json1_0GetServiceInstanceSyncStatusInput = (input, context) => {
|
|
5240
|
+
return {
|
|
5241
|
+
...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
|
|
5242
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5243
|
+
};
|
|
5244
|
+
};
|
|
5245
|
+
const serializeAws_json1_0GetServiceSyncBlockerSummaryInput = (input, context) => {
|
|
5246
|
+
return {
|
|
5247
|
+
...(input.serviceInstanceName != null && { serviceInstanceName: input.serviceInstanceName }),
|
|
5248
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5249
|
+
};
|
|
5250
|
+
};
|
|
5251
|
+
const serializeAws_json1_0GetServiceSyncConfigInput = (input, context) => {
|
|
5252
|
+
return {
|
|
5253
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5254
|
+
};
|
|
5255
|
+
};
|
|
4750
5256
|
const serializeAws_json1_0GetServiceTemplateInput = (input, context) => {
|
|
4751
5257
|
return {
|
|
4752
5258
|
...(input.name != null && { name: input.name }),
|
|
@@ -5030,6 +5536,7 @@ const serializeAws_json1_0UpdateAccountSettingsInput = (input, context) => {
|
|
|
5030
5536
|
};
|
|
5031
5537
|
const serializeAws_json1_0UpdateComponentInput = (input, context) => {
|
|
5032
5538
|
return {
|
|
5539
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
5033
5540
|
...(input.deploymentType != null && { deploymentType: input.deploymentType }),
|
|
5034
5541
|
...(input.description != null && { description: input.description }),
|
|
5035
5542
|
...(input.name != null && { name: input.name }),
|
|
@@ -5091,6 +5598,7 @@ const serializeAws_json1_0UpdateServiceInput = (input, context) => {
|
|
|
5091
5598
|
};
|
|
5092
5599
|
const serializeAws_json1_0UpdateServiceInstanceInput = (input, context) => {
|
|
5093
5600
|
return {
|
|
5601
|
+
clientToken: input.clientToken ?? (0, uuid_1.v4)(),
|
|
5094
5602
|
...(input.deploymentType != null && { deploymentType: input.deploymentType }),
|
|
5095
5603
|
...(input.name != null && { name: input.name }),
|
|
5096
5604
|
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
@@ -5108,6 +5616,21 @@ const serializeAws_json1_0UpdateServicePipelineInput = (input, context) => {
|
|
|
5108
5616
|
...(input.templateMinorVersion != null && { templateMinorVersion: input.templateMinorVersion }),
|
|
5109
5617
|
};
|
|
5110
5618
|
};
|
|
5619
|
+
const serializeAws_json1_0UpdateServiceSyncBlockerInput = (input, context) => {
|
|
5620
|
+
return {
|
|
5621
|
+
...(input.id != null && { id: input.id }),
|
|
5622
|
+
...(input.resolvedReason != null && { resolvedReason: input.resolvedReason }),
|
|
5623
|
+
};
|
|
5624
|
+
};
|
|
5625
|
+
const serializeAws_json1_0UpdateServiceSyncConfigInput = (input, context) => {
|
|
5626
|
+
return {
|
|
5627
|
+
...(input.branch != null && { branch: input.branch }),
|
|
5628
|
+
...(input.filePath != null && { filePath: input.filePath }),
|
|
5629
|
+
...(input.repositoryName != null && { repositoryName: input.repositoryName }),
|
|
5630
|
+
...(input.repositoryProvider != null && { repositoryProvider: input.repositoryProvider }),
|
|
5631
|
+
...(input.serviceName != null && { serviceName: input.serviceName }),
|
|
5632
|
+
};
|
|
5633
|
+
};
|
|
5111
5634
|
const serializeAws_json1_0UpdateServiceTemplateInput = (input, context) => {
|
|
5112
5635
|
return {
|
|
5113
5636
|
...(input.description != null && { description: input.description }),
|
|
@@ -5208,6 +5731,7 @@ const deserializeAws_json1_0Component = (output, context) => {
|
|
|
5208
5731
|
deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
|
|
5209
5732
|
description: (0, smithy_client_1.expectString)(output.description),
|
|
5210
5733
|
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
5734
|
+
lastClientRequestToken: (0, smithy_client_1.expectString)(output.lastClientRequestToken),
|
|
5211
5735
|
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
5212
5736
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
|
|
5213
5737
|
: undefined,
|
|
@@ -5315,11 +5839,25 @@ const deserializeAws_json1_0CreateRepositoryOutput = (output, context) => {
|
|
|
5315
5839
|
repository: output.repository != null ? deserializeAws_json1_0Repository(output.repository, context) : undefined,
|
|
5316
5840
|
};
|
|
5317
5841
|
};
|
|
5842
|
+
const deserializeAws_json1_0CreateServiceInstanceOutput = (output, context) => {
|
|
5843
|
+
return {
|
|
5844
|
+
serviceInstance: output.serviceInstance != null
|
|
5845
|
+
? deserializeAws_json1_0ServiceInstance(output.serviceInstance, context)
|
|
5846
|
+
: undefined,
|
|
5847
|
+
};
|
|
5848
|
+
};
|
|
5318
5849
|
const deserializeAws_json1_0CreateServiceOutput = (output, context) => {
|
|
5319
5850
|
return {
|
|
5320
5851
|
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
5321
5852
|
};
|
|
5322
5853
|
};
|
|
5854
|
+
const deserializeAws_json1_0CreateServiceSyncConfigOutput = (output, context) => {
|
|
5855
|
+
return {
|
|
5856
|
+
serviceSyncConfig: output.serviceSyncConfig != null
|
|
5857
|
+
? deserializeAws_json1_0ServiceSyncConfig(output.serviceSyncConfig, context)
|
|
5858
|
+
: undefined,
|
|
5859
|
+
};
|
|
5860
|
+
};
|
|
5323
5861
|
const deserializeAws_json1_0CreateServiceTemplateOutput = (output, context) => {
|
|
5324
5862
|
return {
|
|
5325
5863
|
serviceTemplate: output.serviceTemplate != null
|
|
@@ -5382,6 +5920,13 @@ const deserializeAws_json1_0DeleteServiceOutput = (output, context) => {
|
|
|
5382
5920
|
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
5383
5921
|
};
|
|
5384
5922
|
};
|
|
5923
|
+
const deserializeAws_json1_0DeleteServiceSyncConfigOutput = (output, context) => {
|
|
5924
|
+
return {
|
|
5925
|
+
serviceSyncConfig: output.serviceSyncConfig != null
|
|
5926
|
+
? deserializeAws_json1_0ServiceSyncConfig(output.serviceSyncConfig, context)
|
|
5927
|
+
: undefined,
|
|
5928
|
+
};
|
|
5929
|
+
};
|
|
5385
5930
|
const deserializeAws_json1_0DeleteServiceTemplateOutput = (output, context) => {
|
|
5386
5931
|
return {
|
|
5387
5932
|
serviceTemplate: output.serviceTemplate != null
|
|
@@ -5659,11 +6204,34 @@ const deserializeAws_json1_0GetServiceInstanceOutput = (output, context) => {
|
|
|
5659
6204
|
: undefined,
|
|
5660
6205
|
};
|
|
5661
6206
|
};
|
|
6207
|
+
const deserializeAws_json1_0GetServiceInstanceSyncStatusOutput = (output, context) => {
|
|
6208
|
+
return {
|
|
6209
|
+
desiredState: output.desiredState != null ? deserializeAws_json1_0Revision(output.desiredState, context) : undefined,
|
|
6210
|
+
latestSuccessfulSync: output.latestSuccessfulSync != null
|
|
6211
|
+
? deserializeAws_json1_0ResourceSyncAttempt(output.latestSuccessfulSync, context)
|
|
6212
|
+
: undefined,
|
|
6213
|
+
latestSync: output.latestSync != null ? deserializeAws_json1_0ResourceSyncAttempt(output.latestSync, context) : undefined,
|
|
6214
|
+
};
|
|
6215
|
+
};
|
|
5662
6216
|
const deserializeAws_json1_0GetServiceOutput = (output, context) => {
|
|
5663
6217
|
return {
|
|
5664
6218
|
service: output.service != null ? deserializeAws_json1_0Service(output.service, context) : undefined,
|
|
5665
6219
|
};
|
|
5666
6220
|
};
|
|
6221
|
+
const deserializeAws_json1_0GetServiceSyncBlockerSummaryOutput = (output, context) => {
|
|
6222
|
+
return {
|
|
6223
|
+
serviceSyncBlockerSummary: output.serviceSyncBlockerSummary != null
|
|
6224
|
+
? deserializeAws_json1_0ServiceSyncBlockerSummary(output.serviceSyncBlockerSummary, context)
|
|
6225
|
+
: undefined,
|
|
6226
|
+
};
|
|
6227
|
+
};
|
|
6228
|
+
const deserializeAws_json1_0GetServiceSyncConfigOutput = (output, context) => {
|
|
6229
|
+
return {
|
|
6230
|
+
serviceSyncConfig: output.serviceSyncConfig != null
|
|
6231
|
+
? deserializeAws_json1_0ServiceSyncConfig(output.serviceSyncConfig, context)
|
|
6232
|
+
: undefined,
|
|
6233
|
+
};
|
|
6234
|
+
};
|
|
5667
6235
|
const deserializeAws_json1_0GetServiceTemplateOutput = (output, context) => {
|
|
5668
6236
|
return {
|
|
5669
6237
|
serviceTemplate: output.serviceTemplate != null
|
|
@@ -5699,6 +6267,17 @@ const deserializeAws_json1_0InternalServerException = (output, context) => {
|
|
|
5699
6267
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
5700
6268
|
};
|
|
5701
6269
|
};
|
|
6270
|
+
const deserializeAws_json1_0LatestSyncBlockers = (output, context) => {
|
|
6271
|
+
const retVal = (output || [])
|
|
6272
|
+
.filter((e) => e != null)
|
|
6273
|
+
.map((entry) => {
|
|
6274
|
+
if (entry === null) {
|
|
6275
|
+
return null;
|
|
6276
|
+
}
|
|
6277
|
+
return deserializeAws_json1_0SyncBlocker(entry, context);
|
|
6278
|
+
});
|
|
6279
|
+
return retVal;
|
|
6280
|
+
};
|
|
5702
6281
|
const deserializeAws_json1_0ListComponentOutputsOutput = (output, context) => {
|
|
5703
6282
|
return {
|
|
5704
6283
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
@@ -5910,6 +6489,7 @@ const deserializeAws_json1_0RepositoryBranch = (output, context) => {
|
|
|
5910
6489
|
const deserializeAws_json1_0RepositorySummary = (output, context) => {
|
|
5911
6490
|
return {
|
|
5912
6491
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
6492
|
+
connectionArn: (0, smithy_client_1.expectString)(output.connectionArn),
|
|
5913
6493
|
name: (0, smithy_client_1.expectString)(output.name),
|
|
5914
6494
|
provider: (0, smithy_client_1.expectString)(output.provider),
|
|
5915
6495
|
};
|
|
@@ -6048,6 +6628,7 @@ const deserializeAws_json1_0ServiceInstance = (output, context) => {
|
|
|
6048
6628
|
deploymentStatus: (0, smithy_client_1.expectString)(output.deploymentStatus),
|
|
6049
6629
|
deploymentStatusMessage: (0, smithy_client_1.expectString)(output.deploymentStatusMessage),
|
|
6050
6630
|
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
6631
|
+
lastClientRequestToken: (0, smithy_client_1.expectString)(output.lastClientRequestToken),
|
|
6051
6632
|
lastDeploymentAttemptedAt: output.lastDeploymentAttemptedAt != null
|
|
6052
6633
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastDeploymentAttemptedAt)))
|
|
6053
6634
|
: undefined,
|
|
@@ -6141,6 +6722,24 @@ const deserializeAws_json1_0ServiceSummaryList = (output, context) => {
|
|
|
6141
6722
|
});
|
|
6142
6723
|
return retVal;
|
|
6143
6724
|
};
|
|
6725
|
+
const deserializeAws_json1_0ServiceSyncBlockerSummary = (output, context) => {
|
|
6726
|
+
return {
|
|
6727
|
+
latestBlockers: output.latestBlockers != null
|
|
6728
|
+
? deserializeAws_json1_0LatestSyncBlockers(output.latestBlockers, context)
|
|
6729
|
+
: undefined,
|
|
6730
|
+
serviceInstanceName: (0, smithy_client_1.expectString)(output.serviceInstanceName),
|
|
6731
|
+
serviceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
6732
|
+
};
|
|
6733
|
+
};
|
|
6734
|
+
const deserializeAws_json1_0ServiceSyncConfig = (output, context) => {
|
|
6735
|
+
return {
|
|
6736
|
+
branch: (0, smithy_client_1.expectString)(output.branch),
|
|
6737
|
+
filePath: (0, smithy_client_1.expectString)(output.filePath),
|
|
6738
|
+
repositoryName: (0, smithy_client_1.expectString)(output.repositoryName),
|
|
6739
|
+
repositoryProvider: (0, smithy_client_1.expectString)(output.repositoryProvider),
|
|
6740
|
+
serviceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
6741
|
+
};
|
|
6742
|
+
};
|
|
6144
6743
|
const deserializeAws_json1_0ServiceTemplate = (output, context) => {
|
|
6145
6744
|
return {
|
|
6146
6745
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
@@ -6242,6 +6841,35 @@ const deserializeAws_json1_0ServiceTemplateVersionSummaryList = (output, context
|
|
|
6242
6841
|
});
|
|
6243
6842
|
return retVal;
|
|
6244
6843
|
};
|
|
6844
|
+
const deserializeAws_json1_0SyncBlocker = (output, context) => {
|
|
6845
|
+
return {
|
|
6846
|
+
contexts: output.contexts != null ? deserializeAws_json1_0SyncBlockerContexts(output.contexts, context) : undefined,
|
|
6847
|
+
createdAt: output.createdAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt))) : undefined,
|
|
6848
|
+
createdReason: (0, smithy_client_1.expectString)(output.createdReason),
|
|
6849
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
6850
|
+
resolvedAt: output.resolvedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.resolvedAt))) : undefined,
|
|
6851
|
+
resolvedReason: (0, smithy_client_1.expectString)(output.resolvedReason),
|
|
6852
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
6853
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
6854
|
+
};
|
|
6855
|
+
};
|
|
6856
|
+
const deserializeAws_json1_0SyncBlockerContext = (output, context) => {
|
|
6857
|
+
return {
|
|
6858
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
6859
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
6860
|
+
};
|
|
6861
|
+
};
|
|
6862
|
+
const deserializeAws_json1_0SyncBlockerContexts = (output, context) => {
|
|
6863
|
+
const retVal = (output || [])
|
|
6864
|
+
.filter((e) => e != null)
|
|
6865
|
+
.map((entry) => {
|
|
6866
|
+
if (entry === null) {
|
|
6867
|
+
return null;
|
|
6868
|
+
}
|
|
6869
|
+
return deserializeAws_json1_0SyncBlockerContext(entry, context);
|
|
6870
|
+
});
|
|
6871
|
+
return retVal;
|
|
6872
|
+
};
|
|
6245
6873
|
const deserializeAws_json1_0Tag = (output, context) => {
|
|
6246
6874
|
return {
|
|
6247
6875
|
key: (0, smithy_client_1.expectString)(output.key),
|
|
@@ -6335,6 +6963,22 @@ const deserializeAws_json1_0UpdateServicePipelineOutput = (output, context) => {
|
|
|
6335
6963
|
pipeline: output.pipeline != null ? deserializeAws_json1_0ServicePipeline(output.pipeline, context) : undefined,
|
|
6336
6964
|
};
|
|
6337
6965
|
};
|
|
6966
|
+
const deserializeAws_json1_0UpdateServiceSyncBlockerOutput = (output, context) => {
|
|
6967
|
+
return {
|
|
6968
|
+
serviceInstanceName: (0, smithy_client_1.expectString)(output.serviceInstanceName),
|
|
6969
|
+
serviceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
6970
|
+
serviceSyncBlocker: output.serviceSyncBlocker != null
|
|
6971
|
+
? deserializeAws_json1_0SyncBlocker(output.serviceSyncBlocker, context)
|
|
6972
|
+
: undefined,
|
|
6973
|
+
};
|
|
6974
|
+
};
|
|
6975
|
+
const deserializeAws_json1_0UpdateServiceSyncConfigOutput = (output, context) => {
|
|
6976
|
+
return {
|
|
6977
|
+
serviceSyncConfig: output.serviceSyncConfig != null
|
|
6978
|
+
? deserializeAws_json1_0ServiceSyncConfig(output.serviceSyncConfig, context)
|
|
6979
|
+
: undefined,
|
|
6980
|
+
};
|
|
6981
|
+
};
|
|
6338
6982
|
const deserializeAws_json1_0UpdateServiceTemplateOutput = (output, context) => {
|
|
6339
6983
|
return {
|
|
6340
6984
|
serviceTemplate: output.serviceTemplate != null
|