@aws-sdk/client-lambda 3.474.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 +435 -943
- package/dist-es/protocols/Aws_restJson1.js +436 -944
- package/package.json +5 -4
|
@@ -3,21 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.se_PublishVersionCommand = exports.se_PublishLayerVersionCommand = exports.se_ListVersionsByFunctionCommand = exports.se_ListTagsCommand = exports.se_ListProvisionedConcurrencyConfigsCommand = exports.se_ListLayerVersionsCommand = exports.se_ListLayersCommand = exports.se_ListFunctionUrlConfigsCommand = exports.se_ListFunctionsByCodeSigningConfigCommand = exports.se_ListFunctionsCommand = exports.se_ListFunctionEventInvokeConfigsCommand = exports.se_ListEventSourceMappingsCommand = exports.se_ListCodeSigningConfigsCommand = exports.se_ListAliasesCommand = exports.se_InvokeWithResponseStreamCommand = exports.se_InvokeAsyncCommand = exports.se_InvokeCommand = exports.se_GetRuntimeManagementConfigCommand = exports.se_GetProvisionedConcurrencyConfigCommand = exports.se_GetPolicyCommand = exports.se_GetLayerVersionPolicyCommand = exports.se_GetLayerVersionByArnCommand = exports.se_GetLayerVersionCommand = exports.se_GetFunctionUrlConfigCommand = exports.se_GetFunctionEventInvokeConfigCommand = exports.se_GetFunctionConfigurationCommand = exports.se_GetFunctionConcurrencyCommand = exports.se_GetFunctionCodeSigningConfigCommand = exports.se_GetFunctionCommand = exports.se_GetEventSourceMappingCommand = exports.se_GetCodeSigningConfigCommand = exports.se_GetAliasCommand = exports.se_GetAccountSettingsCommand = exports.se_DeleteProvisionedConcurrencyConfigCommand = exports.se_DeleteLayerVersionCommand = exports.se_DeleteFunctionUrlConfigCommand = exports.se_DeleteFunctionEventInvokeConfigCommand = exports.se_DeleteFunctionConcurrencyCommand = exports.se_DeleteFunctionCodeSigningConfigCommand = exports.se_DeleteFunctionCommand = exports.se_DeleteEventSourceMappingCommand = exports.se_DeleteCodeSigningConfigCommand = exports.se_DeleteAliasCommand = exports.se_CreateFunctionUrlConfigCommand = exports.se_CreateFunctionCommand = exports.se_CreateEventSourceMappingCommand = exports.se_CreateCodeSigningConfigCommand = exports.se_CreateAliasCommand = exports.se_AddPermissionCommand = exports.se_AddLayerVersionPermissionCommand = void 0;
|
|
4
4
|
exports.de_InvokeCommand = exports.de_GetRuntimeManagementConfigCommand = exports.de_GetProvisionedConcurrencyConfigCommand = exports.de_GetPolicyCommand = exports.de_GetLayerVersionPolicyCommand = exports.de_GetLayerVersionByArnCommand = exports.de_GetLayerVersionCommand = exports.de_GetFunctionUrlConfigCommand = exports.de_GetFunctionEventInvokeConfigCommand = exports.de_GetFunctionConfigurationCommand = exports.de_GetFunctionConcurrencyCommand = exports.de_GetFunctionCodeSigningConfigCommand = exports.de_GetFunctionCommand = exports.de_GetEventSourceMappingCommand = exports.de_GetCodeSigningConfigCommand = exports.de_GetAliasCommand = exports.de_GetAccountSettingsCommand = exports.de_DeleteProvisionedConcurrencyConfigCommand = exports.de_DeleteLayerVersionCommand = exports.de_DeleteFunctionUrlConfigCommand = exports.de_DeleteFunctionEventInvokeConfigCommand = exports.de_DeleteFunctionConcurrencyCommand = exports.de_DeleteFunctionCodeSigningConfigCommand = exports.de_DeleteFunctionCommand = exports.de_DeleteEventSourceMappingCommand = exports.de_DeleteCodeSigningConfigCommand = exports.de_DeleteAliasCommand = exports.de_CreateFunctionUrlConfigCommand = exports.de_CreateFunctionCommand = exports.de_CreateEventSourceMappingCommand = exports.de_CreateCodeSigningConfigCommand = exports.de_CreateAliasCommand = exports.de_AddPermissionCommand = exports.de_AddLayerVersionPermissionCommand = exports.se_UpdateFunctionUrlConfigCommand = exports.se_UpdateFunctionEventInvokeConfigCommand = exports.se_UpdateFunctionConfigurationCommand = exports.se_UpdateFunctionCodeCommand = exports.se_UpdateEventSourceMappingCommand = exports.se_UpdateCodeSigningConfigCommand = exports.se_UpdateAliasCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RemovePermissionCommand = exports.se_RemoveLayerVersionPermissionCommand = exports.se_PutRuntimeManagementConfigCommand = exports.se_PutProvisionedConcurrencyConfigCommand = exports.se_PutFunctionEventInvokeConfigCommand = exports.se_PutFunctionConcurrencyCommand = exports.se_PutFunctionCodeSigningConfigCommand = void 0;
|
|
5
5
|
exports.de_UpdateFunctionUrlConfigCommand = exports.de_UpdateFunctionEventInvokeConfigCommand = exports.de_UpdateFunctionConfigurationCommand = exports.de_UpdateFunctionCodeCommand = exports.de_UpdateEventSourceMappingCommand = exports.de_UpdateCodeSigningConfigCommand = exports.de_UpdateAliasCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RemovePermissionCommand = exports.de_RemoveLayerVersionPermissionCommand = exports.de_PutRuntimeManagementConfigCommand = exports.de_PutProvisionedConcurrencyConfigCommand = exports.de_PutFunctionEventInvokeConfigCommand = exports.de_PutFunctionConcurrencyCommand = exports.de_PutFunctionCodeSigningConfigCommand = exports.de_PublishVersionCommand = exports.de_PublishLayerVersionCommand = exports.de_ListVersionsByFunctionCommand = exports.de_ListTagsCommand = exports.de_ListProvisionedConcurrencyConfigsCommand = exports.de_ListLayerVersionsCommand = exports.de_ListLayersCommand = exports.de_ListFunctionUrlConfigsCommand = exports.de_ListFunctionsByCodeSigningConfigCommand = exports.de_ListFunctionsCommand = exports.de_ListFunctionEventInvokeConfigsCommand = exports.de_ListEventSourceMappingsCommand = exports.de_ListCodeSigningConfigsCommand = exports.de_ListAliasesCommand = exports.de_InvokeWithResponseStreamCommand = exports.de_InvokeAsyncCommand = void 0;
|
|
6
|
-
const
|
|
6
|
+
const core_1 = require("@smithy/core");
|
|
7
7
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
8
8
|
const LambdaServiceException_1 = require("../models/LambdaServiceException");
|
|
9
9
|
const models_0_1 = require("../models/models_0");
|
|
10
10
|
const se_AddLayerVersionPermissionCommand = async (input, context) => {
|
|
11
|
-
const
|
|
11
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
12
12
|
const headers = {
|
|
13
13
|
"content-type": "application/json",
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
15
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy");
|
|
16
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
17
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
19
18
|
const query = (0, smithy_client_1.map)({
|
|
20
|
-
|
|
19
|
+
[_RI]: [, input[_RI]],
|
|
21
20
|
});
|
|
22
21
|
let body;
|
|
23
22
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -26,28 +25,19 @@ const se_AddLayerVersionPermissionCommand = async (input, context) => {
|
|
|
26
25
|
Principal: [],
|
|
27
26
|
StatementId: [],
|
|
28
27
|
}));
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
hostname,
|
|
32
|
-
port,
|
|
33
|
-
method: "POST",
|
|
34
|
-
headers,
|
|
35
|
-
path: resolvedPath,
|
|
36
|
-
query,
|
|
37
|
-
body,
|
|
38
|
-
});
|
|
28
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
29
|
+
return b.build();
|
|
39
30
|
};
|
|
40
31
|
exports.se_AddLayerVersionPermissionCommand = se_AddLayerVersionPermissionCommand;
|
|
41
32
|
const se_AddPermissionCommand = async (input, context) => {
|
|
42
|
-
const
|
|
33
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
43
34
|
const headers = {
|
|
44
35
|
"content-type": "application/json",
|
|
45
36
|
};
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
37
|
+
b.bp("/2015-03-31/functions/{FunctionName}/policy");
|
|
38
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
49
39
|
const query = (0, smithy_client_1.map)({
|
|
50
|
-
|
|
40
|
+
[_Q]: [, input[_Q]],
|
|
51
41
|
});
|
|
52
42
|
let body;
|
|
53
43
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -61,26 +51,17 @@ const se_AddPermissionCommand = async (input, context) => {
|
|
|
61
51
|
SourceArn: [],
|
|
62
52
|
StatementId: [],
|
|
63
53
|
}));
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
hostname,
|
|
67
|
-
port,
|
|
68
|
-
method: "POST",
|
|
69
|
-
headers,
|
|
70
|
-
path: resolvedPath,
|
|
71
|
-
query,
|
|
72
|
-
body,
|
|
73
|
-
});
|
|
54
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
55
|
+
return b.build();
|
|
74
56
|
};
|
|
75
57
|
exports.se_AddPermissionCommand = se_AddPermissionCommand;
|
|
76
58
|
const se_CreateAliasCommand = async (input, context) => {
|
|
77
|
-
const
|
|
59
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
78
60
|
const headers = {
|
|
79
61
|
"content-type": "application/json",
|
|
80
62
|
};
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
63
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases");
|
|
64
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
84
65
|
let body;
|
|
85
66
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
86
67
|
Description: [],
|
|
@@ -88,46 +69,32 @@ const se_CreateAliasCommand = async (input, context) => {
|
|
|
88
69
|
Name: [],
|
|
89
70
|
RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context),
|
|
90
71
|
}));
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
hostname,
|
|
94
|
-
port,
|
|
95
|
-
method: "POST",
|
|
96
|
-
headers,
|
|
97
|
-
path: resolvedPath,
|
|
98
|
-
body,
|
|
99
|
-
});
|
|
72
|
+
b.m("POST").h(headers).b(body);
|
|
73
|
+
return b.build();
|
|
100
74
|
};
|
|
101
75
|
exports.se_CreateAliasCommand = se_CreateAliasCommand;
|
|
102
76
|
const se_CreateCodeSigningConfigCommand = async (input, context) => {
|
|
103
|
-
const
|
|
77
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
104
78
|
const headers = {
|
|
105
79
|
"content-type": "application/json",
|
|
106
80
|
};
|
|
107
|
-
|
|
81
|
+
b.bp("/2020-04-22/code-signing-configs");
|
|
108
82
|
let body;
|
|
109
83
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
110
84
|
AllowedPublishers: (_) => (0, smithy_client_1._json)(_),
|
|
111
85
|
CodeSigningPolicies: (_) => (0, smithy_client_1._json)(_),
|
|
112
86
|
Description: [],
|
|
113
87
|
}));
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
hostname,
|
|
117
|
-
port,
|
|
118
|
-
method: "POST",
|
|
119
|
-
headers,
|
|
120
|
-
path: resolvedPath,
|
|
121
|
-
body,
|
|
122
|
-
});
|
|
88
|
+
b.m("POST").h(headers).b(body);
|
|
89
|
+
return b.build();
|
|
123
90
|
};
|
|
124
91
|
exports.se_CreateCodeSigningConfigCommand = se_CreateCodeSigningConfigCommand;
|
|
125
92
|
const se_CreateEventSourceMappingCommand = async (input, context) => {
|
|
126
|
-
const
|
|
93
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
127
94
|
const headers = {
|
|
128
95
|
"content-type": "application/json",
|
|
129
96
|
};
|
|
130
|
-
|
|
97
|
+
b.bp("/2015-03-31/event-source-mappings");
|
|
131
98
|
let body;
|
|
132
99
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
133
100
|
AmazonManagedKafkaEventSourceConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -154,23 +121,16 @@ const se_CreateEventSourceMappingCommand = async (input, context) => {
|
|
|
154
121
|
Topics: (_) => (0, smithy_client_1._json)(_),
|
|
155
122
|
TumblingWindowInSeconds: [],
|
|
156
123
|
}));
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
hostname,
|
|
160
|
-
port,
|
|
161
|
-
method: "POST",
|
|
162
|
-
headers,
|
|
163
|
-
path: resolvedPath,
|
|
164
|
-
body,
|
|
165
|
-
});
|
|
124
|
+
b.m("POST").h(headers).b(body);
|
|
125
|
+
return b.build();
|
|
166
126
|
};
|
|
167
127
|
exports.se_CreateEventSourceMappingCommand = se_CreateEventSourceMappingCommand;
|
|
168
128
|
const se_CreateFunctionCommand = async (input, context) => {
|
|
169
|
-
const
|
|
129
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
170
130
|
const headers = {
|
|
171
131
|
"content-type": "application/json",
|
|
172
132
|
};
|
|
173
|
-
|
|
133
|
+
b.bp("/2015-03-31/functions");
|
|
174
134
|
let body;
|
|
175
135
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
176
136
|
Architectures: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -198,26 +158,19 @@ const se_CreateFunctionCommand = async (input, context) => {
|
|
|
198
158
|
TracingConfig: (_) => (0, smithy_client_1._json)(_),
|
|
199
159
|
VpcConfig: (_) => (0, smithy_client_1._json)(_),
|
|
200
160
|
}));
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
hostname,
|
|
204
|
-
port,
|
|
205
|
-
method: "POST",
|
|
206
|
-
headers,
|
|
207
|
-
path: resolvedPath,
|
|
208
|
-
body,
|
|
209
|
-
});
|
|
161
|
+
b.m("POST").h(headers).b(body);
|
|
162
|
+
return b.build();
|
|
210
163
|
};
|
|
211
164
|
exports.se_CreateFunctionCommand = se_CreateFunctionCommand;
|
|
212
165
|
const se_CreateFunctionUrlConfigCommand = async (input, context) => {
|
|
213
|
-
const
|
|
166
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
214
167
|
const headers = {
|
|
215
168
|
"content-type": "application/json",
|
|
216
169
|
};
|
|
217
|
-
|
|
218
|
-
|
|
170
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
171
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
219
172
|
const query = (0, smithy_client_1.map)({
|
|
220
|
-
|
|
173
|
+
[_Q]: [, input[_Q]],
|
|
221
174
|
});
|
|
222
175
|
let body;
|
|
223
176
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -225,893 +178,547 @@ const se_CreateFunctionUrlConfigCommand = async (input, context) => {
|
|
|
225
178
|
Cors: (_) => (0, smithy_client_1._json)(_),
|
|
226
179
|
InvokeMode: [],
|
|
227
180
|
}));
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
hostname,
|
|
231
|
-
port,
|
|
232
|
-
method: "POST",
|
|
233
|
-
headers,
|
|
234
|
-
path: resolvedPath,
|
|
235
|
-
query,
|
|
236
|
-
body,
|
|
237
|
-
});
|
|
181
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
182
|
+
return b.build();
|
|
238
183
|
};
|
|
239
184
|
exports.se_CreateFunctionUrlConfigCommand = se_CreateFunctionUrlConfigCommand;
|
|
240
185
|
const se_DeleteAliasCommand = async (input, context) => {
|
|
241
|
-
const
|
|
186
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
242
187
|
const headers = {};
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
188
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases/{Name}");
|
|
189
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
190
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
247
191
|
let body;
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
hostname,
|
|
251
|
-
port,
|
|
252
|
-
method: "DELETE",
|
|
253
|
-
headers,
|
|
254
|
-
path: resolvedPath,
|
|
255
|
-
body,
|
|
256
|
-
});
|
|
192
|
+
b.m("DELETE").h(headers).b(body);
|
|
193
|
+
return b.build();
|
|
257
194
|
};
|
|
258
195
|
exports.se_DeleteAliasCommand = se_DeleteAliasCommand;
|
|
259
196
|
const se_DeleteCodeSigningConfigCommand = async (input, context) => {
|
|
260
|
-
const
|
|
197
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
261
198
|
const headers = {};
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
199
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}");
|
|
200
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
265
201
|
let body;
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
hostname,
|
|
269
|
-
port,
|
|
270
|
-
method: "DELETE",
|
|
271
|
-
headers,
|
|
272
|
-
path: resolvedPath,
|
|
273
|
-
body,
|
|
274
|
-
});
|
|
202
|
+
b.m("DELETE").h(headers).b(body);
|
|
203
|
+
return b.build();
|
|
275
204
|
};
|
|
276
205
|
exports.se_DeleteCodeSigningConfigCommand = se_DeleteCodeSigningConfigCommand;
|
|
277
206
|
const se_DeleteEventSourceMappingCommand = async (input, context) => {
|
|
278
|
-
const
|
|
207
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
279
208
|
const headers = {};
|
|
280
|
-
|
|
281
|
-
|
|
209
|
+
b.bp("/2015-03-31/event-source-mappings/{UUID}");
|
|
210
|
+
b.p("UUID", () => input.UUID, "{UUID}", false);
|
|
282
211
|
let body;
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
hostname,
|
|
286
|
-
port,
|
|
287
|
-
method: "DELETE",
|
|
288
|
-
headers,
|
|
289
|
-
path: resolvedPath,
|
|
290
|
-
body,
|
|
291
|
-
});
|
|
212
|
+
b.m("DELETE").h(headers).b(body);
|
|
213
|
+
return b.build();
|
|
292
214
|
};
|
|
293
215
|
exports.se_DeleteEventSourceMappingCommand = se_DeleteEventSourceMappingCommand;
|
|
294
216
|
const se_DeleteFunctionCommand = async (input, context) => {
|
|
295
|
-
const
|
|
217
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
296
218
|
const headers = {};
|
|
297
|
-
|
|
298
|
-
|
|
219
|
+
b.bp("/2015-03-31/functions/{FunctionName}");
|
|
220
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
299
221
|
const query = (0, smithy_client_1.map)({
|
|
300
|
-
|
|
222
|
+
[_Q]: [, input[_Q]],
|
|
301
223
|
});
|
|
302
224
|
let body;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
hostname,
|
|
306
|
-
port,
|
|
307
|
-
method: "DELETE",
|
|
308
|
-
headers,
|
|
309
|
-
path: resolvedPath,
|
|
310
|
-
query,
|
|
311
|
-
body,
|
|
312
|
-
});
|
|
225
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
226
|
+
return b.build();
|
|
313
227
|
};
|
|
314
228
|
exports.se_DeleteFunctionCommand = se_DeleteFunctionCommand;
|
|
315
229
|
const se_DeleteFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
316
|
-
const
|
|
230
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
317
231
|
const headers = {};
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
232
|
+
b.bp("/2020-06-30/functions/{FunctionName}/code-signing-config");
|
|
233
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
321
234
|
let body;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
hostname,
|
|
325
|
-
port,
|
|
326
|
-
method: "DELETE",
|
|
327
|
-
headers,
|
|
328
|
-
path: resolvedPath,
|
|
329
|
-
body,
|
|
330
|
-
});
|
|
235
|
+
b.m("DELETE").h(headers).b(body);
|
|
236
|
+
return b.build();
|
|
331
237
|
};
|
|
332
238
|
exports.se_DeleteFunctionCodeSigningConfigCommand = se_DeleteFunctionCodeSigningConfigCommand;
|
|
333
239
|
const se_DeleteFunctionConcurrencyCommand = async (input, context) => {
|
|
334
|
-
const
|
|
240
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
335
241
|
const headers = {};
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
242
|
+
b.bp("/2017-10-31/functions/{FunctionName}/concurrency");
|
|
243
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
339
244
|
let body;
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
hostname,
|
|
343
|
-
port,
|
|
344
|
-
method: "DELETE",
|
|
345
|
-
headers,
|
|
346
|
-
path: resolvedPath,
|
|
347
|
-
body,
|
|
348
|
-
});
|
|
245
|
+
b.m("DELETE").h(headers).b(body);
|
|
246
|
+
return b.build();
|
|
349
247
|
};
|
|
350
248
|
exports.se_DeleteFunctionConcurrencyCommand = se_DeleteFunctionConcurrencyCommand;
|
|
351
249
|
const se_DeleteFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
352
|
-
const
|
|
250
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
353
251
|
const headers = {};
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
252
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
253
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
357
254
|
const query = (0, smithy_client_1.map)({
|
|
358
|
-
|
|
255
|
+
[_Q]: [, input[_Q]],
|
|
359
256
|
});
|
|
360
257
|
let body;
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
hostname,
|
|
364
|
-
port,
|
|
365
|
-
method: "DELETE",
|
|
366
|
-
headers,
|
|
367
|
-
path: resolvedPath,
|
|
368
|
-
query,
|
|
369
|
-
body,
|
|
370
|
-
});
|
|
258
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
259
|
+
return b.build();
|
|
371
260
|
};
|
|
372
261
|
exports.se_DeleteFunctionEventInvokeConfigCommand = se_DeleteFunctionEventInvokeConfigCommand;
|
|
373
262
|
const se_DeleteFunctionUrlConfigCommand = async (input, context) => {
|
|
374
|
-
const
|
|
263
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
375
264
|
const headers = {};
|
|
376
|
-
|
|
377
|
-
|
|
265
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
266
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
378
267
|
const query = (0, smithy_client_1.map)({
|
|
379
|
-
|
|
268
|
+
[_Q]: [, input[_Q]],
|
|
380
269
|
});
|
|
381
270
|
let body;
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
hostname,
|
|
385
|
-
port,
|
|
386
|
-
method: "DELETE",
|
|
387
|
-
headers,
|
|
388
|
-
path: resolvedPath,
|
|
389
|
-
query,
|
|
390
|
-
body,
|
|
391
|
-
});
|
|
271
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
272
|
+
return b.build();
|
|
392
273
|
};
|
|
393
274
|
exports.se_DeleteFunctionUrlConfigCommand = se_DeleteFunctionUrlConfigCommand;
|
|
394
275
|
const se_DeleteLayerVersionCommand = async (input, context) => {
|
|
395
|
-
const
|
|
276
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
396
277
|
const headers = {};
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
278
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}");
|
|
279
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
280
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
401
281
|
let body;
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
hostname,
|
|
405
|
-
port,
|
|
406
|
-
method: "DELETE",
|
|
407
|
-
headers,
|
|
408
|
-
path: resolvedPath,
|
|
409
|
-
body,
|
|
410
|
-
});
|
|
282
|
+
b.m("DELETE").h(headers).b(body);
|
|
283
|
+
return b.build();
|
|
411
284
|
};
|
|
412
285
|
exports.se_DeleteLayerVersionCommand = se_DeleteLayerVersionCommand;
|
|
413
286
|
const se_DeleteProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
414
|
-
const
|
|
287
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
415
288
|
const headers = {};
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
289
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
290
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
419
291
|
const query = (0, smithy_client_1.map)({
|
|
420
|
-
|
|
292
|
+
[_Q]: [, (0, smithy_client_1.expectNonNull)(input[_Q], `Qualifier`)],
|
|
421
293
|
});
|
|
422
294
|
let body;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
hostname,
|
|
426
|
-
port,
|
|
427
|
-
method: "DELETE",
|
|
428
|
-
headers,
|
|
429
|
-
path: resolvedPath,
|
|
430
|
-
query,
|
|
431
|
-
body,
|
|
432
|
-
});
|
|
295
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
296
|
+
return b.build();
|
|
433
297
|
};
|
|
434
298
|
exports.se_DeleteProvisionedConcurrencyConfigCommand = se_DeleteProvisionedConcurrencyConfigCommand;
|
|
435
299
|
const se_GetAccountSettingsCommand = async (input, context) => {
|
|
436
|
-
const
|
|
300
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
437
301
|
const headers = {
|
|
438
302
|
"content-type": "application/json",
|
|
439
303
|
};
|
|
440
|
-
|
|
304
|
+
b.bp("/2016-08-19/account-settings");
|
|
441
305
|
let body;
|
|
442
306
|
body = "";
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
hostname,
|
|
446
|
-
port,
|
|
447
|
-
method: "GET",
|
|
448
|
-
headers,
|
|
449
|
-
path: resolvedPath,
|
|
450
|
-
body,
|
|
451
|
-
});
|
|
307
|
+
b.m("GET").h(headers).b(body);
|
|
308
|
+
return b.build();
|
|
452
309
|
};
|
|
453
310
|
exports.se_GetAccountSettingsCommand = se_GetAccountSettingsCommand;
|
|
454
311
|
const se_GetAliasCommand = async (input, context) => {
|
|
455
|
-
const
|
|
312
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
456
313
|
const headers = {};
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
314
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases/{Name}");
|
|
315
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
316
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
461
317
|
let body;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
hostname,
|
|
465
|
-
port,
|
|
466
|
-
method: "GET",
|
|
467
|
-
headers,
|
|
468
|
-
path: resolvedPath,
|
|
469
|
-
body,
|
|
470
|
-
});
|
|
318
|
+
b.m("GET").h(headers).b(body);
|
|
319
|
+
return b.build();
|
|
471
320
|
};
|
|
472
321
|
exports.se_GetAliasCommand = se_GetAliasCommand;
|
|
473
322
|
const se_GetCodeSigningConfigCommand = async (input, context) => {
|
|
474
|
-
const
|
|
323
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
475
324
|
const headers = {};
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
325
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}");
|
|
326
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
479
327
|
let body;
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
hostname,
|
|
483
|
-
port,
|
|
484
|
-
method: "GET",
|
|
485
|
-
headers,
|
|
486
|
-
path: resolvedPath,
|
|
487
|
-
body,
|
|
488
|
-
});
|
|
328
|
+
b.m("GET").h(headers).b(body);
|
|
329
|
+
return b.build();
|
|
489
330
|
};
|
|
490
331
|
exports.se_GetCodeSigningConfigCommand = se_GetCodeSigningConfigCommand;
|
|
491
332
|
const se_GetEventSourceMappingCommand = async (input, context) => {
|
|
492
|
-
const
|
|
333
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
493
334
|
const headers = {};
|
|
494
|
-
|
|
495
|
-
|
|
335
|
+
b.bp("/2015-03-31/event-source-mappings/{UUID}");
|
|
336
|
+
b.p("UUID", () => input.UUID, "{UUID}", false);
|
|
496
337
|
let body;
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
hostname,
|
|
500
|
-
port,
|
|
501
|
-
method: "GET",
|
|
502
|
-
headers,
|
|
503
|
-
path: resolvedPath,
|
|
504
|
-
body,
|
|
505
|
-
});
|
|
338
|
+
b.m("GET").h(headers).b(body);
|
|
339
|
+
return b.build();
|
|
506
340
|
};
|
|
507
341
|
exports.se_GetEventSourceMappingCommand = se_GetEventSourceMappingCommand;
|
|
508
342
|
const se_GetFunctionCommand = async (input, context) => {
|
|
509
|
-
const
|
|
343
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
510
344
|
const headers = {};
|
|
511
|
-
|
|
512
|
-
|
|
345
|
+
b.bp("/2015-03-31/functions/{FunctionName}");
|
|
346
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
513
347
|
const query = (0, smithy_client_1.map)({
|
|
514
|
-
|
|
348
|
+
[_Q]: [, input[_Q]],
|
|
515
349
|
});
|
|
516
350
|
let body;
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
hostname,
|
|
520
|
-
port,
|
|
521
|
-
method: "GET",
|
|
522
|
-
headers,
|
|
523
|
-
path: resolvedPath,
|
|
524
|
-
query,
|
|
525
|
-
body,
|
|
526
|
-
});
|
|
351
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
352
|
+
return b.build();
|
|
527
353
|
};
|
|
528
354
|
exports.se_GetFunctionCommand = se_GetFunctionCommand;
|
|
529
355
|
const se_GetFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
530
|
-
const
|
|
356
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
531
357
|
const headers = {};
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
358
|
+
b.bp("/2020-06-30/functions/{FunctionName}/code-signing-config");
|
|
359
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
535
360
|
let body;
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
hostname,
|
|
539
|
-
port,
|
|
540
|
-
method: "GET",
|
|
541
|
-
headers,
|
|
542
|
-
path: resolvedPath,
|
|
543
|
-
body,
|
|
544
|
-
});
|
|
361
|
+
b.m("GET").h(headers).b(body);
|
|
362
|
+
return b.build();
|
|
545
363
|
};
|
|
546
364
|
exports.se_GetFunctionCodeSigningConfigCommand = se_GetFunctionCodeSigningConfigCommand;
|
|
547
365
|
const se_GetFunctionConcurrencyCommand = async (input, context) => {
|
|
548
|
-
const
|
|
366
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
549
367
|
const headers = {};
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
368
|
+
b.bp("/2019-09-30/functions/{FunctionName}/concurrency");
|
|
369
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
553
370
|
let body;
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
hostname,
|
|
557
|
-
port,
|
|
558
|
-
method: "GET",
|
|
559
|
-
headers,
|
|
560
|
-
path: resolvedPath,
|
|
561
|
-
body,
|
|
562
|
-
});
|
|
371
|
+
b.m("GET").h(headers).b(body);
|
|
372
|
+
return b.build();
|
|
563
373
|
};
|
|
564
374
|
exports.se_GetFunctionConcurrencyCommand = se_GetFunctionConcurrencyCommand;
|
|
565
375
|
const se_GetFunctionConfigurationCommand = async (input, context) => {
|
|
566
|
-
const
|
|
376
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
567
377
|
const headers = {};
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
378
|
+
b.bp("/2015-03-31/functions/{FunctionName}/configuration");
|
|
379
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
571
380
|
const query = (0, smithy_client_1.map)({
|
|
572
|
-
|
|
381
|
+
[_Q]: [, input[_Q]],
|
|
573
382
|
});
|
|
574
383
|
let body;
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
hostname,
|
|
578
|
-
port,
|
|
579
|
-
method: "GET",
|
|
580
|
-
headers,
|
|
581
|
-
path: resolvedPath,
|
|
582
|
-
query,
|
|
583
|
-
body,
|
|
584
|
-
});
|
|
384
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
385
|
+
return b.build();
|
|
585
386
|
};
|
|
586
387
|
exports.se_GetFunctionConfigurationCommand = se_GetFunctionConfigurationCommand;
|
|
587
388
|
const se_GetFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
588
|
-
const
|
|
389
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
589
390
|
const headers = {};
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
391
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
392
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
593
393
|
const query = (0, smithy_client_1.map)({
|
|
594
|
-
|
|
394
|
+
[_Q]: [, input[_Q]],
|
|
595
395
|
});
|
|
596
396
|
let body;
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
hostname,
|
|
600
|
-
port,
|
|
601
|
-
method: "GET",
|
|
602
|
-
headers,
|
|
603
|
-
path: resolvedPath,
|
|
604
|
-
query,
|
|
605
|
-
body,
|
|
606
|
-
});
|
|
397
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
398
|
+
return b.build();
|
|
607
399
|
};
|
|
608
400
|
exports.se_GetFunctionEventInvokeConfigCommand = se_GetFunctionEventInvokeConfigCommand;
|
|
609
401
|
const se_GetFunctionUrlConfigCommand = async (input, context) => {
|
|
610
|
-
const
|
|
402
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
611
403
|
const headers = {};
|
|
612
|
-
|
|
613
|
-
|
|
404
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
405
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
614
406
|
const query = (0, smithy_client_1.map)({
|
|
615
|
-
|
|
407
|
+
[_Q]: [, input[_Q]],
|
|
616
408
|
});
|
|
617
409
|
let body;
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
hostname,
|
|
621
|
-
port,
|
|
622
|
-
method: "GET",
|
|
623
|
-
headers,
|
|
624
|
-
path: resolvedPath,
|
|
625
|
-
query,
|
|
626
|
-
body,
|
|
627
|
-
});
|
|
410
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
411
|
+
return b.build();
|
|
628
412
|
};
|
|
629
413
|
exports.se_GetFunctionUrlConfigCommand = se_GetFunctionUrlConfigCommand;
|
|
630
414
|
const se_GetLayerVersionCommand = async (input, context) => {
|
|
631
|
-
const
|
|
415
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
632
416
|
const headers = {};
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
417
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}");
|
|
418
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
419
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
637
420
|
let body;
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
hostname,
|
|
641
|
-
port,
|
|
642
|
-
method: "GET",
|
|
643
|
-
headers,
|
|
644
|
-
path: resolvedPath,
|
|
645
|
-
body,
|
|
646
|
-
});
|
|
421
|
+
b.m("GET").h(headers).b(body);
|
|
422
|
+
return b.build();
|
|
647
423
|
};
|
|
648
424
|
exports.se_GetLayerVersionCommand = se_GetLayerVersionCommand;
|
|
649
425
|
const se_GetLayerVersionByArnCommand = async (input, context) => {
|
|
650
|
-
const
|
|
426
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
651
427
|
const headers = {};
|
|
652
|
-
|
|
428
|
+
b.bp("/2018-10-31/layers");
|
|
653
429
|
const query = (0, smithy_client_1.map)({
|
|
654
|
-
|
|
655
|
-
|
|
430
|
+
[_f]: [, "LayerVersion"],
|
|
431
|
+
[_A]: [, (0, smithy_client_1.expectNonNull)(input[_A], `Arn`)],
|
|
656
432
|
});
|
|
657
433
|
let body;
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
hostname,
|
|
661
|
-
port,
|
|
662
|
-
method: "GET",
|
|
663
|
-
headers,
|
|
664
|
-
path: resolvedPath,
|
|
665
|
-
query,
|
|
666
|
-
body,
|
|
667
|
-
});
|
|
434
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
435
|
+
return b.build();
|
|
668
436
|
};
|
|
669
437
|
exports.se_GetLayerVersionByArnCommand = se_GetLayerVersionByArnCommand;
|
|
670
438
|
const se_GetLayerVersionPolicyCommand = async (input, context) => {
|
|
671
|
-
const
|
|
439
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
672
440
|
const headers = {};
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
441
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy");
|
|
442
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
443
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
677
444
|
let body;
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
hostname,
|
|
681
|
-
port,
|
|
682
|
-
method: "GET",
|
|
683
|
-
headers,
|
|
684
|
-
path: resolvedPath,
|
|
685
|
-
body,
|
|
686
|
-
});
|
|
445
|
+
b.m("GET").h(headers).b(body);
|
|
446
|
+
return b.build();
|
|
687
447
|
};
|
|
688
448
|
exports.se_GetLayerVersionPolicyCommand = se_GetLayerVersionPolicyCommand;
|
|
689
449
|
const se_GetPolicyCommand = async (input, context) => {
|
|
690
|
-
const
|
|
450
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
691
451
|
const headers = {};
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
452
|
+
b.bp("/2015-03-31/functions/{FunctionName}/policy");
|
|
453
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
695
454
|
const query = (0, smithy_client_1.map)({
|
|
696
|
-
|
|
455
|
+
[_Q]: [, input[_Q]],
|
|
697
456
|
});
|
|
698
457
|
let body;
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
hostname,
|
|
702
|
-
port,
|
|
703
|
-
method: "GET",
|
|
704
|
-
headers,
|
|
705
|
-
path: resolvedPath,
|
|
706
|
-
query,
|
|
707
|
-
body,
|
|
708
|
-
});
|
|
458
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
459
|
+
return b.build();
|
|
709
460
|
};
|
|
710
461
|
exports.se_GetPolicyCommand = se_GetPolicyCommand;
|
|
711
462
|
const se_GetProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
712
|
-
const
|
|
463
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
713
464
|
const headers = {};
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
465
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
466
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
717
467
|
const query = (0, smithy_client_1.map)({
|
|
718
|
-
|
|
468
|
+
[_Q]: [, (0, smithy_client_1.expectNonNull)(input[_Q], `Qualifier`)],
|
|
719
469
|
});
|
|
720
470
|
let body;
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
hostname,
|
|
724
|
-
port,
|
|
725
|
-
method: "GET",
|
|
726
|
-
headers,
|
|
727
|
-
path: resolvedPath,
|
|
728
|
-
query,
|
|
729
|
-
body,
|
|
730
|
-
});
|
|
471
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
472
|
+
return b.build();
|
|
731
473
|
};
|
|
732
474
|
exports.se_GetProvisionedConcurrencyConfigCommand = se_GetProvisionedConcurrencyConfigCommand;
|
|
733
475
|
const se_GetRuntimeManagementConfigCommand = async (input, context) => {
|
|
734
|
-
const
|
|
476
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
735
477
|
const headers = {};
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
478
|
+
b.bp("/2021-07-20/functions/{FunctionName}/runtime-management-config");
|
|
479
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
739
480
|
const query = (0, smithy_client_1.map)({
|
|
740
|
-
|
|
481
|
+
[_Q]: [, input[_Q]],
|
|
741
482
|
});
|
|
742
483
|
let body;
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
hostname,
|
|
746
|
-
port,
|
|
747
|
-
method: "GET",
|
|
748
|
-
headers,
|
|
749
|
-
path: resolvedPath,
|
|
750
|
-
query,
|
|
751
|
-
body,
|
|
752
|
-
});
|
|
484
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
485
|
+
return b.build();
|
|
753
486
|
};
|
|
754
487
|
exports.se_GetRuntimeManagementConfigCommand = se_GetRuntimeManagementConfigCommand;
|
|
755
488
|
const se_InvokeCommand = async (input, context) => {
|
|
756
|
-
const
|
|
489
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
757
490
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
758
491
|
"content-type": "application/octet-stream",
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
492
|
+
[_xait]: input[_IT],
|
|
493
|
+
[_xalt]: input[_LT],
|
|
494
|
+
[_xacc]: input[_CC],
|
|
762
495
|
});
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
496
|
+
b.bp("/2015-03-31/functions/{FunctionName}/invocations");
|
|
497
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
766
498
|
const query = (0, smithy_client_1.map)({
|
|
767
|
-
|
|
499
|
+
[_Q]: [, input[_Q]],
|
|
768
500
|
});
|
|
769
501
|
let body;
|
|
770
502
|
if (input.Payload !== undefined) {
|
|
771
503
|
body = input.Payload;
|
|
772
504
|
}
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
hostname,
|
|
776
|
-
port,
|
|
777
|
-
method: "POST",
|
|
778
|
-
headers,
|
|
779
|
-
path: resolvedPath,
|
|
780
|
-
query,
|
|
781
|
-
body,
|
|
782
|
-
});
|
|
505
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
506
|
+
return b.build();
|
|
783
507
|
};
|
|
784
508
|
exports.se_InvokeCommand = se_InvokeCommand;
|
|
785
509
|
const se_InvokeAsyncCommand = async (input, context) => {
|
|
786
|
-
const
|
|
510
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
787
511
|
const headers = {
|
|
788
512
|
"content-type": "application/octet-stream",
|
|
789
513
|
};
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
514
|
+
b.bp("/2014-11-13/functions/{FunctionName}/invoke-async");
|
|
515
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
793
516
|
let body;
|
|
794
517
|
if (input.InvokeArgs !== undefined) {
|
|
795
518
|
body = input.InvokeArgs;
|
|
796
519
|
}
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
hostname,
|
|
800
|
-
port,
|
|
801
|
-
method: "POST",
|
|
802
|
-
headers,
|
|
803
|
-
path: resolvedPath,
|
|
804
|
-
body,
|
|
805
|
-
});
|
|
520
|
+
b.m("POST").h(headers).b(body);
|
|
521
|
+
return b.build();
|
|
806
522
|
};
|
|
807
523
|
exports.se_InvokeAsyncCommand = se_InvokeAsyncCommand;
|
|
808
524
|
const se_InvokeWithResponseStreamCommand = async (input, context) => {
|
|
809
|
-
const
|
|
525
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
810
526
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
811
527
|
"content-type": "application/octet-stream",
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
528
|
+
[_xait]: input[_IT],
|
|
529
|
+
[_xalt]: input[_LT],
|
|
530
|
+
[_xacc]: input[_CC],
|
|
815
531
|
});
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
532
|
+
b.bp("/2021-11-15/functions/{FunctionName}/response-streaming-invocations");
|
|
533
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
819
534
|
const query = (0, smithy_client_1.map)({
|
|
820
|
-
|
|
535
|
+
[_Q]: [, input[_Q]],
|
|
821
536
|
});
|
|
822
537
|
let body;
|
|
823
538
|
if (input.Payload !== undefined) {
|
|
824
539
|
body = input.Payload;
|
|
825
540
|
}
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
hostname,
|
|
829
|
-
port,
|
|
830
|
-
method: "POST",
|
|
831
|
-
headers,
|
|
832
|
-
path: resolvedPath,
|
|
833
|
-
query,
|
|
834
|
-
body,
|
|
835
|
-
});
|
|
541
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
542
|
+
return b.build();
|
|
836
543
|
};
|
|
837
544
|
exports.se_InvokeWithResponseStreamCommand = se_InvokeWithResponseStreamCommand;
|
|
838
545
|
const se_ListAliasesCommand = async (input, context) => {
|
|
839
|
-
const
|
|
546
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
840
547
|
const headers = {};
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
548
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases");
|
|
549
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
844
550
|
const query = (0, smithy_client_1.map)({
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
551
|
+
[_FV]: [, input[_FV]],
|
|
552
|
+
[_M]: [, input[_M]],
|
|
553
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
848
554
|
});
|
|
849
555
|
let body;
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
hostname,
|
|
853
|
-
port,
|
|
854
|
-
method: "GET",
|
|
855
|
-
headers,
|
|
856
|
-
path: resolvedPath,
|
|
857
|
-
query,
|
|
858
|
-
body,
|
|
859
|
-
});
|
|
556
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
557
|
+
return b.build();
|
|
860
558
|
};
|
|
861
559
|
exports.se_ListAliasesCommand = se_ListAliasesCommand;
|
|
862
560
|
const se_ListCodeSigningConfigsCommand = async (input, context) => {
|
|
863
|
-
const
|
|
561
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
864
562
|
const headers = {};
|
|
865
|
-
|
|
563
|
+
b.bp("/2020-04-22/code-signing-configs");
|
|
866
564
|
const query = (0, smithy_client_1.map)({
|
|
867
|
-
|
|
868
|
-
|
|
565
|
+
[_M]: [, input[_M]],
|
|
566
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
869
567
|
});
|
|
870
568
|
let body;
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
hostname,
|
|
874
|
-
port,
|
|
875
|
-
method: "GET",
|
|
876
|
-
headers,
|
|
877
|
-
path: resolvedPath,
|
|
878
|
-
query,
|
|
879
|
-
body,
|
|
880
|
-
});
|
|
569
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
570
|
+
return b.build();
|
|
881
571
|
};
|
|
882
572
|
exports.se_ListCodeSigningConfigsCommand = se_ListCodeSigningConfigsCommand;
|
|
883
573
|
const se_ListEventSourceMappingsCommand = async (input, context) => {
|
|
884
|
-
const
|
|
574
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
885
575
|
const headers = {};
|
|
886
|
-
|
|
576
|
+
b.bp("/2015-03-31/event-source-mappings");
|
|
887
577
|
const query = (0, smithy_client_1.map)({
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
578
|
+
[_ESA]: [, input[_ESA]],
|
|
579
|
+
[_FN]: [, input[_FN]],
|
|
580
|
+
[_M]: [, input[_M]],
|
|
581
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
892
582
|
});
|
|
893
583
|
let body;
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
hostname,
|
|
897
|
-
port,
|
|
898
|
-
method: "GET",
|
|
899
|
-
headers,
|
|
900
|
-
path: resolvedPath,
|
|
901
|
-
query,
|
|
902
|
-
body,
|
|
903
|
-
});
|
|
584
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
585
|
+
return b.build();
|
|
904
586
|
};
|
|
905
587
|
exports.se_ListEventSourceMappingsCommand = se_ListEventSourceMappingsCommand;
|
|
906
588
|
const se_ListFunctionEventInvokeConfigsCommand = async (input, context) => {
|
|
907
|
-
const
|
|
589
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
908
590
|
const headers = {};
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
591
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config/list");
|
|
592
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
912
593
|
const query = (0, smithy_client_1.map)({
|
|
913
|
-
|
|
914
|
-
|
|
594
|
+
[_M]: [, input[_M]],
|
|
595
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
915
596
|
});
|
|
916
597
|
let body;
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
hostname,
|
|
920
|
-
port,
|
|
921
|
-
method: "GET",
|
|
922
|
-
headers,
|
|
923
|
-
path: resolvedPath,
|
|
924
|
-
query,
|
|
925
|
-
body,
|
|
926
|
-
});
|
|
598
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
599
|
+
return b.build();
|
|
927
600
|
};
|
|
928
601
|
exports.se_ListFunctionEventInvokeConfigsCommand = se_ListFunctionEventInvokeConfigsCommand;
|
|
929
602
|
const se_ListFunctionsCommand = async (input, context) => {
|
|
930
|
-
const
|
|
603
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
931
604
|
const headers = {};
|
|
932
|
-
|
|
605
|
+
b.bp("/2015-03-31/functions");
|
|
933
606
|
const query = (0, smithy_client_1.map)({
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
607
|
+
[_MR]: [, input[_MR]],
|
|
608
|
+
[_FV]: [, input[_FV]],
|
|
609
|
+
[_M]: [, input[_M]],
|
|
610
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
938
611
|
});
|
|
939
612
|
let body;
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
hostname,
|
|
943
|
-
port,
|
|
944
|
-
method: "GET",
|
|
945
|
-
headers,
|
|
946
|
-
path: resolvedPath,
|
|
947
|
-
query,
|
|
948
|
-
body,
|
|
949
|
-
});
|
|
613
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
614
|
+
return b.build();
|
|
950
615
|
};
|
|
951
616
|
exports.se_ListFunctionsCommand = se_ListFunctionsCommand;
|
|
952
617
|
const se_ListFunctionsByCodeSigningConfigCommand = async (input, context) => {
|
|
953
|
-
const
|
|
618
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
954
619
|
const headers = {};
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
620
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions");
|
|
621
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
958
622
|
const query = (0, smithy_client_1.map)({
|
|
959
|
-
|
|
960
|
-
|
|
623
|
+
[_M]: [, input[_M]],
|
|
624
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
961
625
|
});
|
|
962
626
|
let body;
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
hostname,
|
|
966
|
-
port,
|
|
967
|
-
method: "GET",
|
|
968
|
-
headers,
|
|
969
|
-
path: resolvedPath,
|
|
970
|
-
query,
|
|
971
|
-
body,
|
|
972
|
-
});
|
|
627
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
628
|
+
return b.build();
|
|
973
629
|
};
|
|
974
630
|
exports.se_ListFunctionsByCodeSigningConfigCommand = se_ListFunctionsByCodeSigningConfigCommand;
|
|
975
631
|
const se_ListFunctionUrlConfigsCommand = async (input, context) => {
|
|
976
|
-
const
|
|
632
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
977
633
|
const headers = {};
|
|
978
|
-
|
|
979
|
-
|
|
634
|
+
b.bp("/2021-10-31/functions/{FunctionName}/urls");
|
|
635
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
980
636
|
const query = (0, smithy_client_1.map)({
|
|
981
|
-
|
|
982
|
-
|
|
637
|
+
[_M]: [, input[_M]],
|
|
638
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
983
639
|
});
|
|
984
640
|
let body;
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
hostname,
|
|
988
|
-
port,
|
|
989
|
-
method: "GET",
|
|
990
|
-
headers,
|
|
991
|
-
path: resolvedPath,
|
|
992
|
-
query,
|
|
993
|
-
body,
|
|
994
|
-
});
|
|
641
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
642
|
+
return b.build();
|
|
995
643
|
};
|
|
996
644
|
exports.se_ListFunctionUrlConfigsCommand = se_ListFunctionUrlConfigsCommand;
|
|
997
645
|
const se_ListLayersCommand = async (input, context) => {
|
|
998
|
-
const
|
|
646
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
999
647
|
const headers = {};
|
|
1000
|
-
|
|
648
|
+
b.bp("/2018-10-31/layers");
|
|
1001
649
|
const query = (0, smithy_client_1.map)({
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
650
|
+
[_CR]: [, input[_CR]],
|
|
651
|
+
[_M]: [, input[_M]],
|
|
652
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
653
|
+
[_CA]: [, input[_CA]],
|
|
1006
654
|
});
|
|
1007
655
|
let body;
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
hostname,
|
|
1011
|
-
port,
|
|
1012
|
-
method: "GET",
|
|
1013
|
-
headers,
|
|
1014
|
-
path: resolvedPath,
|
|
1015
|
-
query,
|
|
1016
|
-
body,
|
|
1017
|
-
});
|
|
656
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
657
|
+
return b.build();
|
|
1018
658
|
};
|
|
1019
659
|
exports.se_ListLayersCommand = se_ListLayersCommand;
|
|
1020
660
|
const se_ListLayerVersionsCommand = async (input, context) => {
|
|
1021
|
-
const
|
|
661
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1022
662
|
const headers = {};
|
|
1023
|
-
|
|
1024
|
-
|
|
663
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions");
|
|
664
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
1025
665
|
const query = (0, smithy_client_1.map)({
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
666
|
+
[_CR]: [, input[_CR]],
|
|
667
|
+
[_M]: [, input[_M]],
|
|
668
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
669
|
+
[_CA]: [, input[_CA]],
|
|
1030
670
|
});
|
|
1031
671
|
let body;
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
hostname,
|
|
1035
|
-
port,
|
|
1036
|
-
method: "GET",
|
|
1037
|
-
headers,
|
|
1038
|
-
path: resolvedPath,
|
|
1039
|
-
query,
|
|
1040
|
-
body,
|
|
1041
|
-
});
|
|
672
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
673
|
+
return b.build();
|
|
1042
674
|
};
|
|
1043
675
|
exports.se_ListLayerVersionsCommand = se_ListLayerVersionsCommand;
|
|
1044
676
|
const se_ListProvisionedConcurrencyConfigsCommand = async (input, context) => {
|
|
1045
|
-
const
|
|
677
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1046
678
|
const headers = {};
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
679
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
680
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1050
681
|
const query = (0, smithy_client_1.map)({
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
682
|
+
[_L]: [, "ALL"],
|
|
683
|
+
[_M]: [, input[_M]],
|
|
684
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1054
685
|
});
|
|
1055
686
|
let body;
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
hostname,
|
|
1059
|
-
port,
|
|
1060
|
-
method: "GET",
|
|
1061
|
-
headers,
|
|
1062
|
-
path: resolvedPath,
|
|
1063
|
-
query,
|
|
1064
|
-
body,
|
|
1065
|
-
});
|
|
687
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
688
|
+
return b.build();
|
|
1066
689
|
};
|
|
1067
690
|
exports.se_ListProvisionedConcurrencyConfigsCommand = se_ListProvisionedConcurrencyConfigsCommand;
|
|
1068
691
|
const se_ListTagsCommand = async (input, context) => {
|
|
1069
|
-
const
|
|
692
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1070
693
|
const headers = {};
|
|
1071
|
-
|
|
1072
|
-
|
|
694
|
+
b.bp("/2017-03-31/tags/{Resource}");
|
|
695
|
+
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
1073
696
|
let body;
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
hostname,
|
|
1077
|
-
port,
|
|
1078
|
-
method: "GET",
|
|
1079
|
-
headers,
|
|
1080
|
-
path: resolvedPath,
|
|
1081
|
-
body,
|
|
1082
|
-
});
|
|
697
|
+
b.m("GET").h(headers).b(body);
|
|
698
|
+
return b.build();
|
|
1083
699
|
};
|
|
1084
700
|
exports.se_ListTagsCommand = se_ListTagsCommand;
|
|
1085
701
|
const se_ListVersionsByFunctionCommand = async (input, context) => {
|
|
1086
|
-
const
|
|
702
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1087
703
|
const headers = {};
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
704
|
+
b.bp("/2015-03-31/functions/{FunctionName}/versions");
|
|
705
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1091
706
|
const query = (0, smithy_client_1.map)({
|
|
1092
|
-
|
|
1093
|
-
|
|
707
|
+
[_M]: [, input[_M]],
|
|
708
|
+
[_MI]: [() => input.MaxItems !== void 0, () => input[_MI].toString()],
|
|
1094
709
|
});
|
|
1095
710
|
let body;
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
hostname,
|
|
1099
|
-
port,
|
|
1100
|
-
method: "GET",
|
|
1101
|
-
headers,
|
|
1102
|
-
path: resolvedPath,
|
|
1103
|
-
query,
|
|
1104
|
-
body,
|
|
1105
|
-
});
|
|
711
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
712
|
+
return b.build();
|
|
1106
713
|
};
|
|
1107
714
|
exports.se_ListVersionsByFunctionCommand = se_ListVersionsByFunctionCommand;
|
|
1108
715
|
const se_PublishLayerVersionCommand = async (input, context) => {
|
|
1109
|
-
const
|
|
716
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1110
717
|
const headers = {
|
|
1111
718
|
"content-type": "application/json",
|
|
1112
719
|
};
|
|
1113
|
-
|
|
1114
|
-
|
|
720
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions");
|
|
721
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
1115
722
|
let body;
|
|
1116
723
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1117
724
|
CompatibleArchitectures: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1120,98 +727,66 @@ const se_PublishLayerVersionCommand = async (input, context) => {
|
|
|
1120
727
|
Description: [],
|
|
1121
728
|
LicenseInfo: [],
|
|
1122
729
|
}));
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
hostname,
|
|
1126
|
-
port,
|
|
1127
|
-
method: "POST",
|
|
1128
|
-
headers,
|
|
1129
|
-
path: resolvedPath,
|
|
1130
|
-
body,
|
|
1131
|
-
});
|
|
730
|
+
b.m("POST").h(headers).b(body);
|
|
731
|
+
return b.build();
|
|
1132
732
|
};
|
|
1133
733
|
exports.se_PublishLayerVersionCommand = se_PublishLayerVersionCommand;
|
|
1134
734
|
const se_PublishVersionCommand = async (input, context) => {
|
|
1135
|
-
const
|
|
735
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1136
736
|
const headers = {
|
|
1137
737
|
"content-type": "application/json",
|
|
1138
738
|
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
739
|
+
b.bp("/2015-03-31/functions/{FunctionName}/versions");
|
|
740
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1142
741
|
let body;
|
|
1143
742
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1144
743
|
CodeSha256: [],
|
|
1145
744
|
Description: [],
|
|
1146
745
|
RevisionId: [],
|
|
1147
746
|
}));
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
hostname,
|
|
1151
|
-
port,
|
|
1152
|
-
method: "POST",
|
|
1153
|
-
headers,
|
|
1154
|
-
path: resolvedPath,
|
|
1155
|
-
body,
|
|
1156
|
-
});
|
|
747
|
+
b.m("POST").h(headers).b(body);
|
|
748
|
+
return b.build();
|
|
1157
749
|
};
|
|
1158
750
|
exports.se_PublishVersionCommand = se_PublishVersionCommand;
|
|
1159
751
|
const se_PutFunctionCodeSigningConfigCommand = async (input, context) => {
|
|
1160
|
-
const
|
|
752
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1161
753
|
const headers = {
|
|
1162
754
|
"content-type": "application/json",
|
|
1163
755
|
};
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
756
|
+
b.bp("/2020-06-30/functions/{FunctionName}/code-signing-config");
|
|
757
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1167
758
|
let body;
|
|
1168
759
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1169
760
|
CodeSigningConfigArn: [],
|
|
1170
761
|
}));
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
hostname,
|
|
1174
|
-
port,
|
|
1175
|
-
method: "PUT",
|
|
1176
|
-
headers,
|
|
1177
|
-
path: resolvedPath,
|
|
1178
|
-
body,
|
|
1179
|
-
});
|
|
762
|
+
b.m("PUT").h(headers).b(body);
|
|
763
|
+
return b.build();
|
|
1180
764
|
};
|
|
1181
765
|
exports.se_PutFunctionCodeSigningConfigCommand = se_PutFunctionCodeSigningConfigCommand;
|
|
1182
766
|
const se_PutFunctionConcurrencyCommand = async (input, context) => {
|
|
1183
|
-
const
|
|
767
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1184
768
|
const headers = {
|
|
1185
769
|
"content-type": "application/json",
|
|
1186
770
|
};
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
771
|
+
b.bp("/2017-10-31/functions/{FunctionName}/concurrency");
|
|
772
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1190
773
|
let body;
|
|
1191
774
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1192
775
|
ReservedConcurrentExecutions: [],
|
|
1193
776
|
}));
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
hostname,
|
|
1197
|
-
port,
|
|
1198
|
-
method: "PUT",
|
|
1199
|
-
headers,
|
|
1200
|
-
path: resolvedPath,
|
|
1201
|
-
body,
|
|
1202
|
-
});
|
|
777
|
+
b.m("PUT").h(headers).b(body);
|
|
778
|
+
return b.build();
|
|
1203
779
|
};
|
|
1204
780
|
exports.se_PutFunctionConcurrencyCommand = se_PutFunctionConcurrencyCommand;
|
|
1205
781
|
const se_PutFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
1206
|
-
const
|
|
782
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1207
783
|
const headers = {
|
|
1208
784
|
"content-type": "application/json",
|
|
1209
785
|
};
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
786
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
787
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1213
788
|
const query = (0, smithy_client_1.map)({
|
|
1214
|
-
|
|
789
|
+
[_Q]: [, input[_Q]],
|
|
1215
790
|
});
|
|
1216
791
|
let body;
|
|
1217
792
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -1219,176 +794,116 @@ const se_PutFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
|
1219
794
|
MaximumEventAgeInSeconds: [],
|
|
1220
795
|
MaximumRetryAttempts: [],
|
|
1221
796
|
}));
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
hostname,
|
|
1225
|
-
port,
|
|
1226
|
-
method: "PUT",
|
|
1227
|
-
headers,
|
|
1228
|
-
path: resolvedPath,
|
|
1229
|
-
query,
|
|
1230
|
-
body,
|
|
1231
|
-
});
|
|
797
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
798
|
+
return b.build();
|
|
1232
799
|
};
|
|
1233
800
|
exports.se_PutFunctionEventInvokeConfigCommand = se_PutFunctionEventInvokeConfigCommand;
|
|
1234
801
|
const se_PutProvisionedConcurrencyConfigCommand = async (input, context) => {
|
|
1235
|
-
const
|
|
802
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1236
803
|
const headers = {
|
|
1237
804
|
"content-type": "application/json",
|
|
1238
805
|
};
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
806
|
+
b.bp("/2019-09-30/functions/{FunctionName}/provisioned-concurrency");
|
|
807
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1242
808
|
const query = (0, smithy_client_1.map)({
|
|
1243
|
-
|
|
809
|
+
[_Q]: [, (0, smithy_client_1.expectNonNull)(input[_Q], `Qualifier`)],
|
|
1244
810
|
});
|
|
1245
811
|
let body;
|
|
1246
812
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1247
813
|
ProvisionedConcurrentExecutions: [],
|
|
1248
814
|
}));
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
hostname,
|
|
1252
|
-
port,
|
|
1253
|
-
method: "PUT",
|
|
1254
|
-
headers,
|
|
1255
|
-
path: resolvedPath,
|
|
1256
|
-
query,
|
|
1257
|
-
body,
|
|
1258
|
-
});
|
|
815
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
816
|
+
return b.build();
|
|
1259
817
|
};
|
|
1260
818
|
exports.se_PutProvisionedConcurrencyConfigCommand = se_PutProvisionedConcurrencyConfigCommand;
|
|
1261
819
|
const se_PutRuntimeManagementConfigCommand = async (input, context) => {
|
|
1262
|
-
const
|
|
820
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1263
821
|
const headers = {
|
|
1264
822
|
"content-type": "application/json",
|
|
1265
823
|
};
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
824
|
+
b.bp("/2021-07-20/functions/{FunctionName}/runtime-management-config");
|
|
825
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1269
826
|
const query = (0, smithy_client_1.map)({
|
|
1270
|
-
|
|
827
|
+
[_Q]: [, input[_Q]],
|
|
1271
828
|
});
|
|
1272
829
|
let body;
|
|
1273
830
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1274
831
|
RuntimeVersionArn: [],
|
|
1275
832
|
UpdateRuntimeOn: [],
|
|
1276
833
|
}));
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
hostname,
|
|
1280
|
-
port,
|
|
1281
|
-
method: "PUT",
|
|
1282
|
-
headers,
|
|
1283
|
-
path: resolvedPath,
|
|
1284
|
-
query,
|
|
1285
|
-
body,
|
|
1286
|
-
});
|
|
834
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
835
|
+
return b.build();
|
|
1287
836
|
};
|
|
1288
837
|
exports.se_PutRuntimeManagementConfigCommand = se_PutRuntimeManagementConfigCommand;
|
|
1289
838
|
const se_RemoveLayerVersionPermissionCommand = async (input, context) => {
|
|
1290
|
-
const
|
|
839
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1291
840
|
const headers = {};
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
|
|
841
|
+
b.bp("/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}");
|
|
842
|
+
b.p("LayerName", () => input.LayerName, "{LayerName}", false);
|
|
843
|
+
b.p("VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false);
|
|
844
|
+
b.p("StatementId", () => input.StatementId, "{StatementId}", false);
|
|
1297
845
|
const query = (0, smithy_client_1.map)({
|
|
1298
|
-
|
|
846
|
+
[_RI]: [, input[_RI]],
|
|
1299
847
|
});
|
|
1300
848
|
let body;
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
hostname,
|
|
1304
|
-
port,
|
|
1305
|
-
method: "DELETE",
|
|
1306
|
-
headers,
|
|
1307
|
-
path: resolvedPath,
|
|
1308
|
-
query,
|
|
1309
|
-
body,
|
|
1310
|
-
});
|
|
849
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
850
|
+
return b.build();
|
|
1311
851
|
};
|
|
1312
852
|
exports.se_RemoveLayerVersionPermissionCommand = se_RemoveLayerVersionPermissionCommand;
|
|
1313
853
|
const se_RemovePermissionCommand = async (input, context) => {
|
|
1314
|
-
const
|
|
854
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1315
855
|
const headers = {};
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false);
|
|
856
|
+
b.bp("/2015-03-31/functions/{FunctionName}/policy/{StatementId}");
|
|
857
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
858
|
+
b.p("StatementId", () => input.StatementId, "{StatementId}", false);
|
|
1320
859
|
const query = (0, smithy_client_1.map)({
|
|
1321
|
-
|
|
1322
|
-
|
|
860
|
+
[_Q]: [, input[_Q]],
|
|
861
|
+
[_RI]: [, input[_RI]],
|
|
1323
862
|
});
|
|
1324
863
|
let body;
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
hostname,
|
|
1328
|
-
port,
|
|
1329
|
-
method: "DELETE",
|
|
1330
|
-
headers,
|
|
1331
|
-
path: resolvedPath,
|
|
1332
|
-
query,
|
|
1333
|
-
body,
|
|
1334
|
-
});
|
|
864
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
865
|
+
return b.build();
|
|
1335
866
|
};
|
|
1336
867
|
exports.se_RemovePermissionCommand = se_RemovePermissionCommand;
|
|
1337
868
|
const se_TagResourceCommand = async (input, context) => {
|
|
1338
|
-
const
|
|
869
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1339
870
|
const headers = {
|
|
1340
871
|
"content-type": "application/json",
|
|
1341
872
|
};
|
|
1342
|
-
|
|
1343
|
-
|
|
873
|
+
b.bp("/2017-03-31/tags/{Resource}");
|
|
874
|
+
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
1344
875
|
let body;
|
|
1345
876
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1346
877
|
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
1347
878
|
}));
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
hostname,
|
|
1351
|
-
port,
|
|
1352
|
-
method: "POST",
|
|
1353
|
-
headers,
|
|
1354
|
-
path: resolvedPath,
|
|
1355
|
-
body,
|
|
1356
|
-
});
|
|
879
|
+
b.m("POST").h(headers).b(body);
|
|
880
|
+
return b.build();
|
|
1357
881
|
};
|
|
1358
882
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
1359
883
|
const se_UntagResourceCommand = async (input, context) => {
|
|
1360
|
-
const
|
|
884
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1361
885
|
const headers = {};
|
|
1362
|
-
|
|
1363
|
-
|
|
886
|
+
b.bp("/2017-03-31/tags/{Resource}");
|
|
887
|
+
b.p("Resource", () => input.Resource, "{Resource}", false);
|
|
1364
888
|
const query = (0, smithy_client_1.map)({
|
|
1365
|
-
|
|
889
|
+
[_tK]: [
|
|
1366
890
|
(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
1367
|
-
() => (input
|
|
891
|
+
() => (input[_TK] || []).map((_entry) => _entry),
|
|
1368
892
|
],
|
|
1369
893
|
});
|
|
1370
894
|
let body;
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
hostname,
|
|
1374
|
-
port,
|
|
1375
|
-
method: "DELETE",
|
|
1376
|
-
headers,
|
|
1377
|
-
path: resolvedPath,
|
|
1378
|
-
query,
|
|
1379
|
-
body,
|
|
1380
|
-
});
|
|
895
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
896
|
+
return b.build();
|
|
1381
897
|
};
|
|
1382
898
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
1383
899
|
const se_UpdateAliasCommand = async (input, context) => {
|
|
1384
|
-
const
|
|
900
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1385
901
|
const headers = {
|
|
1386
902
|
"content-type": "application/json",
|
|
1387
903
|
};
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false);
|
|
904
|
+
b.bp("/2015-03-31/functions/{FunctionName}/aliases/{Name}");
|
|
905
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
906
|
+
b.p("Name", () => input.Name, "{Name}", false);
|
|
1392
907
|
let body;
|
|
1393
908
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1394
909
|
Description: [],
|
|
@@ -1396,49 +911,34 @@ const se_UpdateAliasCommand = async (input, context) => {
|
|
|
1396
911
|
RevisionId: [],
|
|
1397
912
|
RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context),
|
|
1398
913
|
}));
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
hostname,
|
|
1402
|
-
port,
|
|
1403
|
-
method: "PUT",
|
|
1404
|
-
headers,
|
|
1405
|
-
path: resolvedPath,
|
|
1406
|
-
body,
|
|
1407
|
-
});
|
|
914
|
+
b.m("PUT").h(headers).b(body);
|
|
915
|
+
return b.build();
|
|
1408
916
|
};
|
|
1409
917
|
exports.se_UpdateAliasCommand = se_UpdateAliasCommand;
|
|
1410
918
|
const se_UpdateCodeSigningConfigCommand = async (input, context) => {
|
|
1411
|
-
const
|
|
919
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1412
920
|
const headers = {
|
|
1413
921
|
"content-type": "application/json",
|
|
1414
922
|
};
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
923
|
+
b.bp("/2020-04-22/code-signing-configs/{CodeSigningConfigArn}");
|
|
924
|
+
b.p("CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false);
|
|
1418
925
|
let body;
|
|
1419
926
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1420
927
|
AllowedPublishers: (_) => (0, smithy_client_1._json)(_),
|
|
1421
928
|
CodeSigningPolicies: (_) => (0, smithy_client_1._json)(_),
|
|
1422
929
|
Description: [],
|
|
1423
930
|
}));
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
hostname,
|
|
1427
|
-
port,
|
|
1428
|
-
method: "PUT",
|
|
1429
|
-
headers,
|
|
1430
|
-
path: resolvedPath,
|
|
1431
|
-
body,
|
|
1432
|
-
});
|
|
931
|
+
b.m("PUT").h(headers).b(body);
|
|
932
|
+
return b.build();
|
|
1433
933
|
};
|
|
1434
934
|
exports.se_UpdateCodeSigningConfigCommand = se_UpdateCodeSigningConfigCommand;
|
|
1435
935
|
const se_UpdateEventSourceMappingCommand = async (input, context) => {
|
|
1436
|
-
const
|
|
936
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1437
937
|
const headers = {
|
|
1438
938
|
"content-type": "application/json",
|
|
1439
939
|
};
|
|
1440
|
-
|
|
1441
|
-
|
|
940
|
+
b.bp("/2015-03-31/event-source-mappings/{UUID}");
|
|
941
|
+
b.p("UUID", () => input.UUID, "{UUID}", false);
|
|
1442
942
|
let body;
|
|
1443
943
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1444
944
|
BatchSize: [],
|
|
@@ -1457,24 +957,17 @@ const se_UpdateEventSourceMappingCommand = async (input, context) => {
|
|
|
1457
957
|
SourceAccessConfigurations: (_) => (0, smithy_client_1._json)(_),
|
|
1458
958
|
TumblingWindowInSeconds: [],
|
|
1459
959
|
}));
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
hostname,
|
|
1463
|
-
port,
|
|
1464
|
-
method: "PUT",
|
|
1465
|
-
headers,
|
|
1466
|
-
path: resolvedPath,
|
|
1467
|
-
body,
|
|
1468
|
-
});
|
|
960
|
+
b.m("PUT").h(headers).b(body);
|
|
961
|
+
return b.build();
|
|
1469
962
|
};
|
|
1470
963
|
exports.se_UpdateEventSourceMappingCommand = se_UpdateEventSourceMappingCommand;
|
|
1471
964
|
const se_UpdateFunctionCodeCommand = async (input, context) => {
|
|
1472
|
-
const
|
|
965
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1473
966
|
const headers = {
|
|
1474
967
|
"content-type": "application/json",
|
|
1475
968
|
};
|
|
1476
|
-
|
|
1477
|
-
|
|
969
|
+
b.bp("/2015-03-31/functions/{FunctionName}/code");
|
|
970
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1478
971
|
let body;
|
|
1479
972
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1480
973
|
Architectures: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1487,25 +980,17 @@ const se_UpdateFunctionCodeCommand = async (input, context) => {
|
|
|
1487
980
|
S3ObjectVersion: [],
|
|
1488
981
|
ZipFile: (_) => context.base64Encoder(_),
|
|
1489
982
|
}));
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
hostname,
|
|
1493
|
-
port,
|
|
1494
|
-
method: "PUT",
|
|
1495
|
-
headers,
|
|
1496
|
-
path: resolvedPath,
|
|
1497
|
-
body,
|
|
1498
|
-
});
|
|
983
|
+
b.m("PUT").h(headers).b(body);
|
|
984
|
+
return b.build();
|
|
1499
985
|
};
|
|
1500
986
|
exports.se_UpdateFunctionCodeCommand = se_UpdateFunctionCodeCommand;
|
|
1501
987
|
const se_UpdateFunctionConfigurationCommand = async (input, context) => {
|
|
1502
|
-
const
|
|
988
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1503
989
|
const headers = {
|
|
1504
990
|
"content-type": "application/json",
|
|
1505
991
|
};
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
992
|
+
b.bp("/2015-03-31/functions/{FunctionName}/configuration");
|
|
993
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1509
994
|
let body;
|
|
1510
995
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1511
996
|
DeadLetterConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1527,27 +1012,19 @@ const se_UpdateFunctionConfigurationCommand = async (input, context) => {
|
|
|
1527
1012
|
TracingConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1528
1013
|
VpcConfig: (_) => (0, smithy_client_1._json)(_),
|
|
1529
1014
|
}));
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
hostname,
|
|
1533
|
-
port,
|
|
1534
|
-
method: "PUT",
|
|
1535
|
-
headers,
|
|
1536
|
-
path: resolvedPath,
|
|
1537
|
-
body,
|
|
1538
|
-
});
|
|
1015
|
+
b.m("PUT").h(headers).b(body);
|
|
1016
|
+
return b.build();
|
|
1539
1017
|
};
|
|
1540
1018
|
exports.se_UpdateFunctionConfigurationCommand = se_UpdateFunctionConfigurationCommand;
|
|
1541
1019
|
const se_UpdateFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
1542
|
-
const
|
|
1020
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1543
1021
|
const headers = {
|
|
1544
1022
|
"content-type": "application/json",
|
|
1545
1023
|
};
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1024
|
+
b.bp("/2019-09-25/functions/{FunctionName}/event-invoke-config");
|
|
1025
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1549
1026
|
const query = (0, smithy_client_1.map)({
|
|
1550
|
-
|
|
1027
|
+
[_Q]: [, input[_Q]],
|
|
1551
1028
|
});
|
|
1552
1029
|
let body;
|
|
1553
1030
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -1555,27 +1032,19 @@ const se_UpdateFunctionEventInvokeConfigCommand = async (input, context) => {
|
|
|
1555
1032
|
MaximumEventAgeInSeconds: [],
|
|
1556
1033
|
MaximumRetryAttempts: [],
|
|
1557
1034
|
}));
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
hostname,
|
|
1561
|
-
port,
|
|
1562
|
-
method: "POST",
|
|
1563
|
-
headers,
|
|
1564
|
-
path: resolvedPath,
|
|
1565
|
-
query,
|
|
1566
|
-
body,
|
|
1567
|
-
});
|
|
1035
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
1036
|
+
return b.build();
|
|
1568
1037
|
};
|
|
1569
1038
|
exports.se_UpdateFunctionEventInvokeConfigCommand = se_UpdateFunctionEventInvokeConfigCommand;
|
|
1570
1039
|
const se_UpdateFunctionUrlConfigCommand = async (input, context) => {
|
|
1571
|
-
const
|
|
1040
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
1572
1041
|
const headers = {
|
|
1573
1042
|
"content-type": "application/json",
|
|
1574
1043
|
};
|
|
1575
|
-
|
|
1576
|
-
|
|
1044
|
+
b.bp("/2021-10-31/functions/{FunctionName}/url");
|
|
1045
|
+
b.p("FunctionName", () => input.FunctionName, "{FunctionName}", false);
|
|
1577
1046
|
const query = (0, smithy_client_1.map)({
|
|
1578
|
-
|
|
1047
|
+
[_Q]: [, input[_Q]],
|
|
1579
1048
|
});
|
|
1580
1049
|
let body;
|
|
1581
1050
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -1583,16 +1052,8 @@ const se_UpdateFunctionUrlConfigCommand = async (input, context) => {
|
|
|
1583
1052
|
Cors: (_) => (0, smithy_client_1._json)(_),
|
|
1584
1053
|
InvokeMode: [],
|
|
1585
1054
|
}));
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
hostname,
|
|
1589
|
-
port,
|
|
1590
|
-
method: "PUT",
|
|
1591
|
-
headers,
|
|
1592
|
-
path: resolvedPath,
|
|
1593
|
-
query,
|
|
1594
|
-
body,
|
|
1595
|
-
});
|
|
1055
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
1056
|
+
return b.build();
|
|
1596
1057
|
};
|
|
1597
1058
|
exports.se_UpdateFunctionUrlConfigCommand = se_UpdateFunctionUrlConfigCommand;
|
|
1598
1059
|
const de_AddLayerVersionPermissionCommand = async (output, context) => {
|
|
@@ -3236,9 +2697,9 @@ const de_InvokeCommand = async (output, context) => {
|
|
|
3236
2697
|
}
|
|
3237
2698
|
const contents = (0, smithy_client_1.map)({
|
|
3238
2699
|
$metadata: deserializeMetadata(output),
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
2700
|
+
[_FE]: [, output.headers[_xafe]],
|
|
2701
|
+
[_LR]: [, output.headers[_xalr]],
|
|
2702
|
+
[_EV]: [, output.headers[_xaev]],
|
|
3242
2703
|
});
|
|
3243
2704
|
const data = await (0, smithy_client_1.collectBody)(output.body, context);
|
|
3244
2705
|
contents.Payload = data;
|
|
@@ -3405,8 +2866,8 @@ const de_InvokeWithResponseStreamCommand = async (output, context) => {
|
|
|
3405
2866
|
}
|
|
3406
2867
|
const contents = (0, smithy_client_1.map)({
|
|
3407
2868
|
$metadata: deserializeMetadata(output),
|
|
3408
|
-
|
|
3409
|
-
|
|
2869
|
+
[_EV]: [, output.headers[_xaev]],
|
|
2870
|
+
[_RSCT]: [, output.headers[_ct]],
|
|
3410
2871
|
});
|
|
3411
2872
|
const data = output.body;
|
|
3412
2873
|
contents.EventStream = de_InvokeWithResponseStreamResponseEvent(data, context);
|
|
@@ -5556,7 +5017,7 @@ const de_SubnetIPAddressLimitReachedExceptionRes = async (parsedOutput, context)
|
|
|
5556
5017
|
};
|
|
5557
5018
|
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
5558
5019
|
const contents = (0, smithy_client_1.map)({
|
|
5559
|
-
|
|
5020
|
+
[_rAS]: [, parsedOutput.headers[_ra]],
|
|
5560
5021
|
});
|
|
5561
5022
|
const data = parsedOutput.body;
|
|
5562
5023
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -5742,6 +5203,37 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
5742
5203
|
value !== "" &&
|
|
5743
5204
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
5744
5205
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
5206
|
+
const _A = "Arn";
|
|
5207
|
+
const _CA = "CompatibleArchitecture";
|
|
5208
|
+
const _CC = "ClientContext";
|
|
5209
|
+
const _CR = "CompatibleRuntime";
|
|
5210
|
+
const _ESA = "EventSourceArn";
|
|
5211
|
+
const _EV = "ExecutedVersion";
|
|
5212
|
+
const _FE = "FunctionError";
|
|
5213
|
+
const _FN = "FunctionName";
|
|
5214
|
+
const _FV = "FunctionVersion";
|
|
5215
|
+
const _IT = "InvocationType";
|
|
5216
|
+
const _L = "List";
|
|
5217
|
+
const _LR = "LogResult";
|
|
5218
|
+
const _LT = "LogType";
|
|
5219
|
+
const _M = "Marker";
|
|
5220
|
+
const _MI = "MaxItems";
|
|
5221
|
+
const _MR = "MasterRegion";
|
|
5222
|
+
const _Q = "Qualifier";
|
|
5223
|
+
const _RI = "RevisionId";
|
|
5224
|
+
const _RSCT = "ResponseStreamContentType";
|
|
5225
|
+
const _TK = "TagKeys";
|
|
5226
|
+
const _ct = "content-type";
|
|
5227
|
+
const _f = "find";
|
|
5228
|
+
const _rAS = "retryAfterSeconds";
|
|
5229
|
+
const _ra = "retry-after";
|
|
5230
|
+
const _tK = "tagKeys";
|
|
5231
|
+
const _xacc = "x-amz-client-context";
|
|
5232
|
+
const _xaev = "x-amz-executed-version";
|
|
5233
|
+
const _xafe = "x-amz-function-error";
|
|
5234
|
+
const _xait = "x-amz-invocation-type";
|
|
5235
|
+
const _xalr = "x-amz-log-result";
|
|
5236
|
+
const _xalt = "x-amz-log-type";
|
|
5745
5237
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5746
5238
|
if (encoded.length) {
|
|
5747
5239
|
return JSON.parse(encoded);
|