@aws-sdk/client-appconfig 3.476.0 → 3.477.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/protocols/Aws_restJson1.js +322 -635
- package/dist-es/protocols/Aws_restJson1.js +323 -636
- package/package.json +5 -4
|
@@ -3,41 +3,33 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
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
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 core_1 = require("@aws-sdk/core");
|
|
6
|
-
const
|
|
6
|
+
const core_2 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const AppConfigServiceException_1 = require("../models/AppConfigServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_CreateApplicationCommand = async (input, context) => {
|
|
11
|
-
const
|
|
11
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
12
12
|
const headers = {
|
|
13
13
|
"content-type": "application/json",
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
b.bp("/applications");
|
|
16
16
|
let body;
|
|
17
17
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
18
18
|
Description: [],
|
|
19
19
|
Name: [],
|
|
20
20
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
21
21
|
}));
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
hostname,
|
|
25
|
-
port,
|
|
26
|
-
method: "POST",
|
|
27
|
-
headers,
|
|
28
|
-
path: resolvedPath,
|
|
29
|
-
body,
|
|
30
|
-
});
|
|
22
|
+
b.m("POST").h(headers).b(body);
|
|
23
|
+
return b.build();
|
|
31
24
|
};
|
|
32
25
|
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
33
26
|
const se_CreateConfigurationProfileCommand = async (input, context) => {
|
|
34
|
-
const
|
|
27
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
35
28
|
const headers = {
|
|
36
29
|
"content-type": "application/json",
|
|
37
30
|
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
31
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles");
|
|
32
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
41
33
|
let body;
|
|
42
34
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
43
35
|
Description: [],
|
|
@@ -49,23 +41,16 @@ const se_CreateConfigurationProfileCommand = async (input, context) => {
|
|
|
49
41
|
Type: [],
|
|
50
42
|
Validators: (_) => (0, smithy_client_1._json)(_),
|
|
51
43
|
}));
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
hostname,
|
|
55
|
-
port,
|
|
56
|
-
method: "POST",
|
|
57
|
-
headers,
|
|
58
|
-
path: resolvedPath,
|
|
59
|
-
body,
|
|
60
|
-
});
|
|
44
|
+
b.m("POST").h(headers).b(body);
|
|
45
|
+
return b.build();
|
|
61
46
|
};
|
|
62
47
|
exports.se_CreateConfigurationProfileCommand = se_CreateConfigurationProfileCommand;
|
|
63
48
|
const se_CreateDeploymentStrategyCommand = async (input, context) => {
|
|
64
|
-
const
|
|
49
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
65
50
|
const headers = {
|
|
66
51
|
"content-type": "application/json",
|
|
67
52
|
};
|
|
68
|
-
|
|
53
|
+
b.bp("/deploymentstrategies");
|
|
69
54
|
let body;
|
|
70
55
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
71
56
|
DeploymentDurationInMinutes: [],
|
|
@@ -77,25 +62,17 @@ const se_CreateDeploymentStrategyCommand = async (input, context) => {
|
|
|
77
62
|
ReplicateTo: [],
|
|
78
63
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
79
64
|
}));
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
hostname,
|
|
83
|
-
port,
|
|
84
|
-
method: "POST",
|
|
85
|
-
headers,
|
|
86
|
-
path: resolvedPath,
|
|
87
|
-
body,
|
|
88
|
-
});
|
|
65
|
+
b.m("POST").h(headers).b(body);
|
|
66
|
+
return b.build();
|
|
89
67
|
};
|
|
90
68
|
exports.se_CreateDeploymentStrategyCommand = se_CreateDeploymentStrategyCommand;
|
|
91
69
|
const se_CreateEnvironmentCommand = async (input, context) => {
|
|
92
|
-
const
|
|
70
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
93
71
|
const headers = {
|
|
94
72
|
"content-type": "application/json",
|
|
95
73
|
};
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
74
|
+
b.bp("/applications/{ApplicationId}/environments");
|
|
75
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
99
76
|
let body;
|
|
100
77
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
101
78
|
Description: [],
|
|
@@ -103,27 +80,17 @@ const se_CreateEnvironmentCommand = async (input, context) => {
|
|
|
103
80
|
Name: [],
|
|
104
81
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
105
82
|
}));
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
hostname,
|
|
109
|
-
port,
|
|
110
|
-
method: "POST",
|
|
111
|
-
headers,
|
|
112
|
-
path: resolvedPath,
|
|
113
|
-
body,
|
|
114
|
-
});
|
|
83
|
+
b.m("POST").h(headers).b(body);
|
|
84
|
+
return b.build();
|
|
115
85
|
};
|
|
116
86
|
exports.se_CreateEnvironmentCommand = se_CreateEnvironmentCommand;
|
|
117
87
|
const se_CreateExtensionCommand = async (input, context) => {
|
|
118
|
-
const
|
|
88
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
119
89
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
120
90
|
"content-type": "application/json",
|
|
121
|
-
|
|
122
|
-
() => isSerializableHeaderValue(input.LatestVersionNumber),
|
|
123
|
-
() => input.LatestVersionNumber.toString(),
|
|
124
|
-
],
|
|
91
|
+
[_lvn]: [() => isSerializableHeaderValue(input[_LVN]), () => input[_LVN].toString()],
|
|
125
92
|
});
|
|
126
|
-
|
|
93
|
+
b.bp("/extensions");
|
|
127
94
|
let body;
|
|
128
95
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
129
96
|
Actions: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -132,23 +99,16 @@ const se_CreateExtensionCommand = async (input, context) => {
|
|
|
132
99
|
Parameters: (_) => (0, smithy_client_1._json)(_),
|
|
133
100
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
134
101
|
}));
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
hostname,
|
|
138
|
-
port,
|
|
139
|
-
method: "POST",
|
|
140
|
-
headers,
|
|
141
|
-
path: resolvedPath,
|
|
142
|
-
body,
|
|
143
|
-
});
|
|
102
|
+
b.m("POST").h(headers).b(body);
|
|
103
|
+
return b.build();
|
|
144
104
|
};
|
|
145
105
|
exports.se_CreateExtensionCommand = se_CreateExtensionCommand;
|
|
146
106
|
const se_CreateExtensionAssociationCommand = async (input, context) => {
|
|
147
|
-
const
|
|
107
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
148
108
|
const headers = {
|
|
149
109
|
"content-type": "application/json",
|
|
150
110
|
};
|
|
151
|
-
|
|
111
|
+
b.bp("/extensionassociations");
|
|
152
112
|
let body;
|
|
153
113
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
154
114
|
ExtensionIdentifier: [],
|
|
@@ -157,569 +117,345 @@ const se_CreateExtensionAssociationCommand = async (input, context) => {
|
|
|
157
117
|
ResourceIdentifier: [],
|
|
158
118
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
159
119
|
}));
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
hostname,
|
|
163
|
-
port,
|
|
164
|
-
method: "POST",
|
|
165
|
-
headers,
|
|
166
|
-
path: resolvedPath,
|
|
167
|
-
body,
|
|
168
|
-
});
|
|
120
|
+
b.m("POST").h(headers).b(body);
|
|
121
|
+
return b.build();
|
|
169
122
|
};
|
|
170
123
|
exports.se_CreateExtensionAssociationCommand = se_CreateExtensionAssociationCommand;
|
|
171
124
|
const se_CreateHostedConfigurationVersionCommand = async (input, context) => {
|
|
172
|
-
const
|
|
125
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
173
126
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
});
|
|
182
|
-
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
183
|
-
"/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions";
|
|
184
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
185
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
127
|
+
[_ct]: input[_CT] || "application/octet-stream",
|
|
128
|
+
[_d]: input[_D],
|
|
129
|
+
[_lvn]: [() => isSerializableHeaderValue(input[_LVN]), () => input[_LVN].toString()],
|
|
130
|
+
[_v]: input[_VL],
|
|
131
|
+
});
|
|
132
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions");
|
|
133
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
134
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
186
135
|
let body;
|
|
187
136
|
if (input.Content !== undefined) {
|
|
188
137
|
body = input.Content;
|
|
189
138
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
hostname,
|
|
193
|
-
port,
|
|
194
|
-
method: "POST",
|
|
195
|
-
headers,
|
|
196
|
-
path: resolvedPath,
|
|
197
|
-
body,
|
|
198
|
-
});
|
|
139
|
+
b.m("POST").h(headers).b(body);
|
|
140
|
+
return b.build();
|
|
199
141
|
};
|
|
200
142
|
exports.se_CreateHostedConfigurationVersionCommand = se_CreateHostedConfigurationVersionCommand;
|
|
201
143
|
const se_DeleteApplicationCommand = async (input, context) => {
|
|
202
|
-
const
|
|
144
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
203
145
|
const headers = {};
|
|
204
|
-
|
|
205
|
-
|
|
146
|
+
b.bp("/applications/{ApplicationId}");
|
|
147
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
206
148
|
let body;
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
hostname,
|
|
210
|
-
port,
|
|
211
|
-
method: "DELETE",
|
|
212
|
-
headers,
|
|
213
|
-
path: resolvedPath,
|
|
214
|
-
body,
|
|
215
|
-
});
|
|
149
|
+
b.m("DELETE").h(headers).b(body);
|
|
150
|
+
return b.build();
|
|
216
151
|
};
|
|
217
152
|
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
218
153
|
const se_DeleteConfigurationProfileCommand = async (input, context) => {
|
|
219
|
-
const
|
|
154
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
220
155
|
const headers = {};
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
156
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
157
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
158
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
225
159
|
let body;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
hostname,
|
|
229
|
-
port,
|
|
230
|
-
method: "DELETE",
|
|
231
|
-
headers,
|
|
232
|
-
path: resolvedPath,
|
|
233
|
-
body,
|
|
234
|
-
});
|
|
160
|
+
b.m("DELETE").h(headers).b(body);
|
|
161
|
+
return b.build();
|
|
235
162
|
};
|
|
236
163
|
exports.se_DeleteConfigurationProfileCommand = se_DeleteConfigurationProfileCommand;
|
|
237
164
|
const se_DeleteDeploymentStrategyCommand = async (input, context) => {
|
|
238
|
-
const
|
|
165
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
239
166
|
const headers = {};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
167
|
+
b.bp("/deployementstrategies/{DeploymentStrategyId}");
|
|
168
|
+
b.p("DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
243
169
|
let body;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
hostname,
|
|
247
|
-
port,
|
|
248
|
-
method: "DELETE",
|
|
249
|
-
headers,
|
|
250
|
-
path: resolvedPath,
|
|
251
|
-
body,
|
|
252
|
-
});
|
|
170
|
+
b.m("DELETE").h(headers).b(body);
|
|
171
|
+
return b.build();
|
|
253
172
|
};
|
|
254
173
|
exports.se_DeleteDeploymentStrategyCommand = se_DeleteDeploymentStrategyCommand;
|
|
255
174
|
const se_DeleteEnvironmentCommand = async (input, context) => {
|
|
256
|
-
const
|
|
175
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
257
176
|
const headers = {};
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
177
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
178
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
179
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
262
180
|
let body;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
hostname,
|
|
266
|
-
port,
|
|
267
|
-
method: "DELETE",
|
|
268
|
-
headers,
|
|
269
|
-
path: resolvedPath,
|
|
270
|
-
body,
|
|
271
|
-
});
|
|
181
|
+
b.m("DELETE").h(headers).b(body);
|
|
182
|
+
return b.build();
|
|
272
183
|
};
|
|
273
184
|
exports.se_DeleteEnvironmentCommand = se_DeleteEnvironmentCommand;
|
|
274
185
|
const se_DeleteExtensionCommand = async (input, context) => {
|
|
275
|
-
const
|
|
186
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
276
187
|
const headers = {};
|
|
277
|
-
|
|
278
|
-
|
|
188
|
+
b.bp("/extensions/{ExtensionIdentifier}");
|
|
189
|
+
b.p("ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
279
190
|
const query = (0, smithy_client_1.map)({
|
|
280
|
-
|
|
191
|
+
[_ve]: [() => input.VersionNumber !== void 0, () => input[_VN].toString()],
|
|
281
192
|
});
|
|
282
193
|
let body;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
hostname,
|
|
286
|
-
port,
|
|
287
|
-
method: "DELETE",
|
|
288
|
-
headers,
|
|
289
|
-
path: resolvedPath,
|
|
290
|
-
query,
|
|
291
|
-
body,
|
|
292
|
-
});
|
|
194
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
195
|
+
return b.build();
|
|
293
196
|
};
|
|
294
197
|
exports.se_DeleteExtensionCommand = se_DeleteExtensionCommand;
|
|
295
198
|
const se_DeleteExtensionAssociationCommand = async (input, context) => {
|
|
296
|
-
const
|
|
199
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
297
200
|
const headers = {};
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
201
|
+
b.bp("/extensionassociations/{ExtensionAssociationId}");
|
|
202
|
+
b.p("ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
301
203
|
let body;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
hostname,
|
|
305
|
-
port,
|
|
306
|
-
method: "DELETE",
|
|
307
|
-
headers,
|
|
308
|
-
path: resolvedPath,
|
|
309
|
-
body,
|
|
310
|
-
});
|
|
204
|
+
b.m("DELETE").h(headers).b(body);
|
|
205
|
+
return b.build();
|
|
311
206
|
};
|
|
312
207
|
exports.se_DeleteExtensionAssociationCommand = se_DeleteExtensionAssociationCommand;
|
|
313
208
|
const se_DeleteHostedConfigurationVersionCommand = async (input, context) => {
|
|
314
|
-
const
|
|
209
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
315
210
|
const headers = {};
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
211
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}");
|
|
212
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
213
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
214
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
321
215
|
let body;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
hostname,
|
|
325
|
-
port,
|
|
326
|
-
method: "DELETE",
|
|
327
|
-
headers,
|
|
328
|
-
path: resolvedPath,
|
|
329
|
-
body,
|
|
330
|
-
});
|
|
216
|
+
b.m("DELETE").h(headers).b(body);
|
|
217
|
+
return b.build();
|
|
331
218
|
};
|
|
332
219
|
exports.se_DeleteHostedConfigurationVersionCommand = se_DeleteHostedConfigurationVersionCommand;
|
|
333
220
|
const se_GetApplicationCommand = async (input, context) => {
|
|
334
|
-
const
|
|
221
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
335
222
|
const headers = {};
|
|
336
|
-
|
|
337
|
-
|
|
223
|
+
b.bp("/applications/{ApplicationId}");
|
|
224
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
338
225
|
let body;
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
hostname,
|
|
342
|
-
port,
|
|
343
|
-
method: "GET",
|
|
344
|
-
headers,
|
|
345
|
-
path: resolvedPath,
|
|
346
|
-
body,
|
|
347
|
-
});
|
|
226
|
+
b.m("GET").h(headers).b(body);
|
|
227
|
+
return b.build();
|
|
348
228
|
};
|
|
349
229
|
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
350
230
|
const se_GetConfigurationCommand = async (input, context) => {
|
|
351
|
-
const
|
|
231
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
352
232
|
const headers = {};
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Configuration", () => input.Configuration, "{Configuration}", false);
|
|
233
|
+
b.bp("/applications/{Application}/environments/{Environment}/configurations/{Configuration}");
|
|
234
|
+
b.p("Application", () => input.Application, "{Application}", false);
|
|
235
|
+
b.p("Environment", () => input.Environment, "{Environment}", false);
|
|
236
|
+
b.p("Configuration", () => input.Configuration, "{Configuration}", false);
|
|
358
237
|
const query = (0, smithy_client_1.map)({
|
|
359
|
-
|
|
360
|
-
|
|
238
|
+
[_ci]: [, (0, smithy_client_1.expectNonNull)(input[_CI], `ClientId`)],
|
|
239
|
+
[_ccv]: [, input[_CCV]],
|
|
361
240
|
});
|
|
362
241
|
let body;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
hostname,
|
|
366
|
-
port,
|
|
367
|
-
method: "GET",
|
|
368
|
-
headers,
|
|
369
|
-
path: resolvedPath,
|
|
370
|
-
query,
|
|
371
|
-
body,
|
|
372
|
-
});
|
|
242
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
243
|
+
return b.build();
|
|
373
244
|
};
|
|
374
245
|
exports.se_GetConfigurationCommand = se_GetConfigurationCommand;
|
|
375
246
|
const se_GetConfigurationProfileCommand = async (input, context) => {
|
|
376
|
-
const
|
|
247
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
377
248
|
const headers = {};
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
249
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
250
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
251
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
382
252
|
let body;
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
hostname,
|
|
386
|
-
port,
|
|
387
|
-
method: "GET",
|
|
388
|
-
headers,
|
|
389
|
-
path: resolvedPath,
|
|
390
|
-
body,
|
|
391
|
-
});
|
|
253
|
+
b.m("GET").h(headers).b(body);
|
|
254
|
+
return b.build();
|
|
392
255
|
};
|
|
393
256
|
exports.se_GetConfigurationProfileCommand = se_GetConfigurationProfileCommand;
|
|
394
257
|
const se_GetDeploymentCommand = async (input, context) => {
|
|
395
|
-
const
|
|
258
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
396
259
|
const headers = {};
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeploymentNumber", () => input.DeploymentNumber.toString(), "{DeploymentNumber}", false);
|
|
260
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}");
|
|
261
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
262
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
263
|
+
b.p("DeploymentNumber", () => input.DeploymentNumber.toString(), "{DeploymentNumber}", false);
|
|
402
264
|
let body;
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
hostname,
|
|
406
|
-
port,
|
|
407
|
-
method: "GET",
|
|
408
|
-
headers,
|
|
409
|
-
path: resolvedPath,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
265
|
+
b.m("GET").h(headers).b(body);
|
|
266
|
+
return b.build();
|
|
412
267
|
};
|
|
413
268
|
exports.se_GetDeploymentCommand = se_GetDeploymentCommand;
|
|
414
269
|
const se_GetDeploymentStrategyCommand = async (input, context) => {
|
|
415
|
-
const
|
|
270
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
416
271
|
const headers = {};
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
272
|
+
b.bp("/deploymentstrategies/{DeploymentStrategyId}");
|
|
273
|
+
b.p("DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
420
274
|
let body;
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
hostname,
|
|
424
|
-
port,
|
|
425
|
-
method: "GET",
|
|
426
|
-
headers,
|
|
427
|
-
path: resolvedPath,
|
|
428
|
-
body,
|
|
429
|
-
});
|
|
275
|
+
b.m("GET").h(headers).b(body);
|
|
276
|
+
return b.build();
|
|
430
277
|
};
|
|
431
278
|
exports.se_GetDeploymentStrategyCommand = se_GetDeploymentStrategyCommand;
|
|
432
279
|
const se_GetEnvironmentCommand = async (input, context) => {
|
|
433
|
-
const
|
|
280
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
434
281
|
const headers = {};
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
282
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
283
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
284
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
439
285
|
let body;
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
hostname,
|
|
443
|
-
port,
|
|
444
|
-
method: "GET",
|
|
445
|
-
headers,
|
|
446
|
-
path: resolvedPath,
|
|
447
|
-
body,
|
|
448
|
-
});
|
|
286
|
+
b.m("GET").h(headers).b(body);
|
|
287
|
+
return b.build();
|
|
449
288
|
};
|
|
450
289
|
exports.se_GetEnvironmentCommand = se_GetEnvironmentCommand;
|
|
451
290
|
const se_GetExtensionCommand = async (input, context) => {
|
|
452
|
-
const
|
|
291
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
453
292
|
const headers = {};
|
|
454
|
-
|
|
455
|
-
|
|
293
|
+
b.bp("/extensions/{ExtensionIdentifier}");
|
|
294
|
+
b.p("ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
456
295
|
const query = (0, smithy_client_1.map)({
|
|
457
|
-
|
|
296
|
+
[_vn]: [() => input.VersionNumber !== void 0, () => input[_VN].toString()],
|
|
458
297
|
});
|
|
459
298
|
let body;
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
hostname,
|
|
463
|
-
port,
|
|
464
|
-
method: "GET",
|
|
465
|
-
headers,
|
|
466
|
-
path: resolvedPath,
|
|
467
|
-
query,
|
|
468
|
-
body,
|
|
469
|
-
});
|
|
299
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
300
|
+
return b.build();
|
|
470
301
|
};
|
|
471
302
|
exports.se_GetExtensionCommand = se_GetExtensionCommand;
|
|
472
303
|
const se_GetExtensionAssociationCommand = async (input, context) => {
|
|
473
|
-
const
|
|
304
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
474
305
|
const headers = {};
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
306
|
+
b.bp("/extensionassociations/{ExtensionAssociationId}");
|
|
307
|
+
b.p("ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
478
308
|
let body;
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
hostname,
|
|
482
|
-
port,
|
|
483
|
-
method: "GET",
|
|
484
|
-
headers,
|
|
485
|
-
path: resolvedPath,
|
|
486
|
-
body,
|
|
487
|
-
});
|
|
309
|
+
b.m("GET").h(headers).b(body);
|
|
310
|
+
return b.build();
|
|
488
311
|
};
|
|
489
312
|
exports.se_GetExtensionAssociationCommand = se_GetExtensionAssociationCommand;
|
|
490
313
|
const se_GetHostedConfigurationVersionCommand = async (input, context) => {
|
|
491
|
-
const
|
|
314
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
492
315
|
const headers = {};
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
316
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions/{VersionNumber}");
|
|
317
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
318
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
319
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
498
320
|
let body;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
hostname,
|
|
502
|
-
port,
|
|
503
|
-
method: "GET",
|
|
504
|
-
headers,
|
|
505
|
-
path: resolvedPath,
|
|
506
|
-
body,
|
|
507
|
-
});
|
|
321
|
+
b.m("GET").h(headers).b(body);
|
|
322
|
+
return b.build();
|
|
508
323
|
};
|
|
509
324
|
exports.se_GetHostedConfigurationVersionCommand = se_GetHostedConfigurationVersionCommand;
|
|
510
325
|
const se_ListApplicationsCommand = async (input, context) => {
|
|
511
|
-
const
|
|
326
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
512
327
|
const headers = {};
|
|
513
|
-
|
|
328
|
+
b.bp("/applications");
|
|
514
329
|
const query = (0, smithy_client_1.map)({
|
|
515
|
-
|
|
516
|
-
|
|
330
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
331
|
+
[_nt]: [, input[_NT]],
|
|
517
332
|
});
|
|
518
333
|
let body;
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
hostname,
|
|
522
|
-
port,
|
|
523
|
-
method: "GET",
|
|
524
|
-
headers,
|
|
525
|
-
path: resolvedPath,
|
|
526
|
-
query,
|
|
527
|
-
body,
|
|
528
|
-
});
|
|
334
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
335
|
+
return b.build();
|
|
529
336
|
};
|
|
530
337
|
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
531
338
|
const se_ListConfigurationProfilesCommand = async (input, context) => {
|
|
532
|
-
const
|
|
339
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
533
340
|
const headers = {};
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
341
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles");
|
|
342
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
537
343
|
const query = (0, smithy_client_1.map)({
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
344
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
345
|
+
[_nt]: [, input[_NT]],
|
|
346
|
+
[_t]: [, input[_T]],
|
|
541
347
|
});
|
|
542
348
|
let body;
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
hostname,
|
|
546
|
-
port,
|
|
547
|
-
method: "GET",
|
|
548
|
-
headers,
|
|
549
|
-
path: resolvedPath,
|
|
550
|
-
query,
|
|
551
|
-
body,
|
|
552
|
-
});
|
|
349
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
350
|
+
return b.build();
|
|
553
351
|
};
|
|
554
352
|
exports.se_ListConfigurationProfilesCommand = se_ListConfigurationProfilesCommand;
|
|
555
353
|
const se_ListDeploymentsCommand = async (input, context) => {
|
|
556
|
-
const
|
|
354
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
557
355
|
const headers = {};
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
356
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments");
|
|
357
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
358
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
562
359
|
const query = (0, smithy_client_1.map)({
|
|
563
|
-
|
|
564
|
-
|
|
360
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
361
|
+
[_nt]: [, input[_NT]],
|
|
565
362
|
});
|
|
566
363
|
let body;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "GET",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
query,
|
|
575
|
-
body,
|
|
576
|
-
});
|
|
364
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
365
|
+
return b.build();
|
|
577
366
|
};
|
|
578
367
|
exports.se_ListDeploymentsCommand = se_ListDeploymentsCommand;
|
|
579
368
|
const se_ListDeploymentStrategiesCommand = async (input, context) => {
|
|
580
|
-
const
|
|
369
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
581
370
|
const headers = {};
|
|
582
|
-
|
|
371
|
+
b.bp("/deploymentstrategies");
|
|
583
372
|
const query = (0, smithy_client_1.map)({
|
|
584
|
-
|
|
585
|
-
|
|
373
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
374
|
+
[_nt]: [, input[_NT]],
|
|
586
375
|
});
|
|
587
376
|
let body;
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
hostname,
|
|
591
|
-
port,
|
|
592
|
-
method: "GET",
|
|
593
|
-
headers,
|
|
594
|
-
path: resolvedPath,
|
|
595
|
-
query,
|
|
596
|
-
body,
|
|
597
|
-
});
|
|
377
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
378
|
+
return b.build();
|
|
598
379
|
};
|
|
599
380
|
exports.se_ListDeploymentStrategiesCommand = se_ListDeploymentStrategiesCommand;
|
|
600
381
|
const se_ListEnvironmentsCommand = async (input, context) => {
|
|
601
|
-
const
|
|
382
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
602
383
|
const headers = {};
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
384
|
+
b.bp("/applications/{ApplicationId}/environments");
|
|
385
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
606
386
|
const query = (0, smithy_client_1.map)({
|
|
607
|
-
|
|
608
|
-
|
|
387
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
388
|
+
[_nt]: [, input[_NT]],
|
|
609
389
|
});
|
|
610
390
|
let body;
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
hostname,
|
|
614
|
-
port,
|
|
615
|
-
method: "GET",
|
|
616
|
-
headers,
|
|
617
|
-
path: resolvedPath,
|
|
618
|
-
query,
|
|
619
|
-
body,
|
|
620
|
-
});
|
|
391
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
392
|
+
return b.build();
|
|
621
393
|
};
|
|
622
394
|
exports.se_ListEnvironmentsCommand = se_ListEnvironmentsCommand;
|
|
623
395
|
const se_ListExtensionAssociationsCommand = async (input, context) => {
|
|
624
|
-
const
|
|
396
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
625
397
|
const headers = {};
|
|
626
|
-
|
|
398
|
+
b.bp("/extensionassociations");
|
|
627
399
|
const query = (0, smithy_client_1.map)({
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
],
|
|
634
|
-
max_results: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
|
|
635
|
-
next_token: [, input.NextToken],
|
|
400
|
+
[_ri]: [, input[_RI]],
|
|
401
|
+
[_ei]: [, input[_EI]],
|
|
402
|
+
[_evn]: [() => input.ExtensionVersionNumber !== void 0, () => input[_EVN].toString()],
|
|
403
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
404
|
+
[_nt]: [, input[_NT]],
|
|
636
405
|
});
|
|
637
406
|
let body;
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
hostname,
|
|
641
|
-
port,
|
|
642
|
-
method: "GET",
|
|
643
|
-
headers,
|
|
644
|
-
path: resolvedPath,
|
|
645
|
-
query,
|
|
646
|
-
body,
|
|
647
|
-
});
|
|
407
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
408
|
+
return b.build();
|
|
648
409
|
};
|
|
649
410
|
exports.se_ListExtensionAssociationsCommand = se_ListExtensionAssociationsCommand;
|
|
650
411
|
const se_ListExtensionsCommand = async (input, context) => {
|
|
651
|
-
const
|
|
412
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
652
413
|
const headers = {};
|
|
653
|
-
|
|
414
|
+
b.bp("/extensions");
|
|
654
415
|
const query = (0, smithy_client_1.map)({
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
416
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
417
|
+
[_nt]: [, input[_NT]],
|
|
418
|
+
[_n]: [, input[_N]],
|
|
658
419
|
});
|
|
659
420
|
let body;
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
hostname,
|
|
663
|
-
port,
|
|
664
|
-
method: "GET",
|
|
665
|
-
headers,
|
|
666
|
-
path: resolvedPath,
|
|
667
|
-
query,
|
|
668
|
-
body,
|
|
669
|
-
});
|
|
421
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
422
|
+
return b.build();
|
|
670
423
|
};
|
|
671
424
|
exports.se_ListExtensionsCommand = se_ListExtensionsCommand;
|
|
672
425
|
const se_ListHostedConfigurationVersionsCommand = async (input, context) => {
|
|
673
|
-
const
|
|
426
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
674
427
|
const headers = {};
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
428
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/hostedconfigurationversions");
|
|
429
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
430
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
679
431
|
const query = (0, smithy_client_1.map)({
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
432
|
+
[_mr]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
433
|
+
[_nt]: [, input[_NT]],
|
|
434
|
+
[_vl]: [, input[_VL]],
|
|
683
435
|
});
|
|
684
436
|
let body;
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
hostname,
|
|
688
|
-
port,
|
|
689
|
-
method: "GET",
|
|
690
|
-
headers,
|
|
691
|
-
path: resolvedPath,
|
|
692
|
-
query,
|
|
693
|
-
body,
|
|
694
|
-
});
|
|
437
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
438
|
+
return b.build();
|
|
695
439
|
};
|
|
696
440
|
exports.se_ListHostedConfigurationVersionsCommand = se_ListHostedConfigurationVersionsCommand;
|
|
697
441
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
698
|
-
const
|
|
442
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
699
443
|
const headers = {};
|
|
700
|
-
|
|
701
|
-
|
|
444
|
+
b.bp("/tags/{ResourceArn}");
|
|
445
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
702
446
|
let body;
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
hostname,
|
|
706
|
-
port,
|
|
707
|
-
method: "GET",
|
|
708
|
-
headers,
|
|
709
|
-
path: resolvedPath,
|
|
710
|
-
body,
|
|
711
|
-
});
|
|
447
|
+
b.m("GET").h(headers).b(body);
|
|
448
|
+
return b.build();
|
|
712
449
|
};
|
|
713
450
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
714
451
|
const se_StartDeploymentCommand = async (input, context) => {
|
|
715
|
-
const
|
|
452
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
716
453
|
const headers = {
|
|
717
454
|
"content-type": "application/json",
|
|
718
455
|
};
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
456
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments");
|
|
457
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
458
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
723
459
|
let body;
|
|
724
460
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
725
461
|
ConfigurationProfileId: [],
|
|
@@ -729,115 +465,77 @@ const se_StartDeploymentCommand = async (input, context) => {
|
|
|
729
465
|
KmsKeyIdentifier: [],
|
|
730
466
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
731
467
|
}));
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
hostname,
|
|
735
|
-
port,
|
|
736
|
-
method: "POST",
|
|
737
|
-
headers,
|
|
738
|
-
path: resolvedPath,
|
|
739
|
-
body,
|
|
740
|
-
});
|
|
468
|
+
b.m("POST").h(headers).b(body);
|
|
469
|
+
return b.build();
|
|
741
470
|
};
|
|
742
471
|
exports.se_StartDeploymentCommand = se_StartDeploymentCommand;
|
|
743
472
|
const se_StopDeploymentCommand = async (input, context) => {
|
|
744
|
-
const
|
|
473
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
745
474
|
const headers = {};
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeploymentNumber", () => input.DeploymentNumber.toString(), "{DeploymentNumber}", false);
|
|
475
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}/deployments/{DeploymentNumber}");
|
|
476
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
477
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
478
|
+
b.p("DeploymentNumber", () => input.DeploymentNumber.toString(), "{DeploymentNumber}", false);
|
|
751
479
|
let body;
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
hostname,
|
|
755
|
-
port,
|
|
756
|
-
method: "DELETE",
|
|
757
|
-
headers,
|
|
758
|
-
path: resolvedPath,
|
|
759
|
-
body,
|
|
760
|
-
});
|
|
480
|
+
b.m("DELETE").h(headers).b(body);
|
|
481
|
+
return b.build();
|
|
761
482
|
};
|
|
762
483
|
exports.se_StopDeploymentCommand = se_StopDeploymentCommand;
|
|
763
484
|
const se_TagResourceCommand = async (input, context) => {
|
|
764
|
-
const
|
|
485
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
765
486
|
const headers = {
|
|
766
487
|
"content-type": "application/json",
|
|
767
488
|
};
|
|
768
|
-
|
|
769
|
-
|
|
489
|
+
b.bp("/tags/{ResourceArn}");
|
|
490
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
770
491
|
let body;
|
|
771
492
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
772
493
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
773
494
|
}));
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
hostname,
|
|
777
|
-
port,
|
|
778
|
-
method: "POST",
|
|
779
|
-
headers,
|
|
780
|
-
path: resolvedPath,
|
|
781
|
-
body,
|
|
782
|
-
});
|
|
495
|
+
b.m("POST").h(headers).b(body);
|
|
496
|
+
return b.build();
|
|
783
497
|
};
|
|
784
498
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
785
499
|
const se_UntagResourceCommand = async (input, context) => {
|
|
786
|
-
const
|
|
500
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
787
501
|
const headers = {};
|
|
788
|
-
|
|
789
|
-
|
|
502
|
+
b.bp("/tags/{ResourceArn}");
|
|
503
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
790
504
|
const query = (0, smithy_client_1.map)({
|
|
791
|
-
|
|
505
|
+
[_tK]: [
|
|
792
506
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
793
|
-
() => (input
|
|
507
|
+
() => (input[_TK] || []).map((_entry) => _entry),
|
|
794
508
|
],
|
|
795
509
|
});
|
|
796
510
|
let body;
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
hostname,
|
|
800
|
-
port,
|
|
801
|
-
method: "DELETE",
|
|
802
|
-
headers,
|
|
803
|
-
path: resolvedPath,
|
|
804
|
-
query,
|
|
805
|
-
body,
|
|
806
|
-
});
|
|
511
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
512
|
+
return b.build();
|
|
807
513
|
};
|
|
808
514
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
809
515
|
const se_UpdateApplicationCommand = async (input, context) => {
|
|
810
|
-
const
|
|
516
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
811
517
|
const headers = {
|
|
812
518
|
"content-type": "application/json",
|
|
813
519
|
};
|
|
814
|
-
|
|
815
|
-
|
|
520
|
+
b.bp("/applications/{ApplicationId}");
|
|
521
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
816
522
|
let body;
|
|
817
523
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
818
524
|
Description: [],
|
|
819
525
|
Name: [],
|
|
820
526
|
}));
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
hostname,
|
|
824
|
-
port,
|
|
825
|
-
method: "PATCH",
|
|
826
|
-
headers,
|
|
827
|
-
path: resolvedPath,
|
|
828
|
-
body,
|
|
829
|
-
});
|
|
527
|
+
b.m("PATCH").h(headers).b(body);
|
|
528
|
+
return b.build();
|
|
830
529
|
};
|
|
831
530
|
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
832
531
|
const se_UpdateConfigurationProfileCommand = async (input, context) => {
|
|
833
|
-
const
|
|
532
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
834
533
|
const headers = {
|
|
835
534
|
"content-type": "application/json",
|
|
836
535
|
};
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
536
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}");
|
|
537
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
538
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
841
539
|
let body;
|
|
842
540
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
843
541
|
Description: [],
|
|
@@ -846,25 +544,17 @@ const se_UpdateConfigurationProfileCommand = async (input, context) => {
|
|
|
846
544
|
RetrievalRoleArn: [],
|
|
847
545
|
Validators: (_) => (0, smithy_client_1._json)(_),
|
|
848
546
|
}));
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
hostname,
|
|
852
|
-
port,
|
|
853
|
-
method: "PATCH",
|
|
854
|
-
headers,
|
|
855
|
-
path: resolvedPath,
|
|
856
|
-
body,
|
|
857
|
-
});
|
|
547
|
+
b.m("PATCH").h(headers).b(body);
|
|
548
|
+
return b.build();
|
|
858
549
|
};
|
|
859
550
|
exports.se_UpdateConfigurationProfileCommand = se_UpdateConfigurationProfileCommand;
|
|
860
551
|
const se_UpdateDeploymentStrategyCommand = async (input, context) => {
|
|
861
|
-
const
|
|
552
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
862
553
|
const headers = {
|
|
863
554
|
"content-type": "application/json",
|
|
864
555
|
};
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
556
|
+
b.bp("/deploymentstrategies/{DeploymentStrategyId}");
|
|
557
|
+
b.p("DeploymentStrategyId", () => input.DeploymentStrategyId, "{DeploymentStrategyId}", false);
|
|
868
558
|
let body;
|
|
869
559
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
870
560
|
DeploymentDurationInMinutes: [],
|
|
@@ -873,50 +563,35 @@ const se_UpdateDeploymentStrategyCommand = async (input, context) => {
|
|
|
873
563
|
GrowthFactor: (_) => (0, smithy_client_1.serializeFloat)(_),
|
|
874
564
|
GrowthType: [],
|
|
875
565
|
}));
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
hostname,
|
|
879
|
-
port,
|
|
880
|
-
method: "PATCH",
|
|
881
|
-
headers,
|
|
882
|
-
path: resolvedPath,
|
|
883
|
-
body,
|
|
884
|
-
});
|
|
566
|
+
b.m("PATCH").h(headers).b(body);
|
|
567
|
+
return b.build();
|
|
885
568
|
};
|
|
886
569
|
exports.se_UpdateDeploymentStrategyCommand = se_UpdateDeploymentStrategyCommand;
|
|
887
570
|
const se_UpdateEnvironmentCommand = async (input, context) => {
|
|
888
|
-
const
|
|
571
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
889
572
|
const headers = {
|
|
890
573
|
"content-type": "application/json",
|
|
891
574
|
};
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
575
|
+
b.bp("/applications/{ApplicationId}/environments/{EnvironmentId}");
|
|
576
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
577
|
+
b.p("EnvironmentId", () => input.EnvironmentId, "{EnvironmentId}", false);
|
|
896
578
|
let body;
|
|
897
579
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
898
580
|
Description: [],
|
|
899
581
|
Monitors: (_) => (0, smithy_client_1._json)(_),
|
|
900
582
|
Name: [],
|
|
901
583
|
}));
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
hostname,
|
|
905
|
-
port,
|
|
906
|
-
method: "PATCH",
|
|
907
|
-
headers,
|
|
908
|
-
path: resolvedPath,
|
|
909
|
-
body,
|
|
910
|
-
});
|
|
584
|
+
b.m("PATCH").h(headers).b(body);
|
|
585
|
+
return b.build();
|
|
911
586
|
};
|
|
912
587
|
exports.se_UpdateEnvironmentCommand = se_UpdateEnvironmentCommand;
|
|
913
588
|
const se_UpdateExtensionCommand = async (input, context) => {
|
|
914
|
-
const
|
|
589
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
915
590
|
const headers = {
|
|
916
591
|
"content-type": "application/json",
|
|
917
592
|
};
|
|
918
|
-
|
|
919
|
-
|
|
593
|
+
b.bp("/extensions/{ExtensionIdentifier}");
|
|
594
|
+
b.p("ExtensionIdentifier", () => input.ExtensionIdentifier, "{ExtensionIdentifier}", false);
|
|
920
595
|
let body;
|
|
921
596
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
922
597
|
Actions: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -924,61 +599,37 @@ const se_UpdateExtensionCommand = async (input, context) => {
|
|
|
924
599
|
Parameters: (_) => (0, smithy_client_1._json)(_),
|
|
925
600
|
VersionNumber: [],
|
|
926
601
|
}));
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
hostname,
|
|
930
|
-
port,
|
|
931
|
-
method: "PATCH",
|
|
932
|
-
headers,
|
|
933
|
-
path: resolvedPath,
|
|
934
|
-
body,
|
|
935
|
-
});
|
|
602
|
+
b.m("PATCH").h(headers).b(body);
|
|
603
|
+
return b.build();
|
|
936
604
|
};
|
|
937
605
|
exports.se_UpdateExtensionCommand = se_UpdateExtensionCommand;
|
|
938
606
|
const se_UpdateExtensionAssociationCommand = async (input, context) => {
|
|
939
|
-
const
|
|
607
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
940
608
|
const headers = {
|
|
941
609
|
"content-type": "application/json",
|
|
942
610
|
};
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
611
|
+
b.bp("/extensionassociations/{ExtensionAssociationId}");
|
|
612
|
+
b.p("ExtensionAssociationId", () => input.ExtensionAssociationId, "{ExtensionAssociationId}", false);
|
|
946
613
|
let body;
|
|
947
614
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
948
615
|
Parameters: (_) => (0, smithy_client_1._json)(_),
|
|
949
616
|
}));
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
hostname,
|
|
953
|
-
port,
|
|
954
|
-
method: "PATCH",
|
|
955
|
-
headers,
|
|
956
|
-
path: resolvedPath,
|
|
957
|
-
body,
|
|
958
|
-
});
|
|
617
|
+
b.m("PATCH").h(headers).b(body);
|
|
618
|
+
return b.build();
|
|
959
619
|
};
|
|
960
620
|
exports.se_UpdateExtensionAssociationCommand = se_UpdateExtensionAssociationCommand;
|
|
961
621
|
const se_ValidateConfigurationCommand = async (input, context) => {
|
|
962
|
-
const
|
|
622
|
+
const b = (0, core_2.requestBuilder)(input, context);
|
|
963
623
|
const headers = {};
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
624
|
+
b.bp("/applications/{ApplicationId}/configurationprofiles/{ConfigurationProfileId}/validators");
|
|
625
|
+
b.p("ApplicationId", () => input.ApplicationId, "{ApplicationId}", false);
|
|
626
|
+
b.p("ConfigurationProfileId", () => input.ConfigurationProfileId, "{ConfigurationProfileId}", false);
|
|
968
627
|
const query = (0, smithy_client_1.map)({
|
|
969
|
-
|
|
628
|
+
[_cv]: [, (0, smithy_client_1.expectNonNull)(input[_CV], `ConfigurationVersion`)],
|
|
970
629
|
});
|
|
971
630
|
let body;
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
hostname,
|
|
975
|
-
port,
|
|
976
|
-
method: "POST",
|
|
977
|
-
headers,
|
|
978
|
-
path: resolvedPath,
|
|
979
|
-
query,
|
|
980
|
-
body,
|
|
981
|
-
});
|
|
631
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
632
|
+
return b.build();
|
|
982
633
|
};
|
|
983
634
|
exports.se_ValidateConfigurationCommand = se_ValidateConfigurationCommand;
|
|
984
635
|
const de_CreateApplicationCommand = async (output, context) => {
|
|
@@ -1273,16 +924,13 @@ const de_CreateHostedConfigurationVersionCommand = async (output, context) => {
|
|
|
1273
924
|
}
|
|
1274
925
|
const contents = (0, smithy_client_1.map)({
|
|
1275
926
|
$metadata: deserializeMetadata(output),
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
],
|
|
1282
|
-
|
|
1283
|
-
ContentType: [, output.headers["content-type"]],
|
|
1284
|
-
VersionLabel: [, output.headers["versionlabel"]],
|
|
1285
|
-
KmsKeyArn: [, output.headers["kmskeyarn"]],
|
|
927
|
+
[_AI]: [, output.headers[_ai]],
|
|
928
|
+
[_CPI]: [, output.headers[_cpi]],
|
|
929
|
+
[_VN]: [() => void 0 !== output.headers[_vn_], () => (0, smithy_client_1.strictParseInt32)(output.headers[_vn_])],
|
|
930
|
+
[_D]: [, output.headers[_d]],
|
|
931
|
+
[_CT]: [, output.headers[_ct]],
|
|
932
|
+
[_VL]: [, output.headers[_v]],
|
|
933
|
+
[_KKA]: [, output.headers[_k]],
|
|
1286
934
|
});
|
|
1287
935
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1288
936
|
contents.Content = data;
|
|
@@ -1629,8 +1277,8 @@ const de_GetConfigurationCommand = async (output, context) => {
|
|
|
1629
1277
|
}
|
|
1630
1278
|
const contents = (0, smithy_client_1.map)({
|
|
1631
1279
|
$metadata: deserializeMetadata(output),
|
|
1632
|
-
|
|
1633
|
-
|
|
1280
|
+
[_CV]: [, output.headers[_cv_]],
|
|
1281
|
+
[_CT]: [, output.headers[_ct]],
|
|
1634
1282
|
});
|
|
1635
1283
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1636
1284
|
contents.Content = data;
|
|
@@ -1961,16 +1609,13 @@ const de_GetHostedConfigurationVersionCommand = async (output, context) => {
|
|
|
1961
1609
|
}
|
|
1962
1610
|
const contents = (0, smithy_client_1.map)({
|
|
1963
1611
|
$metadata: deserializeMetadata(output),
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
],
|
|
1970
|
-
|
|
1971
|
-
ContentType: [, output.headers["content-type"]],
|
|
1972
|
-
VersionLabel: [, output.headers["versionlabel"]],
|
|
1973
|
-
KmsKeyArn: [, output.headers["kmskeyarn"]],
|
|
1612
|
+
[_AI]: [, output.headers[_ai]],
|
|
1613
|
+
[_CPI]: [, output.headers[_cpi]],
|
|
1614
|
+
[_VN]: [() => void 0 !== output.headers[_vn_], () => (0, smithy_client_1.strictParseInt32)(output.headers[_vn_])],
|
|
1615
|
+
[_D]: [, output.headers[_d]],
|
|
1616
|
+
[_CT]: [, output.headers[_ct]],
|
|
1617
|
+
[_VL]: [, output.headers[_v]],
|
|
1618
|
+
[_KKA]: [, output.headers[_k]],
|
|
1974
1619
|
});
|
|
1975
1620
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1976
1621
|
contents.Content = data;
|
|
@@ -3026,6 +2671,48 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3026
2671
|
value !== "" &&
|
|
3027
2672
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3028
2673
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2674
|
+
const _AI = "ApplicationId";
|
|
2675
|
+
const _CCV = "ClientConfigurationVersion";
|
|
2676
|
+
const _CI = "ClientId";
|
|
2677
|
+
const _CPI = "ConfigurationProfileId";
|
|
2678
|
+
const _CT = "ContentType";
|
|
2679
|
+
const _CV = "ConfigurationVersion";
|
|
2680
|
+
const _D = "Description";
|
|
2681
|
+
const _EI = "ExtensionIdentifier";
|
|
2682
|
+
const _EVN = "ExtensionVersionNumber";
|
|
2683
|
+
const _KKA = "KmsKeyArn";
|
|
2684
|
+
const _LVN = "LatestVersionNumber";
|
|
2685
|
+
const _MR = "MaxResults";
|
|
2686
|
+
const _N = "Name";
|
|
2687
|
+
const _NT = "NextToken";
|
|
2688
|
+
const _RI = "ResourceIdentifier";
|
|
2689
|
+
const _T = "Type";
|
|
2690
|
+
const _TK = "TagKeys";
|
|
2691
|
+
const _VL = "VersionLabel";
|
|
2692
|
+
const _VN = "VersionNumber";
|
|
2693
|
+
const _ai = "application-id";
|
|
2694
|
+
const _ccv = "client_configuration_version";
|
|
2695
|
+
const _ci = "client_id";
|
|
2696
|
+
const _cpi = "configuration-profile-id";
|
|
2697
|
+
const _ct = "content-type";
|
|
2698
|
+
const _cv = "configuration_version";
|
|
2699
|
+
const _cv_ = "configuration-version";
|
|
2700
|
+
const _d = "description";
|
|
2701
|
+
const _ei = "extension_identifier";
|
|
2702
|
+
const _evn = "extension_version_number";
|
|
2703
|
+
const _k = "kmskeyarn";
|
|
2704
|
+
const _lvn = "latest-version-number";
|
|
2705
|
+
const _mr = "max_results";
|
|
2706
|
+
const _n = "name";
|
|
2707
|
+
const _nt = "next_token";
|
|
2708
|
+
const _ri = "resource_identifier";
|
|
2709
|
+
const _t = "type";
|
|
2710
|
+
const _tK = "tagKeys";
|
|
2711
|
+
const _v = "versionlabel";
|
|
2712
|
+
const _ve = "version";
|
|
2713
|
+
const _vl = "version_label";
|
|
2714
|
+
const _vn = "version_number";
|
|
2715
|
+
const _vn_ = "version-number";
|
|
3029
2716
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3030
2717
|
if (encoded.length) {
|
|
3031
2718
|
return JSON.parse(encoded);
|