@aws-sdk/client-lambda 3.476.0 → 3.478.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/pagination/ListAliasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLayersPaginator.js +2 -24
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +435 -943
- package/dist-es/pagination/ListAliasesPaginator.js +2 -23
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionsPaginator.js +2 -23
- package/dist-es/pagination/ListLayerVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListLayersPaginator.js +2 -23
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +436 -944
- package/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLayersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp,
|
|
1
|
+
import { requestBuilder as rb } from "@smithy/core";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { LambdaServiceException as __BaseException } from "../models/LambdaServiceException";
|
|
4
4
|
import { CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceException, SnapStartException, SnapStartNotReadyException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/models_0";
|
|
5
5
|
export const se_AddLayerVersionPermissionCommand = async (input, context) => {
|
|
6
|
-
const
|
|
6
|
+
const b = rb(input, context);
|
|
7
7
|
const headers = {
|
|
8
8
|
"content-type": "application/json",
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
10
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy");
|
|
11
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
12
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
14
13
|
const query = map({
|
|
15
|
-
|
|
14
|
+
[_RI]: [, input[_RI]],
|
|
16
15
|
});
|
|
17
16
|
let body;
|
|
18
17
|
body = JSON.stringify(take(input, {
|
|
@@ -21,27 +20,18 @@ export const se_AddLayerVersionPermissionCommand = async (input, context) => {
|
|
|
21
20
|
Principal: [],
|
|
22
21
|
StatementId: [],
|
|
23
22
|
}));
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
hostname,
|
|
27
|
-
port,
|
|
28
|
-
method: "POST",
|
|
29
|
-
headers,
|
|
30
|
-
path: resolvedPath,
|
|
31
|
-
query,
|
|
32
|
-
body,
|
|
33
|
-
});
|
|
23
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
24
|
+
return b.build();
|
|
34
25
|
};
|
|
35
26
|
export const se_AddPermissionCommand = async (input, context) => {
|
|
36
|
-
const
|
|
27
|
+
const b = rb(input, context);
|
|
37
28
|
const headers = {
|
|
38
29
|
"content-type": "application/json",
|
|
39
30
|
};
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
31
|
+
b.bp("/2015-03-31/functions/{FunctionName}/policy");
|
|
32
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
43
33
|
const query = map({
|
|
44
|
-
|
|
34
|
+
[_Q]: [, input[_Q]],
|
|
45
35
|
});
|
|
46
36
|
let body;
|
|
47
37
|
body = JSON.stringify(take(input, {
|
|
@@ -55,25 +45,16 @@ export const se_AddPermissionCommand = async (input, context) => {
|
|
|
55
45
|
SourceArn: [],
|
|
56
46
|
StatementId: [],
|
|
57
47
|
}));
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
hostname,
|
|
61
|
-
port,
|
|
62
|
-
method: "POST",
|
|
63
|
-
headers,
|
|
64
|
-
path: resolvedPath,
|
|
65
|
-
query,
|
|
66
|
-
body,
|
|
67
|
-
});
|
|
48
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
49
|
+
return b.build();
|
|
68
50
|
};
|
|
69
51
|
export const se_CreateAliasCommand = async (input, context) => {
|
|
70
|
-
const
|
|
52
|
+
const b = rb(input, context);
|
|
71
53
|
const headers = {
|
|
72
54
|
"content-type": "application/json",
|
|
73
55
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
56
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases");
|
|
57
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
77
58
|
let body;
|
|
78
59
|
body = JSON.stringify(take(input, {
|
|
79
60
|
Description: [],
|
|
@@ -81,44 +62,30 @@ export const se_CreateAliasCommand = async (input, context) => {
|
|
|
81
62
|
Name: [],
|
|
82
63
|
RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context),
|
|
83
64
|
}));
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
hostname,
|
|
87
|
-
port,
|
|
88
|
-
method: "POST",
|
|
89
|
-
headers,
|
|
90
|
-
path: resolvedPath,
|
|
91
|
-
body,
|
|
92
|
-
});
|
|
65
|
+
b.m("POST").h(headers).b(body);
|
|
66
|
+
return b.build();
|
|
93
67
|
};
|
|
94
68
|
export const se_CreateCodeSigningConfigCommand = async (input, context) => {
|
|
95
|
-
const
|
|
69
|
+
const b = rb(input, context);
|
|
96
70
|
const headers = {
|
|
97
71
|
"content-type": "application/json",
|
|
98
72
|
};
|
|
99
|
-
|
|
73
|
+
b.bp("/2020-04-22/code-signing-configs");
|
|
100
74
|
let body;
|
|
101
75
|
body = JSON.stringify(take(input, {
|
|
102
76
|
AllowedPublishers: (_) => _json(_),
|
|
103
77
|
CodeSigningPolicies: (_) => _json(_),
|
|
104
78
|
Description: [],
|
|
105
79
|
}));
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
hostname,
|
|
109
|
-
port,
|
|
110
|
-
method: "POST",
|
|
111
|
-
headers,
|
|
112
|
-
path: resolvedPath,
|
|
113
|
-
body,
|
|
114
|
-
});
|
|
80
|
+
b.m("POST").h(headers).b(body);
|
|
81
|
+
return b.build();
|
|
115
82
|
};
|
|
116
83
|
export const se_CreateEventSourceMappingCommand = async (input, context) => {
|
|
117
|
-
const
|
|
84
|
+
const b = rb(input, context);
|
|
118
85
|
const headers = {
|
|
119
86
|
"content-type": "application/json",
|
|
120
87
|
};
|
|
121
|
-
|
|
88
|
+
b.bp("/2015-03-31/event-source-mappings");
|
|
122
89
|
let body;
|
|
123
90
|
body = JSON.stringify(take(input, {
|
|
124
91
|
AmazonManagedKafkaEventSourceConfig: (_) => _json(_),
|
|
@@ -145,22 +112,15 @@ export const se_CreateEventSourceMappingCommand = async (input, context) => {
|
|
|
145
112
|
Topics: (_) => _json(_),
|
|
146
113
|
TumblingWindowInSeconds: [],
|
|
147
114
|
}));
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
hostname,
|
|
151
|
-
port,
|
|
152
|
-
method: "POST",
|
|
153
|
-
headers,
|
|
154
|
-
path: resolvedPath,
|
|
155
|
-
body,
|
|
156
|
-
});
|
|
115
|
+
b.m("POST").h(headers).b(body);
|
|
116
|
+
return b.build();
|
|
157
117
|
};
|
|
158
118
|
export const se_CreateFunctionCommand = async (input, context) => {
|
|
159
|
-
const
|
|
119
|
+
const b = rb(input, context);
|
|
160
120
|
const headers = {
|
|
161
121
|
"content-type": "application/json",
|
|
162
122
|
};
|
|
163
|
-
|
|
123
|
+
b.bp("/2015-03-31/functions");
|
|
164
124
|
let body;
|
|
165
125
|
body = JSON.stringify(take(input, {
|
|
166
126
|
Architectures: (_) => _json(_),
|
|
@@ -188,25 +148,18 @@ export const se_CreateFunctionCommand = async (input, context) => {
|
|
|
188
148
|
TracingConfig: (_) => _json(_),
|
|
189
149
|
VpcConfig: (_) => _json(_),
|
|
190
150
|
}));
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
hostname,
|
|
194
|
-
port,
|
|
195
|
-
method: "POST",
|
|
196
|
-
headers,
|
|
197
|
-
path: resolvedPath,
|
|
198
|
-
body,
|
|
199
|
-
});
|
|
151
|
+
b.m("POST").h(headers).b(body);
|
|
152
|
+
return b.build();
|
|
200
153
|
};
|
|
201
154
|
export const se_CreateFunctionUrlConfigCommand = async (input, context) => {
|
|
202
|
-
const
|
|
155
|
+
const b = rb(input, context);
|
|
203
156
|
const headers = {
|
|
204
157
|
"content-type": "application/json",
|
|
205
158
|
};
|
|
206
|
-
|
|
207
|
-
|
|
159
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
160
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
208
161
|
const query = map({
|
|
209
|
-
|
|
162
|
+
[_Q]: [, input[_Q]],
|
|
210
163
|
});
|
|
211
164
|
let body;
|
|
212
165
|
body = JSON.stringify(take(input, {
|
|
@@ -214,851 +167,505 @@ export const se_CreateFunctionUrlConfigCommand = async (input, context) => {
|
|
|
214
167
|
Cors: (_) => _json(_),
|
|
215
168
|
InvokeMode: [],
|
|
216
169
|
}));
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
hostname,
|
|
220
|
-
port,
|
|
221
|
-
method: "POST",
|
|
222
|
-
headers,
|
|
223
|
-
path: resolvedPath,
|
|
224
|
-
query,
|
|
225
|
-
body,
|
|
226
|
-
});
|
|
170
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
171
|
+
return b.build();
|
|
227
172
|
};
|
|
228
173
|
export const se_DeleteAliasCommand = async (input, context) => {
|
|
229
|
-
const
|
|
174
|
+
const b = rb(input, context);
|
|
230
175
|
const headers = {};
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
176
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases/{Name}");
|
|
177
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
178
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
235
179
|
let body;
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
hostname,
|
|
239
|
-
port,
|
|
240
|
-
method: "DELETE",
|
|
241
|
-
headers,
|
|
242
|
-
path: resolvedPath,
|
|
243
|
-
body,
|
|
244
|
-
});
|
|
180
|
+
b.m("DELETE").h(headers).b(body);
|
|
181
|
+
return b.build();
|
|
245
182
|
};
|
|
246
183
|
export const se_DeleteCodeSigningConfigCommand = async (input, context) => {
|
|
247
|
-
const
|
|
184
|
+
const b = rb(input, context);
|
|
248
185
|
const headers = {};
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
186
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}");
|
|
187
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
252
188
|
let body;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
hostname,
|
|
256
|
-
port,
|
|
257
|
-
method: "DELETE",
|
|
258
|
-
headers,
|
|
259
|
-
path: resolvedPath,
|
|
260
|
-
body,
|
|
261
|
-
});
|
|
189
|
+
b.m("DELETE").h(headers).b(body);
|
|
190
|
+
return b.build();
|
|
262
191
|
};
|
|
263
192
|
export const se_DeleteEventSourceMappingCommand = async (input, context) => {
|
|
264
|
-
const
|
|
193
|
+
const b = rb(input, context);
|
|
265
194
|
const headers = {};
|
|
266
|
-
|
|
267
|
-
|
|
195
|
+
b.bp("/2015-03-31/event-source-mappings/{UUID}");
|
|
196
|
+
b.p("UUID", () => input.UUID, "{UUID}", false);
|
|
268
197
|
let body;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
hostname,
|
|
272
|
-
port,
|
|
273
|
-
method: "DELETE",
|
|
274
|
-
headers,
|
|
275
|
-
path: resolvedPath,
|
|
276
|
-
body,
|
|
277
|
-
});
|
|
198
|
+
b.m("DELETE").h(headers).b(body);
|
|
199
|
+
return b.build();
|
|
278
200
|
};
|
|
279
201
|
export const se_DeleteFunctionCommand = async (input, context) => {
|
|
280
|
-
const
|
|
202
|
+
const b = rb(input, context);
|
|
281
203
|
const headers = {};
|
|
282
|
-
|
|
283
|
-
|
|
204
|
+
b.bp("/2015-03-31/functions/{FunctionName}");
|
|
205
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
284
206
|
const query = map({
|
|
285
|
-
|
|
207
|
+
[_Q]: [, input[_Q]],
|
|
286
208
|
});
|
|
287
209
|
let body;
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
hostname,
|
|
291
|
-
port,
|
|
292
|
-
method: "DELETE",
|
|
293
|
-
headers,
|
|
294
|
-
path: resolvedPath,
|
|
295
|
-
query,
|
|
296
|
-
body,
|
|
297
|
-
});
|
|
210
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
211
|
+
return b.build();
|
|
298
212
|
};
|
|
299
213
|
export const se_DeleteFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
300
|
-
const
|
|
214
|
+
const b = rb(input, context);
|
|
301
215
|
const headers = {};
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
216
|
+
b.bp("/2020-06-30/functions/{FunctionName}/code-signing-config");
|
|
217
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
305
218
|
let body;
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
hostname,
|
|
309
|
-
port,
|
|
310
|
-
method: "DELETE",
|
|
311
|
-
headers,
|
|
312
|
-
path: resolvedPath,
|
|
313
|
-
body,
|
|
314
|
-
});
|
|
219
|
+
b.m("DELETE").h(headers).b(body);
|
|
220
|
+
return b.build();
|
|
315
221
|
};
|
|
316
222
|
export const se_DeleteFunctionConcurrencyCommand = async (input, context) => {
|
|
317
|
-
const
|
|
223
|
+
const b = rb(input, context);
|
|
318
224
|
const headers = {};
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
225
|
+
b.bp("/2017-10-31/functions/{FunctionName}/concurrency");
|
|
226
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
322
227
|
let body;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
hostname,
|
|
326
|
-
port,
|
|
327
|
-
method: "DELETE",
|
|
328
|
-
headers,
|
|
329
|
-
path: resolvedPath,
|
|
330
|
-
body,
|
|
331
|
-
});
|
|
228
|
+
b.m("DELETE").h(headers).b(body);
|
|
229
|
+
return b.build();
|
|
332
230
|
};
|
|
333
231
|
export const se_DeleteFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
334
|
-
const
|
|
232
|
+
const b = rb(input, context);
|
|
335
233
|
const headers = {};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
234
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
235
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
339
236
|
const query = map({
|
|
340
|
-
|
|
237
|
+
[_Q]: [, input[_Q]],
|
|
341
238
|
});
|
|
342
239
|
let body;
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
hostname,
|
|
346
|
-
port,
|
|
347
|
-
method: "DELETE",
|
|
348
|
-
headers,
|
|
349
|
-
path: resolvedPath,
|
|
350
|
-
query,
|
|
351
|
-
body,
|
|
352
|
-
});
|
|
240
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
241
|
+
return b.build();
|
|
353
242
|
};
|
|
354
243
|
export const se_DeleteFunctionUrlConfigCommand = async (input, context) => {
|
|
355
|
-
const
|
|
244
|
+
const b = rb(input, context);
|
|
356
245
|
const headers = {};
|
|
357
|
-
|
|
358
|
-
|
|
246
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
247
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
359
248
|
const query = map({
|
|
360
|
-
|
|
249
|
+
[_Q]: [, input[_Q]],
|
|
361
250
|
});
|
|
362
251
|
let body;
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
hostname,
|
|
366
|
-
port,
|
|
367
|
-
method: "DELETE",
|
|
368
|
-
headers,
|
|
369
|
-
path: resolvedPath,
|
|
370
|
-
query,
|
|
371
|
-
body,
|
|
372
|
-
});
|
|
252
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
253
|
+
return b.build();
|
|
373
254
|
};
|
|
374
255
|
export const se_DeleteLayerVersionCommand = async (input, context) => {
|
|
375
|
-
const
|
|
256
|
+
const b = rb(input, context);
|
|
376
257
|
const headers = {};
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
258
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}");
|
|
259
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
260
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
381
261
|
let body;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
hostname,
|
|
385
|
-
port,
|
|
386
|
-
method: "DELETE",
|
|
387
|
-
headers,
|
|
388
|
-
path: resolvedPath,
|
|
389
|
-
body,
|
|
390
|
-
});
|
|
262
|
+
b.m("DELETE").h(headers).b(body);
|
|
263
|
+
return b.build();
|
|
391
264
|
};
|
|
392
265
|
export const se_DeleteProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
393
|
-
const
|
|
266
|
+
const b = rb(input, context);
|
|
394
267
|
const headers = {};
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
268
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
269
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
398
270
|
const query = map({
|
|
399
|
-
|
|
271
|
+
[_Q]: [, __expectNonNull(input[_Q], `Qualifier`)],
|
|
400
272
|
});
|
|
401
273
|
let body;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
hostname,
|
|
405
|
-
port,
|
|
406
|
-
method: "DELETE",
|
|
407
|
-
headers,
|
|
408
|
-
path: resolvedPath,
|
|
409
|
-
query,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
274
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
275
|
+
return b.build();
|
|
412
276
|
};
|
|
413
277
|
export const se_GetAccountSettingsCommand = async (input, context) => {
|
|
414
|
-
const
|
|
278
|
+
const b = rb(input, context);
|
|
415
279
|
const headers = {
|
|
416
280
|
"content-type": "application/json",
|
|
417
281
|
};
|
|
418
|
-
|
|
282
|
+
b.bp("/2016-08-19/account-settings");
|
|
419
283
|
let body;
|
|
420
284
|
body = "";
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
hostname,
|
|
424
|
-
port,
|
|
425
|
-
method: "GET",
|
|
426
|
-
headers,
|
|
427
|
-
path: resolvedPath,
|
|
428
|
-
body,
|
|
429
|
-
});
|
|
285
|
+
b.m("GET").h(headers).b(body);
|
|
286
|
+
return b.build();
|
|
430
287
|
};
|
|
431
288
|
export const se_GetAliasCommand = async (input, context) => {
|
|
432
|
-
const
|
|
289
|
+
const b = rb(input, context);
|
|
433
290
|
const headers = {};
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
291
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases/{Name}");
|
|
292
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
293
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
438
294
|
let body;
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
hostname,
|
|
442
|
-
port,
|
|
443
|
-
method: "GET",
|
|
444
|
-
headers,
|
|
445
|
-
path: resolvedPath,
|
|
446
|
-
body,
|
|
447
|
-
});
|
|
295
|
+
b.m("GET").h(headers).b(body);
|
|
296
|
+
return b.build();
|
|
448
297
|
};
|
|
449
298
|
export const se_GetCodeSigningConfigCommand = async (input, context) => {
|
|
450
|
-
const
|
|
299
|
+
const b = rb(input, context);
|
|
451
300
|
const headers = {};
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
301
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}");
|
|
302
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
455
303
|
let body;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
hostname,
|
|
459
|
-
port,
|
|
460
|
-
method: "GET",
|
|
461
|
-
headers,
|
|
462
|
-
path: resolvedPath,
|
|
463
|
-
body,
|
|
464
|
-
});
|
|
304
|
+
b.m("GET").h(headers).b(body);
|
|
305
|
+
return b.build();
|
|
465
306
|
};
|
|
466
307
|
export const se_GetEventSourceMappingCommand = async (input, context) => {
|
|
467
|
-
const
|
|
308
|
+
const b = rb(input, context);
|
|
468
309
|
const headers = {};
|
|
469
|
-
|
|
470
|
-
|
|
310
|
+
b.bp("/2015-03-31/event-source-mappings/{UUID}");
|
|
311
|
+
b.p("UUID", () => input.UUID, "{UUID}", false);
|
|
471
312
|
let body;
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
hostname,
|
|
475
|
-
port,
|
|
476
|
-
method: "GET",
|
|
477
|
-
headers,
|
|
478
|
-
path: resolvedPath,
|
|
479
|
-
body,
|
|
480
|
-
});
|
|
313
|
+
b.m("GET").h(headers).b(body);
|
|
314
|
+
return b.build();
|
|
481
315
|
};
|
|
482
316
|
export const se_GetFunctionCommand = async (input, context) => {
|
|
483
|
-
const
|
|
317
|
+
const b = rb(input, context);
|
|
484
318
|
const headers = {};
|
|
485
|
-
|
|
486
|
-
|
|
319
|
+
b.bp("/2015-03-31/functions/{FunctionName}");
|
|
320
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
487
321
|
const query = map({
|
|
488
|
-
|
|
322
|
+
[_Q]: [, input[_Q]],
|
|
489
323
|
});
|
|
490
324
|
let body;
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
hostname,
|
|
494
|
-
port,
|
|
495
|
-
method: "GET",
|
|
496
|
-
headers,
|
|
497
|
-
path: resolvedPath,
|
|
498
|
-
query,
|
|
499
|
-
body,
|
|
500
|
-
});
|
|
325
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
326
|
+
return b.build();
|
|
501
327
|
};
|
|
502
328
|
export const se_GetFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
503
|
-
const
|
|
329
|
+
const b = rb(input, context);
|
|
504
330
|
const headers = {};
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
331
|
+
b.bp("/2020-06-30/functions/{FunctionName}/code-signing-config");
|
|
332
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
508
333
|
let body;
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
hostname,
|
|
512
|
-
port,
|
|
513
|
-
method: "GET",
|
|
514
|
-
headers,
|
|
515
|
-
path: resolvedPath,
|
|
516
|
-
body,
|
|
517
|
-
});
|
|
334
|
+
b.m("GET").h(headers).b(body);
|
|
335
|
+
return b.build();
|
|
518
336
|
};
|
|
519
337
|
export const se_GetFunctionConcurrencyCommand = async (input, context) => {
|
|
520
|
-
const
|
|
338
|
+
const b = rb(input, context);
|
|
521
339
|
const headers = {};
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
340
|
+
b.bp("/2019-09-30/functions/{FunctionName}/concurrency");
|
|
341
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
525
342
|
let body;
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
hostname,
|
|
529
|
-
port,
|
|
530
|
-
method: "GET",
|
|
531
|
-
headers,
|
|
532
|
-
path: resolvedPath,
|
|
533
|
-
body,
|
|
534
|
-
});
|
|
343
|
+
b.m("GET").h(headers).b(body);
|
|
344
|
+
return b.build();
|
|
535
345
|
};
|
|
536
346
|
export const se_GetFunctionConfigurationCommand = async (input, context) => {
|
|
537
|
-
const
|
|
347
|
+
const b = rb(input, context);
|
|
538
348
|
const headers = {};
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
349
|
+
b.bp("/2015-03-31/functions/{FunctionName}/configuration");
|
|
350
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
542
351
|
const query = map({
|
|
543
|
-
|
|
352
|
+
[_Q]: [, input[_Q]],
|
|
544
353
|
});
|
|
545
354
|
let body;
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
hostname,
|
|
549
|
-
port,
|
|
550
|
-
method: "GET",
|
|
551
|
-
headers,
|
|
552
|
-
path: resolvedPath,
|
|
553
|
-
query,
|
|
554
|
-
body,
|
|
555
|
-
});
|
|
355
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
356
|
+
return b.build();
|
|
556
357
|
};
|
|
557
358
|
export const se_GetFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
558
|
-
const
|
|
359
|
+
const b = rb(input, context);
|
|
559
360
|
const headers = {};
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
361
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
362
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
563
363
|
const query = map({
|
|
564
|
-
|
|
364
|
+
[_Q]: [, input[_Q]],
|
|
565
365
|
});
|
|
566
366
|
let body;
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "GET",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
query,
|
|
575
|
-
body,
|
|
576
|
-
});
|
|
367
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
368
|
+
return b.build();
|
|
577
369
|
};
|
|
578
370
|
export const se_GetFunctionUrlConfigCommand = async (input, context) => {
|
|
579
|
-
const
|
|
371
|
+
const b = rb(input, context);
|
|
580
372
|
const headers = {};
|
|
581
|
-
|
|
582
|
-
|
|
373
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
374
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
583
375
|
const query = map({
|
|
584
|
-
|
|
376
|
+
[_Q]: [, input[_Q]],
|
|
585
377
|
});
|
|
586
378
|
let body;
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
hostname,
|
|
590
|
-
port,
|
|
591
|
-
method: "GET",
|
|
592
|
-
headers,
|
|
593
|
-
path: resolvedPath,
|
|
594
|
-
query,
|
|
595
|
-
body,
|
|
596
|
-
});
|
|
379
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
380
|
+
return b.build();
|
|
597
381
|
};
|
|
598
382
|
export const se_GetLayerVersionCommand = async (input, context) => {
|
|
599
|
-
const
|
|
383
|
+
const b = rb(input, context);
|
|
600
384
|
const headers = {};
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
385
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}");
|
|
386
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
387
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
605
388
|
let body;
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
hostname,
|
|
609
|
-
port,
|
|
610
|
-
method: "GET",
|
|
611
|
-
headers,
|
|
612
|
-
path: resolvedPath,
|
|
613
|
-
body,
|
|
614
|
-
});
|
|
389
|
+
b.m("GET").h(headers).b(body);
|
|
390
|
+
return b.build();
|
|
615
391
|
};
|
|
616
392
|
export const se_GetLayerVersionByArnCommand = async (input, context) => {
|
|
617
|
-
const
|
|
393
|
+
const b = rb(input, context);
|
|
618
394
|
const headers = {};
|
|
619
|
-
|
|
395
|
+
b.bp("/2018-10-31/layers");
|
|
620
396
|
const query = map({
|
|
621
|
-
|
|
622
|
-
|
|
397
|
+
[_f]: [, "LayerVersion"],
|
|
398
|
+
[_A]: [, __expectNonNull(input[_A], `Arn`)],
|
|
623
399
|
});
|
|
624
400
|
let body;
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
hostname,
|
|
628
|
-
port,
|
|
629
|
-
method: "GET",
|
|
630
|
-
headers,
|
|
631
|
-
path: resolvedPath,
|
|
632
|
-
query,
|
|
633
|
-
body,
|
|
634
|
-
});
|
|
401
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
402
|
+
return b.build();
|
|
635
403
|
};
|
|
636
404
|
export const se_GetLayerVersionPolicyCommand = async (input, context) => {
|
|
637
|
-
const
|
|
405
|
+
const b = rb(input, context);
|
|
638
406
|
const headers = {};
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
407
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy");
|
|
408
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
409
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
643
410
|
let body;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
hostname,
|
|
647
|
-
port,
|
|
648
|
-
method: "GET",
|
|
649
|
-
headers,
|
|
650
|
-
path: resolvedPath,
|
|
651
|
-
body,
|
|
652
|
-
});
|
|
411
|
+
b.m("GET").h(headers).b(body);
|
|
412
|
+
return b.build();
|
|
653
413
|
};
|
|
654
414
|
export const se_GetPolicyCommand = async (input, context) => {
|
|
655
|
-
const
|
|
415
|
+
const b = rb(input, context);
|
|
656
416
|
const headers = {};
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
417
|
+
b.bp("/2015-03-31/functions/{FunctionName}/policy");
|
|
418
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
660
419
|
const query = map({
|
|
661
|
-
|
|
420
|
+
[_Q]: [, input[_Q]],
|
|
662
421
|
});
|
|
663
422
|
let body;
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
hostname,
|
|
667
|
-
port,
|
|
668
|
-
method: "GET",
|
|
669
|
-
headers,
|
|
670
|
-
path: resolvedPath,
|
|
671
|
-
query,
|
|
672
|
-
body,
|
|
673
|
-
});
|
|
423
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
424
|
+
return b.build();
|
|
674
425
|
};
|
|
675
426
|
export const se_GetProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
676
|
-
const
|
|
427
|
+
const b = rb(input, context);
|
|
677
428
|
const headers = {};
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
429
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
430
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
681
431
|
const query = map({
|
|
682
|
-
|
|
432
|
+
[_Q]: [, __expectNonNull(input[_Q], `Qualifier`)],
|
|
683
433
|
});
|
|
684
434
|
let body;
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
hostname,
|
|
688
|
-
port,
|
|
689
|
-
method: "GET",
|
|
690
|
-
headers,
|
|
691
|
-
path: resolvedPath,
|
|
692
|
-
query,
|
|
693
|
-
body,
|
|
694
|
-
});
|
|
435
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
436
|
+
return b.build();
|
|
695
437
|
};
|
|
696
438
|
export const se_GetRuntimeManagementConfigCommand = async (input, context) => {
|
|
697
|
-
const
|
|
439
|
+
const b = rb(input, context);
|
|
698
440
|
const headers = {};
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
441
|
+
b.bp("/2021-07-20/functions/{FunctionName}/runtime-management-config");
|
|
442
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
702
443
|
const query = map({
|
|
703
|
-
|
|
444
|
+
[_Q]: [, input[_Q]],
|
|
704
445
|
});
|
|
705
446
|
let body;
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
hostname,
|
|
709
|
-
port,
|
|
710
|
-
method: "GET",
|
|
711
|
-
headers,
|
|
712
|
-
path: resolvedPath,
|
|
713
|
-
query,
|
|
714
|
-
body,
|
|
715
|
-
});
|
|
447
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
448
|
+
return b.build();
|
|
716
449
|
};
|
|
717
450
|
export const se_InvokeCommand = async (input, context) => {
|
|
718
|
-
const
|
|
451
|
+
const b = rb(input, context);
|
|
719
452
|
const headers = map({}, isSerializableHeaderValue, {
|
|
720
453
|
"content-type": "application/octet-stream",
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
454
|
+
[_xait]: input[_IT],
|
|
455
|
+
[_xalt]: input[_LT],
|
|
456
|
+
[_xacc]: input[_CC],
|
|
724
457
|
});
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
458
|
+
b.bp("/2015-03-31/functions/{FunctionName}/invocations");
|
|
459
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
728
460
|
const query = map({
|
|
729
|
-
|
|
461
|
+
[_Q]: [, input[_Q]],
|
|
730
462
|
});
|
|
731
463
|
let body;
|
|
732
464
|
if (input.Payload !== undefined) {
|
|
733
465
|
body = input.Payload;
|
|
734
466
|
}
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
hostname,
|
|
738
|
-
port,
|
|
739
|
-
method: "POST",
|
|
740
|
-
headers,
|
|
741
|
-
path: resolvedPath,
|
|
742
|
-
query,
|
|
743
|
-
body,
|
|
744
|
-
});
|
|
467
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
468
|
+
return b.build();
|
|
745
469
|
};
|
|
746
470
|
export const se_InvokeAsyncCommand = async (input, context) => {
|
|
747
|
-
const
|
|
471
|
+
const b = rb(input, context);
|
|
748
472
|
const headers = {
|
|
749
473
|
"content-type": "application/octet-stream",
|
|
750
474
|
};
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
475
|
+
b.bp("/2014-11-13/functions/{FunctionName}/invoke-async");
|
|
476
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
754
477
|
let body;
|
|
755
478
|
if (input.InvokeArgs !== undefined) {
|
|
756
479
|
body = input.InvokeArgs;
|
|
757
480
|
}
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
hostname,
|
|
761
|
-
port,
|
|
762
|
-
method: "POST",
|
|
763
|
-
headers,
|
|
764
|
-
path: resolvedPath,
|
|
765
|
-
body,
|
|
766
|
-
});
|
|
481
|
+
b.m("POST").h(headers).b(body);
|
|
482
|
+
return b.build();
|
|
767
483
|
};
|
|
768
484
|
export const se_InvokeWithResponseStreamCommand = async (input, context) => {
|
|
769
|
-
const
|
|
485
|
+
const b = rb(input, context);
|
|
770
486
|
const headers = map({}, isSerializableHeaderValue, {
|
|
771
487
|
"content-type": "application/octet-stream",
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
488
|
+
[_xait]: input[_IT],
|
|
489
|
+
[_xalt]: input[_LT],
|
|
490
|
+
[_xacc]: input[_CC],
|
|
775
491
|
});
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
492
|
+
b.bp("/2021-11-15/functions/{FunctionName}/response-streaming-invocations");
|
|
493
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
779
494
|
const query = map({
|
|
780
|
-
|
|
495
|
+
[_Q]: [, input[_Q]],
|
|
781
496
|
});
|
|
782
497
|
let body;
|
|
783
498
|
if (input.Payload !== undefined) {
|
|
784
499
|
body = input.Payload;
|
|
785
500
|
}
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
hostname,
|
|
789
|
-
port,
|
|
790
|
-
method: "POST",
|
|
791
|
-
headers,
|
|
792
|
-
path: resolvedPath,
|
|
793
|
-
query,
|
|
794
|
-
body,
|
|
795
|
-
});
|
|
501
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
502
|
+
return b.build();
|
|
796
503
|
};
|
|
797
504
|
export const se_ListAliasesCommand = async (input, context) => {
|
|
798
|
-
const
|
|
505
|
+
const b = rb(input, context);
|
|
799
506
|
const headers = {};
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
507
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases");
|
|
508
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
803
509
|
const query = map({
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
510
|
+
[_FV]: [, input[_FV]],
|
|
511
|
+
[_M]: [, input[_M]],
|
|
512
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
807
513
|
});
|
|
808
514
|
let body;
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
hostname,
|
|
812
|
-
port,
|
|
813
|
-
method: "GET",
|
|
814
|
-
headers,
|
|
815
|
-
path: resolvedPath,
|
|
816
|
-
query,
|
|
817
|
-
body,
|
|
818
|
-
});
|
|
515
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
516
|
+
return b.build();
|
|
819
517
|
};
|
|
820
518
|
export const se_ListCodeSigningConfigsCommand = async (input, context) => {
|
|
821
|
-
const
|
|
519
|
+
const b = rb(input, context);
|
|
822
520
|
const headers = {};
|
|
823
|
-
|
|
521
|
+
b.bp("/2020-04-22/code-signing-configs");
|
|
824
522
|
const query = map({
|
|
825
|
-
|
|
826
|
-
|
|
523
|
+
[_M]: [, input[_M]],
|
|
524
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
827
525
|
});
|
|
828
526
|
let body;
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
hostname,
|
|
832
|
-
port,
|
|
833
|
-
method: "GET",
|
|
834
|
-
headers,
|
|
835
|
-
path: resolvedPath,
|
|
836
|
-
query,
|
|
837
|
-
body,
|
|
838
|
-
});
|
|
527
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
528
|
+
return b.build();
|
|
839
529
|
};
|
|
840
530
|
export const se_ListEventSourceMappingsCommand = async (input, context) => {
|
|
841
|
-
const
|
|
531
|
+
const b = rb(input, context);
|
|
842
532
|
const headers = {};
|
|
843
|
-
|
|
533
|
+
b.bp("/2015-03-31/event-source-mappings");
|
|
844
534
|
const query = map({
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
535
|
+
[_ESA]: [, input[_ESA]],
|
|
536
|
+
[_FN]: [, input[_FN]],
|
|
537
|
+
[_M]: [, input[_M]],
|
|
538
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
849
539
|
});
|
|
850
540
|
let body;
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
hostname,
|
|
854
|
-
port,
|
|
855
|
-
method: "GET",
|
|
856
|
-
headers,
|
|
857
|
-
path: resolvedPath,
|
|
858
|
-
query,
|
|
859
|
-
body,
|
|
860
|
-
});
|
|
541
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
542
|
+
return b.build();
|
|
861
543
|
};
|
|
862
544
|
export const se_ListFunctionEventInvokeConfigsCommand = async (input, context) => {
|
|
863
|
-
const
|
|
545
|
+
const b = rb(input, context);
|
|
864
546
|
const headers = {};
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
547
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config/list");
|
|
548
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
868
549
|
const query = map({
|
|
869
|
-
|
|
870
|
-
|
|
550
|
+
[_M]: [, input[_M]],
|
|
551
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
871
552
|
});
|
|
872
553
|
let body;
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
hostname,
|
|
876
|
-
port,
|
|
877
|
-
method: "GET",
|
|
878
|
-
headers,
|
|
879
|
-
path: resolvedPath,
|
|
880
|
-
query,
|
|
881
|
-
body,
|
|
882
|
-
});
|
|
554
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
555
|
+
return b.build();
|
|
883
556
|
};
|
|
884
557
|
export const se_ListFunctionsCommand = async (input, context) => {
|
|
885
|
-
const
|
|
558
|
+
const b = rb(input, context);
|
|
886
559
|
const headers = {};
|
|
887
|
-
|
|
560
|
+
b.bp("/2015-03-31/functions");
|
|
888
561
|
const query = map({
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
562
|
+
[_MR]: [, input[_MR]],
|
|
563
|
+
[_FV]: [, input[_FV]],
|
|
564
|
+
[_M]: [, input[_M]],
|
|
565
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
893
566
|
});
|
|
894
567
|
let body;
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
hostname,
|
|
898
|
-
port,
|
|
899
|
-
method: "GET",
|
|
900
|
-
headers,
|
|
901
|
-
path: resolvedPath,
|
|
902
|
-
query,
|
|
903
|
-
body,
|
|
904
|
-
});
|
|
568
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
569
|
+
return b.build();
|
|
905
570
|
};
|
|
906
571
|
export const se_ListFunctionsByCodeSigningConfigCommand = async (input, context) => {
|
|
907
|
-
const
|
|
572
|
+
const b = rb(input, context);
|
|
908
573
|
const headers = {};
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
574
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions");
|
|
575
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
912
576
|
const query = map({
|
|
913
|
-
|
|
914
|
-
|
|
577
|
+
[_M]: [, input[_M]],
|
|
578
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
915
579
|
});
|
|
916
580
|
let body;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
hostname,
|
|
920
|
-
port,
|
|
921
|
-
method: "GET",
|
|
922
|
-
headers,
|
|
923
|
-
path: resolvedPath,
|
|
924
|
-
query,
|
|
925
|
-
body,
|
|
926
|
-
});
|
|
581
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
582
|
+
return b.build();
|
|
927
583
|
};
|
|
928
584
|
export const se_ListFunctionUrlConfigsCommand = async (input, context) => {
|
|
929
|
-
const
|
|
585
|
+
const b = rb(input, context);
|
|
930
586
|
const headers = {};
|
|
931
|
-
|
|
932
|
-
|
|
587
|
+
b.bp("/2021-10-31/functions/{FunctionName}/urls");
|
|
588
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
933
589
|
const query = map({
|
|
934
|
-
|
|
935
|
-
|
|
590
|
+
[_M]: [, input[_M]],
|
|
591
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
936
592
|
});
|
|
937
593
|
let body;
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
hostname,
|
|
941
|
-
port,
|
|
942
|
-
method: "GET",
|
|
943
|
-
headers,
|
|
944
|
-
path: resolvedPath,
|
|
945
|
-
query,
|
|
946
|
-
body,
|
|
947
|
-
});
|
|
594
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
595
|
+
return b.build();
|
|
948
596
|
};
|
|
949
597
|
export const se_ListLayersCommand = async (input, context) => {
|
|
950
|
-
const
|
|
598
|
+
const b = rb(input, context);
|
|
951
599
|
const headers = {};
|
|
952
|
-
|
|
600
|
+
b.bp("/2018-10-31/layers");
|
|
953
601
|
const query = map({
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
602
|
+
[_CR]: [, input[_CR]],
|
|
603
|
+
[_M]: [, input[_M]],
|
|
604
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
605
|
+
[_CA]: [, input[_CA]],
|
|
958
606
|
});
|
|
959
607
|
let body;
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
hostname,
|
|
963
|
-
port,
|
|
964
|
-
method: "GET",
|
|
965
|
-
headers,
|
|
966
|
-
path: resolvedPath,
|
|
967
|
-
query,
|
|
968
|
-
body,
|
|
969
|
-
});
|
|
608
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
609
|
+
return b.build();
|
|
970
610
|
};
|
|
971
611
|
export const se_ListLayerVersionsCommand = async (input, context) => {
|
|
972
|
-
const
|
|
612
|
+
const b = rb(input, context);
|
|
973
613
|
const headers = {};
|
|
974
|
-
|
|
975
|
-
|
|
614
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions");
|
|
615
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
976
616
|
const query = map({
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
617
|
+
[_CR]: [, input[_CR]],
|
|
618
|
+
[_M]: [, input[_M]],
|
|
619
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
620
|
+
[_CA]: [, input[_CA]],
|
|
981
621
|
});
|
|
982
622
|
let body;
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
hostname,
|
|
986
|
-
port,
|
|
987
|
-
method: "GET",
|
|
988
|
-
headers,
|
|
989
|
-
path: resolvedPath,
|
|
990
|
-
query,
|
|
991
|
-
body,
|
|
992
|
-
});
|
|
623
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
624
|
+
return b.build();
|
|
993
625
|
};
|
|
994
626
|
export const se_ListProvisionedConcurrencyConfigsCommand = async (input, context) => {
|
|
995
|
-
const
|
|
627
|
+
const b = rb(input, context);
|
|
996
628
|
const headers = {};
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
629
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
630
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1000
631
|
const query = map({
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
632
|
+
[_L]: [, "ALL"],
|
|
633
|
+
[_M]: [, input[_M]],
|
|
634
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1004
635
|
});
|
|
1005
636
|
let body;
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
hostname,
|
|
1009
|
-
port,
|
|
1010
|
-
method: "GET",
|
|
1011
|
-
headers,
|
|
1012
|
-
path: resolvedPath,
|
|
1013
|
-
query,
|
|
1014
|
-
body,
|
|
1015
|
-
});
|
|
637
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
638
|
+
return b.build();
|
|
1016
639
|
};
|
|
1017
640
|
export const se_ListTagsCommand = async (input, context) => {
|
|
1018
|
-
const
|
|
641
|
+
const b = rb(input, context);
|
|
1019
642
|
const headers = {};
|
|
1020
|
-
|
|
1021
|
-
|
|
643
|
+
b.bp("/2017-03-31/tags/{Resource}");
|
|
644
|
+
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
1022
645
|
let body;
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
hostname,
|
|
1026
|
-
port,
|
|
1027
|
-
method: "GET",
|
|
1028
|
-
headers,
|
|
1029
|
-
path: resolvedPath,
|
|
1030
|
-
body,
|
|
1031
|
-
});
|
|
646
|
+
b.m("GET").h(headers).b(body);
|
|
647
|
+
return b.build();
|
|
1032
648
|
};
|
|
1033
649
|
export const se_ListVersionsByFunctionCommand = async (input, context) => {
|
|
1034
|
-
const
|
|
650
|
+
const b = rb(input, context);
|
|
1035
651
|
const headers = {};
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
652
|
+
b.bp("/2015-03-31/functions/{FunctionName}/versions");
|
|
653
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1039
654
|
const query = map({
|
|
1040
|
-
|
|
1041
|
-
|
|
655
|
+
[_M]: [, input[_M]],
|
|
656
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1042
657
|
});
|
|
1043
658
|
let body;
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
hostname,
|
|
1047
|
-
port,
|
|
1048
|
-
method: "GET",
|
|
1049
|
-
headers,
|
|
1050
|
-
path: resolvedPath,
|
|
1051
|
-
query,
|
|
1052
|
-
body,
|
|
1053
|
-
});
|
|
659
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
660
|
+
return b.build();
|
|
1054
661
|
};
|
|
1055
662
|
export const se_PublishLayerVersionCommand = async (input, context) => {
|
|
1056
|
-
const
|
|
663
|
+
const b = rb(input, context);
|
|
1057
664
|
const headers = {
|
|
1058
665
|
"content-type": "application/json",
|
|
1059
666
|
};
|
|
1060
|
-
|
|
1061
|
-
|
|
667
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions");
|
|
668
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
1062
669
|
let body;
|
|
1063
670
|
body = JSON.stringify(take(input, {
|
|
1064
671
|
CompatibleArchitectures: (_) => _json(_),
|
|
@@ -1067,94 +674,62 @@ export const se_PublishLayerVersionCommand = async (input, context) => {
|
|
|
1067
674
|
Description: [],
|
|
1068
675
|
LicenseInfo: [],
|
|
1069
676
|
}));
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
hostname,
|
|
1073
|
-
port,
|
|
1074
|
-
method: "POST",
|
|
1075
|
-
headers,
|
|
1076
|
-
path: resolvedPath,
|
|
1077
|
-
body,
|
|
1078
|
-
});
|
|
677
|
+
b.m("POST").h(headers).b(body);
|
|
678
|
+
return b.build();
|
|
1079
679
|
};
|
|
1080
680
|
export const se_PublishVersionCommand = async (input, context) => {
|
|
1081
|
-
const
|
|
681
|
+
const b = rb(input, context);
|
|
1082
682
|
const headers = {
|
|
1083
683
|
"content-type": "application/json",
|
|
1084
684
|
};
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
685
|
+
b.bp("/2015-03-31/functions/{FunctionName}/versions");
|
|
686
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1088
687
|
let body;
|
|
1089
688
|
body = JSON.stringify(take(input, {
|
|
1090
689
|
CodeSha256: [],
|
|
1091
690
|
Description: [],
|
|
1092
691
|
RevisionId: [],
|
|
1093
692
|
}));
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
hostname,
|
|
1097
|
-
port,
|
|
1098
|
-
method: "POST",
|
|
1099
|
-
headers,
|
|
1100
|
-
path: resolvedPath,
|
|
1101
|
-
body,
|
|
1102
|
-
});
|
|
693
|
+
b.m("POST").h(headers).b(body);
|
|
694
|
+
return b.build();
|
|
1103
695
|
};
|
|
1104
696
|
export const se_PutFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
1105
|
-
const
|
|
697
|
+
const b = rb(input, context);
|
|
1106
698
|
const headers = {
|
|
1107
699
|
"content-type": "application/json",
|
|
1108
700
|
};
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
701
|
+
b.bp("/2020-06-30/functions/{FunctionName}/code-signing-config");
|
|
702
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1112
703
|
let body;
|
|
1113
704
|
body = JSON.stringify(take(input, {
|
|
1114
705
|
CodeSigningConfigArn: [],
|
|
1115
706
|
}));
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
hostname,
|
|
1119
|
-
port,
|
|
1120
|
-
method: "PUT",
|
|
1121
|
-
headers,
|
|
1122
|
-
path: resolvedPath,
|
|
1123
|
-
body,
|
|
1124
|
-
});
|
|
707
|
+
b.m("PUT").h(headers).b(body);
|
|
708
|
+
return b.build();
|
|
1125
709
|
};
|
|
1126
710
|
export const se_PutFunctionConcurrencyCommand = async (input, context) => {
|
|
1127
|
-
const
|
|
711
|
+
const b = rb(input, context);
|
|
1128
712
|
const headers = {
|
|
1129
713
|
"content-type": "application/json",
|
|
1130
714
|
};
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
715
|
+
b.bp("/2017-10-31/functions/{FunctionName}/concurrency");
|
|
716
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1134
717
|
let body;
|
|
1135
718
|
body = JSON.stringify(take(input, {
|
|
1136
719
|
ReservedConcurrentExecutions: [],
|
|
1137
720
|
}));
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
hostname,
|
|
1141
|
-
port,
|
|
1142
|
-
method: "PUT",
|
|
1143
|
-
headers,
|
|
1144
|
-
path: resolvedPath,
|
|
1145
|
-
body,
|
|
1146
|
-
});
|
|
721
|
+
b.m("PUT").h(headers).b(body);
|
|
722
|
+
return b.build();
|
|
1147
723
|
};
|
|
1148
724
|
export const se_PutFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
1149
|
-
const
|
|
725
|
+
const b = rb(input, context);
|
|
1150
726
|
const headers = {
|
|
1151
727
|
"content-type": "application/json",
|
|
1152
728
|
};
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
729
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
730
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1156
731
|
const query = map({
|
|
1157
|
-
|
|
732
|
+
[_Q]: [, input[_Q]],
|
|
1158
733
|
});
|
|
1159
734
|
let body;
|
|
1160
735
|
body = JSON.stringify(take(input, {
|
|
@@ -1162,169 +737,109 @@ export const se_PutFunctionEventInvokeConfigCommand = async (input, context) =>
|
|
|
1162
737
|
MaximumEventAgeInSeconds: [],
|
|
1163
738
|
MaximumRetryAttempts: [],
|
|
1164
739
|
}));
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
hostname,
|
|
1168
|
-
port,
|
|
1169
|
-
method: "PUT",
|
|
1170
|
-
headers,
|
|
1171
|
-
path: resolvedPath,
|
|
1172
|
-
query,
|
|
1173
|
-
body,
|
|
1174
|
-
});
|
|
740
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
741
|
+
return b.build();
|
|
1175
742
|
};
|
|
1176
743
|
export const se_PutProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
1177
|
-
const
|
|
744
|
+
const b = rb(input, context);
|
|
1178
745
|
const headers = {
|
|
1179
746
|
"content-type": "application/json",
|
|
1180
747
|
};
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
748
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
749
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1184
750
|
const query = map({
|
|
1185
|
-
|
|
751
|
+
[_Q]: [, __expectNonNull(input[_Q], `Qualifier`)],
|
|
1186
752
|
});
|
|
1187
753
|
let body;
|
|
1188
754
|
body = JSON.stringify(take(input, {
|
|
1189
755
|
ProvisionedConcurrentExecutions: [],
|
|
1190
756
|
}));
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
hostname,
|
|
1194
|
-
port,
|
|
1195
|
-
method: "PUT",
|
|
1196
|
-
headers,
|
|
1197
|
-
path: resolvedPath,
|
|
1198
|
-
query,
|
|
1199
|
-
body,
|
|
1200
|
-
});
|
|
757
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
758
|
+
return b.build();
|
|
1201
759
|
};
|
|
1202
760
|
export const se_PutRuntimeManagementConfigCommand = async (input, context) => {
|
|
1203
|
-
const
|
|
761
|
+
const b = rb(input, context);
|
|
1204
762
|
const headers = {
|
|
1205
763
|
"content-type": "application/json",
|
|
1206
764
|
};
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
765
|
+
b.bp("/2021-07-20/functions/{FunctionName}/runtime-management-config");
|
|
766
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1210
767
|
const query = map({
|
|
1211
|
-
|
|
768
|
+
[_Q]: [, input[_Q]],
|
|
1212
769
|
});
|
|
1213
770
|
let body;
|
|
1214
771
|
body = JSON.stringify(take(input, {
|
|
1215
772
|
RuntimeVersionArn: [],
|
|
1216
773
|
UpdateRuntimeOn: [],
|
|
1217
774
|
}));
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
hostname,
|
|
1221
|
-
port,
|
|
1222
|
-
method: "PUT",
|
|
1223
|
-
headers,
|
|
1224
|
-
path: resolvedPath,
|
|
1225
|
-
query,
|
|
1226
|
-
body,
|
|
1227
|
-
});
|
|
775
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
776
|
+
return b.build();
|
|
1228
777
|
};
|
|
1229
778
|
export const se_RemoveLayerVersionPermissionCommand = async (input, context) => {
|
|
1230
|
-
const
|
|
779
|
+
const b = rb(input, context);
|
|
1231
780
|
const headers = {};
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
|
|
781
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}");
|
|
782
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
783
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
784
|
+
b.p("StatementId", () => input.StatementId, "{StatementId}", false);
|
|
1237
785
|
const query = map({
|
|
1238
|
-
|
|
786
|
+
[_RI]: [, input[_RI]],
|
|
1239
787
|
});
|
|
1240
788
|
let body;
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
hostname,
|
|
1244
|
-
port,
|
|
1245
|
-
method: "DELETE",
|
|
1246
|
-
headers,
|
|
1247
|
-
path: resolvedPath,
|
|
1248
|
-
query,
|
|
1249
|
-
body,
|
|
1250
|
-
});
|
|
789
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
790
|
+
return b.build();
|
|
1251
791
|
};
|
|
1252
792
|
export const se_RemovePermissionCommand = async (input, context) => {
|
|
1253
|
-
const
|
|
793
|
+
const b = rb(input, context);
|
|
1254
794
|
const headers = {};
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
|
|
795
|
+
b.bp("/2015-03-31/functions/{FunctionName}/policy/{StatementId}");
|
|
796
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
797
|
+
b.p("StatementId", () => input.StatementId, "{StatementId}", false);
|
|
1259
798
|
const query = map({
|
|
1260
|
-
|
|
1261
|
-
|
|
799
|
+
[_Q]: [, input[_Q]],
|
|
800
|
+
[_RI]: [, input[_RI]],
|
|
1262
801
|
});
|
|
1263
802
|
let body;
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
hostname,
|
|
1267
|
-
port,
|
|
1268
|
-
method: "DELETE",
|
|
1269
|
-
headers,
|
|
1270
|
-
path: resolvedPath,
|
|
1271
|
-
query,
|
|
1272
|
-
body,
|
|
1273
|
-
});
|
|
803
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
804
|
+
return b.build();
|
|
1274
805
|
};
|
|
1275
806
|
export const se_TagResourceCommand = async (input, context) => {
|
|
1276
|
-
const
|
|
807
|
+
const b = rb(input, context);
|
|
1277
808
|
const headers = {
|
|
1278
809
|
"content-type": "application/json",
|
|
1279
810
|
};
|
|
1280
|
-
|
|
1281
|
-
|
|
811
|
+
b.bp("/2017-03-31/tags/{Resource}");
|
|
812
|
+
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
1282
813
|
let body;
|
|
1283
814
|
body = JSON.stringify(take(input, {
|
|
1284
815
|
Tags: (_) => _json(_),
|
|
1285
816
|
}));
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
hostname,
|
|
1289
|
-
port,
|
|
1290
|
-
method: "POST",
|
|
1291
|
-
headers,
|
|
1292
|
-
path: resolvedPath,
|
|
1293
|
-
body,
|
|
1294
|
-
});
|
|
817
|
+
b.m("POST").h(headers).b(body);
|
|
818
|
+
return b.build();
|
|
1295
819
|
};
|
|
1296
820
|
export const se_UntagResourceCommand = async (input, context) => {
|
|
1297
|
-
const
|
|
821
|
+
const b = rb(input, context);
|
|
1298
822
|
const headers = {};
|
|
1299
|
-
|
|
1300
|
-
|
|
823
|
+
b.bp("/2017-03-31/tags/{Resource}");
|
|
824
|
+
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
1301
825
|
const query = map({
|
|
1302
|
-
|
|
826
|
+
[_tK]: [
|
|
1303
827
|
__expectNonNull(input.TagKeys, `TagKeys`) != null,
|
|
1304
|
-
() => (input
|
|
828
|
+
() => (input[_TK] || []).map((_entry) => _entry),
|
|
1305
829
|
],
|
|
1306
830
|
});
|
|
1307
831
|
let body;
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
hostname,
|
|
1311
|
-
port,
|
|
1312
|
-
method: "DELETE",
|
|
1313
|
-
headers,
|
|
1314
|
-
path: resolvedPath,
|
|
1315
|
-
query,
|
|
1316
|
-
body,
|
|
1317
|
-
});
|
|
832
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
833
|
+
return b.build();
|
|
1318
834
|
};
|
|
1319
835
|
export const se_UpdateAliasCommand = async (input, context) => {
|
|
1320
|
-
const
|
|
836
|
+
const b = rb(input, context);
|
|
1321
837
|
const headers = {
|
|
1322
838
|
"content-type": "application/json",
|
|
1323
839
|
};
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
840
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases/{Name}");
|
|
841
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
842
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
1328
843
|
let body;
|
|
1329
844
|
body = JSON.stringify(take(input, {
|
|
1330
845
|
Description: [],
|
|
@@ -1332,47 +847,32 @@ export const se_UpdateAliasCommand = async (input, context) => {
|
|
|
1332
847
|
RevisionId: [],
|
|
1333
848
|
RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context),
|
|
1334
849
|
}));
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
hostname,
|
|
1338
|
-
port,
|
|
1339
|
-
method: "PUT",
|
|
1340
|
-
headers,
|
|
1341
|
-
path: resolvedPath,
|
|
1342
|
-
body,
|
|
1343
|
-
});
|
|
850
|
+
b.m("PUT").h(headers).b(body);
|
|
851
|
+
return b.build();
|
|
1344
852
|
};
|
|
1345
853
|
export const se_UpdateCodeSigningConfigCommand = async (input, context) => {
|
|
1346
|
-
const
|
|
854
|
+
const b = rb(input, context);
|
|
1347
855
|
const headers = {
|
|
1348
856
|
"content-type": "application/json",
|
|
1349
857
|
};
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
858
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}");
|
|
859
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
1353
860
|
let body;
|
|
1354
861
|
body = JSON.stringify(take(input, {
|
|
1355
862
|
AllowedPublishers: (_) => _json(_),
|
|
1356
863
|
CodeSigningPolicies: (_) => _json(_),
|
|
1357
864
|
Description: [],
|
|
1358
865
|
}));
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
hostname,
|
|
1362
|
-
port,
|
|
1363
|
-
method: "PUT",
|
|
1364
|
-
headers,
|
|
1365
|
-
path: resolvedPath,
|
|
1366
|
-
body,
|
|
1367
|
-
});
|
|
866
|
+
b.m("PUT").h(headers).b(body);
|
|
867
|
+
return b.build();
|
|
1368
868
|
};
|
|
1369
869
|
export const se_UpdateEventSourceMappingCommand = async (input, context) => {
|
|
1370
|
-
const
|
|
870
|
+
const b = rb(input, context);
|
|
1371
871
|
const headers = {
|
|
1372
872
|
"content-type": "application/json",
|
|
1373
873
|
};
|
|
1374
|
-
|
|
1375
|
-
|
|
874
|
+
b.bp("/2015-03-31/event-source-mappings/{UUID}");
|
|
875
|
+
b.p("UUID", () => input.UUID, "{UUID}", false);
|
|
1376
876
|
let body;
|
|
1377
877
|
body = JSON.stringify(take(input, {
|
|
1378
878
|
BatchSize: [],
|
|
@@ -1391,23 +891,16 @@ export const se_UpdateEventSourceMappingCommand = async (input, context) => {
|
|
|
1391
891
|
SourceAccessConfigurations: (_) => _json(_),
|
|
1392
892
|
TumblingWindowInSeconds: [],
|
|
1393
893
|
}));
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
hostname,
|
|
1397
|
-
port,
|
|
1398
|
-
method: "PUT",
|
|
1399
|
-
headers,
|
|
1400
|
-
path: resolvedPath,
|
|
1401
|
-
body,
|
|
1402
|
-
});
|
|
894
|
+
b.m("PUT").h(headers).b(body);
|
|
895
|
+
return b.build();
|
|
1403
896
|
};
|
|
1404
897
|
export const se_UpdateFunctionCodeCommand = async (input, context) => {
|
|
1405
|
-
const
|
|
898
|
+
const b = rb(input, context);
|
|
1406
899
|
const headers = {
|
|
1407
900
|
"content-type": "application/json",
|
|
1408
901
|
};
|
|
1409
|
-
|
|
1410
|
-
|
|
902
|
+
b.bp("/2015-03-31/functions/{FunctionName}/code");
|
|
903
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1411
904
|
let body;
|
|
1412
905
|
body = JSON.stringify(take(input, {
|
|
1413
906
|
Architectures: (_) => _json(_),
|
|
@@ -1420,24 +913,16 @@ export const se_UpdateFunctionCodeCommand = async (input, context) => {
|
|
|
1420
913
|
S3ObjectVersion: [],
|
|
1421
914
|
ZipFile: (_) => context.base64Encoder(_),
|
|
1422
915
|
}));
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
hostname,
|
|
1426
|
-
port,
|
|
1427
|
-
method: "PUT",
|
|
1428
|
-
headers,
|
|
1429
|
-
path: resolvedPath,
|
|
1430
|
-
body,
|
|
1431
|
-
});
|
|
916
|
+
b.m("PUT").h(headers).b(body);
|
|
917
|
+
return b.build();
|
|
1432
918
|
};
|
|
1433
919
|
export const se_UpdateFunctionConfigurationCommand = async (input, context) => {
|
|
1434
|
-
const
|
|
920
|
+
const b = rb(input, context);
|
|
1435
921
|
const headers = {
|
|
1436
922
|
"content-type": "application/json",
|
|
1437
923
|
};
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
924
|
+
b.bp("/2015-03-31/functions/{FunctionName}/configuration");
|
|
925
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1441
926
|
let body;
|
|
1442
927
|
body = JSON.stringify(take(input, {
|
|
1443
928
|
DeadLetterConfig: (_) => _json(_),
|
|
@@ -1459,26 +944,18 @@ export const se_UpdateFunctionConfigurationCommand = async (input, context) => {
|
|
|
1459
944
|
TracingConfig: (_) => _json(_),
|
|
1460
945
|
VpcConfig: (_) => _json(_),
|
|
1461
946
|
}));
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
hostname,
|
|
1465
|
-
port,
|
|
1466
|
-
method: "PUT",
|
|
1467
|
-
headers,
|
|
1468
|
-
path: resolvedPath,
|
|
1469
|
-
body,
|
|
1470
|
-
});
|
|
947
|
+
b.m("PUT").h(headers).b(body);
|
|
948
|
+
return b.build();
|
|
1471
949
|
};
|
|
1472
950
|
export const se_UpdateFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
1473
|
-
const
|
|
951
|
+
const b = rb(input, context);
|
|
1474
952
|
const headers = {
|
|
1475
953
|
"content-type": "application/json",
|
|
1476
954
|
};
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
955
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
956
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1480
957
|
const query = map({
|
|
1481
|
-
|
|
958
|
+
[_Q]: [, input[_Q]],
|
|
1482
959
|
});
|
|
1483
960
|
let body;
|
|
1484
961
|
body = JSON.stringify(take(input, {
|
|
@@ -1486,26 +963,18 @@ export const se_UpdateFunctionEventInvokeConfigCommand = async (input, context)
|
|
|
1486
963
|
MaximumEventAgeInSeconds: [],
|
|
1487
964
|
MaximumRetryAttempts: [],
|
|
1488
965
|
}));
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
hostname,
|
|
1492
|
-
port,
|
|
1493
|
-
method: "POST",
|
|
1494
|
-
headers,
|
|
1495
|
-
path: resolvedPath,
|
|
1496
|
-
query,
|
|
1497
|
-
body,
|
|
1498
|
-
});
|
|
966
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
967
|
+
return b.build();
|
|
1499
968
|
};
|
|
1500
969
|
export const se_UpdateFunctionUrlConfigCommand = async (input, context) => {
|
|
1501
|
-
const
|
|
970
|
+
const b = rb(input, context);
|
|
1502
971
|
const headers = {
|
|
1503
972
|
"content-type": "application/json",
|
|
1504
973
|
};
|
|
1505
|
-
|
|
1506
|
-
|
|
974
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
975
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1507
976
|
const query = map({
|
|
1508
|
-
|
|
977
|
+
[_Q]: [, input[_Q]],
|
|
1509
978
|
});
|
|
1510
979
|
let body;
|
|
1511
980
|
body = JSON.stringify(take(input, {
|
|
@@ -1513,16 +982,8 @@ export const se_UpdateFunctionUrlConfigCommand = async (input, context) => {
|
|
|
1513
982
|
Cors: (_) => _json(_),
|
|
1514
983
|
InvokeMode: [],
|
|
1515
984
|
}));
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
hostname,
|
|
1519
|
-
port,
|
|
1520
|
-
method: "PUT",
|
|
1521
|
-
headers,
|
|
1522
|
-
path: resolvedPath,
|
|
1523
|
-
query,
|
|
1524
|
-
body,
|
|
1525
|
-
});
|
|
985
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
986
|
+
return b.build();
|
|
1526
987
|
};
|
|
1527
988
|
export const de_AddLayerVersionPermissionCommand = async (output, context) => {
|
|
1528
989
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
@@ -3132,9 +2593,9 @@ export const de_InvokeCommand = async (output, context) => {
|
|
|
3132
2593
|
}
|
|
3133
2594
|
const contents = map({
|
|
3134
2595
|
$metadata: deserializeMetadata(output),
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
2596
|
+
[_FE]: [, output.headers[_xafe]],
|
|
2597
|
+
[_LR]: [, output.headers[_xalr]],
|
|
2598
|
+
[_EV]: [, output.headers[_xaev]],
|
|
3138
2599
|
});
|
|
3139
2600
|
const data = await collectBody(output.body, context);
|
|
3140
2601
|
contents.Payload = data;
|
|
@@ -3299,8 +2760,8 @@ export const de_InvokeWithResponseStreamCommand = async (output, context) => {
|
|
|
3299
2760
|
}
|
|
3300
2761
|
const contents = map({
|
|
3301
2762
|
$metadata: deserializeMetadata(output),
|
|
3302
|
-
|
|
3303
|
-
|
|
2763
|
+
[_EV]: [, output.headers[_xaev]],
|
|
2764
|
+
[_RSCT]: [, output.headers[_ct]],
|
|
3304
2765
|
});
|
|
3305
2766
|
const data = output.body;
|
|
3306
2767
|
contents.EventStream = de_InvokeWithResponseStreamResponseEvent(data, context);
|
|
@@ -5419,7 +4880,7 @@ const de_SubnetIPAddressLimitReachedExceptionRes = async (parsedOutput, context)
|
|
|
5419
4880
|
};
|
|
5420
4881
|
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
5421
4882
|
const contents = map({
|
|
5422
|
-
|
|
4883
|
+
[_rAS]: [, parsedOutput.headers[_ra]],
|
|
5423
4884
|
});
|
|
5424
4885
|
const data = parsedOutput.body;
|
|
5425
4886
|
const doc = take(data, {
|
|
@@ -5605,6 +5066,37 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
5605
5066
|
value !== "" &&
|
|
5606
5067
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
5607
5068
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
5069
|
+
const _A = "Arn";
|
|
5070
|
+
const _CA = "CompatibleArchitecture";
|
|
5071
|
+
const _CC = "ClientContext";
|
|
5072
|
+
const _CR = "CompatibleRuntime";
|
|
5073
|
+
const _ESA = "EventSourceArn";
|
|
5074
|
+
const _EV = "ExecutedVersion";
|
|
5075
|
+
const _FE = "FunctionError";
|
|
5076
|
+
const _FN = "FunctionName";
|
|
5077
|
+
const _FV = "FunctionVersion";
|
|
5078
|
+
const _IT = "InvocationType";
|
|
5079
|
+
const _L = "List";
|
|
5080
|
+
const _LR = "LogResult";
|
|
5081
|
+
const _LT = "LogType";
|
|
5082
|
+
const _M = "Marker";
|
|
5083
|
+
const _MI = "MaxItems";
|
|
5084
|
+
const _MR = "MasterRegion";
|
|
5085
|
+
const _Q = "Qualifier";
|
|
5086
|
+
const _RI = "RevisionId";
|
|
5087
|
+
const _RSCT = "ResponseStreamContentType";
|
|
5088
|
+
const _TK = "TagKeys";
|
|
5089
|
+
const _ct = "content-type";
|
|
5090
|
+
const _f = "find";
|
|
5091
|
+
const _rAS = "retryAfterSeconds";
|
|
5092
|
+
const _ra = "retry-after";
|
|
5093
|
+
const _tK = "tagKeys";
|
|
5094
|
+
const _xacc = "x-amz-client-context";
|
|
5095
|
+
const _xaev = "x-amz-executed-version";
|
|
5096
|
+
const _xafe = "x-amz-function-error";
|
|
5097
|
+
const _xait = "x-amz-invocation-type";
|
|
5098
|
+
const _xalr = "x-amz-log-result";
|
|
5099
|
+
const _xalt = "x-amz-log-type";
|
|
5608
5100
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5609
5101
|
if (encoded.length) {
|
|
5610
5102
|
return JSON.parse(encoded);
|