@aws-sdk/client-appconfig 3.306.0 → 3.310.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/dist-cjs/commands/CreateApplicationCommand.js +2 -2
- package/dist-cjs/commands/CreateConfigurationProfileCommand.js +2 -2
- package/dist-cjs/commands/CreateDeploymentStrategyCommand.js +2 -2
- package/dist-cjs/commands/CreateEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/CreateExtensionAssociationCommand.js +2 -2
- package/dist-cjs/commands/CreateExtensionCommand.js +2 -2
- package/dist-cjs/commands/CreateHostedConfigurationVersionCommand.js +2 -2
- package/dist-cjs/commands/DeleteApplicationCommand.js +2 -2
- package/dist-cjs/commands/DeleteConfigurationProfileCommand.js +2 -2
- package/dist-cjs/commands/DeleteDeploymentStrategyCommand.js +2 -2
- package/dist-cjs/commands/DeleteEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/DeleteExtensionAssociationCommand.js +2 -2
- package/dist-cjs/commands/DeleteExtensionCommand.js +2 -2
- package/dist-cjs/commands/DeleteHostedConfigurationVersionCommand.js +2 -2
- package/dist-cjs/commands/GetApplicationCommand.js +2 -2
- package/dist-cjs/commands/GetConfigurationCommand.js +2 -2
- package/dist-cjs/commands/GetConfigurationProfileCommand.js +2 -2
- package/dist-cjs/commands/GetDeploymentCommand.js +2 -2
- package/dist-cjs/commands/GetDeploymentStrategyCommand.js +2 -2
- package/dist-cjs/commands/GetEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/GetExtensionAssociationCommand.js +2 -2
- package/dist-cjs/commands/GetExtensionCommand.js +2 -2
- package/dist-cjs/commands/GetHostedConfigurationVersionCommand.js +2 -2
- package/dist-cjs/commands/ListApplicationsCommand.js +2 -2
- package/dist-cjs/commands/ListConfigurationProfilesCommand.js +2 -2
- package/dist-cjs/commands/ListDeploymentStrategiesCommand.js +2 -2
- package/dist-cjs/commands/ListDeploymentsCommand.js +2 -2
- package/dist-cjs/commands/ListEnvironmentsCommand.js +2 -2
- package/dist-cjs/commands/ListExtensionAssociationsCommand.js +2 -2
- package/dist-cjs/commands/ListExtensionsCommand.js +2 -2
- package/dist-cjs/commands/ListHostedConfigurationVersionsCommand.js +2 -2
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-cjs/commands/StartDeploymentCommand.js +2 -2
- package/dist-cjs/commands/StopDeploymentCommand.js +2 -2
- package/dist-cjs/commands/TagResourceCommand.js +2 -2
- package/dist-cjs/commands/UntagResourceCommand.js +2 -2
- package/dist-cjs/commands/UpdateApplicationCommand.js +2 -2
- package/dist-cjs/commands/UpdateConfigurationProfileCommand.js +2 -2
- package/dist-cjs/commands/UpdateDeploymentStrategyCommand.js +2 -2
- package/dist-cjs/commands/UpdateEnvironmentCommand.js +2 -2
- package/dist-cjs/commands/UpdateExtensionAssociationCommand.js +2 -2
- package/dist-cjs/commands/UpdateExtensionCommand.js +2 -2
- package/dist-cjs/commands/ValidateConfigurationCommand.js +2 -2
- package/dist-cjs/protocols/Aws_restJson1.js +522 -526
- package/dist-es/commands/CreateApplicationCommand.js +3 -3
- package/dist-es/commands/CreateConfigurationProfileCommand.js +3 -3
- package/dist-es/commands/CreateDeploymentStrategyCommand.js +3 -3
- package/dist-es/commands/CreateEnvironmentCommand.js +3 -3
- package/dist-es/commands/CreateExtensionAssociationCommand.js +3 -3
- package/dist-es/commands/CreateExtensionCommand.js +3 -3
- package/dist-es/commands/CreateHostedConfigurationVersionCommand.js +3 -3
- package/dist-es/commands/DeleteApplicationCommand.js +3 -3
- package/dist-es/commands/DeleteConfigurationProfileCommand.js +3 -3
- package/dist-es/commands/DeleteDeploymentStrategyCommand.js +3 -3
- package/dist-es/commands/DeleteEnvironmentCommand.js +3 -3
- package/dist-es/commands/DeleteExtensionAssociationCommand.js +3 -3
- package/dist-es/commands/DeleteExtensionCommand.js +3 -3
- package/dist-es/commands/DeleteHostedConfigurationVersionCommand.js +3 -3
- package/dist-es/commands/GetApplicationCommand.js +3 -3
- package/dist-es/commands/GetConfigurationCommand.js +3 -3
- package/dist-es/commands/GetConfigurationProfileCommand.js +3 -3
- package/dist-es/commands/GetDeploymentCommand.js +3 -3
- package/dist-es/commands/GetDeploymentStrategyCommand.js +3 -3
- package/dist-es/commands/GetEnvironmentCommand.js +3 -3
- package/dist-es/commands/GetExtensionAssociationCommand.js +3 -3
- package/dist-es/commands/GetExtensionCommand.js +3 -3
- package/dist-es/commands/GetHostedConfigurationVersionCommand.js +3 -3
- package/dist-es/commands/ListApplicationsCommand.js +3 -3
- package/dist-es/commands/ListConfigurationProfilesCommand.js +3 -3
- package/dist-es/commands/ListDeploymentStrategiesCommand.js +3 -3
- package/dist-es/commands/ListDeploymentsCommand.js +3 -3
- package/dist-es/commands/ListEnvironmentsCommand.js +3 -3
- package/dist-es/commands/ListExtensionAssociationsCommand.js +3 -3
- package/dist-es/commands/ListExtensionsCommand.js +3 -3
- package/dist-es/commands/ListHostedConfigurationVersionsCommand.js +3 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-es/commands/StartDeploymentCommand.js +3 -3
- package/dist-es/commands/StopDeploymentCommand.js +3 -3
- package/dist-es/commands/TagResourceCommand.js +3 -3
- package/dist-es/commands/UntagResourceCommand.js +3 -3
- package/dist-es/commands/UpdateApplicationCommand.js +3 -3
- package/dist-es/commands/UpdateConfigurationProfileCommand.js +3 -3
- package/dist-es/commands/UpdateDeploymentStrategyCommand.js +3 -3
- package/dist-es/commands/UpdateEnvironmentCommand.js +3 -3
- package/dist-es/commands/UpdateExtensionAssociationCommand.js +3 -3
- package/dist-es/commands/UpdateExtensionCommand.js +3 -3
- package/dist-es/commands/ValidateConfigurationCommand.js +3 -3
- package/dist-es/protocols/Aws_restJson1.js +434 -438
- package/dist-types/protocols/Aws_restJson1.d.ts +344 -86
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +86 -86
- package/package.json +35 -35
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.de_CreateHostedConfigurationVersionCommand = exports.de_CreateExtensionAssociationCommand = exports.de_CreateExtensionCommand = exports.de_CreateEnvironmentCommand = exports.de_CreateDeploymentStrategyCommand = exports.de_CreateConfigurationProfileCommand = exports.de_CreateApplicationCommand = exports.se_ValidateConfigurationCommand = exports.se_UpdateExtensionAssociationCommand = exports.se_UpdateExtensionCommand = exports.se_UpdateEnvironmentCommand = exports.se_UpdateDeploymentStrategyCommand = exports.se_UpdateConfigurationProfileCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_StopDeploymentCommand = exports.se_StartDeploymentCommand = exports.se_ListTagsForResourceCommand = exports.se_ListHostedConfigurationVersionsCommand = exports.se_ListExtensionsCommand = exports.se_ListExtensionAssociationsCommand = exports.se_ListEnvironmentsCommand = exports.se_ListDeploymentStrategiesCommand = exports.se_ListDeploymentsCommand = exports.se_ListConfigurationProfilesCommand = exports.se_ListApplicationsCommand = exports.se_GetHostedConfigurationVersionCommand = exports.se_GetExtensionAssociationCommand = exports.se_GetExtensionCommand = exports.se_GetEnvironmentCommand = exports.se_GetDeploymentStrategyCommand = exports.se_GetDeploymentCommand = exports.se_GetConfigurationProfileCommand = exports.se_GetConfigurationCommand = exports.se_GetApplicationCommand = exports.se_DeleteHostedConfigurationVersionCommand = exports.se_DeleteExtensionAssociationCommand = exports.se_DeleteExtensionCommand = exports.se_DeleteEnvironmentCommand = exports.se_DeleteDeploymentStrategyCommand = exports.se_DeleteConfigurationProfileCommand = exports.se_DeleteApplicationCommand = exports.se_CreateHostedConfigurationVersionCommand = exports.se_CreateExtensionAssociationCommand = exports.se_CreateExtensionCommand = exports.se_CreateEnvironmentCommand = exports.se_CreateDeploymentStrategyCommand = exports.se_CreateConfigurationProfileCommand = exports.se_CreateApplicationCommand = void 0;
|
|
4
|
+
exports.de_ValidateConfigurationCommand = exports.de_UpdateExtensionAssociationCommand = exports.de_UpdateExtensionCommand = exports.de_UpdateEnvironmentCommand = exports.de_UpdateDeploymentStrategyCommand = exports.de_UpdateConfigurationProfileCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_StopDeploymentCommand = exports.de_StartDeploymentCommand = exports.de_ListTagsForResourceCommand = exports.de_ListHostedConfigurationVersionsCommand = exports.de_ListExtensionsCommand = exports.de_ListExtensionAssociationsCommand = exports.de_ListEnvironmentsCommand = exports.de_ListDeploymentStrategiesCommand = exports.de_ListDeploymentsCommand = exports.de_ListConfigurationProfilesCommand = exports.de_ListApplicationsCommand = exports.de_GetHostedConfigurationVersionCommand = exports.de_GetExtensionAssociationCommand = exports.de_GetExtensionCommand = exports.de_GetEnvironmentCommand = exports.de_GetDeploymentStrategyCommand = exports.de_GetDeploymentCommand = exports.de_GetConfigurationProfileCommand = exports.de_GetConfigurationCommand = exports.de_GetApplicationCommand = exports.de_DeleteHostedConfigurationVersionCommand = exports.de_DeleteExtensionAssociationCommand = exports.de_DeleteExtensionCommand = exports.de_DeleteEnvironmentCommand = exports.de_DeleteDeploymentStrategyCommand = exports.de_DeleteConfigurationProfileCommand = exports.de_DeleteApplicationCommand = void 0;
|
|
5
5
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const AppConfigServiceException_1 = require("../models/AppConfigServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
|
-
const
|
|
9
|
+
const se_CreateApplicationCommand = async (input, context) => {
|
|
10
10
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
11
11
|
const headers = {
|
|
12
12
|
"content-type": "application/json",
|
|
@@ -16,7 +16,7 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
16
16
|
body = JSON.stringify({
|
|
17
17
|
...(input.Description != null && { Description: input.Description }),
|
|
18
18
|
...(input.Name != null && { Name: input.Name }),
|
|
19
|
-
...(input.Tags != null && { Tags:
|
|
19
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
20
20
|
});
|
|
21
21
|
return new protocol_http_1.HttpRequest({
|
|
22
22
|
protocol,
|
|
@@ -28,8 +28,8 @@ const serializeAws_restJson1CreateApplicationCommand = async (input, context) =>
|
|
|
28
28
|
body,
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
|
-
exports.
|
|
32
|
-
const
|
|
31
|
+
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
32
|
+
const se_CreateConfigurationProfileCommand = async (input, context) => {
|
|
33
33
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
34
34
|
const headers = {
|
|
35
35
|
"content-type": "application/json",
|
|
@@ -43,9 +43,9 @@ const serializeAws_restJson1CreateConfigurationProfileCommand = async (input, co
|
|
|
43
43
|
...(input.LocationUri != null && { LocationUri: input.LocationUri }),
|
|
44
44
|
...(input.Name != null && { Name: input.Name }),
|
|
45
45
|
...(input.RetrievalRoleArn != null && { RetrievalRoleArn: input.RetrievalRoleArn }),
|
|
46
|
-
...(input.Tags != null && { Tags:
|
|
46
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
47
47
|
...(input.Type != null && { Type: input.Type }),
|
|
48
|
-
...(input.Validators != null && { Validators:
|
|
48
|
+
...(input.Validators != null && { Validators: se_ValidatorList(input.Validators, context) }),
|
|
49
49
|
});
|
|
50
50
|
return new protocol_http_1.HttpRequest({
|
|
51
51
|
protocol,
|
|
@@ -57,8 +57,8 @@ const serializeAws_restJson1CreateConfigurationProfileCommand = async (input, co
|
|
|
57
57
|
body,
|
|
58
58
|
});
|
|
59
59
|
};
|
|
60
|
-
exports.
|
|
61
|
-
const
|
|
60
|
+
exports.se_CreateConfigurationProfileCommand = se_CreateConfigurationProfileCommand;
|
|
61
|
+
const se_CreateDeploymentStrategyCommand = async (input, context) => {
|
|
62
62
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
63
63
|
const headers = {
|
|
64
64
|
"content-type": "application/json",
|
|
@@ -75,7 +75,7 @@ const serializeAws_restJson1CreateDeploymentStrategyCommand = async (input, cont
|
|
|
75
75
|
...(input.GrowthType != null && { GrowthType: input.GrowthType }),
|
|
76
76
|
...(input.Name != null && { Name: input.Name }),
|
|
77
77
|
...(input.ReplicateTo != null && { ReplicateTo: input.ReplicateTo }),
|
|
78
|
-
...(input.Tags != null && { Tags:
|
|
78
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
79
79
|
});
|
|
80
80
|
return new protocol_http_1.HttpRequest({
|
|
81
81
|
protocol,
|
|
@@ -87,8 +87,8 @@ const serializeAws_restJson1CreateDeploymentStrategyCommand = async (input, cont
|
|
|
87
87
|
body,
|
|
88
88
|
});
|
|
89
89
|
};
|
|
90
|
-
exports.
|
|
91
|
-
const
|
|
90
|
+
exports.se_CreateDeploymentStrategyCommand = se_CreateDeploymentStrategyCommand;
|
|
91
|
+
const se_CreateEnvironmentCommand = async (input, context) => {
|
|
92
92
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
93
93
|
const headers = {
|
|
94
94
|
"content-type": "application/json",
|
|
@@ -99,9 +99,9 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
|
|
|
99
99
|
let body;
|
|
100
100
|
body = JSON.stringify({
|
|
101
101
|
...(input.Description != null && { Description: input.Description }),
|
|
102
|
-
...(input.Monitors != null && { Monitors:
|
|
102
|
+
...(input.Monitors != null && { Monitors: se_MonitorList(input.Monitors, context) }),
|
|
103
103
|
...(input.Name != null && { Name: input.Name }),
|
|
104
|
-
...(input.Tags != null && { Tags:
|
|
104
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
105
105
|
});
|
|
106
106
|
return new protocol_http_1.HttpRequest({
|
|
107
107
|
protocol,
|
|
@@ -113,8 +113,8 @@ const serializeAws_restJson1CreateEnvironmentCommand = async (input, context) =>
|
|
|
113
113
|
body,
|
|
114
114
|
});
|
|
115
115
|
};
|
|
116
|
-
exports.
|
|
117
|
-
const
|
|
116
|
+
exports.se_CreateEnvironmentCommand = se_CreateEnvironmentCommand;
|
|
117
|
+
const se_CreateExtensionCommand = async (input, context) => {
|
|
118
118
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
119
119
|
const headers = map({}, isSerializableHeaderValue, {
|
|
120
120
|
"content-type": "application/json",
|
|
@@ -126,11 +126,11 @@ const serializeAws_restJson1CreateExtensionCommand = async (input, context) => {
|
|
|
126
126
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensions";
|
|
127
127
|
let body;
|
|
128
128
|
body = JSON.stringify({
|
|
129
|
-
...(input.Actions != null && { Actions:
|
|
129
|
+
...(input.Actions != null && { Actions: se_ActionsMap(input.Actions, context) }),
|
|
130
130
|
...(input.Description != null && { Description: input.Description }),
|
|
131
131
|
...(input.Name != null && { Name: input.Name }),
|
|
132
|
-
...(input.Parameters != null && { Parameters:
|
|
133
|
-
...(input.Tags != null && { Tags:
|
|
132
|
+
...(input.Parameters != null && { Parameters: se_ParameterMap(input.Parameters, context) }),
|
|
133
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
134
134
|
});
|
|
135
135
|
return new protocol_http_1.HttpRequest({
|
|
136
136
|
protocol,
|
|
@@ -142,8 +142,8 @@ const serializeAws_restJson1CreateExtensionCommand = async (input, context) => {
|
|
|
142
142
|
body,
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
|
-
exports.
|
|
146
|
-
const
|
|
145
|
+
exports.se_CreateExtensionCommand = se_CreateExtensionCommand;
|
|
146
|
+
const se_CreateExtensionAssociationCommand = async (input, context) => {
|
|
147
147
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
148
148
|
const headers = {
|
|
149
149
|
"content-type": "application/json",
|
|
@@ -153,9 +153,9 @@ const serializeAws_restJson1CreateExtensionAssociationCommand = async (input, co
|
|
|
153
153
|
body = JSON.stringify({
|
|
154
154
|
...(input.ExtensionIdentifier != null && { ExtensionIdentifier: input.ExtensionIdentifier }),
|
|
155
155
|
...(input.ExtensionVersionNumber != null && { ExtensionVersionNumber: input.ExtensionVersionNumber }),
|
|
156
|
-
...(input.Parameters != null && { Parameters:
|
|
156
|
+
...(input.Parameters != null && { Parameters: se_ParameterValueMap(input.Parameters, context) }),
|
|
157
157
|
...(input.ResourceIdentifier != null && { ResourceIdentifier: input.ResourceIdentifier }),
|
|
158
|
-
...(input.Tags != null && { Tags:
|
|
158
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
159
159
|
});
|
|
160
160
|
return new protocol_http_1.HttpRequest({
|
|
161
161
|
protocol,
|
|
@@ -167,8 +167,8 @@ const serializeAws_restJson1CreateExtensionAssociationCommand = async (input, co
|
|
|
167
167
|
body,
|
|
168
168
|
});
|
|
169
169
|
};
|
|
170
|
-
exports.
|
|
171
|
-
const
|
|
170
|
+
exports.se_CreateExtensionAssociationCommand = se_CreateExtensionAssociationCommand;
|
|
171
|
+
const se_CreateHostedConfigurationVersionCommand = async (input, context) => {
|
|
172
172
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
173
173
|
const headers = map({}, isSerializableHeaderValue, {
|
|
174
174
|
"content-type": input.ContentType || "application/octet-stream",
|
|
@@ -197,8 +197,8 @@ const serializeAws_restJson1CreateHostedConfigurationVersionCommand = async (inp
|
|
|
197
197
|
body,
|
|
198
198
|
});
|
|
199
199
|
};
|
|
200
|
-
exports.
|
|
201
|
-
const
|
|
200
|
+
exports.se_CreateHostedConfigurationVersionCommand = se_CreateHostedConfigurationVersionCommand;
|
|
201
|
+
const se_DeleteApplicationCommand = async (input, context) => {
|
|
202
202
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
203
203
|
const headers = {};
|
|
204
204
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}";
|
|
@@ -214,8 +214,8 @@ const serializeAws_restJson1DeleteApplicationCommand = async (input, context) =>
|
|
|
214
214
|
body,
|
|
215
215
|
});
|
|
216
216
|
};
|
|
217
|
-
exports.
|
|
218
|
-
const
|
|
217
|
+
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
218
|
+
const se_DeleteConfigurationProfileCommand = async (input, context) => {
|
|
219
219
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
220
220
|
const headers = {};
|
|
221
221
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -233,8 +233,8 @@ const serializeAws_restJson1DeleteConfigurationProfileCommand = async (input, co
|
|
|
233
233
|
body,
|
|
234
234
|
});
|
|
235
235
|
};
|
|
236
|
-
exports.
|
|
237
|
-
const
|
|
236
|
+
exports.se_DeleteConfigurationProfileCommand = se_DeleteConfigurationProfileCommand;
|
|
237
|
+
const se_DeleteDeploymentStrategyCommand = async (input, context) => {
|
|
238
238
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
239
239
|
const headers = {};
|
|
240
240
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -251,8 +251,8 @@ const serializeAws_restJson1DeleteDeploymentStrategyCommand = async (input, cont
|
|
|
251
251
|
body,
|
|
252
252
|
});
|
|
253
253
|
};
|
|
254
|
-
exports.
|
|
255
|
-
const
|
|
254
|
+
exports.se_DeleteDeploymentStrategyCommand = se_DeleteDeploymentStrategyCommand;
|
|
255
|
+
const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
256
256
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
257
257
|
const headers = {};
|
|
258
258
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -270,8 +270,8 @@ const serializeAws_restJson1DeleteEnvironmentCommand = async (input, context) =>
|
|
|
270
270
|
body,
|
|
271
271
|
});
|
|
272
272
|
};
|
|
273
|
-
exports.
|
|
274
|
-
const
|
|
273
|
+
exports.se_DeleteEnvironmentCommand = se_DeleteEnvironmentCommand;
|
|
274
|
+
const se_DeleteExtensionCommand = async (input, context) => {
|
|
275
275
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
276
276
|
const headers = {};
|
|
277
277
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensions/{ExtensionIdentifier}";
|
|
@@ -291,8 +291,8 @@ const serializeAws_restJson1DeleteExtensionCommand = async (input, context) => {
|
|
|
291
291
|
body,
|
|
292
292
|
});
|
|
293
293
|
};
|
|
294
|
-
exports.
|
|
295
|
-
const
|
|
294
|
+
exports.se_DeleteExtensionCommand = se_DeleteExtensionCommand;
|
|
295
|
+
const se_DeleteExtensionAssociationCommand = async (input, context) => {
|
|
296
296
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
297
297
|
const headers = {};
|
|
298
298
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -309,8 +309,8 @@ const serializeAws_restJson1DeleteExtensionAssociationCommand = async (input, co
|
|
|
309
309
|
body,
|
|
310
310
|
});
|
|
311
311
|
};
|
|
312
|
-
exports.
|
|
313
|
-
const
|
|
312
|
+
exports.se_DeleteExtensionAssociationCommand = se_DeleteExtensionAssociationCommand;
|
|
313
|
+
const se_DeleteHostedConfigurationVersionCommand = async (input, context) => {
|
|
314
314
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
315
315
|
const headers = {};
|
|
316
316
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -329,8 +329,8 @@ const serializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (inp
|
|
|
329
329
|
body,
|
|
330
330
|
});
|
|
331
331
|
};
|
|
332
|
-
exports.
|
|
333
|
-
const
|
|
332
|
+
exports.se_DeleteHostedConfigurationVersionCommand = se_DeleteHostedConfigurationVersionCommand;
|
|
333
|
+
const se_GetApplicationCommand = async (input, context) => {
|
|
334
334
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
335
335
|
const headers = {};
|
|
336
336
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications/{ApplicationId}";
|
|
@@ -346,8 +346,8 @@ const serializeAws_restJson1GetApplicationCommand = async (input, context) => {
|
|
|
346
346
|
body,
|
|
347
347
|
});
|
|
348
348
|
};
|
|
349
|
-
exports.
|
|
350
|
-
const
|
|
349
|
+
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
350
|
+
const se_GetConfigurationCommand = async (input, context) => {
|
|
351
351
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
352
352
|
const headers = {};
|
|
353
353
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -371,8 +371,8 @@ const serializeAws_restJson1GetConfigurationCommand = async (input, context) =>
|
|
|
371
371
|
body,
|
|
372
372
|
});
|
|
373
373
|
};
|
|
374
|
-
exports.
|
|
375
|
-
const
|
|
374
|
+
exports.se_GetConfigurationCommand = se_GetConfigurationCommand;
|
|
375
|
+
const se_GetConfigurationProfileCommand = async (input, context) => {
|
|
376
376
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
377
377
|
const headers = {};
|
|
378
378
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -390,8 +390,8 @@ const serializeAws_restJson1GetConfigurationProfileCommand = async (input, conte
|
|
|
390
390
|
body,
|
|
391
391
|
});
|
|
392
392
|
};
|
|
393
|
-
exports.
|
|
394
|
-
const
|
|
393
|
+
exports.se_GetConfigurationProfileCommand = se_GetConfigurationProfileCommand;
|
|
394
|
+
const se_GetDeploymentCommand = async (input, context) => {
|
|
395
395
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
396
396
|
const headers = {};
|
|
397
397
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -410,8 +410,8 @@ const serializeAws_restJson1GetDeploymentCommand = async (input, context) => {
|
|
|
410
410
|
body,
|
|
411
411
|
});
|
|
412
412
|
};
|
|
413
|
-
exports.
|
|
414
|
-
const
|
|
413
|
+
exports.se_GetDeploymentCommand = se_GetDeploymentCommand;
|
|
414
|
+
const se_GetDeploymentStrategyCommand = async (input, context) => {
|
|
415
415
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
416
416
|
const headers = {};
|
|
417
417
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -428,8 +428,8 @@ const serializeAws_restJson1GetDeploymentStrategyCommand = async (input, context
|
|
|
428
428
|
body,
|
|
429
429
|
});
|
|
430
430
|
};
|
|
431
|
-
exports.
|
|
432
|
-
const
|
|
431
|
+
exports.se_GetDeploymentStrategyCommand = se_GetDeploymentStrategyCommand;
|
|
432
|
+
const se_GetEnvironmentCommand = async (input, context) => {
|
|
433
433
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
434
434
|
const headers = {};
|
|
435
435
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -447,8 +447,8 @@ const serializeAws_restJson1GetEnvironmentCommand = async (input, context) => {
|
|
|
447
447
|
body,
|
|
448
448
|
});
|
|
449
449
|
};
|
|
450
|
-
exports.
|
|
451
|
-
const
|
|
450
|
+
exports.se_GetEnvironmentCommand = se_GetEnvironmentCommand;
|
|
451
|
+
const se_GetExtensionCommand = async (input, context) => {
|
|
452
452
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
453
453
|
const headers = {};
|
|
454
454
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensions/{ExtensionIdentifier}";
|
|
@@ -468,8 +468,8 @@ const serializeAws_restJson1GetExtensionCommand = async (input, context) => {
|
|
|
468
468
|
body,
|
|
469
469
|
});
|
|
470
470
|
};
|
|
471
|
-
exports.
|
|
472
|
-
const
|
|
471
|
+
exports.se_GetExtensionCommand = se_GetExtensionCommand;
|
|
472
|
+
const se_GetExtensionAssociationCommand = async (input, context) => {
|
|
473
473
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
474
474
|
const headers = {};
|
|
475
475
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -486,8 +486,8 @@ const serializeAws_restJson1GetExtensionAssociationCommand = async (input, conte
|
|
|
486
486
|
body,
|
|
487
487
|
});
|
|
488
488
|
};
|
|
489
|
-
exports.
|
|
490
|
-
const
|
|
489
|
+
exports.se_GetExtensionAssociationCommand = se_GetExtensionAssociationCommand;
|
|
490
|
+
const se_GetHostedConfigurationVersionCommand = async (input, context) => {
|
|
491
491
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
492
492
|
const headers = {};
|
|
493
493
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -506,8 +506,8 @@ const serializeAws_restJson1GetHostedConfigurationVersionCommand = async (input,
|
|
|
506
506
|
body,
|
|
507
507
|
});
|
|
508
508
|
};
|
|
509
|
-
exports.
|
|
510
|
-
const
|
|
509
|
+
exports.se_GetHostedConfigurationVersionCommand = se_GetHostedConfigurationVersionCommand;
|
|
510
|
+
const se_ListApplicationsCommand = async (input, context) => {
|
|
511
511
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
512
512
|
const headers = {};
|
|
513
513
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/applications";
|
|
@@ -527,8 +527,8 @@ const serializeAws_restJson1ListApplicationsCommand = async (input, context) =>
|
|
|
527
527
|
body,
|
|
528
528
|
});
|
|
529
529
|
};
|
|
530
|
-
exports.
|
|
531
|
-
const
|
|
530
|
+
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
531
|
+
const se_ListConfigurationProfilesCommand = async (input, context) => {
|
|
532
532
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
533
533
|
const headers = {};
|
|
534
534
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -551,8 +551,8 @@ const serializeAws_restJson1ListConfigurationProfilesCommand = async (input, con
|
|
|
551
551
|
body,
|
|
552
552
|
});
|
|
553
553
|
};
|
|
554
|
-
exports.
|
|
555
|
-
const
|
|
554
|
+
exports.se_ListConfigurationProfilesCommand = se_ListConfigurationProfilesCommand;
|
|
555
|
+
const se_ListDeploymentsCommand = async (input, context) => {
|
|
556
556
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
557
557
|
const headers = {};
|
|
558
558
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -575,8 +575,8 @@ const serializeAws_restJson1ListDeploymentsCommand = async (input, context) => {
|
|
|
575
575
|
body,
|
|
576
576
|
});
|
|
577
577
|
};
|
|
578
|
-
exports.
|
|
579
|
-
const
|
|
578
|
+
exports.se_ListDeploymentsCommand = se_ListDeploymentsCommand;
|
|
579
|
+
const se_ListDeploymentStrategiesCommand = async (input, context) => {
|
|
580
580
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
581
581
|
const headers = {};
|
|
582
582
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/deploymentstrategies";
|
|
@@ -596,8 +596,8 @@ const serializeAws_restJson1ListDeploymentStrategiesCommand = async (input, cont
|
|
|
596
596
|
body,
|
|
597
597
|
});
|
|
598
598
|
};
|
|
599
|
-
exports.
|
|
600
|
-
const
|
|
599
|
+
exports.se_ListDeploymentStrategiesCommand = se_ListDeploymentStrategiesCommand;
|
|
600
|
+
const se_ListEnvironmentsCommand = async (input, context) => {
|
|
601
601
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
602
602
|
const headers = {};
|
|
603
603
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -619,8 +619,8 @@ const serializeAws_restJson1ListEnvironmentsCommand = async (input, context) =>
|
|
|
619
619
|
body,
|
|
620
620
|
});
|
|
621
621
|
};
|
|
622
|
-
exports.
|
|
623
|
-
const
|
|
622
|
+
exports.se_ListEnvironmentsCommand = se_ListEnvironmentsCommand;
|
|
623
|
+
const se_ListExtensionAssociationsCommand = async (input, context) => {
|
|
624
624
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
625
625
|
const headers = {};
|
|
626
626
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensionassociations";
|
|
@@ -646,8 +646,8 @@ const serializeAws_restJson1ListExtensionAssociationsCommand = async (input, con
|
|
|
646
646
|
body,
|
|
647
647
|
});
|
|
648
648
|
};
|
|
649
|
-
exports.
|
|
650
|
-
const
|
|
649
|
+
exports.se_ListExtensionAssociationsCommand = se_ListExtensionAssociationsCommand;
|
|
650
|
+
const se_ListExtensionsCommand = async (input, context) => {
|
|
651
651
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
652
652
|
const headers = {};
|
|
653
653
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/extensions";
|
|
@@ -668,8 +668,8 @@ const serializeAws_restJson1ListExtensionsCommand = async (input, context) => {
|
|
|
668
668
|
body,
|
|
669
669
|
});
|
|
670
670
|
};
|
|
671
|
-
exports.
|
|
672
|
-
const
|
|
671
|
+
exports.se_ListExtensionsCommand = se_ListExtensionsCommand;
|
|
672
|
+
const se_ListHostedConfigurationVersionsCommand = async (input, context) => {
|
|
673
673
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
674
674
|
const headers = {};
|
|
675
675
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -693,8 +693,8 @@ const serializeAws_restJson1ListHostedConfigurationVersionsCommand = async (inpu
|
|
|
693
693
|
body,
|
|
694
694
|
});
|
|
695
695
|
};
|
|
696
|
-
exports.
|
|
697
|
-
const
|
|
696
|
+
exports.se_ListHostedConfigurationVersionsCommand = se_ListHostedConfigurationVersionsCommand;
|
|
697
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
698
698
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
699
699
|
const headers = {};
|
|
700
700
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
@@ -710,8 +710,8 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
710
710
|
body,
|
|
711
711
|
});
|
|
712
712
|
};
|
|
713
|
-
exports.
|
|
714
|
-
const
|
|
713
|
+
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
714
|
+
const se_StartDeploymentCommand = async (input, context) => {
|
|
715
715
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
716
716
|
const headers = {
|
|
717
717
|
"content-type": "application/json",
|
|
@@ -727,7 +727,7 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
727
727
|
...(input.DeploymentStrategyId != null && { DeploymentStrategyId: input.DeploymentStrategyId }),
|
|
728
728
|
...(input.Description != null && { Description: input.Description }),
|
|
729
729
|
...(input.KmsKeyIdentifier != null && { KmsKeyIdentifier: input.KmsKeyIdentifier }),
|
|
730
|
-
...(input.Tags != null && { Tags:
|
|
730
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
731
731
|
});
|
|
732
732
|
return new protocol_http_1.HttpRequest({
|
|
733
733
|
protocol,
|
|
@@ -739,8 +739,8 @@ const serializeAws_restJson1StartDeploymentCommand = async (input, context) => {
|
|
|
739
739
|
body,
|
|
740
740
|
});
|
|
741
741
|
};
|
|
742
|
-
exports.
|
|
743
|
-
const
|
|
742
|
+
exports.se_StartDeploymentCommand = se_StartDeploymentCommand;
|
|
743
|
+
const se_StopDeploymentCommand = async (input, context) => {
|
|
744
744
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
745
745
|
const headers = {};
|
|
746
746
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -759,8 +759,8 @@ const serializeAws_restJson1StopDeploymentCommand = async (input, context) => {
|
|
|
759
759
|
body,
|
|
760
760
|
});
|
|
761
761
|
};
|
|
762
|
-
exports.
|
|
763
|
-
const
|
|
762
|
+
exports.se_StopDeploymentCommand = se_StopDeploymentCommand;
|
|
763
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
764
764
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
765
765
|
const headers = {
|
|
766
766
|
"content-type": "application/json",
|
|
@@ -769,7 +769,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
769
769
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
770
770
|
let body;
|
|
771
771
|
body = JSON.stringify({
|
|
772
|
-
...(input.Tags != null && { Tags:
|
|
772
|
+
...(input.Tags != null && { Tags: se_TagMap(input.Tags, context) }),
|
|
773
773
|
});
|
|
774
774
|
return new protocol_http_1.HttpRequest({
|
|
775
775
|
protocol,
|
|
@@ -781,8 +781,8 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
781
781
|
body,
|
|
782
782
|
});
|
|
783
783
|
};
|
|
784
|
-
exports.
|
|
785
|
-
const
|
|
784
|
+
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
785
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
786
786
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
787
787
|
const headers = {};
|
|
788
788
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
|
|
@@ -805,8 +805,8 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
805
805
|
body,
|
|
806
806
|
});
|
|
807
807
|
};
|
|
808
|
-
exports.
|
|
809
|
-
const
|
|
808
|
+
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
809
|
+
const se_UpdateApplicationCommand = async (input, context) => {
|
|
810
810
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
811
811
|
const headers = {
|
|
812
812
|
"content-type": "application/json",
|
|
@@ -828,8 +828,8 @@ const serializeAws_restJson1UpdateApplicationCommand = async (input, context) =>
|
|
|
828
828
|
body,
|
|
829
829
|
});
|
|
830
830
|
};
|
|
831
|
-
exports.
|
|
832
|
-
const
|
|
831
|
+
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
832
|
+
const se_UpdateConfigurationProfileCommand = async (input, context) => {
|
|
833
833
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
834
834
|
const headers = {
|
|
835
835
|
"content-type": "application/json",
|
|
@@ -843,7 +843,7 @@ const serializeAws_restJson1UpdateConfigurationProfileCommand = async (input, co
|
|
|
843
843
|
...(input.Description != null && { Description: input.Description }),
|
|
844
844
|
...(input.Name != null && { Name: input.Name }),
|
|
845
845
|
...(input.RetrievalRoleArn != null && { RetrievalRoleArn: input.RetrievalRoleArn }),
|
|
846
|
-
...(input.Validators != null && { Validators:
|
|
846
|
+
...(input.Validators != null && { Validators: se_ValidatorList(input.Validators, context) }),
|
|
847
847
|
});
|
|
848
848
|
return new protocol_http_1.HttpRequest({
|
|
849
849
|
protocol,
|
|
@@ -855,8 +855,8 @@ const serializeAws_restJson1UpdateConfigurationProfileCommand = async (input, co
|
|
|
855
855
|
body,
|
|
856
856
|
});
|
|
857
857
|
};
|
|
858
|
-
exports.
|
|
859
|
-
const
|
|
858
|
+
exports.se_UpdateConfigurationProfileCommand = se_UpdateConfigurationProfileCommand;
|
|
859
|
+
const se_UpdateDeploymentStrategyCommand = async (input, context) => {
|
|
860
860
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
861
861
|
const headers = {
|
|
862
862
|
"content-type": "application/json",
|
|
@@ -884,8 +884,8 @@ const serializeAws_restJson1UpdateDeploymentStrategyCommand = async (input, cont
|
|
|
884
884
|
body,
|
|
885
885
|
});
|
|
886
886
|
};
|
|
887
|
-
exports.
|
|
888
|
-
const
|
|
887
|
+
exports.se_UpdateDeploymentStrategyCommand = se_UpdateDeploymentStrategyCommand;
|
|
888
|
+
const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
889
889
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
890
890
|
const headers = {
|
|
891
891
|
"content-type": "application/json",
|
|
@@ -897,7 +897,7 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
|
|
|
897
897
|
let body;
|
|
898
898
|
body = JSON.stringify({
|
|
899
899
|
...(input.Description != null && { Description: input.Description }),
|
|
900
|
-
...(input.Monitors != null && { Monitors:
|
|
900
|
+
...(input.Monitors != null && { Monitors: se_MonitorList(input.Monitors, context) }),
|
|
901
901
|
...(input.Name != null && { Name: input.Name }),
|
|
902
902
|
});
|
|
903
903
|
return new protocol_http_1.HttpRequest({
|
|
@@ -910,8 +910,8 @@ const serializeAws_restJson1UpdateEnvironmentCommand = async (input, context) =>
|
|
|
910
910
|
body,
|
|
911
911
|
});
|
|
912
912
|
};
|
|
913
|
-
exports.
|
|
914
|
-
const
|
|
913
|
+
exports.se_UpdateEnvironmentCommand = se_UpdateEnvironmentCommand;
|
|
914
|
+
const se_UpdateExtensionCommand = async (input, context) => {
|
|
915
915
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
916
916
|
const headers = {
|
|
917
917
|
"content-type": "application/json",
|
|
@@ -920,9 +920,9 @@ const serializeAws_restJson1UpdateExtensionCommand = async (input, context) => {
|
|
|
920
920
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
921
921
|
let body;
|
|
922
922
|
body = JSON.stringify({
|
|
923
|
-
...(input.Actions != null && { Actions:
|
|
923
|
+
...(input.Actions != null && { Actions: se_ActionsMap(input.Actions, context) }),
|
|
924
924
|
...(input.Description != null && { Description: input.Description }),
|
|
925
|
-
...(input.Parameters != null && { Parameters:
|
|
925
|
+
...(input.Parameters != null && { Parameters: se_ParameterMap(input.Parameters, context) }),
|
|
926
926
|
...(input.VersionNumber != null && { VersionNumber: input.VersionNumber }),
|
|
927
927
|
});
|
|
928
928
|
return new protocol_http_1.HttpRequest({
|
|
@@ -935,8 +935,8 @@ const serializeAws_restJson1UpdateExtensionCommand = async (input, context) => {
|
|
|
935
935
|
body,
|
|
936
936
|
});
|
|
937
937
|
};
|
|
938
|
-
exports.
|
|
939
|
-
const
|
|
938
|
+
exports.se_UpdateExtensionCommand = se_UpdateExtensionCommand;
|
|
939
|
+
const se_UpdateExtensionAssociationCommand = async (input, context) => {
|
|
940
940
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
941
941
|
const headers = {
|
|
942
942
|
"content-type": "application/json",
|
|
@@ -946,7 +946,7 @@ const serializeAws_restJson1UpdateExtensionAssociationCommand = async (input, co
|
|
|
946
946
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
947
947
|
let body;
|
|
948
948
|
body = JSON.stringify({
|
|
949
|
-
...(input.Parameters != null && { Parameters:
|
|
949
|
+
...(input.Parameters != null && { Parameters: se_ParameterValueMap(input.Parameters, context) }),
|
|
950
950
|
});
|
|
951
951
|
return new protocol_http_1.HttpRequest({
|
|
952
952
|
protocol,
|
|
@@ -958,8 +958,8 @@ const serializeAws_restJson1UpdateExtensionAssociationCommand = async (input, co
|
|
|
958
958
|
body,
|
|
959
959
|
});
|
|
960
960
|
};
|
|
961
|
-
exports.
|
|
962
|
-
const
|
|
961
|
+
exports.se_UpdateExtensionAssociationCommand = se_UpdateExtensionAssociationCommand;
|
|
962
|
+
const se_ValidateConfigurationCommand = async (input, context) => {
|
|
963
963
|
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
964
964
|
const headers = {};
|
|
965
965
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
@@ -981,10 +981,10 @@ const serializeAws_restJson1ValidateConfigurationCommand = async (input, context
|
|
|
981
981
|
body,
|
|
982
982
|
});
|
|
983
983
|
};
|
|
984
|
-
exports.
|
|
985
|
-
const
|
|
984
|
+
exports.se_ValidateConfigurationCommand = se_ValidateConfigurationCommand;
|
|
985
|
+
const de_CreateApplicationCommand = async (output, context) => {
|
|
986
986
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
987
|
-
return
|
|
987
|
+
return de_CreateApplicationCommandError(output, context);
|
|
988
988
|
}
|
|
989
989
|
const contents = map({
|
|
990
990
|
$metadata: deserializeMetadata(output),
|
|
@@ -1001,8 +1001,8 @@ const deserializeAws_restJson1CreateApplicationCommand = async (output, context)
|
|
|
1001
1001
|
}
|
|
1002
1002
|
return contents;
|
|
1003
1003
|
};
|
|
1004
|
-
exports.
|
|
1005
|
-
const
|
|
1004
|
+
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
1005
|
+
const de_CreateApplicationCommandError = async (output, context) => {
|
|
1006
1006
|
const parsedOutput = {
|
|
1007
1007
|
...output,
|
|
1008
1008
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1011,10 +1011,10 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
|
|
|
1011
1011
|
switch (errorCode) {
|
|
1012
1012
|
case "BadRequestException":
|
|
1013
1013
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1014
|
-
throw await
|
|
1014
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1015
1015
|
case "InternalServerException":
|
|
1016
1016
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1017
|
-
throw await
|
|
1017
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1018
1018
|
default:
|
|
1019
1019
|
const parsedBody = parsedOutput.body;
|
|
1020
1020
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1025,9 +1025,9 @@ const deserializeAws_restJson1CreateApplicationCommandError = async (output, con
|
|
|
1025
1025
|
});
|
|
1026
1026
|
}
|
|
1027
1027
|
};
|
|
1028
|
-
const
|
|
1028
|
+
const de_CreateConfigurationProfileCommand = async (output, context) => {
|
|
1029
1029
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1030
|
-
return
|
|
1030
|
+
return de_CreateConfigurationProfileCommandError(output, context);
|
|
1031
1031
|
}
|
|
1032
1032
|
const contents = map({
|
|
1033
1033
|
$metadata: deserializeMetadata(output),
|
|
@@ -1055,12 +1055,12 @@ const deserializeAws_restJson1CreateConfigurationProfileCommand = async (output,
|
|
|
1055
1055
|
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
1056
1056
|
}
|
|
1057
1057
|
if (data.Validators != null) {
|
|
1058
|
-
contents.Validators =
|
|
1058
|
+
contents.Validators = de_ValidatorList(data.Validators, context);
|
|
1059
1059
|
}
|
|
1060
1060
|
return contents;
|
|
1061
1061
|
};
|
|
1062
|
-
exports.
|
|
1063
|
-
const
|
|
1062
|
+
exports.de_CreateConfigurationProfileCommand = de_CreateConfigurationProfileCommand;
|
|
1063
|
+
const de_CreateConfigurationProfileCommandError = async (output, context) => {
|
|
1064
1064
|
const parsedOutput = {
|
|
1065
1065
|
...output,
|
|
1066
1066
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1069,13 +1069,13 @@ const deserializeAws_restJson1CreateConfigurationProfileCommandError = async (ou
|
|
|
1069
1069
|
switch (errorCode) {
|
|
1070
1070
|
case "BadRequestException":
|
|
1071
1071
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1072
|
-
throw await
|
|
1072
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1073
1073
|
case "InternalServerException":
|
|
1074
1074
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1075
|
-
throw await
|
|
1075
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1076
1076
|
case "ResourceNotFoundException":
|
|
1077
1077
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1078
|
-
throw await
|
|
1078
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1079
1079
|
default:
|
|
1080
1080
|
const parsedBody = parsedOutput.body;
|
|
1081
1081
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1086,9 +1086,9 @@ const deserializeAws_restJson1CreateConfigurationProfileCommandError = async (ou
|
|
|
1086
1086
|
});
|
|
1087
1087
|
}
|
|
1088
1088
|
};
|
|
1089
|
-
const
|
|
1089
|
+
const de_CreateDeploymentStrategyCommand = async (output, context) => {
|
|
1090
1090
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1091
|
-
return
|
|
1091
|
+
return de_CreateDeploymentStrategyCommandError(output, context);
|
|
1092
1092
|
}
|
|
1093
1093
|
const contents = map({
|
|
1094
1094
|
$metadata: deserializeMetadata(output),
|
|
@@ -1120,8 +1120,8 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommand = async (output, c
|
|
|
1120
1120
|
}
|
|
1121
1121
|
return contents;
|
|
1122
1122
|
};
|
|
1123
|
-
exports.
|
|
1124
|
-
const
|
|
1123
|
+
exports.de_CreateDeploymentStrategyCommand = de_CreateDeploymentStrategyCommand;
|
|
1124
|
+
const de_CreateDeploymentStrategyCommandError = async (output, context) => {
|
|
1125
1125
|
const parsedOutput = {
|
|
1126
1126
|
...output,
|
|
1127
1127
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1130,10 +1130,10 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommandError = async (outp
|
|
|
1130
1130
|
switch (errorCode) {
|
|
1131
1131
|
case "BadRequestException":
|
|
1132
1132
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1133
|
-
throw await
|
|
1133
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1134
1134
|
case "InternalServerException":
|
|
1135
1135
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1136
|
-
throw await
|
|
1136
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1137
1137
|
default:
|
|
1138
1138
|
const parsedBody = parsedOutput.body;
|
|
1139
1139
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1144,9 +1144,9 @@ const deserializeAws_restJson1CreateDeploymentStrategyCommandError = async (outp
|
|
|
1144
1144
|
});
|
|
1145
1145
|
}
|
|
1146
1146
|
};
|
|
1147
|
-
const
|
|
1147
|
+
const de_CreateEnvironmentCommand = async (output, context) => {
|
|
1148
1148
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1149
|
-
return
|
|
1149
|
+
return de_CreateEnvironmentCommandError(output, context);
|
|
1150
1150
|
}
|
|
1151
1151
|
const contents = map({
|
|
1152
1152
|
$metadata: deserializeMetadata(output),
|
|
@@ -1162,7 +1162,7 @@ const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context)
|
|
|
1162
1162
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
1163
1163
|
}
|
|
1164
1164
|
if (data.Monitors != null) {
|
|
1165
|
-
contents.Monitors =
|
|
1165
|
+
contents.Monitors = de_MonitorList(data.Monitors, context);
|
|
1166
1166
|
}
|
|
1167
1167
|
if (data.Name != null) {
|
|
1168
1168
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -1172,8 +1172,8 @@ const deserializeAws_restJson1CreateEnvironmentCommand = async (output, context)
|
|
|
1172
1172
|
}
|
|
1173
1173
|
return contents;
|
|
1174
1174
|
};
|
|
1175
|
-
exports.
|
|
1176
|
-
const
|
|
1175
|
+
exports.de_CreateEnvironmentCommand = de_CreateEnvironmentCommand;
|
|
1176
|
+
const de_CreateEnvironmentCommandError = async (output, context) => {
|
|
1177
1177
|
const parsedOutput = {
|
|
1178
1178
|
...output,
|
|
1179
1179
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1182,13 +1182,13 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
|
|
|
1182
1182
|
switch (errorCode) {
|
|
1183
1183
|
case "BadRequestException":
|
|
1184
1184
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1185
|
-
throw await
|
|
1185
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1186
1186
|
case "InternalServerException":
|
|
1187
1187
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1188
|
-
throw await
|
|
1188
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1189
1189
|
case "ResourceNotFoundException":
|
|
1190
1190
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1191
|
-
throw await
|
|
1191
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1192
1192
|
default:
|
|
1193
1193
|
const parsedBody = parsedOutput.body;
|
|
1194
1194
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1199,16 +1199,16 @@ const deserializeAws_restJson1CreateEnvironmentCommandError = async (output, con
|
|
|
1199
1199
|
});
|
|
1200
1200
|
}
|
|
1201
1201
|
};
|
|
1202
|
-
const
|
|
1202
|
+
const de_CreateExtensionCommand = async (output, context) => {
|
|
1203
1203
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1204
|
-
return
|
|
1204
|
+
return de_CreateExtensionCommandError(output, context);
|
|
1205
1205
|
}
|
|
1206
1206
|
const contents = map({
|
|
1207
1207
|
$metadata: deserializeMetadata(output),
|
|
1208
1208
|
});
|
|
1209
1209
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1210
1210
|
if (data.Actions != null) {
|
|
1211
|
-
contents.Actions =
|
|
1211
|
+
contents.Actions = de_ActionsMap(data.Actions, context);
|
|
1212
1212
|
}
|
|
1213
1213
|
if (data.Arn != null) {
|
|
1214
1214
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -1223,15 +1223,15 @@ const deserializeAws_restJson1CreateExtensionCommand = async (output, context) =
|
|
|
1223
1223
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
1224
1224
|
}
|
|
1225
1225
|
if (data.Parameters != null) {
|
|
1226
|
-
contents.Parameters =
|
|
1226
|
+
contents.Parameters = de_ParameterMap(data.Parameters, context);
|
|
1227
1227
|
}
|
|
1228
1228
|
if (data.VersionNumber != null) {
|
|
1229
1229
|
contents.VersionNumber = (0, smithy_client_1.expectInt32)(data.VersionNumber);
|
|
1230
1230
|
}
|
|
1231
1231
|
return contents;
|
|
1232
1232
|
};
|
|
1233
|
-
exports.
|
|
1234
|
-
const
|
|
1233
|
+
exports.de_CreateExtensionCommand = de_CreateExtensionCommand;
|
|
1234
|
+
const de_CreateExtensionCommandError = async (output, context) => {
|
|
1235
1235
|
const parsedOutput = {
|
|
1236
1236
|
...output,
|
|
1237
1237
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1240,16 +1240,16 @@ const deserializeAws_restJson1CreateExtensionCommandError = async (output, conte
|
|
|
1240
1240
|
switch (errorCode) {
|
|
1241
1241
|
case "BadRequestException":
|
|
1242
1242
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1243
|
-
throw await
|
|
1243
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1244
1244
|
case "ConflictException":
|
|
1245
1245
|
case "com.amazonaws.appconfig#ConflictException":
|
|
1246
|
-
throw await
|
|
1246
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1247
1247
|
case "InternalServerException":
|
|
1248
1248
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1249
|
-
throw await
|
|
1249
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1250
1250
|
case "ServiceQuotaExceededException":
|
|
1251
1251
|
case "com.amazonaws.appconfig#ServiceQuotaExceededException":
|
|
1252
|
-
throw await
|
|
1252
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1253
1253
|
default:
|
|
1254
1254
|
const parsedBody = parsedOutput.body;
|
|
1255
1255
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1260,9 +1260,9 @@ const deserializeAws_restJson1CreateExtensionCommandError = async (output, conte
|
|
|
1260
1260
|
});
|
|
1261
1261
|
}
|
|
1262
1262
|
};
|
|
1263
|
-
const
|
|
1263
|
+
const de_CreateExtensionAssociationCommand = async (output, context) => {
|
|
1264
1264
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1265
|
-
return
|
|
1265
|
+
return de_CreateExtensionAssociationCommandError(output, context);
|
|
1266
1266
|
}
|
|
1267
1267
|
const contents = map({
|
|
1268
1268
|
$metadata: deserializeMetadata(output),
|
|
@@ -1281,15 +1281,15 @@ const deserializeAws_restJson1CreateExtensionAssociationCommand = async (output,
|
|
|
1281
1281
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
1282
1282
|
}
|
|
1283
1283
|
if (data.Parameters != null) {
|
|
1284
|
-
contents.Parameters =
|
|
1284
|
+
contents.Parameters = de_ParameterValueMap(data.Parameters, context);
|
|
1285
1285
|
}
|
|
1286
1286
|
if (data.ResourceArn != null) {
|
|
1287
1287
|
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
1288
1288
|
}
|
|
1289
1289
|
return contents;
|
|
1290
1290
|
};
|
|
1291
|
-
exports.
|
|
1292
|
-
const
|
|
1291
|
+
exports.de_CreateExtensionAssociationCommand = de_CreateExtensionAssociationCommand;
|
|
1292
|
+
const de_CreateExtensionAssociationCommandError = async (output, context) => {
|
|
1293
1293
|
const parsedOutput = {
|
|
1294
1294
|
...output,
|
|
1295
1295
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1298,16 +1298,16 @@ const deserializeAws_restJson1CreateExtensionAssociationCommandError = async (ou
|
|
|
1298
1298
|
switch (errorCode) {
|
|
1299
1299
|
case "BadRequestException":
|
|
1300
1300
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1301
|
-
throw await
|
|
1301
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1302
1302
|
case "InternalServerException":
|
|
1303
1303
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1304
|
-
throw await
|
|
1304
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1305
1305
|
case "ResourceNotFoundException":
|
|
1306
1306
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1307
|
-
throw await
|
|
1307
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1308
1308
|
case "ServiceQuotaExceededException":
|
|
1309
1309
|
case "com.amazonaws.appconfig#ServiceQuotaExceededException":
|
|
1310
|
-
throw await
|
|
1310
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1311
1311
|
default:
|
|
1312
1312
|
const parsedBody = parsedOutput.body;
|
|
1313
1313
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1318,9 +1318,9 @@ const deserializeAws_restJson1CreateExtensionAssociationCommandError = async (ou
|
|
|
1318
1318
|
});
|
|
1319
1319
|
}
|
|
1320
1320
|
};
|
|
1321
|
-
const
|
|
1321
|
+
const de_CreateHostedConfigurationVersionCommand = async (output, context) => {
|
|
1322
1322
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1323
|
-
return
|
|
1323
|
+
return de_CreateHostedConfigurationVersionCommandError(output, context);
|
|
1324
1324
|
}
|
|
1325
1325
|
const contents = map({
|
|
1326
1326
|
$metadata: deserializeMetadata(output),
|
|
@@ -1338,8 +1338,8 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommand = async (o
|
|
|
1338
1338
|
contents.Content = data;
|
|
1339
1339
|
return contents;
|
|
1340
1340
|
};
|
|
1341
|
-
exports.
|
|
1342
|
-
const
|
|
1341
|
+
exports.de_CreateHostedConfigurationVersionCommand = de_CreateHostedConfigurationVersionCommand;
|
|
1342
|
+
const de_CreateHostedConfigurationVersionCommandError = async (output, context) => {
|
|
1343
1343
|
const parsedOutput = {
|
|
1344
1344
|
...output,
|
|
1345
1345
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1348,22 +1348,22 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommandError = asy
|
|
|
1348
1348
|
switch (errorCode) {
|
|
1349
1349
|
case "BadRequestException":
|
|
1350
1350
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1351
|
-
throw await
|
|
1351
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1352
1352
|
case "ConflictException":
|
|
1353
1353
|
case "com.amazonaws.appconfig#ConflictException":
|
|
1354
|
-
throw await
|
|
1354
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1355
1355
|
case "InternalServerException":
|
|
1356
1356
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1357
|
-
throw await
|
|
1357
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1358
1358
|
case "PayloadTooLargeException":
|
|
1359
1359
|
case "com.amazonaws.appconfig#PayloadTooLargeException":
|
|
1360
|
-
throw await
|
|
1360
|
+
throw await de_PayloadTooLargeExceptionRes(parsedOutput, context);
|
|
1361
1361
|
case "ResourceNotFoundException":
|
|
1362
1362
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1363
|
-
throw await
|
|
1363
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1364
1364
|
case "ServiceQuotaExceededException":
|
|
1365
1365
|
case "com.amazonaws.appconfig#ServiceQuotaExceededException":
|
|
1366
|
-
throw await
|
|
1366
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1367
1367
|
default:
|
|
1368
1368
|
const parsedBody = parsedOutput.body;
|
|
1369
1369
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1374,9 +1374,9 @@ const deserializeAws_restJson1CreateHostedConfigurationVersionCommandError = asy
|
|
|
1374
1374
|
});
|
|
1375
1375
|
}
|
|
1376
1376
|
};
|
|
1377
|
-
const
|
|
1377
|
+
const de_DeleteApplicationCommand = async (output, context) => {
|
|
1378
1378
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1379
|
-
return
|
|
1379
|
+
return de_DeleteApplicationCommandError(output, context);
|
|
1380
1380
|
}
|
|
1381
1381
|
const contents = map({
|
|
1382
1382
|
$metadata: deserializeMetadata(output),
|
|
@@ -1384,8 +1384,8 @@ const deserializeAws_restJson1DeleteApplicationCommand = async (output, context)
|
|
|
1384
1384
|
await collectBody(output.body, context);
|
|
1385
1385
|
return contents;
|
|
1386
1386
|
};
|
|
1387
|
-
exports.
|
|
1388
|
-
const
|
|
1387
|
+
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
1388
|
+
const de_DeleteApplicationCommandError = async (output, context) => {
|
|
1389
1389
|
const parsedOutput = {
|
|
1390
1390
|
...output,
|
|
1391
1391
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1394,13 +1394,13 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
|
|
|
1394
1394
|
switch (errorCode) {
|
|
1395
1395
|
case "BadRequestException":
|
|
1396
1396
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1397
|
-
throw await
|
|
1397
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1398
1398
|
case "InternalServerException":
|
|
1399
1399
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1400
|
-
throw await
|
|
1400
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1401
1401
|
case "ResourceNotFoundException":
|
|
1402
1402
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1403
|
-
throw await
|
|
1403
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1404
1404
|
default:
|
|
1405
1405
|
const parsedBody = parsedOutput.body;
|
|
1406
1406
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1411,9 +1411,9 @@ const deserializeAws_restJson1DeleteApplicationCommandError = async (output, con
|
|
|
1411
1411
|
});
|
|
1412
1412
|
}
|
|
1413
1413
|
};
|
|
1414
|
-
const
|
|
1414
|
+
const de_DeleteConfigurationProfileCommand = async (output, context) => {
|
|
1415
1415
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1416
|
-
return
|
|
1416
|
+
return de_DeleteConfigurationProfileCommandError(output, context);
|
|
1417
1417
|
}
|
|
1418
1418
|
const contents = map({
|
|
1419
1419
|
$metadata: deserializeMetadata(output),
|
|
@@ -1421,8 +1421,8 @@ const deserializeAws_restJson1DeleteConfigurationProfileCommand = async (output,
|
|
|
1421
1421
|
await collectBody(output.body, context);
|
|
1422
1422
|
return contents;
|
|
1423
1423
|
};
|
|
1424
|
-
exports.
|
|
1425
|
-
const
|
|
1424
|
+
exports.de_DeleteConfigurationProfileCommand = de_DeleteConfigurationProfileCommand;
|
|
1425
|
+
const de_DeleteConfigurationProfileCommandError = async (output, context) => {
|
|
1426
1426
|
const parsedOutput = {
|
|
1427
1427
|
...output,
|
|
1428
1428
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1431,16 +1431,16 @@ const deserializeAws_restJson1DeleteConfigurationProfileCommandError = async (ou
|
|
|
1431
1431
|
switch (errorCode) {
|
|
1432
1432
|
case "BadRequestException":
|
|
1433
1433
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1434
|
-
throw await
|
|
1434
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1435
1435
|
case "ConflictException":
|
|
1436
1436
|
case "com.amazonaws.appconfig#ConflictException":
|
|
1437
|
-
throw await
|
|
1437
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1438
1438
|
case "InternalServerException":
|
|
1439
1439
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1440
|
-
throw await
|
|
1440
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1441
1441
|
case "ResourceNotFoundException":
|
|
1442
1442
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1443
|
-
throw await
|
|
1443
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1444
1444
|
default:
|
|
1445
1445
|
const parsedBody = parsedOutput.body;
|
|
1446
1446
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1451,9 +1451,9 @@ const deserializeAws_restJson1DeleteConfigurationProfileCommandError = async (ou
|
|
|
1451
1451
|
});
|
|
1452
1452
|
}
|
|
1453
1453
|
};
|
|
1454
|
-
const
|
|
1454
|
+
const de_DeleteDeploymentStrategyCommand = async (output, context) => {
|
|
1455
1455
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1456
|
-
return
|
|
1456
|
+
return de_DeleteDeploymentStrategyCommandError(output, context);
|
|
1457
1457
|
}
|
|
1458
1458
|
const contents = map({
|
|
1459
1459
|
$metadata: deserializeMetadata(output),
|
|
@@ -1461,8 +1461,8 @@ const deserializeAws_restJson1DeleteDeploymentStrategyCommand = async (output, c
|
|
|
1461
1461
|
await collectBody(output.body, context);
|
|
1462
1462
|
return contents;
|
|
1463
1463
|
};
|
|
1464
|
-
exports.
|
|
1465
|
-
const
|
|
1464
|
+
exports.de_DeleteDeploymentStrategyCommand = de_DeleteDeploymentStrategyCommand;
|
|
1465
|
+
const de_DeleteDeploymentStrategyCommandError = async (output, context) => {
|
|
1466
1466
|
const parsedOutput = {
|
|
1467
1467
|
...output,
|
|
1468
1468
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1471,13 +1471,13 @@ const deserializeAws_restJson1DeleteDeploymentStrategyCommandError = async (outp
|
|
|
1471
1471
|
switch (errorCode) {
|
|
1472
1472
|
case "BadRequestException":
|
|
1473
1473
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1474
|
-
throw await
|
|
1474
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1475
1475
|
case "InternalServerException":
|
|
1476
1476
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1477
|
-
throw await
|
|
1477
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1478
1478
|
case "ResourceNotFoundException":
|
|
1479
1479
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1480
|
-
throw await
|
|
1480
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1481
1481
|
default:
|
|
1482
1482
|
const parsedBody = parsedOutput.body;
|
|
1483
1483
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1488,9 +1488,9 @@ const deserializeAws_restJson1DeleteDeploymentStrategyCommandError = async (outp
|
|
|
1488
1488
|
});
|
|
1489
1489
|
}
|
|
1490
1490
|
};
|
|
1491
|
-
const
|
|
1491
|
+
const de_DeleteEnvironmentCommand = async (output, context) => {
|
|
1492
1492
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1493
|
-
return
|
|
1493
|
+
return de_DeleteEnvironmentCommandError(output, context);
|
|
1494
1494
|
}
|
|
1495
1495
|
const contents = map({
|
|
1496
1496
|
$metadata: deserializeMetadata(output),
|
|
@@ -1498,8 +1498,8 @@ const deserializeAws_restJson1DeleteEnvironmentCommand = async (output, context)
|
|
|
1498
1498
|
await collectBody(output.body, context);
|
|
1499
1499
|
return contents;
|
|
1500
1500
|
};
|
|
1501
|
-
exports.
|
|
1502
|
-
const
|
|
1501
|
+
exports.de_DeleteEnvironmentCommand = de_DeleteEnvironmentCommand;
|
|
1502
|
+
const de_DeleteEnvironmentCommandError = async (output, context) => {
|
|
1503
1503
|
const parsedOutput = {
|
|
1504
1504
|
...output,
|
|
1505
1505
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1508,16 +1508,16 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
|
|
|
1508
1508
|
switch (errorCode) {
|
|
1509
1509
|
case "BadRequestException":
|
|
1510
1510
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1511
|
-
throw await
|
|
1511
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1512
1512
|
case "ConflictException":
|
|
1513
1513
|
case "com.amazonaws.appconfig#ConflictException":
|
|
1514
|
-
throw await
|
|
1514
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1515
1515
|
case "InternalServerException":
|
|
1516
1516
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1517
|
-
throw await
|
|
1517
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1518
1518
|
case "ResourceNotFoundException":
|
|
1519
1519
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1520
|
-
throw await
|
|
1520
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1521
1521
|
default:
|
|
1522
1522
|
const parsedBody = parsedOutput.body;
|
|
1523
1523
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1528,9 +1528,9 @@ const deserializeAws_restJson1DeleteEnvironmentCommandError = async (output, con
|
|
|
1528
1528
|
});
|
|
1529
1529
|
}
|
|
1530
1530
|
};
|
|
1531
|
-
const
|
|
1531
|
+
const de_DeleteExtensionCommand = async (output, context) => {
|
|
1532
1532
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1533
|
-
return
|
|
1533
|
+
return de_DeleteExtensionCommandError(output, context);
|
|
1534
1534
|
}
|
|
1535
1535
|
const contents = map({
|
|
1536
1536
|
$metadata: deserializeMetadata(output),
|
|
@@ -1538,8 +1538,8 @@ const deserializeAws_restJson1DeleteExtensionCommand = async (output, context) =
|
|
|
1538
1538
|
await collectBody(output.body, context);
|
|
1539
1539
|
return contents;
|
|
1540
1540
|
};
|
|
1541
|
-
exports.
|
|
1542
|
-
const
|
|
1541
|
+
exports.de_DeleteExtensionCommand = de_DeleteExtensionCommand;
|
|
1542
|
+
const de_DeleteExtensionCommandError = async (output, context) => {
|
|
1543
1543
|
const parsedOutput = {
|
|
1544
1544
|
...output,
|
|
1545
1545
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1548,13 +1548,13 @@ const deserializeAws_restJson1DeleteExtensionCommandError = async (output, conte
|
|
|
1548
1548
|
switch (errorCode) {
|
|
1549
1549
|
case "BadRequestException":
|
|
1550
1550
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1551
|
-
throw await
|
|
1551
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1552
1552
|
case "InternalServerException":
|
|
1553
1553
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1554
|
-
throw await
|
|
1554
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1555
1555
|
case "ResourceNotFoundException":
|
|
1556
1556
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1557
|
-
throw await
|
|
1557
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1558
1558
|
default:
|
|
1559
1559
|
const parsedBody = parsedOutput.body;
|
|
1560
1560
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1565,9 +1565,9 @@ const deserializeAws_restJson1DeleteExtensionCommandError = async (output, conte
|
|
|
1565
1565
|
});
|
|
1566
1566
|
}
|
|
1567
1567
|
};
|
|
1568
|
-
const
|
|
1568
|
+
const de_DeleteExtensionAssociationCommand = async (output, context) => {
|
|
1569
1569
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1570
|
-
return
|
|
1570
|
+
return de_DeleteExtensionAssociationCommandError(output, context);
|
|
1571
1571
|
}
|
|
1572
1572
|
const contents = map({
|
|
1573
1573
|
$metadata: deserializeMetadata(output),
|
|
@@ -1575,8 +1575,8 @@ const deserializeAws_restJson1DeleteExtensionAssociationCommand = async (output,
|
|
|
1575
1575
|
await collectBody(output.body, context);
|
|
1576
1576
|
return contents;
|
|
1577
1577
|
};
|
|
1578
|
-
exports.
|
|
1579
|
-
const
|
|
1578
|
+
exports.de_DeleteExtensionAssociationCommand = de_DeleteExtensionAssociationCommand;
|
|
1579
|
+
const de_DeleteExtensionAssociationCommandError = async (output, context) => {
|
|
1580
1580
|
const parsedOutput = {
|
|
1581
1581
|
...output,
|
|
1582
1582
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1585,13 +1585,13 @@ const deserializeAws_restJson1DeleteExtensionAssociationCommandError = async (ou
|
|
|
1585
1585
|
switch (errorCode) {
|
|
1586
1586
|
case "BadRequestException":
|
|
1587
1587
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1588
|
-
throw await
|
|
1588
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1589
1589
|
case "InternalServerException":
|
|
1590
1590
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1591
|
-
throw await
|
|
1591
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1592
1592
|
case "ResourceNotFoundException":
|
|
1593
1593
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1594
|
-
throw await
|
|
1594
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1595
1595
|
default:
|
|
1596
1596
|
const parsedBody = parsedOutput.body;
|
|
1597
1597
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1602,9 +1602,9 @@ const deserializeAws_restJson1DeleteExtensionAssociationCommandError = async (ou
|
|
|
1602
1602
|
});
|
|
1603
1603
|
}
|
|
1604
1604
|
};
|
|
1605
|
-
const
|
|
1605
|
+
const de_DeleteHostedConfigurationVersionCommand = async (output, context) => {
|
|
1606
1606
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1607
|
-
return
|
|
1607
|
+
return de_DeleteHostedConfigurationVersionCommandError(output, context);
|
|
1608
1608
|
}
|
|
1609
1609
|
const contents = map({
|
|
1610
1610
|
$metadata: deserializeMetadata(output),
|
|
@@ -1612,8 +1612,8 @@ const deserializeAws_restJson1DeleteHostedConfigurationVersionCommand = async (o
|
|
|
1612
1612
|
await collectBody(output.body, context);
|
|
1613
1613
|
return contents;
|
|
1614
1614
|
};
|
|
1615
|
-
exports.
|
|
1616
|
-
const
|
|
1615
|
+
exports.de_DeleteHostedConfigurationVersionCommand = de_DeleteHostedConfigurationVersionCommand;
|
|
1616
|
+
const de_DeleteHostedConfigurationVersionCommandError = async (output, context) => {
|
|
1617
1617
|
const parsedOutput = {
|
|
1618
1618
|
...output,
|
|
1619
1619
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1622,13 +1622,13 @@ const deserializeAws_restJson1DeleteHostedConfigurationVersionCommandError = asy
|
|
|
1622
1622
|
switch (errorCode) {
|
|
1623
1623
|
case "BadRequestException":
|
|
1624
1624
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1625
|
-
throw await
|
|
1625
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1626
1626
|
case "InternalServerException":
|
|
1627
1627
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1628
|
-
throw await
|
|
1628
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1629
1629
|
case "ResourceNotFoundException":
|
|
1630
1630
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1631
|
-
throw await
|
|
1631
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1632
1632
|
default:
|
|
1633
1633
|
const parsedBody = parsedOutput.body;
|
|
1634
1634
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1639,9 +1639,9 @@ const deserializeAws_restJson1DeleteHostedConfigurationVersionCommandError = asy
|
|
|
1639
1639
|
});
|
|
1640
1640
|
}
|
|
1641
1641
|
};
|
|
1642
|
-
const
|
|
1642
|
+
const de_GetApplicationCommand = async (output, context) => {
|
|
1643
1643
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1644
|
-
return
|
|
1644
|
+
return de_GetApplicationCommandError(output, context);
|
|
1645
1645
|
}
|
|
1646
1646
|
const contents = map({
|
|
1647
1647
|
$metadata: deserializeMetadata(output),
|
|
@@ -1658,8 +1658,8 @@ const deserializeAws_restJson1GetApplicationCommand = async (output, context) =>
|
|
|
1658
1658
|
}
|
|
1659
1659
|
return contents;
|
|
1660
1660
|
};
|
|
1661
|
-
exports.
|
|
1662
|
-
const
|
|
1661
|
+
exports.de_GetApplicationCommand = de_GetApplicationCommand;
|
|
1662
|
+
const de_GetApplicationCommandError = async (output, context) => {
|
|
1663
1663
|
const parsedOutput = {
|
|
1664
1664
|
...output,
|
|
1665
1665
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1668,13 +1668,13 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
|
|
|
1668
1668
|
switch (errorCode) {
|
|
1669
1669
|
case "BadRequestException":
|
|
1670
1670
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1671
|
-
throw await
|
|
1671
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1672
1672
|
case "InternalServerException":
|
|
1673
1673
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1674
|
-
throw await
|
|
1674
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1675
1675
|
case "ResourceNotFoundException":
|
|
1676
1676
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1677
|
-
throw await
|
|
1677
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1678
1678
|
default:
|
|
1679
1679
|
const parsedBody = parsedOutput.body;
|
|
1680
1680
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1685,9 +1685,9 @@ const deserializeAws_restJson1GetApplicationCommandError = async (output, contex
|
|
|
1685
1685
|
});
|
|
1686
1686
|
}
|
|
1687
1687
|
};
|
|
1688
|
-
const
|
|
1688
|
+
const de_GetConfigurationCommand = async (output, context) => {
|
|
1689
1689
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1690
|
-
return
|
|
1690
|
+
return de_GetConfigurationCommandError(output, context);
|
|
1691
1691
|
}
|
|
1692
1692
|
const contents = map({
|
|
1693
1693
|
$metadata: deserializeMetadata(output),
|
|
@@ -1698,8 +1698,8 @@ const deserializeAws_restJson1GetConfigurationCommand = async (output, context)
|
|
|
1698
1698
|
contents.Content = data;
|
|
1699
1699
|
return contents;
|
|
1700
1700
|
};
|
|
1701
|
-
exports.
|
|
1702
|
-
const
|
|
1701
|
+
exports.de_GetConfigurationCommand = de_GetConfigurationCommand;
|
|
1702
|
+
const de_GetConfigurationCommandError = async (output, context) => {
|
|
1703
1703
|
const parsedOutput = {
|
|
1704
1704
|
...output,
|
|
1705
1705
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1708,13 +1708,13 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
|
|
|
1708
1708
|
switch (errorCode) {
|
|
1709
1709
|
case "BadRequestException":
|
|
1710
1710
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1711
|
-
throw await
|
|
1711
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1712
1712
|
case "InternalServerException":
|
|
1713
1713
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1714
|
-
throw await
|
|
1714
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1715
1715
|
case "ResourceNotFoundException":
|
|
1716
1716
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1717
|
-
throw await
|
|
1717
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1718
1718
|
default:
|
|
1719
1719
|
const parsedBody = parsedOutput.body;
|
|
1720
1720
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1725,9 +1725,9 @@ const deserializeAws_restJson1GetConfigurationCommandError = async (output, cont
|
|
|
1725
1725
|
});
|
|
1726
1726
|
}
|
|
1727
1727
|
};
|
|
1728
|
-
const
|
|
1728
|
+
const de_GetConfigurationProfileCommand = async (output, context) => {
|
|
1729
1729
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1730
|
-
return
|
|
1730
|
+
return de_GetConfigurationProfileCommandError(output, context);
|
|
1731
1731
|
}
|
|
1732
1732
|
const contents = map({
|
|
1733
1733
|
$metadata: deserializeMetadata(output),
|
|
@@ -1755,12 +1755,12 @@ const deserializeAws_restJson1GetConfigurationProfileCommand = async (output, co
|
|
|
1755
1755
|
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
1756
1756
|
}
|
|
1757
1757
|
if (data.Validators != null) {
|
|
1758
|
-
contents.Validators =
|
|
1758
|
+
contents.Validators = de_ValidatorList(data.Validators, context);
|
|
1759
1759
|
}
|
|
1760
1760
|
return contents;
|
|
1761
1761
|
};
|
|
1762
|
-
exports.
|
|
1763
|
-
const
|
|
1762
|
+
exports.de_GetConfigurationProfileCommand = de_GetConfigurationProfileCommand;
|
|
1763
|
+
const de_GetConfigurationProfileCommandError = async (output, context) => {
|
|
1764
1764
|
const parsedOutput = {
|
|
1765
1765
|
...output,
|
|
1766
1766
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1769,13 +1769,13 @@ const deserializeAws_restJson1GetConfigurationProfileCommandError = async (outpu
|
|
|
1769
1769
|
switch (errorCode) {
|
|
1770
1770
|
case "BadRequestException":
|
|
1771
1771
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1772
|
-
throw await
|
|
1772
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1773
1773
|
case "InternalServerException":
|
|
1774
1774
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1775
|
-
throw await
|
|
1775
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1776
1776
|
case "ResourceNotFoundException":
|
|
1777
1777
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1778
|
-
throw await
|
|
1778
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1779
1779
|
default:
|
|
1780
1780
|
const parsedBody = parsedOutput.body;
|
|
1781
1781
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1786,9 +1786,9 @@ const deserializeAws_restJson1GetConfigurationProfileCommandError = async (outpu
|
|
|
1786
1786
|
});
|
|
1787
1787
|
}
|
|
1788
1788
|
};
|
|
1789
|
-
const
|
|
1789
|
+
const de_GetDeploymentCommand = async (output, context) => {
|
|
1790
1790
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1791
|
-
return
|
|
1791
|
+
return de_GetDeploymentCommandError(output, context);
|
|
1792
1792
|
}
|
|
1793
1793
|
const contents = map({
|
|
1794
1794
|
$metadata: deserializeMetadata(output),
|
|
@@ -1798,7 +1798,7 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1798
1798
|
contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
|
|
1799
1799
|
}
|
|
1800
1800
|
if (data.AppliedExtensions != null) {
|
|
1801
|
-
contents.AppliedExtensions =
|
|
1801
|
+
contents.AppliedExtensions = de_AppliedExtensions(data.AppliedExtensions, context);
|
|
1802
1802
|
}
|
|
1803
1803
|
if (data.CompletedAt != null) {
|
|
1804
1804
|
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
@@ -1831,7 +1831,7 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1831
1831
|
contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
|
|
1832
1832
|
}
|
|
1833
1833
|
if (data.EventLog != null) {
|
|
1834
|
-
contents.EventLog =
|
|
1834
|
+
contents.EventLog = de_DeploymentEvents(data.EventLog, context);
|
|
1835
1835
|
}
|
|
1836
1836
|
if (data.FinalBakeTimeInMinutes != null) {
|
|
1837
1837
|
contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
|
|
@@ -1859,8 +1859,8 @@ const deserializeAws_restJson1GetDeploymentCommand = async (output, context) =>
|
|
|
1859
1859
|
}
|
|
1860
1860
|
return contents;
|
|
1861
1861
|
};
|
|
1862
|
-
exports.
|
|
1863
|
-
const
|
|
1862
|
+
exports.de_GetDeploymentCommand = de_GetDeploymentCommand;
|
|
1863
|
+
const de_GetDeploymentCommandError = async (output, context) => {
|
|
1864
1864
|
const parsedOutput = {
|
|
1865
1865
|
...output,
|
|
1866
1866
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1869,13 +1869,13 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
|
|
|
1869
1869
|
switch (errorCode) {
|
|
1870
1870
|
case "BadRequestException":
|
|
1871
1871
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1872
|
-
throw await
|
|
1872
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1873
1873
|
case "InternalServerException":
|
|
1874
1874
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1875
|
-
throw await
|
|
1875
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1876
1876
|
case "ResourceNotFoundException":
|
|
1877
1877
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1878
|
-
throw await
|
|
1878
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1879
1879
|
default:
|
|
1880
1880
|
const parsedBody = parsedOutput.body;
|
|
1881
1881
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1886,9 +1886,9 @@ const deserializeAws_restJson1GetDeploymentCommandError = async (output, context
|
|
|
1886
1886
|
});
|
|
1887
1887
|
}
|
|
1888
1888
|
};
|
|
1889
|
-
const
|
|
1889
|
+
const de_GetDeploymentStrategyCommand = async (output, context) => {
|
|
1890
1890
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1891
|
-
return
|
|
1891
|
+
return de_GetDeploymentStrategyCommandError(output, context);
|
|
1892
1892
|
}
|
|
1893
1893
|
const contents = map({
|
|
1894
1894
|
$metadata: deserializeMetadata(output),
|
|
@@ -1920,8 +1920,8 @@ const deserializeAws_restJson1GetDeploymentStrategyCommand = async (output, cont
|
|
|
1920
1920
|
}
|
|
1921
1921
|
return contents;
|
|
1922
1922
|
};
|
|
1923
|
-
exports.
|
|
1924
|
-
const
|
|
1923
|
+
exports.de_GetDeploymentStrategyCommand = de_GetDeploymentStrategyCommand;
|
|
1924
|
+
const de_GetDeploymentStrategyCommandError = async (output, context) => {
|
|
1925
1925
|
const parsedOutput = {
|
|
1926
1926
|
...output,
|
|
1927
1927
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1930,13 +1930,13 @@ const deserializeAws_restJson1GetDeploymentStrategyCommandError = async (output,
|
|
|
1930
1930
|
switch (errorCode) {
|
|
1931
1931
|
case "BadRequestException":
|
|
1932
1932
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1933
|
-
throw await
|
|
1933
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1934
1934
|
case "InternalServerException":
|
|
1935
1935
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1936
|
-
throw await
|
|
1936
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1937
1937
|
case "ResourceNotFoundException":
|
|
1938
1938
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1939
|
-
throw await
|
|
1939
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1940
1940
|
default:
|
|
1941
1941
|
const parsedBody = parsedOutput.body;
|
|
1942
1942
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -1947,9 +1947,9 @@ const deserializeAws_restJson1GetDeploymentStrategyCommandError = async (output,
|
|
|
1947
1947
|
});
|
|
1948
1948
|
}
|
|
1949
1949
|
};
|
|
1950
|
-
const
|
|
1950
|
+
const de_GetEnvironmentCommand = async (output, context) => {
|
|
1951
1951
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1952
|
-
return
|
|
1952
|
+
return de_GetEnvironmentCommandError(output, context);
|
|
1953
1953
|
}
|
|
1954
1954
|
const contents = map({
|
|
1955
1955
|
$metadata: deserializeMetadata(output),
|
|
@@ -1965,7 +1965,7 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
1965
1965
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
1966
1966
|
}
|
|
1967
1967
|
if (data.Monitors != null) {
|
|
1968
|
-
contents.Monitors =
|
|
1968
|
+
contents.Monitors = de_MonitorList(data.Monitors, context);
|
|
1969
1969
|
}
|
|
1970
1970
|
if (data.Name != null) {
|
|
1971
1971
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -1975,8 +1975,8 @@ const deserializeAws_restJson1GetEnvironmentCommand = async (output, context) =>
|
|
|
1975
1975
|
}
|
|
1976
1976
|
return contents;
|
|
1977
1977
|
};
|
|
1978
|
-
exports.
|
|
1979
|
-
const
|
|
1978
|
+
exports.de_GetEnvironmentCommand = de_GetEnvironmentCommand;
|
|
1979
|
+
const de_GetEnvironmentCommandError = async (output, context) => {
|
|
1980
1980
|
const parsedOutput = {
|
|
1981
1981
|
...output,
|
|
1982
1982
|
body: await parseErrorBody(output.body, context),
|
|
@@ -1985,13 +1985,13 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
|
|
|
1985
1985
|
switch (errorCode) {
|
|
1986
1986
|
case "BadRequestException":
|
|
1987
1987
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
1988
|
-
throw await
|
|
1988
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1989
1989
|
case "InternalServerException":
|
|
1990
1990
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
1991
|
-
throw await
|
|
1991
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1992
1992
|
case "ResourceNotFoundException":
|
|
1993
1993
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
1994
|
-
throw await
|
|
1994
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1995
1995
|
default:
|
|
1996
1996
|
const parsedBody = parsedOutput.body;
|
|
1997
1997
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2002,16 +2002,16 @@ const deserializeAws_restJson1GetEnvironmentCommandError = async (output, contex
|
|
|
2002
2002
|
});
|
|
2003
2003
|
}
|
|
2004
2004
|
};
|
|
2005
|
-
const
|
|
2005
|
+
const de_GetExtensionCommand = async (output, context) => {
|
|
2006
2006
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2007
|
-
return
|
|
2007
|
+
return de_GetExtensionCommandError(output, context);
|
|
2008
2008
|
}
|
|
2009
2009
|
const contents = map({
|
|
2010
2010
|
$metadata: deserializeMetadata(output),
|
|
2011
2011
|
});
|
|
2012
2012
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2013
2013
|
if (data.Actions != null) {
|
|
2014
|
-
contents.Actions =
|
|
2014
|
+
contents.Actions = de_ActionsMap(data.Actions, context);
|
|
2015
2015
|
}
|
|
2016
2016
|
if (data.Arn != null) {
|
|
2017
2017
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -2026,15 +2026,15 @@ const deserializeAws_restJson1GetExtensionCommand = async (output, context) => {
|
|
|
2026
2026
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
2027
2027
|
}
|
|
2028
2028
|
if (data.Parameters != null) {
|
|
2029
|
-
contents.Parameters =
|
|
2029
|
+
contents.Parameters = de_ParameterMap(data.Parameters, context);
|
|
2030
2030
|
}
|
|
2031
2031
|
if (data.VersionNumber != null) {
|
|
2032
2032
|
contents.VersionNumber = (0, smithy_client_1.expectInt32)(data.VersionNumber);
|
|
2033
2033
|
}
|
|
2034
2034
|
return contents;
|
|
2035
2035
|
};
|
|
2036
|
-
exports.
|
|
2037
|
-
const
|
|
2036
|
+
exports.de_GetExtensionCommand = de_GetExtensionCommand;
|
|
2037
|
+
const de_GetExtensionCommandError = async (output, context) => {
|
|
2038
2038
|
const parsedOutput = {
|
|
2039
2039
|
...output,
|
|
2040
2040
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2043,13 +2043,13 @@ const deserializeAws_restJson1GetExtensionCommandError = async (output, context)
|
|
|
2043
2043
|
switch (errorCode) {
|
|
2044
2044
|
case "BadRequestException":
|
|
2045
2045
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2046
|
-
throw await
|
|
2046
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2047
2047
|
case "InternalServerException":
|
|
2048
2048
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2049
|
-
throw await
|
|
2049
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2050
2050
|
case "ResourceNotFoundException":
|
|
2051
2051
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2052
|
-
throw await
|
|
2052
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2053
2053
|
default:
|
|
2054
2054
|
const parsedBody = parsedOutput.body;
|
|
2055
2055
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2060,9 +2060,9 @@ const deserializeAws_restJson1GetExtensionCommandError = async (output, context)
|
|
|
2060
2060
|
});
|
|
2061
2061
|
}
|
|
2062
2062
|
};
|
|
2063
|
-
const
|
|
2063
|
+
const de_GetExtensionAssociationCommand = async (output, context) => {
|
|
2064
2064
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2065
|
-
return
|
|
2065
|
+
return de_GetExtensionAssociationCommandError(output, context);
|
|
2066
2066
|
}
|
|
2067
2067
|
const contents = map({
|
|
2068
2068
|
$metadata: deserializeMetadata(output),
|
|
@@ -2081,15 +2081,15 @@ const deserializeAws_restJson1GetExtensionAssociationCommand = async (output, co
|
|
|
2081
2081
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
2082
2082
|
}
|
|
2083
2083
|
if (data.Parameters != null) {
|
|
2084
|
-
contents.Parameters =
|
|
2084
|
+
contents.Parameters = de_ParameterValueMap(data.Parameters, context);
|
|
2085
2085
|
}
|
|
2086
2086
|
if (data.ResourceArn != null) {
|
|
2087
2087
|
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
2088
2088
|
}
|
|
2089
2089
|
return contents;
|
|
2090
2090
|
};
|
|
2091
|
-
exports.
|
|
2092
|
-
const
|
|
2091
|
+
exports.de_GetExtensionAssociationCommand = de_GetExtensionAssociationCommand;
|
|
2092
|
+
const de_GetExtensionAssociationCommandError = async (output, context) => {
|
|
2093
2093
|
const parsedOutput = {
|
|
2094
2094
|
...output,
|
|
2095
2095
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2098,13 +2098,13 @@ const deserializeAws_restJson1GetExtensionAssociationCommandError = async (outpu
|
|
|
2098
2098
|
switch (errorCode) {
|
|
2099
2099
|
case "BadRequestException":
|
|
2100
2100
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2101
|
-
throw await
|
|
2101
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2102
2102
|
case "InternalServerException":
|
|
2103
2103
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2104
|
-
throw await
|
|
2104
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2105
2105
|
case "ResourceNotFoundException":
|
|
2106
2106
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2107
|
-
throw await
|
|
2107
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2108
2108
|
default:
|
|
2109
2109
|
const parsedBody = parsedOutput.body;
|
|
2110
2110
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2115,9 +2115,9 @@ const deserializeAws_restJson1GetExtensionAssociationCommandError = async (outpu
|
|
|
2115
2115
|
});
|
|
2116
2116
|
}
|
|
2117
2117
|
};
|
|
2118
|
-
const
|
|
2118
|
+
const de_GetHostedConfigurationVersionCommand = async (output, context) => {
|
|
2119
2119
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2120
|
-
return
|
|
2120
|
+
return de_GetHostedConfigurationVersionCommandError(output, context);
|
|
2121
2121
|
}
|
|
2122
2122
|
const contents = map({
|
|
2123
2123
|
$metadata: deserializeMetadata(output),
|
|
@@ -2135,8 +2135,8 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommand = async (outp
|
|
|
2135
2135
|
contents.Content = data;
|
|
2136
2136
|
return contents;
|
|
2137
2137
|
};
|
|
2138
|
-
exports.
|
|
2139
|
-
const
|
|
2138
|
+
exports.de_GetHostedConfigurationVersionCommand = de_GetHostedConfigurationVersionCommand;
|
|
2139
|
+
const de_GetHostedConfigurationVersionCommandError = async (output, context) => {
|
|
2140
2140
|
const parsedOutput = {
|
|
2141
2141
|
...output,
|
|
2142
2142
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2145,13 +2145,13 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommandError = async
|
|
|
2145
2145
|
switch (errorCode) {
|
|
2146
2146
|
case "BadRequestException":
|
|
2147
2147
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2148
|
-
throw await
|
|
2148
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2149
2149
|
case "InternalServerException":
|
|
2150
2150
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2151
|
-
throw await
|
|
2151
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2152
2152
|
case "ResourceNotFoundException":
|
|
2153
2153
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2154
|
-
throw await
|
|
2154
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2155
2155
|
default:
|
|
2156
2156
|
const parsedBody = parsedOutput.body;
|
|
2157
2157
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2162,24 +2162,24 @@ const deserializeAws_restJson1GetHostedConfigurationVersionCommandError = async
|
|
|
2162
2162
|
});
|
|
2163
2163
|
}
|
|
2164
2164
|
};
|
|
2165
|
-
const
|
|
2165
|
+
const de_ListApplicationsCommand = async (output, context) => {
|
|
2166
2166
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2167
|
-
return
|
|
2167
|
+
return de_ListApplicationsCommandError(output, context);
|
|
2168
2168
|
}
|
|
2169
2169
|
const contents = map({
|
|
2170
2170
|
$metadata: deserializeMetadata(output),
|
|
2171
2171
|
});
|
|
2172
2172
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2173
2173
|
if (data.Items != null) {
|
|
2174
|
-
contents.Items =
|
|
2174
|
+
contents.Items = de_ApplicationList(data.Items, context);
|
|
2175
2175
|
}
|
|
2176
2176
|
if (data.NextToken != null) {
|
|
2177
2177
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2178
2178
|
}
|
|
2179
2179
|
return contents;
|
|
2180
2180
|
};
|
|
2181
|
-
exports.
|
|
2182
|
-
const
|
|
2181
|
+
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
2182
|
+
const de_ListApplicationsCommandError = async (output, context) => {
|
|
2183
2183
|
const parsedOutput = {
|
|
2184
2184
|
...output,
|
|
2185
2185
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2188,10 +2188,10 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
|
|
|
2188
2188
|
switch (errorCode) {
|
|
2189
2189
|
case "BadRequestException":
|
|
2190
2190
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2191
|
-
throw await
|
|
2191
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2192
2192
|
case "InternalServerException":
|
|
2193
2193
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2194
|
-
throw await
|
|
2194
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2195
2195
|
default:
|
|
2196
2196
|
const parsedBody = parsedOutput.body;
|
|
2197
2197
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2202,24 +2202,24 @@ const deserializeAws_restJson1ListApplicationsCommandError = async (output, cont
|
|
|
2202
2202
|
});
|
|
2203
2203
|
}
|
|
2204
2204
|
};
|
|
2205
|
-
const
|
|
2205
|
+
const de_ListConfigurationProfilesCommand = async (output, context) => {
|
|
2206
2206
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2207
|
-
return
|
|
2207
|
+
return de_ListConfigurationProfilesCommandError(output, context);
|
|
2208
2208
|
}
|
|
2209
2209
|
const contents = map({
|
|
2210
2210
|
$metadata: deserializeMetadata(output),
|
|
2211
2211
|
});
|
|
2212
2212
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2213
2213
|
if (data.Items != null) {
|
|
2214
|
-
contents.Items =
|
|
2214
|
+
contents.Items = de_ConfigurationProfileSummaryList(data.Items, context);
|
|
2215
2215
|
}
|
|
2216
2216
|
if (data.NextToken != null) {
|
|
2217
2217
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2218
2218
|
}
|
|
2219
2219
|
return contents;
|
|
2220
2220
|
};
|
|
2221
|
-
exports.
|
|
2222
|
-
const
|
|
2221
|
+
exports.de_ListConfigurationProfilesCommand = de_ListConfigurationProfilesCommand;
|
|
2222
|
+
const de_ListConfigurationProfilesCommandError = async (output, context) => {
|
|
2223
2223
|
const parsedOutput = {
|
|
2224
2224
|
...output,
|
|
2225
2225
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2228,13 +2228,13 @@ const deserializeAws_restJson1ListConfigurationProfilesCommandError = async (out
|
|
|
2228
2228
|
switch (errorCode) {
|
|
2229
2229
|
case "BadRequestException":
|
|
2230
2230
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2231
|
-
throw await
|
|
2231
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2232
2232
|
case "InternalServerException":
|
|
2233
2233
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2234
|
-
throw await
|
|
2234
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2235
2235
|
case "ResourceNotFoundException":
|
|
2236
2236
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2237
|
-
throw await
|
|
2237
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2238
2238
|
default:
|
|
2239
2239
|
const parsedBody = parsedOutput.body;
|
|
2240
2240
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2245,24 +2245,24 @@ const deserializeAws_restJson1ListConfigurationProfilesCommandError = async (out
|
|
|
2245
2245
|
});
|
|
2246
2246
|
}
|
|
2247
2247
|
};
|
|
2248
|
-
const
|
|
2248
|
+
const de_ListDeploymentsCommand = async (output, context) => {
|
|
2249
2249
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2250
|
-
return
|
|
2250
|
+
return de_ListDeploymentsCommandError(output, context);
|
|
2251
2251
|
}
|
|
2252
2252
|
const contents = map({
|
|
2253
2253
|
$metadata: deserializeMetadata(output),
|
|
2254
2254
|
});
|
|
2255
2255
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2256
2256
|
if (data.Items != null) {
|
|
2257
|
-
contents.Items =
|
|
2257
|
+
contents.Items = de_DeploymentList(data.Items, context);
|
|
2258
2258
|
}
|
|
2259
2259
|
if (data.NextToken != null) {
|
|
2260
2260
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2261
2261
|
}
|
|
2262
2262
|
return contents;
|
|
2263
2263
|
};
|
|
2264
|
-
exports.
|
|
2265
|
-
const
|
|
2264
|
+
exports.de_ListDeploymentsCommand = de_ListDeploymentsCommand;
|
|
2265
|
+
const de_ListDeploymentsCommandError = async (output, context) => {
|
|
2266
2266
|
const parsedOutput = {
|
|
2267
2267
|
...output,
|
|
2268
2268
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2271,13 +2271,13 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
|
|
|
2271
2271
|
switch (errorCode) {
|
|
2272
2272
|
case "BadRequestException":
|
|
2273
2273
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2274
|
-
throw await
|
|
2274
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2275
2275
|
case "InternalServerException":
|
|
2276
2276
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2277
|
-
throw await
|
|
2277
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2278
2278
|
case "ResourceNotFoundException":
|
|
2279
2279
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2280
|
-
throw await
|
|
2280
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2281
2281
|
default:
|
|
2282
2282
|
const parsedBody = parsedOutput.body;
|
|
2283
2283
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2288,24 +2288,24 @@ const deserializeAws_restJson1ListDeploymentsCommandError = async (output, conte
|
|
|
2288
2288
|
});
|
|
2289
2289
|
}
|
|
2290
2290
|
};
|
|
2291
|
-
const
|
|
2291
|
+
const de_ListDeploymentStrategiesCommand = async (output, context) => {
|
|
2292
2292
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2293
|
-
return
|
|
2293
|
+
return de_ListDeploymentStrategiesCommandError(output, context);
|
|
2294
2294
|
}
|
|
2295
2295
|
const contents = map({
|
|
2296
2296
|
$metadata: deserializeMetadata(output),
|
|
2297
2297
|
});
|
|
2298
2298
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2299
2299
|
if (data.Items != null) {
|
|
2300
|
-
contents.Items =
|
|
2300
|
+
contents.Items = de_DeploymentStrategyList(data.Items, context);
|
|
2301
2301
|
}
|
|
2302
2302
|
if (data.NextToken != null) {
|
|
2303
2303
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2304
2304
|
}
|
|
2305
2305
|
return contents;
|
|
2306
2306
|
};
|
|
2307
|
-
exports.
|
|
2308
|
-
const
|
|
2307
|
+
exports.de_ListDeploymentStrategiesCommand = de_ListDeploymentStrategiesCommand;
|
|
2308
|
+
const de_ListDeploymentStrategiesCommandError = async (output, context) => {
|
|
2309
2309
|
const parsedOutput = {
|
|
2310
2310
|
...output,
|
|
2311
2311
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2314,10 +2314,10 @@ const deserializeAws_restJson1ListDeploymentStrategiesCommandError = async (outp
|
|
|
2314
2314
|
switch (errorCode) {
|
|
2315
2315
|
case "BadRequestException":
|
|
2316
2316
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2317
|
-
throw await
|
|
2317
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2318
2318
|
case "InternalServerException":
|
|
2319
2319
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2320
|
-
throw await
|
|
2320
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2321
2321
|
default:
|
|
2322
2322
|
const parsedBody = parsedOutput.body;
|
|
2323
2323
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2328,24 +2328,24 @@ const deserializeAws_restJson1ListDeploymentStrategiesCommandError = async (outp
|
|
|
2328
2328
|
});
|
|
2329
2329
|
}
|
|
2330
2330
|
};
|
|
2331
|
-
const
|
|
2331
|
+
const de_ListEnvironmentsCommand = async (output, context) => {
|
|
2332
2332
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2333
|
-
return
|
|
2333
|
+
return de_ListEnvironmentsCommandError(output, context);
|
|
2334
2334
|
}
|
|
2335
2335
|
const contents = map({
|
|
2336
2336
|
$metadata: deserializeMetadata(output),
|
|
2337
2337
|
});
|
|
2338
2338
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2339
2339
|
if (data.Items != null) {
|
|
2340
|
-
contents.Items =
|
|
2340
|
+
contents.Items = de_EnvironmentList(data.Items, context);
|
|
2341
2341
|
}
|
|
2342
2342
|
if (data.NextToken != null) {
|
|
2343
2343
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2344
2344
|
}
|
|
2345
2345
|
return contents;
|
|
2346
2346
|
};
|
|
2347
|
-
exports.
|
|
2348
|
-
const
|
|
2347
|
+
exports.de_ListEnvironmentsCommand = de_ListEnvironmentsCommand;
|
|
2348
|
+
const de_ListEnvironmentsCommandError = async (output, context) => {
|
|
2349
2349
|
const parsedOutput = {
|
|
2350
2350
|
...output,
|
|
2351
2351
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2354,13 +2354,13 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
|
|
|
2354
2354
|
switch (errorCode) {
|
|
2355
2355
|
case "BadRequestException":
|
|
2356
2356
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2357
|
-
throw await
|
|
2357
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2358
2358
|
case "InternalServerException":
|
|
2359
2359
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2360
|
-
throw await
|
|
2360
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2361
2361
|
case "ResourceNotFoundException":
|
|
2362
2362
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2363
|
-
throw await
|
|
2363
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2364
2364
|
default:
|
|
2365
2365
|
const parsedBody = parsedOutput.body;
|
|
2366
2366
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2371,24 +2371,24 @@ const deserializeAws_restJson1ListEnvironmentsCommandError = async (output, cont
|
|
|
2371
2371
|
});
|
|
2372
2372
|
}
|
|
2373
2373
|
};
|
|
2374
|
-
const
|
|
2374
|
+
const de_ListExtensionAssociationsCommand = async (output, context) => {
|
|
2375
2375
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2376
|
-
return
|
|
2376
|
+
return de_ListExtensionAssociationsCommandError(output, context);
|
|
2377
2377
|
}
|
|
2378
2378
|
const contents = map({
|
|
2379
2379
|
$metadata: deserializeMetadata(output),
|
|
2380
2380
|
});
|
|
2381
2381
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2382
2382
|
if (data.Items != null) {
|
|
2383
|
-
contents.Items =
|
|
2383
|
+
contents.Items = de_ExtensionAssociationSummaries(data.Items, context);
|
|
2384
2384
|
}
|
|
2385
2385
|
if (data.NextToken != null) {
|
|
2386
2386
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2387
2387
|
}
|
|
2388
2388
|
return contents;
|
|
2389
2389
|
};
|
|
2390
|
-
exports.
|
|
2391
|
-
const
|
|
2390
|
+
exports.de_ListExtensionAssociationsCommand = de_ListExtensionAssociationsCommand;
|
|
2391
|
+
const de_ListExtensionAssociationsCommandError = async (output, context) => {
|
|
2392
2392
|
const parsedOutput = {
|
|
2393
2393
|
...output,
|
|
2394
2394
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2397,10 +2397,10 @@ const deserializeAws_restJson1ListExtensionAssociationsCommandError = async (out
|
|
|
2397
2397
|
switch (errorCode) {
|
|
2398
2398
|
case "BadRequestException":
|
|
2399
2399
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2400
|
-
throw await
|
|
2400
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2401
2401
|
case "InternalServerException":
|
|
2402
2402
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2403
|
-
throw await
|
|
2403
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2404
2404
|
default:
|
|
2405
2405
|
const parsedBody = parsedOutput.body;
|
|
2406
2406
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2411,24 +2411,24 @@ const deserializeAws_restJson1ListExtensionAssociationsCommandError = async (out
|
|
|
2411
2411
|
});
|
|
2412
2412
|
}
|
|
2413
2413
|
};
|
|
2414
|
-
const
|
|
2414
|
+
const de_ListExtensionsCommand = async (output, context) => {
|
|
2415
2415
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2416
|
-
return
|
|
2416
|
+
return de_ListExtensionsCommandError(output, context);
|
|
2417
2417
|
}
|
|
2418
2418
|
const contents = map({
|
|
2419
2419
|
$metadata: deserializeMetadata(output),
|
|
2420
2420
|
});
|
|
2421
2421
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2422
2422
|
if (data.Items != null) {
|
|
2423
|
-
contents.Items =
|
|
2423
|
+
contents.Items = de_ExtensionSummaries(data.Items, context);
|
|
2424
2424
|
}
|
|
2425
2425
|
if (data.NextToken != null) {
|
|
2426
2426
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2427
2427
|
}
|
|
2428
2428
|
return contents;
|
|
2429
2429
|
};
|
|
2430
|
-
exports.
|
|
2431
|
-
const
|
|
2430
|
+
exports.de_ListExtensionsCommand = de_ListExtensionsCommand;
|
|
2431
|
+
const de_ListExtensionsCommandError = async (output, context) => {
|
|
2432
2432
|
const parsedOutput = {
|
|
2433
2433
|
...output,
|
|
2434
2434
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2437,10 +2437,10 @@ const deserializeAws_restJson1ListExtensionsCommandError = async (output, contex
|
|
|
2437
2437
|
switch (errorCode) {
|
|
2438
2438
|
case "BadRequestException":
|
|
2439
2439
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2440
|
-
throw await
|
|
2440
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2441
2441
|
case "InternalServerException":
|
|
2442
2442
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2443
|
-
throw await
|
|
2443
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2444
2444
|
default:
|
|
2445
2445
|
const parsedBody = parsedOutput.body;
|
|
2446
2446
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2451,24 +2451,24 @@ const deserializeAws_restJson1ListExtensionsCommandError = async (output, contex
|
|
|
2451
2451
|
});
|
|
2452
2452
|
}
|
|
2453
2453
|
};
|
|
2454
|
-
const
|
|
2454
|
+
const de_ListHostedConfigurationVersionsCommand = async (output, context) => {
|
|
2455
2455
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2456
|
-
return
|
|
2456
|
+
return de_ListHostedConfigurationVersionsCommandError(output, context);
|
|
2457
2457
|
}
|
|
2458
2458
|
const contents = map({
|
|
2459
2459
|
$metadata: deserializeMetadata(output),
|
|
2460
2460
|
});
|
|
2461
2461
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2462
2462
|
if (data.Items != null) {
|
|
2463
|
-
contents.Items =
|
|
2463
|
+
contents.Items = de_HostedConfigurationVersionSummaryList(data.Items, context);
|
|
2464
2464
|
}
|
|
2465
2465
|
if (data.NextToken != null) {
|
|
2466
2466
|
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
2467
2467
|
}
|
|
2468
2468
|
return contents;
|
|
2469
2469
|
};
|
|
2470
|
-
exports.
|
|
2471
|
-
const
|
|
2470
|
+
exports.de_ListHostedConfigurationVersionsCommand = de_ListHostedConfigurationVersionsCommand;
|
|
2471
|
+
const de_ListHostedConfigurationVersionsCommandError = async (output, context) => {
|
|
2472
2472
|
const parsedOutput = {
|
|
2473
2473
|
...output,
|
|
2474
2474
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2477,13 +2477,13 @@ const deserializeAws_restJson1ListHostedConfigurationVersionsCommandError = asyn
|
|
|
2477
2477
|
switch (errorCode) {
|
|
2478
2478
|
case "BadRequestException":
|
|
2479
2479
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2480
|
-
throw await
|
|
2480
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2481
2481
|
case "InternalServerException":
|
|
2482
2482
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2483
|
-
throw await
|
|
2483
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2484
2484
|
case "ResourceNotFoundException":
|
|
2485
2485
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2486
|
-
throw await
|
|
2486
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2487
2487
|
default:
|
|
2488
2488
|
const parsedBody = parsedOutput.body;
|
|
2489
2489
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2494,21 +2494,21 @@ const deserializeAws_restJson1ListHostedConfigurationVersionsCommandError = asyn
|
|
|
2494
2494
|
});
|
|
2495
2495
|
}
|
|
2496
2496
|
};
|
|
2497
|
-
const
|
|
2497
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
2498
2498
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2499
|
-
return
|
|
2499
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
2500
2500
|
}
|
|
2501
2501
|
const contents = map({
|
|
2502
2502
|
$metadata: deserializeMetadata(output),
|
|
2503
2503
|
});
|
|
2504
2504
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2505
2505
|
if (data.Tags != null) {
|
|
2506
|
-
contents.Tags =
|
|
2506
|
+
contents.Tags = de_TagMap(data.Tags, context);
|
|
2507
2507
|
}
|
|
2508
2508
|
return contents;
|
|
2509
2509
|
};
|
|
2510
|
-
exports.
|
|
2511
|
-
const
|
|
2510
|
+
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
2511
|
+
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
2512
2512
|
const parsedOutput = {
|
|
2513
2513
|
...output,
|
|
2514
2514
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2517,13 +2517,13 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2517
2517
|
switch (errorCode) {
|
|
2518
2518
|
case "BadRequestException":
|
|
2519
2519
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2520
|
-
throw await
|
|
2520
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2521
2521
|
case "InternalServerException":
|
|
2522
2522
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2523
|
-
throw await
|
|
2523
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2524
2524
|
case "ResourceNotFoundException":
|
|
2525
2525
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2526
|
-
throw await
|
|
2526
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2527
2527
|
default:
|
|
2528
2528
|
const parsedBody = parsedOutput.body;
|
|
2529
2529
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2534,9 +2534,9 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2534
2534
|
});
|
|
2535
2535
|
}
|
|
2536
2536
|
};
|
|
2537
|
-
const
|
|
2537
|
+
const de_StartDeploymentCommand = async (output, context) => {
|
|
2538
2538
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2539
|
-
return
|
|
2539
|
+
return de_StartDeploymentCommandError(output, context);
|
|
2540
2540
|
}
|
|
2541
2541
|
const contents = map({
|
|
2542
2542
|
$metadata: deserializeMetadata(output),
|
|
@@ -2546,7 +2546,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2546
2546
|
contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
|
|
2547
2547
|
}
|
|
2548
2548
|
if (data.AppliedExtensions != null) {
|
|
2549
|
-
contents.AppliedExtensions =
|
|
2549
|
+
contents.AppliedExtensions = de_AppliedExtensions(data.AppliedExtensions, context);
|
|
2550
2550
|
}
|
|
2551
2551
|
if (data.CompletedAt != null) {
|
|
2552
2552
|
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
@@ -2579,7 +2579,7 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2579
2579
|
contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
|
|
2580
2580
|
}
|
|
2581
2581
|
if (data.EventLog != null) {
|
|
2582
|
-
contents.EventLog =
|
|
2582
|
+
contents.EventLog = de_DeploymentEvents(data.EventLog, context);
|
|
2583
2583
|
}
|
|
2584
2584
|
if (data.FinalBakeTimeInMinutes != null) {
|
|
2585
2585
|
contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
|
|
@@ -2607,8 +2607,8 @@ const deserializeAws_restJson1StartDeploymentCommand = async (output, context) =
|
|
|
2607
2607
|
}
|
|
2608
2608
|
return contents;
|
|
2609
2609
|
};
|
|
2610
|
-
exports.
|
|
2611
|
-
const
|
|
2610
|
+
exports.de_StartDeploymentCommand = de_StartDeploymentCommand;
|
|
2611
|
+
const de_StartDeploymentCommandError = async (output, context) => {
|
|
2612
2612
|
const parsedOutput = {
|
|
2613
2613
|
...output,
|
|
2614
2614
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2617,16 +2617,16 @@ const deserializeAws_restJson1StartDeploymentCommandError = async (output, conte
|
|
|
2617
2617
|
switch (errorCode) {
|
|
2618
2618
|
case "BadRequestException":
|
|
2619
2619
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2620
|
-
throw await
|
|
2620
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2621
2621
|
case "ConflictException":
|
|
2622
2622
|
case "com.amazonaws.appconfig#ConflictException":
|
|
2623
|
-
throw await
|
|
2623
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2624
2624
|
case "InternalServerException":
|
|
2625
2625
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2626
|
-
throw await
|
|
2626
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2627
2627
|
case "ResourceNotFoundException":
|
|
2628
2628
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2629
|
-
throw await
|
|
2629
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2630
2630
|
default:
|
|
2631
2631
|
const parsedBody = parsedOutput.body;
|
|
2632
2632
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2637,9 +2637,9 @@ const deserializeAws_restJson1StartDeploymentCommandError = async (output, conte
|
|
|
2637
2637
|
});
|
|
2638
2638
|
}
|
|
2639
2639
|
};
|
|
2640
|
-
const
|
|
2640
|
+
const de_StopDeploymentCommand = async (output, context) => {
|
|
2641
2641
|
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2642
|
-
return
|
|
2642
|
+
return de_StopDeploymentCommandError(output, context);
|
|
2643
2643
|
}
|
|
2644
2644
|
const contents = map({
|
|
2645
2645
|
$metadata: deserializeMetadata(output),
|
|
@@ -2649,7 +2649,7 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2649
2649
|
contents.ApplicationId = (0, smithy_client_1.expectString)(data.ApplicationId);
|
|
2650
2650
|
}
|
|
2651
2651
|
if (data.AppliedExtensions != null) {
|
|
2652
|
-
contents.AppliedExtensions =
|
|
2652
|
+
contents.AppliedExtensions = de_AppliedExtensions(data.AppliedExtensions, context);
|
|
2653
2653
|
}
|
|
2654
2654
|
if (data.CompletedAt != null) {
|
|
2655
2655
|
contents.CompletedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CompletedAt));
|
|
@@ -2682,7 +2682,7 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2682
2682
|
contents.EnvironmentId = (0, smithy_client_1.expectString)(data.EnvironmentId);
|
|
2683
2683
|
}
|
|
2684
2684
|
if (data.EventLog != null) {
|
|
2685
|
-
contents.EventLog =
|
|
2685
|
+
contents.EventLog = de_DeploymentEvents(data.EventLog, context);
|
|
2686
2686
|
}
|
|
2687
2687
|
if (data.FinalBakeTimeInMinutes != null) {
|
|
2688
2688
|
contents.FinalBakeTimeInMinutes = (0, smithy_client_1.expectInt32)(data.FinalBakeTimeInMinutes);
|
|
@@ -2710,8 +2710,8 @@ const deserializeAws_restJson1StopDeploymentCommand = async (output, context) =>
|
|
|
2710
2710
|
}
|
|
2711
2711
|
return contents;
|
|
2712
2712
|
};
|
|
2713
|
-
exports.
|
|
2714
|
-
const
|
|
2713
|
+
exports.de_StopDeploymentCommand = de_StopDeploymentCommand;
|
|
2714
|
+
const de_StopDeploymentCommandError = async (output, context) => {
|
|
2715
2715
|
const parsedOutput = {
|
|
2716
2716
|
...output,
|
|
2717
2717
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2720,13 +2720,13 @@ const deserializeAws_restJson1StopDeploymentCommandError = async (output, contex
|
|
|
2720
2720
|
switch (errorCode) {
|
|
2721
2721
|
case "BadRequestException":
|
|
2722
2722
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2723
|
-
throw await
|
|
2723
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2724
2724
|
case "InternalServerException":
|
|
2725
2725
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2726
|
-
throw await
|
|
2726
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2727
2727
|
case "ResourceNotFoundException":
|
|
2728
2728
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2729
|
-
throw await
|
|
2729
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2730
2730
|
default:
|
|
2731
2731
|
const parsedBody = parsedOutput.body;
|
|
2732
2732
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2737,9 +2737,9 @@ const deserializeAws_restJson1StopDeploymentCommandError = async (output, contex
|
|
|
2737
2737
|
});
|
|
2738
2738
|
}
|
|
2739
2739
|
};
|
|
2740
|
-
const
|
|
2740
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
2741
2741
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2742
|
-
return
|
|
2742
|
+
return de_TagResourceCommandError(output, context);
|
|
2743
2743
|
}
|
|
2744
2744
|
const contents = map({
|
|
2745
2745
|
$metadata: deserializeMetadata(output),
|
|
@@ -2747,8 +2747,8 @@ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
|
2747
2747
|
await collectBody(output.body, context);
|
|
2748
2748
|
return contents;
|
|
2749
2749
|
};
|
|
2750
|
-
exports.
|
|
2751
|
-
const
|
|
2750
|
+
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
2751
|
+
const de_TagResourceCommandError = async (output, context) => {
|
|
2752
2752
|
const parsedOutput = {
|
|
2753
2753
|
...output,
|
|
2754
2754
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2757,13 +2757,13 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2757
2757
|
switch (errorCode) {
|
|
2758
2758
|
case "BadRequestException":
|
|
2759
2759
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2760
|
-
throw await
|
|
2760
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2761
2761
|
case "InternalServerException":
|
|
2762
2762
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2763
|
-
throw await
|
|
2763
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2764
2764
|
case "ResourceNotFoundException":
|
|
2765
2765
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2766
|
-
throw await
|
|
2766
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2767
2767
|
default:
|
|
2768
2768
|
const parsedBody = parsedOutput.body;
|
|
2769
2769
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2774,9 +2774,9 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2774
2774
|
});
|
|
2775
2775
|
}
|
|
2776
2776
|
};
|
|
2777
|
-
const
|
|
2777
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
2778
2778
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
2779
|
-
return
|
|
2779
|
+
return de_UntagResourceCommandError(output, context);
|
|
2780
2780
|
}
|
|
2781
2781
|
const contents = map({
|
|
2782
2782
|
$metadata: deserializeMetadata(output),
|
|
@@ -2784,8 +2784,8 @@ const deserializeAws_restJson1UntagResourceCommand = async (output, context) =>
|
|
|
2784
2784
|
await collectBody(output.body, context);
|
|
2785
2785
|
return contents;
|
|
2786
2786
|
};
|
|
2787
|
-
exports.
|
|
2788
|
-
const
|
|
2787
|
+
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
2788
|
+
const de_UntagResourceCommandError = async (output, context) => {
|
|
2789
2789
|
const parsedOutput = {
|
|
2790
2790
|
...output,
|
|
2791
2791
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2794,13 +2794,13 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2794
2794
|
switch (errorCode) {
|
|
2795
2795
|
case "BadRequestException":
|
|
2796
2796
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2797
|
-
throw await
|
|
2797
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2798
2798
|
case "InternalServerException":
|
|
2799
2799
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2800
|
-
throw await
|
|
2800
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2801
2801
|
case "ResourceNotFoundException":
|
|
2802
2802
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2803
|
-
throw await
|
|
2803
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2804
2804
|
default:
|
|
2805
2805
|
const parsedBody = parsedOutput.body;
|
|
2806
2806
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2811,9 +2811,9 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2811
2811
|
});
|
|
2812
2812
|
}
|
|
2813
2813
|
};
|
|
2814
|
-
const
|
|
2814
|
+
const de_UpdateApplicationCommand = async (output, context) => {
|
|
2815
2815
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2816
|
-
return
|
|
2816
|
+
return de_UpdateApplicationCommandError(output, context);
|
|
2817
2817
|
}
|
|
2818
2818
|
const contents = map({
|
|
2819
2819
|
$metadata: deserializeMetadata(output),
|
|
@@ -2830,8 +2830,8 @@ const deserializeAws_restJson1UpdateApplicationCommand = async (output, context)
|
|
|
2830
2830
|
}
|
|
2831
2831
|
return contents;
|
|
2832
2832
|
};
|
|
2833
|
-
exports.
|
|
2834
|
-
const
|
|
2833
|
+
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
2834
|
+
const de_UpdateApplicationCommandError = async (output, context) => {
|
|
2835
2835
|
const parsedOutput = {
|
|
2836
2836
|
...output,
|
|
2837
2837
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2840,13 +2840,13 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
|
|
|
2840
2840
|
switch (errorCode) {
|
|
2841
2841
|
case "BadRequestException":
|
|
2842
2842
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2843
|
-
throw await
|
|
2843
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2844
2844
|
case "InternalServerException":
|
|
2845
2845
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2846
|
-
throw await
|
|
2846
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2847
2847
|
case "ResourceNotFoundException":
|
|
2848
2848
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2849
|
-
throw await
|
|
2849
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2850
2850
|
default:
|
|
2851
2851
|
const parsedBody = parsedOutput.body;
|
|
2852
2852
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2857,9 +2857,9 @@ const deserializeAws_restJson1UpdateApplicationCommandError = async (output, con
|
|
|
2857
2857
|
});
|
|
2858
2858
|
}
|
|
2859
2859
|
};
|
|
2860
|
-
const
|
|
2860
|
+
const de_UpdateConfigurationProfileCommand = async (output, context) => {
|
|
2861
2861
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2862
|
-
return
|
|
2862
|
+
return de_UpdateConfigurationProfileCommandError(output, context);
|
|
2863
2863
|
}
|
|
2864
2864
|
const contents = map({
|
|
2865
2865
|
$metadata: deserializeMetadata(output),
|
|
@@ -2887,12 +2887,12 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommand = async (output,
|
|
|
2887
2887
|
contents.Type = (0, smithy_client_1.expectString)(data.Type);
|
|
2888
2888
|
}
|
|
2889
2889
|
if (data.Validators != null) {
|
|
2890
|
-
contents.Validators =
|
|
2890
|
+
contents.Validators = de_ValidatorList(data.Validators, context);
|
|
2891
2891
|
}
|
|
2892
2892
|
return contents;
|
|
2893
2893
|
};
|
|
2894
|
-
exports.
|
|
2895
|
-
const
|
|
2894
|
+
exports.de_UpdateConfigurationProfileCommand = de_UpdateConfigurationProfileCommand;
|
|
2895
|
+
const de_UpdateConfigurationProfileCommandError = async (output, context) => {
|
|
2896
2896
|
const parsedOutput = {
|
|
2897
2897
|
...output,
|
|
2898
2898
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2901,13 +2901,13 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommandError = async (ou
|
|
|
2901
2901
|
switch (errorCode) {
|
|
2902
2902
|
case "BadRequestException":
|
|
2903
2903
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2904
|
-
throw await
|
|
2904
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2905
2905
|
case "InternalServerException":
|
|
2906
2906
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2907
|
-
throw await
|
|
2907
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2908
2908
|
case "ResourceNotFoundException":
|
|
2909
2909
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2910
|
-
throw await
|
|
2910
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2911
2911
|
default:
|
|
2912
2912
|
const parsedBody = parsedOutput.body;
|
|
2913
2913
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2918,9 +2918,9 @@ const deserializeAws_restJson1UpdateConfigurationProfileCommandError = async (ou
|
|
|
2918
2918
|
});
|
|
2919
2919
|
}
|
|
2920
2920
|
};
|
|
2921
|
-
const
|
|
2921
|
+
const de_UpdateDeploymentStrategyCommand = async (output, context) => {
|
|
2922
2922
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2923
|
-
return
|
|
2923
|
+
return de_UpdateDeploymentStrategyCommandError(output, context);
|
|
2924
2924
|
}
|
|
2925
2925
|
const contents = map({
|
|
2926
2926
|
$metadata: deserializeMetadata(output),
|
|
@@ -2952,8 +2952,8 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommand = async (output, c
|
|
|
2952
2952
|
}
|
|
2953
2953
|
return contents;
|
|
2954
2954
|
};
|
|
2955
|
-
exports.
|
|
2956
|
-
const
|
|
2955
|
+
exports.de_UpdateDeploymentStrategyCommand = de_UpdateDeploymentStrategyCommand;
|
|
2956
|
+
const de_UpdateDeploymentStrategyCommandError = async (output, context) => {
|
|
2957
2957
|
const parsedOutput = {
|
|
2958
2958
|
...output,
|
|
2959
2959
|
body: await parseErrorBody(output.body, context),
|
|
@@ -2962,13 +2962,13 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommandError = async (outp
|
|
|
2962
2962
|
switch (errorCode) {
|
|
2963
2963
|
case "BadRequestException":
|
|
2964
2964
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
2965
|
-
throw await
|
|
2965
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2966
2966
|
case "InternalServerException":
|
|
2967
2967
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
2968
|
-
throw await
|
|
2968
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2969
2969
|
case "ResourceNotFoundException":
|
|
2970
2970
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
2971
|
-
throw await
|
|
2971
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2972
2972
|
default:
|
|
2973
2973
|
const parsedBody = parsedOutput.body;
|
|
2974
2974
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -2979,9 +2979,9 @@ const deserializeAws_restJson1UpdateDeploymentStrategyCommandError = async (outp
|
|
|
2979
2979
|
});
|
|
2980
2980
|
}
|
|
2981
2981
|
};
|
|
2982
|
-
const
|
|
2982
|
+
const de_UpdateEnvironmentCommand = async (output, context) => {
|
|
2983
2983
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2984
|
-
return
|
|
2984
|
+
return de_UpdateEnvironmentCommandError(output, context);
|
|
2985
2985
|
}
|
|
2986
2986
|
const contents = map({
|
|
2987
2987
|
$metadata: deserializeMetadata(output),
|
|
@@ -2997,7 +2997,7 @@ const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context)
|
|
|
2997
2997
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
2998
2998
|
}
|
|
2999
2999
|
if (data.Monitors != null) {
|
|
3000
|
-
contents.Monitors =
|
|
3000
|
+
contents.Monitors = de_MonitorList(data.Monitors, context);
|
|
3001
3001
|
}
|
|
3002
3002
|
if (data.Name != null) {
|
|
3003
3003
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
@@ -3007,8 +3007,8 @@ const deserializeAws_restJson1UpdateEnvironmentCommand = async (output, context)
|
|
|
3007
3007
|
}
|
|
3008
3008
|
return contents;
|
|
3009
3009
|
};
|
|
3010
|
-
exports.
|
|
3011
|
-
const
|
|
3010
|
+
exports.de_UpdateEnvironmentCommand = de_UpdateEnvironmentCommand;
|
|
3011
|
+
const de_UpdateEnvironmentCommandError = async (output, context) => {
|
|
3012
3012
|
const parsedOutput = {
|
|
3013
3013
|
...output,
|
|
3014
3014
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3017,13 +3017,13 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
|
|
|
3017
3017
|
switch (errorCode) {
|
|
3018
3018
|
case "BadRequestException":
|
|
3019
3019
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
3020
|
-
throw await
|
|
3020
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3021
3021
|
case "InternalServerException":
|
|
3022
3022
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
3023
|
-
throw await
|
|
3023
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3024
3024
|
case "ResourceNotFoundException":
|
|
3025
3025
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
3026
|
-
throw await
|
|
3026
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3027
3027
|
default:
|
|
3028
3028
|
const parsedBody = parsedOutput.body;
|
|
3029
3029
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -3034,16 +3034,16 @@ const deserializeAws_restJson1UpdateEnvironmentCommandError = async (output, con
|
|
|
3034
3034
|
});
|
|
3035
3035
|
}
|
|
3036
3036
|
};
|
|
3037
|
-
const
|
|
3037
|
+
const de_UpdateExtensionCommand = async (output, context) => {
|
|
3038
3038
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3039
|
-
return
|
|
3039
|
+
return de_UpdateExtensionCommandError(output, context);
|
|
3040
3040
|
}
|
|
3041
3041
|
const contents = map({
|
|
3042
3042
|
$metadata: deserializeMetadata(output),
|
|
3043
3043
|
});
|
|
3044
3044
|
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3045
3045
|
if (data.Actions != null) {
|
|
3046
|
-
contents.Actions =
|
|
3046
|
+
contents.Actions = de_ActionsMap(data.Actions, context);
|
|
3047
3047
|
}
|
|
3048
3048
|
if (data.Arn != null) {
|
|
3049
3049
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
@@ -3058,15 +3058,15 @@ const deserializeAws_restJson1UpdateExtensionCommand = async (output, context) =
|
|
|
3058
3058
|
contents.Name = (0, smithy_client_1.expectString)(data.Name);
|
|
3059
3059
|
}
|
|
3060
3060
|
if (data.Parameters != null) {
|
|
3061
|
-
contents.Parameters =
|
|
3061
|
+
contents.Parameters = de_ParameterMap(data.Parameters, context);
|
|
3062
3062
|
}
|
|
3063
3063
|
if (data.VersionNumber != null) {
|
|
3064
3064
|
contents.VersionNumber = (0, smithy_client_1.expectInt32)(data.VersionNumber);
|
|
3065
3065
|
}
|
|
3066
3066
|
return contents;
|
|
3067
3067
|
};
|
|
3068
|
-
exports.
|
|
3069
|
-
const
|
|
3068
|
+
exports.de_UpdateExtensionCommand = de_UpdateExtensionCommand;
|
|
3069
|
+
const de_UpdateExtensionCommandError = async (output, context) => {
|
|
3070
3070
|
const parsedOutput = {
|
|
3071
3071
|
...output,
|
|
3072
3072
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3075,16 +3075,16 @@ const deserializeAws_restJson1UpdateExtensionCommandError = async (output, conte
|
|
|
3075
3075
|
switch (errorCode) {
|
|
3076
3076
|
case "BadRequestException":
|
|
3077
3077
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
3078
|
-
throw await
|
|
3078
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3079
3079
|
case "ConflictException":
|
|
3080
3080
|
case "com.amazonaws.appconfig#ConflictException":
|
|
3081
|
-
throw await
|
|
3081
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3082
3082
|
case "InternalServerException":
|
|
3083
3083
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
3084
|
-
throw await
|
|
3084
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3085
3085
|
case "ResourceNotFoundException":
|
|
3086
3086
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
3087
|
-
throw await
|
|
3087
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3088
3088
|
default:
|
|
3089
3089
|
const parsedBody = parsedOutput.body;
|
|
3090
3090
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -3095,9 +3095,9 @@ const deserializeAws_restJson1UpdateExtensionCommandError = async (output, conte
|
|
|
3095
3095
|
});
|
|
3096
3096
|
}
|
|
3097
3097
|
};
|
|
3098
|
-
const
|
|
3098
|
+
const de_UpdateExtensionAssociationCommand = async (output, context) => {
|
|
3099
3099
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3100
|
-
return
|
|
3100
|
+
return de_UpdateExtensionAssociationCommandError(output, context);
|
|
3101
3101
|
}
|
|
3102
3102
|
const contents = map({
|
|
3103
3103
|
$metadata: deserializeMetadata(output),
|
|
@@ -3116,15 +3116,15 @@ const deserializeAws_restJson1UpdateExtensionAssociationCommand = async (output,
|
|
|
3116
3116
|
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
3117
3117
|
}
|
|
3118
3118
|
if (data.Parameters != null) {
|
|
3119
|
-
contents.Parameters =
|
|
3119
|
+
contents.Parameters = de_ParameterValueMap(data.Parameters, context);
|
|
3120
3120
|
}
|
|
3121
3121
|
if (data.ResourceArn != null) {
|
|
3122
3122
|
contents.ResourceArn = (0, smithy_client_1.expectString)(data.ResourceArn);
|
|
3123
3123
|
}
|
|
3124
3124
|
return contents;
|
|
3125
3125
|
};
|
|
3126
|
-
exports.
|
|
3127
|
-
const
|
|
3126
|
+
exports.de_UpdateExtensionAssociationCommand = de_UpdateExtensionAssociationCommand;
|
|
3127
|
+
const de_UpdateExtensionAssociationCommandError = async (output, context) => {
|
|
3128
3128
|
const parsedOutput = {
|
|
3129
3129
|
...output,
|
|
3130
3130
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3133,13 +3133,13 @@ const deserializeAws_restJson1UpdateExtensionAssociationCommandError = async (ou
|
|
|
3133
3133
|
switch (errorCode) {
|
|
3134
3134
|
case "BadRequestException":
|
|
3135
3135
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
3136
|
-
throw await
|
|
3136
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3137
3137
|
case "InternalServerException":
|
|
3138
3138
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
3139
|
-
throw await
|
|
3139
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3140
3140
|
case "ResourceNotFoundException":
|
|
3141
3141
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
3142
|
-
throw await
|
|
3142
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3143
3143
|
default:
|
|
3144
3144
|
const parsedBody = parsedOutput.body;
|
|
3145
3145
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -3150,9 +3150,9 @@ const deserializeAws_restJson1UpdateExtensionAssociationCommandError = async (ou
|
|
|
3150
3150
|
});
|
|
3151
3151
|
}
|
|
3152
3152
|
};
|
|
3153
|
-
const
|
|
3153
|
+
const de_ValidateConfigurationCommand = async (output, context) => {
|
|
3154
3154
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
3155
|
-
return
|
|
3155
|
+
return de_ValidateConfigurationCommandError(output, context);
|
|
3156
3156
|
}
|
|
3157
3157
|
const contents = map({
|
|
3158
3158
|
$metadata: deserializeMetadata(output),
|
|
@@ -3160,8 +3160,8 @@ const deserializeAws_restJson1ValidateConfigurationCommand = async (output, cont
|
|
|
3160
3160
|
await collectBody(output.body, context);
|
|
3161
3161
|
return contents;
|
|
3162
3162
|
};
|
|
3163
|
-
exports.
|
|
3164
|
-
const
|
|
3163
|
+
exports.de_ValidateConfigurationCommand = de_ValidateConfigurationCommand;
|
|
3164
|
+
const de_ValidateConfigurationCommandError = async (output, context) => {
|
|
3165
3165
|
const parsedOutput = {
|
|
3166
3166
|
...output,
|
|
3167
3167
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3170,13 +3170,13 @@ const deserializeAws_restJson1ValidateConfigurationCommandError = async (output,
|
|
|
3170
3170
|
switch (errorCode) {
|
|
3171
3171
|
case "BadRequestException":
|
|
3172
3172
|
case "com.amazonaws.appconfig#BadRequestException":
|
|
3173
|
-
throw await
|
|
3173
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3174
3174
|
case "InternalServerException":
|
|
3175
3175
|
case "com.amazonaws.appconfig#InternalServerException":
|
|
3176
|
-
throw await
|
|
3176
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3177
3177
|
case "ResourceNotFoundException":
|
|
3178
3178
|
case "com.amazonaws.appconfig#ResourceNotFoundException":
|
|
3179
|
-
throw await
|
|
3179
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3180
3180
|
default:
|
|
3181
3181
|
const parsedBody = parsedOutput.body;
|
|
3182
3182
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -3188,11 +3188,11 @@ const deserializeAws_restJson1ValidateConfigurationCommandError = async (output,
|
|
|
3188
3188
|
}
|
|
3189
3189
|
};
|
|
3190
3190
|
const map = smithy_client_1.map;
|
|
3191
|
-
const
|
|
3191
|
+
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
3192
3192
|
const contents = map({});
|
|
3193
3193
|
const data = parsedOutput.body;
|
|
3194
3194
|
if (data.Details != null) {
|
|
3195
|
-
contents.Details =
|
|
3195
|
+
contents.Details = de_BadRequestDetails((0, smithy_client_1.expectUnion)(data.Details), context);
|
|
3196
3196
|
}
|
|
3197
3197
|
if (data.Message != null) {
|
|
3198
3198
|
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
@@ -3206,7 +3206,7 @@ const deserializeAws_restJson1BadRequestExceptionResponse = async (parsedOutput,
|
|
|
3206
3206
|
});
|
|
3207
3207
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3208
3208
|
};
|
|
3209
|
-
const
|
|
3209
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3210
3210
|
const contents = map({});
|
|
3211
3211
|
const data = parsedOutput.body;
|
|
3212
3212
|
if (data.Message != null) {
|
|
@@ -3218,7 +3218,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
|
|
|
3218
3218
|
});
|
|
3219
3219
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3220
3220
|
};
|
|
3221
|
-
const
|
|
3221
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
3222
3222
|
const contents = map({});
|
|
3223
3223
|
const data = parsedOutput.body;
|
|
3224
3224
|
if (data.Message != null) {
|
|
@@ -3230,7 +3230,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
3230
3230
|
});
|
|
3231
3231
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3232
3232
|
};
|
|
3233
|
-
const
|
|
3233
|
+
const de_PayloadTooLargeExceptionRes = async (parsedOutput, context) => {
|
|
3234
3234
|
const contents = map({});
|
|
3235
3235
|
const data = parsedOutput.body;
|
|
3236
3236
|
if (data.Limit != null) {
|
|
@@ -3251,7 +3251,7 @@ const deserializeAws_restJson1PayloadTooLargeExceptionResponse = async (parsedOu
|
|
|
3251
3251
|
});
|
|
3252
3252
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3253
3253
|
};
|
|
3254
|
-
const
|
|
3254
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
3255
3255
|
const contents = map({});
|
|
3256
3256
|
const data = parsedOutput.body;
|
|
3257
3257
|
if (data.Message != null) {
|
|
@@ -3266,7 +3266,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
3266
3266
|
});
|
|
3267
3267
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3268
3268
|
};
|
|
3269
|
-
const
|
|
3269
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
3270
3270
|
const contents = map({});
|
|
3271
3271
|
const data = parsedOutput.body;
|
|
3272
3272
|
if (data.Message != null) {
|
|
@@ -3278,7 +3278,7 @@ const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (par
|
|
|
3278
3278
|
});
|
|
3279
3279
|
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
3280
3280
|
};
|
|
3281
|
-
const
|
|
3281
|
+
const se_Action = (input, context) => {
|
|
3282
3282
|
return {
|
|
3283
3283
|
...(input.Description != null && { Description: input.Description }),
|
|
3284
3284
|
...(input.Name != null && { Name: input.Name }),
|
|
@@ -3286,51 +3286,51 @@ const serializeAws_restJson1Action = (input, context) => {
|
|
|
3286
3286
|
...(input.Uri != null && { Uri: input.Uri }),
|
|
3287
3287
|
};
|
|
3288
3288
|
};
|
|
3289
|
-
const
|
|
3289
|
+
const se_ActionList = (input, context) => {
|
|
3290
3290
|
return input
|
|
3291
3291
|
.filter((e) => e != null)
|
|
3292
3292
|
.map((entry) => {
|
|
3293
|
-
return
|
|
3293
|
+
return se_Action(entry, context);
|
|
3294
3294
|
});
|
|
3295
3295
|
};
|
|
3296
|
-
const
|
|
3296
|
+
const se_ActionsMap = (input, context) => {
|
|
3297
3297
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3298
3298
|
if (value === null) {
|
|
3299
3299
|
return acc;
|
|
3300
3300
|
}
|
|
3301
|
-
acc[key] =
|
|
3301
|
+
acc[key] = se_ActionList(value, context);
|
|
3302
3302
|
return acc;
|
|
3303
3303
|
}, {});
|
|
3304
3304
|
};
|
|
3305
|
-
const
|
|
3305
|
+
const se_Monitor = (input, context) => {
|
|
3306
3306
|
return {
|
|
3307
3307
|
...(input.AlarmArn != null && { AlarmArn: input.AlarmArn }),
|
|
3308
3308
|
...(input.AlarmRoleArn != null && { AlarmRoleArn: input.AlarmRoleArn }),
|
|
3309
3309
|
};
|
|
3310
3310
|
};
|
|
3311
|
-
const
|
|
3311
|
+
const se_MonitorList = (input, context) => {
|
|
3312
3312
|
return input
|
|
3313
3313
|
.filter((e) => e != null)
|
|
3314
3314
|
.map((entry) => {
|
|
3315
|
-
return
|
|
3315
|
+
return se_Monitor(entry, context);
|
|
3316
3316
|
});
|
|
3317
3317
|
};
|
|
3318
|
-
const
|
|
3318
|
+
const se_Parameter = (input, context) => {
|
|
3319
3319
|
return {
|
|
3320
3320
|
...(input.Description != null && { Description: input.Description }),
|
|
3321
3321
|
...(input.Required != null && { Required: input.Required }),
|
|
3322
3322
|
};
|
|
3323
3323
|
};
|
|
3324
|
-
const
|
|
3324
|
+
const se_ParameterMap = (input, context) => {
|
|
3325
3325
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3326
3326
|
if (value === null) {
|
|
3327
3327
|
return acc;
|
|
3328
3328
|
}
|
|
3329
|
-
acc[key] =
|
|
3329
|
+
acc[key] = se_Parameter(value, context);
|
|
3330
3330
|
return acc;
|
|
3331
3331
|
}, {});
|
|
3332
3332
|
};
|
|
3333
|
-
const
|
|
3333
|
+
const se_ParameterValueMap = (input, context) => {
|
|
3334
3334
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3335
3335
|
if (value === null) {
|
|
3336
3336
|
return acc;
|
|
@@ -3339,7 +3339,7 @@ const serializeAws_restJson1ParameterValueMap = (input, context) => {
|
|
|
3339
3339
|
return acc;
|
|
3340
3340
|
}, {});
|
|
3341
3341
|
};
|
|
3342
|
-
const
|
|
3342
|
+
const se_TagMap = (input, context) => {
|
|
3343
3343
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
3344
3344
|
if (value === null) {
|
|
3345
3345
|
return acc;
|
|
@@ -3348,20 +3348,20 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
3348
3348
|
return acc;
|
|
3349
3349
|
}, {});
|
|
3350
3350
|
};
|
|
3351
|
-
const
|
|
3351
|
+
const se_Validator = (input, context) => {
|
|
3352
3352
|
return {
|
|
3353
3353
|
...(input.Content != null && { Content: input.Content }),
|
|
3354
3354
|
...(input.Type != null && { Type: input.Type }),
|
|
3355
3355
|
};
|
|
3356
3356
|
};
|
|
3357
|
-
const
|
|
3357
|
+
const se_ValidatorList = (input, context) => {
|
|
3358
3358
|
return input
|
|
3359
3359
|
.filter((e) => e != null)
|
|
3360
3360
|
.map((entry) => {
|
|
3361
|
-
return
|
|
3361
|
+
return se_Validator(entry, context);
|
|
3362
3362
|
});
|
|
3363
3363
|
};
|
|
3364
|
-
const
|
|
3364
|
+
const de_Action = (output, context) => {
|
|
3365
3365
|
return {
|
|
3366
3366
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3367
3367
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -3369,7 +3369,7 @@ const deserializeAws_restJson1Action = (output, context) => {
|
|
|
3369
3369
|
Uri: (0, smithy_client_1.expectString)(output.Uri),
|
|
3370
3370
|
};
|
|
3371
3371
|
};
|
|
3372
|
-
const
|
|
3372
|
+
const de_ActionInvocation = (output, context) => {
|
|
3373
3373
|
return {
|
|
3374
3374
|
ActionName: (0, smithy_client_1.expectString)(output.ActionName),
|
|
3375
3375
|
ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
|
|
@@ -3380,139 +3380,135 @@ const deserializeAws_restJson1ActionInvocation = (output, context) => {
|
|
|
3380
3380
|
Uri: (0, smithy_client_1.expectString)(output.Uri),
|
|
3381
3381
|
};
|
|
3382
3382
|
};
|
|
3383
|
-
const
|
|
3383
|
+
const de_ActionInvocations = (output, context) => {
|
|
3384
3384
|
const retVal = (output || [])
|
|
3385
3385
|
.filter((e) => e != null)
|
|
3386
3386
|
.map((entry) => {
|
|
3387
3387
|
if (entry === null) {
|
|
3388
3388
|
return null;
|
|
3389
3389
|
}
|
|
3390
|
-
return
|
|
3390
|
+
return de_ActionInvocation(entry, context);
|
|
3391
3391
|
});
|
|
3392
3392
|
return retVal;
|
|
3393
3393
|
};
|
|
3394
|
-
const
|
|
3394
|
+
const de_ActionList = (output, context) => {
|
|
3395
3395
|
const retVal = (output || [])
|
|
3396
3396
|
.filter((e) => e != null)
|
|
3397
3397
|
.map((entry) => {
|
|
3398
3398
|
if (entry === null) {
|
|
3399
3399
|
return null;
|
|
3400
3400
|
}
|
|
3401
|
-
return
|
|
3401
|
+
return de_Action(entry, context);
|
|
3402
3402
|
});
|
|
3403
3403
|
return retVal;
|
|
3404
3404
|
};
|
|
3405
|
-
const
|
|
3405
|
+
const de_ActionsMap = (output, context) => {
|
|
3406
3406
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3407
3407
|
if (value === null) {
|
|
3408
3408
|
return acc;
|
|
3409
3409
|
}
|
|
3410
|
-
acc[key] =
|
|
3410
|
+
acc[key] = de_ActionList(value, context);
|
|
3411
3411
|
return acc;
|
|
3412
3412
|
}, {});
|
|
3413
3413
|
};
|
|
3414
|
-
const
|
|
3414
|
+
const de_Application = (output, context) => {
|
|
3415
3415
|
return {
|
|
3416
3416
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3417
3417
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3418
3418
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3419
3419
|
};
|
|
3420
3420
|
};
|
|
3421
|
-
const
|
|
3421
|
+
const de_ApplicationList = (output, context) => {
|
|
3422
3422
|
const retVal = (output || [])
|
|
3423
3423
|
.filter((e) => e != null)
|
|
3424
3424
|
.map((entry) => {
|
|
3425
3425
|
if (entry === null) {
|
|
3426
3426
|
return null;
|
|
3427
3427
|
}
|
|
3428
|
-
return
|
|
3428
|
+
return de_Application(entry, context);
|
|
3429
3429
|
});
|
|
3430
3430
|
return retVal;
|
|
3431
3431
|
};
|
|
3432
|
-
const
|
|
3432
|
+
const de_AppliedExtension = (output, context) => {
|
|
3433
3433
|
return {
|
|
3434
3434
|
ExtensionAssociationId: (0, smithy_client_1.expectString)(output.ExtensionAssociationId),
|
|
3435
3435
|
ExtensionId: (0, smithy_client_1.expectString)(output.ExtensionId),
|
|
3436
|
-
Parameters: output.Parameters != null ?
|
|
3436
|
+
Parameters: output.Parameters != null ? de_ParameterValueMap(output.Parameters, context) : undefined,
|
|
3437
3437
|
VersionNumber: (0, smithy_client_1.expectInt32)(output.VersionNumber),
|
|
3438
3438
|
};
|
|
3439
3439
|
};
|
|
3440
|
-
const
|
|
3440
|
+
const de_AppliedExtensions = (output, context) => {
|
|
3441
3441
|
const retVal = (output || [])
|
|
3442
3442
|
.filter((e) => e != null)
|
|
3443
3443
|
.map((entry) => {
|
|
3444
3444
|
if (entry === null) {
|
|
3445
3445
|
return null;
|
|
3446
3446
|
}
|
|
3447
|
-
return
|
|
3447
|
+
return de_AppliedExtension(entry, context);
|
|
3448
3448
|
});
|
|
3449
3449
|
return retVal;
|
|
3450
3450
|
};
|
|
3451
|
-
const
|
|
3451
|
+
const de_BadRequestDetails = (output, context) => {
|
|
3452
3452
|
if (output.InvalidConfiguration != null) {
|
|
3453
3453
|
return {
|
|
3454
|
-
InvalidConfiguration:
|
|
3454
|
+
InvalidConfiguration: de_InvalidConfigurationDetailList(output.InvalidConfiguration, context),
|
|
3455
3455
|
};
|
|
3456
3456
|
}
|
|
3457
3457
|
return { $unknown: Object.entries(output)[0] };
|
|
3458
3458
|
};
|
|
3459
|
-
const
|
|
3459
|
+
const de_ConfigurationProfileSummary = (output, context) => {
|
|
3460
3460
|
return {
|
|
3461
3461
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
3462
3462
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3463
3463
|
LocationUri: (0, smithy_client_1.expectString)(output.LocationUri),
|
|
3464
3464
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3465
3465
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3466
|
-
ValidatorTypes: output.ValidatorTypes != null
|
|
3467
|
-
? deserializeAws_restJson1ValidatorTypeList(output.ValidatorTypes, context)
|
|
3468
|
-
: undefined,
|
|
3466
|
+
ValidatorTypes: output.ValidatorTypes != null ? de_ValidatorTypeList(output.ValidatorTypes, context) : undefined,
|
|
3469
3467
|
};
|
|
3470
3468
|
};
|
|
3471
|
-
const
|
|
3469
|
+
const de_ConfigurationProfileSummaryList = (output, context) => {
|
|
3472
3470
|
const retVal = (output || [])
|
|
3473
3471
|
.filter((e) => e != null)
|
|
3474
3472
|
.map((entry) => {
|
|
3475
3473
|
if (entry === null) {
|
|
3476
3474
|
return null;
|
|
3477
3475
|
}
|
|
3478
|
-
return
|
|
3476
|
+
return de_ConfigurationProfileSummary(entry, context);
|
|
3479
3477
|
});
|
|
3480
3478
|
return retVal;
|
|
3481
3479
|
};
|
|
3482
|
-
const
|
|
3480
|
+
const de_DeploymentEvent = (output, context) => {
|
|
3483
3481
|
return {
|
|
3484
|
-
ActionInvocations: output.ActionInvocations != null
|
|
3485
|
-
? deserializeAws_restJson1ActionInvocations(output.ActionInvocations, context)
|
|
3486
|
-
: undefined,
|
|
3482
|
+
ActionInvocations: output.ActionInvocations != null ? de_ActionInvocations(output.ActionInvocations, context) : undefined,
|
|
3487
3483
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3488
3484
|
EventType: (0, smithy_client_1.expectString)(output.EventType),
|
|
3489
3485
|
OccurredAt: output.OccurredAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.OccurredAt)) : undefined,
|
|
3490
3486
|
TriggeredBy: (0, smithy_client_1.expectString)(output.TriggeredBy),
|
|
3491
3487
|
};
|
|
3492
3488
|
};
|
|
3493
|
-
const
|
|
3489
|
+
const de_DeploymentEvents = (output, context) => {
|
|
3494
3490
|
const retVal = (output || [])
|
|
3495
3491
|
.filter((e) => e != null)
|
|
3496
3492
|
.map((entry) => {
|
|
3497
3493
|
if (entry === null) {
|
|
3498
3494
|
return null;
|
|
3499
3495
|
}
|
|
3500
|
-
return
|
|
3496
|
+
return de_DeploymentEvent(entry, context);
|
|
3501
3497
|
});
|
|
3502
3498
|
return retVal;
|
|
3503
3499
|
};
|
|
3504
|
-
const
|
|
3500
|
+
const de_DeploymentList = (output, context) => {
|
|
3505
3501
|
const retVal = (output || [])
|
|
3506
3502
|
.filter((e) => e != null)
|
|
3507
3503
|
.map((entry) => {
|
|
3508
3504
|
if (entry === null) {
|
|
3509
3505
|
return null;
|
|
3510
3506
|
}
|
|
3511
|
-
return
|
|
3507
|
+
return de_DeploymentSummary(entry, context);
|
|
3512
3508
|
});
|
|
3513
3509
|
return retVal;
|
|
3514
3510
|
};
|
|
3515
|
-
const
|
|
3511
|
+
const de_DeploymentStrategy = (output, context) => {
|
|
3516
3512
|
return {
|
|
3517
3513
|
DeploymentDurationInMinutes: (0, smithy_client_1.expectInt32)(output.DeploymentDurationInMinutes),
|
|
3518
3514
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
@@ -3524,18 +3520,18 @@ const deserializeAws_restJson1DeploymentStrategy = (output, context) => {
|
|
|
3524
3520
|
ReplicateTo: (0, smithy_client_1.expectString)(output.ReplicateTo),
|
|
3525
3521
|
};
|
|
3526
3522
|
};
|
|
3527
|
-
const
|
|
3523
|
+
const de_DeploymentStrategyList = (output, context) => {
|
|
3528
3524
|
const retVal = (output || [])
|
|
3529
3525
|
.filter((e) => e != null)
|
|
3530
3526
|
.map((entry) => {
|
|
3531
3527
|
if (entry === null) {
|
|
3532
3528
|
return null;
|
|
3533
3529
|
}
|
|
3534
|
-
return
|
|
3530
|
+
return de_DeploymentStrategy(entry, context);
|
|
3535
3531
|
});
|
|
3536
3532
|
return retVal;
|
|
3537
3533
|
};
|
|
3538
|
-
const
|
|
3534
|
+
const de_DeploymentSummary = (output, context) => {
|
|
3539
3535
|
return {
|
|
3540
3536
|
CompletedAt: output.CompletedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CompletedAt)) : undefined,
|
|
3541
3537
|
ConfigurationName: (0, smithy_client_1.expectString)(output.ConfigurationName),
|
|
@@ -3550,57 +3546,57 @@ const deserializeAws_restJson1DeploymentSummary = (output, context) => {
|
|
|
3550
3546
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3551
3547
|
};
|
|
3552
3548
|
};
|
|
3553
|
-
const
|
|
3549
|
+
const de_Environment = (output, context) => {
|
|
3554
3550
|
return {
|
|
3555
3551
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
3556
3552
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3557
3553
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3558
|
-
Monitors: output.Monitors != null ?
|
|
3554
|
+
Monitors: output.Monitors != null ? de_MonitorList(output.Monitors, context) : undefined,
|
|
3559
3555
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3560
3556
|
State: (0, smithy_client_1.expectString)(output.State),
|
|
3561
3557
|
};
|
|
3562
3558
|
};
|
|
3563
|
-
const
|
|
3559
|
+
const de_EnvironmentList = (output, context) => {
|
|
3564
3560
|
const retVal = (output || [])
|
|
3565
3561
|
.filter((e) => e != null)
|
|
3566
3562
|
.map((entry) => {
|
|
3567
3563
|
if (entry === null) {
|
|
3568
3564
|
return null;
|
|
3569
3565
|
}
|
|
3570
|
-
return
|
|
3566
|
+
return de_Environment(entry, context);
|
|
3571
3567
|
});
|
|
3572
3568
|
return retVal;
|
|
3573
3569
|
};
|
|
3574
|
-
const
|
|
3570
|
+
const de_ExtensionAssociationSummaries = (output, context) => {
|
|
3575
3571
|
const retVal = (output || [])
|
|
3576
3572
|
.filter((e) => e != null)
|
|
3577
3573
|
.map((entry) => {
|
|
3578
3574
|
if (entry === null) {
|
|
3579
3575
|
return null;
|
|
3580
3576
|
}
|
|
3581
|
-
return
|
|
3577
|
+
return de_ExtensionAssociationSummary(entry, context);
|
|
3582
3578
|
});
|
|
3583
3579
|
return retVal;
|
|
3584
3580
|
};
|
|
3585
|
-
const
|
|
3581
|
+
const de_ExtensionAssociationSummary = (output, context) => {
|
|
3586
3582
|
return {
|
|
3587
3583
|
ExtensionArn: (0, smithy_client_1.expectString)(output.ExtensionArn),
|
|
3588
3584
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3589
3585
|
ResourceArn: (0, smithy_client_1.expectString)(output.ResourceArn),
|
|
3590
3586
|
};
|
|
3591
3587
|
};
|
|
3592
|
-
const
|
|
3588
|
+
const de_ExtensionSummaries = (output, context) => {
|
|
3593
3589
|
const retVal = (output || [])
|
|
3594
3590
|
.filter((e) => e != null)
|
|
3595
3591
|
.map((entry) => {
|
|
3596
3592
|
if (entry === null) {
|
|
3597
3593
|
return null;
|
|
3598
3594
|
}
|
|
3599
|
-
return
|
|
3595
|
+
return de_ExtensionSummary(entry, context);
|
|
3600
3596
|
});
|
|
3601
3597
|
return retVal;
|
|
3602
3598
|
};
|
|
3603
|
-
const
|
|
3599
|
+
const de_ExtensionSummary = (output, context) => {
|
|
3604
3600
|
return {
|
|
3605
3601
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
3606
3602
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
@@ -3609,7 +3605,7 @@ const deserializeAws_restJson1ExtensionSummary = (output, context) => {
|
|
|
3609
3605
|
VersionNumber: (0, smithy_client_1.expectInt32)(output.VersionNumber),
|
|
3610
3606
|
};
|
|
3611
3607
|
};
|
|
3612
|
-
const
|
|
3608
|
+
const de_HostedConfigurationVersionSummary = (output, context) => {
|
|
3613
3609
|
return {
|
|
3614
3610
|
ApplicationId: (0, smithy_client_1.expectString)(output.ApplicationId),
|
|
3615
3611
|
ConfigurationProfileId: (0, smithy_client_1.expectString)(output.ConfigurationProfileId),
|
|
@@ -3619,18 +3615,18 @@ const deserializeAws_restJson1HostedConfigurationVersionSummary = (output, conte
|
|
|
3619
3615
|
VersionNumber: (0, smithy_client_1.expectInt32)(output.VersionNumber),
|
|
3620
3616
|
};
|
|
3621
3617
|
};
|
|
3622
|
-
const
|
|
3618
|
+
const de_HostedConfigurationVersionSummaryList = (output, context) => {
|
|
3623
3619
|
const retVal = (output || [])
|
|
3624
3620
|
.filter((e) => e != null)
|
|
3625
3621
|
.map((entry) => {
|
|
3626
3622
|
if (entry === null) {
|
|
3627
3623
|
return null;
|
|
3628
3624
|
}
|
|
3629
|
-
return
|
|
3625
|
+
return de_HostedConfigurationVersionSummary(entry, context);
|
|
3630
3626
|
});
|
|
3631
3627
|
return retVal;
|
|
3632
3628
|
};
|
|
3633
|
-
const
|
|
3629
|
+
const de_InvalidConfigurationDetail = (output, context) => {
|
|
3634
3630
|
return {
|
|
3635
3631
|
Constraint: (0, smithy_client_1.expectString)(output.Constraint),
|
|
3636
3632
|
Location: (0, smithy_client_1.expectString)(output.Location),
|
|
@@ -3639,50 +3635,50 @@ const deserializeAws_restJson1InvalidConfigurationDetail = (output, context) =>
|
|
|
3639
3635
|
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
3640
3636
|
};
|
|
3641
3637
|
};
|
|
3642
|
-
const
|
|
3638
|
+
const de_InvalidConfigurationDetailList = (output, context) => {
|
|
3643
3639
|
const retVal = (output || [])
|
|
3644
3640
|
.filter((e) => e != null)
|
|
3645
3641
|
.map((entry) => {
|
|
3646
3642
|
if (entry === null) {
|
|
3647
3643
|
return null;
|
|
3648
3644
|
}
|
|
3649
|
-
return
|
|
3645
|
+
return de_InvalidConfigurationDetail(entry, context);
|
|
3650
3646
|
});
|
|
3651
3647
|
return retVal;
|
|
3652
3648
|
};
|
|
3653
|
-
const
|
|
3649
|
+
const de_Monitor = (output, context) => {
|
|
3654
3650
|
return {
|
|
3655
3651
|
AlarmArn: (0, smithy_client_1.expectString)(output.AlarmArn),
|
|
3656
3652
|
AlarmRoleArn: (0, smithy_client_1.expectString)(output.AlarmRoleArn),
|
|
3657
3653
|
};
|
|
3658
3654
|
};
|
|
3659
|
-
const
|
|
3655
|
+
const de_MonitorList = (output, context) => {
|
|
3660
3656
|
const retVal = (output || [])
|
|
3661
3657
|
.filter((e) => e != null)
|
|
3662
3658
|
.map((entry) => {
|
|
3663
3659
|
if (entry === null) {
|
|
3664
3660
|
return null;
|
|
3665
3661
|
}
|
|
3666
|
-
return
|
|
3662
|
+
return de_Monitor(entry, context);
|
|
3667
3663
|
});
|
|
3668
3664
|
return retVal;
|
|
3669
3665
|
};
|
|
3670
|
-
const
|
|
3666
|
+
const de_Parameter = (output, context) => {
|
|
3671
3667
|
return {
|
|
3672
3668
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3673
3669
|
Required: (0, smithy_client_1.expectBoolean)(output.Required),
|
|
3674
3670
|
};
|
|
3675
3671
|
};
|
|
3676
|
-
const
|
|
3672
|
+
const de_ParameterMap = (output, context) => {
|
|
3677
3673
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3678
3674
|
if (value === null) {
|
|
3679
3675
|
return acc;
|
|
3680
3676
|
}
|
|
3681
|
-
acc[key] =
|
|
3677
|
+
acc[key] = de_Parameter(value, context);
|
|
3682
3678
|
return acc;
|
|
3683
3679
|
}, {});
|
|
3684
3680
|
};
|
|
3685
|
-
const
|
|
3681
|
+
const de_ParameterValueMap = (output, context) => {
|
|
3686
3682
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3687
3683
|
if (value === null) {
|
|
3688
3684
|
return acc;
|
|
@@ -3691,7 +3687,7 @@ const deserializeAws_restJson1ParameterValueMap = (output, context) => {
|
|
|
3691
3687
|
return acc;
|
|
3692
3688
|
}, {});
|
|
3693
3689
|
};
|
|
3694
|
-
const
|
|
3690
|
+
const de_TagMap = (output, context) => {
|
|
3695
3691
|
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
3696
3692
|
if (value === null) {
|
|
3697
3693
|
return acc;
|
|
@@ -3700,24 +3696,24 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3700
3696
|
return acc;
|
|
3701
3697
|
}, {});
|
|
3702
3698
|
};
|
|
3703
|
-
const
|
|
3699
|
+
const de_Validator = (output, context) => {
|
|
3704
3700
|
return {
|
|
3705
3701
|
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
3706
3702
|
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3707
3703
|
};
|
|
3708
3704
|
};
|
|
3709
|
-
const
|
|
3705
|
+
const de_ValidatorList = (output, context) => {
|
|
3710
3706
|
const retVal = (output || [])
|
|
3711
3707
|
.filter((e) => e != null)
|
|
3712
3708
|
.map((entry) => {
|
|
3713
3709
|
if (entry === null) {
|
|
3714
3710
|
return null;
|
|
3715
3711
|
}
|
|
3716
|
-
return
|
|
3712
|
+
return de_Validator(entry, context);
|
|
3717
3713
|
});
|
|
3718
3714
|
return retVal;
|
|
3719
3715
|
};
|
|
3720
|
-
const
|
|
3716
|
+
const de_ValidatorTypeList = (output, context) => {
|
|
3721
3717
|
const retVal = (output || [])
|
|
3722
3718
|
.filter((e) => e != null)
|
|
3723
3719
|
.map((entry) => {
|