@aws-sdk/client-lambda 3.58.0 → 3.72.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +2 -2
  3. package/dist-cjs/Lambda.js +75 -0
  4. package/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +36 -0
  5. package/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +36 -0
  6. package/dist-cjs/commands/GetFunctionUrlConfigCommand.js +36 -0
  7. package/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +36 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/models/models_0.js +75 -4
  11. package/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js +35 -0
  12. package/dist-cjs/pagination/index.js +1 -0
  13. package/dist-cjs/protocols/Aws_restJson1.js +585 -3
  14. package/dist-es/Lambda.js +75 -0
  15. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +39 -0
  16. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +39 -0
  17. package/dist-es/commands/GetFunctionUrlConfigCommand.js +39 -0
  18. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +39 -0
  19. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +39 -0
  20. package/dist-es/commands/index.js +5 -0
  21. package/dist-es/models/models_0.js +49 -0
  22. package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +74 -0
  23. package/dist-es/pagination/index.js +1 -0
  24. package/dist-es/protocols/Aws_restJson1.js +719 -27
  25. package/dist-types/Lambda.d.ts +37 -0
  26. package/dist-types/LambdaClient.d.ts +7 -2
  27. package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +36 -0
  28. package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +36 -0
  29. package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +35 -0
  30. package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +35 -0
  31. package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +35 -0
  32. package/dist-types/commands/index.d.ts +5 -0
  33. package/dist-types/models/models_0.d.ts +412 -0
  34. package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +4 -0
  35. package/dist-types/pagination/index.d.ts +1 -0
  36. package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
  37. package/dist-types/ts3.4/Lambda.d.ts +25 -0
  38. package/dist-types/ts3.4/LambdaClient.d.ts +7 -2
  39. package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +166 -0
  46. package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
  49. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.72.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.71.0...v3.72.0) (2022-04-15)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-lambda
9
+
10
+
11
+
12
+
13
+
14
+ # [3.67.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.66.0...v3.67.0) (2022-04-08)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-lambda
17
+
18
+
19
+
20
+
21
+
22
+ # [3.65.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.64.0...v3.65.0) (2022-04-06)
23
+
24
+
25
+ ### Features
26
+
27
+ * **client-lambda:** This release adds new APIs for creating and managing Lambda Function URLs and adds a new FunctionUrlAuthType parameter to the AddPermission API. Customers can use Function URLs to create built-in HTTPS endpoints on their functions. ([aeba101](https://github.com/aws/aws-sdk-js-v3/commit/aeba101970c66c4dd3ee3be790ae0d07459d51ca))
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/client-lambda
package/README.md CHANGED
@@ -181,7 +181,7 @@ but they are supported by the send operation.
181
181
  ```js
182
182
  // callbacks.
183
183
  client.send(command, (err, data) => {
184
- // proccess err and data.
184
+ // process err and data.
185
185
  });
186
186
  ```
187
187
 
@@ -215,7 +215,7 @@ client
215
215
 
216
216
  // callbacks.
217
217
  client.addLayerVersionPermission(params, (err, data) => {
218
- // proccess err and data.
218
+ // process err and data.
219
219
  });
220
220
  ```
221
221
 
@@ -7,6 +7,7 @@ const CreateAliasCommand_1 = require("./commands/CreateAliasCommand");
7
7
  const CreateCodeSigningConfigCommand_1 = require("./commands/CreateCodeSigningConfigCommand");
8
8
  const CreateEventSourceMappingCommand_1 = require("./commands/CreateEventSourceMappingCommand");
9
9
  const CreateFunctionCommand_1 = require("./commands/CreateFunctionCommand");
10
+ const CreateFunctionUrlConfigCommand_1 = require("./commands/CreateFunctionUrlConfigCommand");
10
11
  const DeleteAliasCommand_1 = require("./commands/DeleteAliasCommand");
11
12
  const DeleteCodeSigningConfigCommand_1 = require("./commands/DeleteCodeSigningConfigCommand");
12
13
  const DeleteEventSourceMappingCommand_1 = require("./commands/DeleteEventSourceMappingCommand");
@@ -14,6 +15,7 @@ const DeleteFunctionCodeSigningConfigCommand_1 = require("./commands/DeleteFunct
14
15
  const DeleteFunctionCommand_1 = require("./commands/DeleteFunctionCommand");
15
16
  const DeleteFunctionConcurrencyCommand_1 = require("./commands/DeleteFunctionConcurrencyCommand");
16
17
  const DeleteFunctionEventInvokeConfigCommand_1 = require("./commands/DeleteFunctionEventInvokeConfigCommand");
18
+ const DeleteFunctionUrlConfigCommand_1 = require("./commands/DeleteFunctionUrlConfigCommand");
17
19
  const DeleteLayerVersionCommand_1 = require("./commands/DeleteLayerVersionCommand");
18
20
  const DeleteProvisionedConcurrencyConfigCommand_1 = require("./commands/DeleteProvisionedConcurrencyConfigCommand");
19
21
  const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand");
@@ -25,6 +27,7 @@ const GetFunctionCommand_1 = require("./commands/GetFunctionCommand");
25
27
  const GetFunctionConcurrencyCommand_1 = require("./commands/GetFunctionConcurrencyCommand");
26
28
  const GetFunctionConfigurationCommand_1 = require("./commands/GetFunctionConfigurationCommand");
27
29
  const GetFunctionEventInvokeConfigCommand_1 = require("./commands/GetFunctionEventInvokeConfigCommand");
30
+ const GetFunctionUrlConfigCommand_1 = require("./commands/GetFunctionUrlConfigCommand");
28
31
  const GetLayerVersionByArnCommand_1 = require("./commands/GetLayerVersionByArnCommand");
29
32
  const GetLayerVersionCommand_1 = require("./commands/GetLayerVersionCommand");
30
33
  const GetLayerVersionPolicyCommand_1 = require("./commands/GetLayerVersionPolicyCommand");
@@ -38,6 +41,7 @@ const ListEventSourceMappingsCommand_1 = require("./commands/ListEventSourceMapp
38
41
  const ListFunctionEventInvokeConfigsCommand_1 = require("./commands/ListFunctionEventInvokeConfigsCommand");
39
42
  const ListFunctionsByCodeSigningConfigCommand_1 = require("./commands/ListFunctionsByCodeSigningConfigCommand");
40
43
  const ListFunctionsCommand_1 = require("./commands/ListFunctionsCommand");
44
+ const ListFunctionUrlConfigsCommand_1 = require("./commands/ListFunctionUrlConfigsCommand");
41
45
  const ListLayersCommand_1 = require("./commands/ListLayersCommand");
42
46
  const ListLayerVersionsCommand_1 = require("./commands/ListLayerVersionsCommand");
43
47
  const ListProvisionedConcurrencyConfigsCommand_1 = require("./commands/ListProvisionedConcurrencyConfigsCommand");
@@ -59,6 +63,7 @@ const UpdateEventSourceMappingCommand_1 = require("./commands/UpdateEventSourceM
59
63
  const UpdateFunctionCodeCommand_1 = require("./commands/UpdateFunctionCodeCommand");
60
64
  const UpdateFunctionConfigurationCommand_1 = require("./commands/UpdateFunctionConfigurationCommand");
61
65
  const UpdateFunctionEventInvokeConfigCommand_1 = require("./commands/UpdateFunctionEventInvokeConfigCommand");
66
+ const UpdateFunctionUrlConfigCommand_1 = require("./commands/UpdateFunctionUrlConfigCommand");
62
67
  const LambdaClient_1 = require("./LambdaClient");
63
68
  class Lambda extends LambdaClient_1.LambdaClient {
64
69
  addLayerVersionPermission(args, optionsOrCb, cb) {
@@ -145,6 +150,20 @@ class Lambda extends LambdaClient_1.LambdaClient {
145
150
  return this.send(command, optionsOrCb);
146
151
  }
147
152
  }
153
+ createFunctionUrlConfig(args, optionsOrCb, cb) {
154
+ const command = new CreateFunctionUrlConfigCommand_1.CreateFunctionUrlConfigCommand(args);
155
+ if (typeof optionsOrCb === "function") {
156
+ this.send(command, optionsOrCb);
157
+ }
158
+ else if (typeof cb === "function") {
159
+ if (typeof optionsOrCb !== "object")
160
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
161
+ this.send(command, optionsOrCb || {}, cb);
162
+ }
163
+ else {
164
+ return this.send(command, optionsOrCb);
165
+ }
166
+ }
148
167
  deleteAlias(args, optionsOrCb, cb) {
149
168
  const command = new DeleteAliasCommand_1.DeleteAliasCommand(args);
150
169
  if (typeof optionsOrCb === "function") {
@@ -243,6 +262,20 @@ class Lambda extends LambdaClient_1.LambdaClient {
243
262
  return this.send(command, optionsOrCb);
244
263
  }
245
264
  }
265
+ deleteFunctionUrlConfig(args, optionsOrCb, cb) {
266
+ const command = new DeleteFunctionUrlConfigCommand_1.DeleteFunctionUrlConfigCommand(args);
267
+ if (typeof optionsOrCb === "function") {
268
+ this.send(command, optionsOrCb);
269
+ }
270
+ else if (typeof cb === "function") {
271
+ if (typeof optionsOrCb !== "object")
272
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
273
+ this.send(command, optionsOrCb || {}, cb);
274
+ }
275
+ else {
276
+ return this.send(command, optionsOrCb);
277
+ }
278
+ }
246
279
  deleteLayerVersion(args, optionsOrCb, cb) {
247
280
  const command = new DeleteLayerVersionCommand_1.DeleteLayerVersionCommand(args);
248
281
  if (typeof optionsOrCb === "function") {
@@ -397,6 +430,20 @@ class Lambda extends LambdaClient_1.LambdaClient {
397
430
  return this.send(command, optionsOrCb);
398
431
  }
399
432
  }
433
+ getFunctionUrlConfig(args, optionsOrCb, cb) {
434
+ const command = new GetFunctionUrlConfigCommand_1.GetFunctionUrlConfigCommand(args);
435
+ if (typeof optionsOrCb === "function") {
436
+ this.send(command, optionsOrCb);
437
+ }
438
+ else if (typeof cb === "function") {
439
+ if (typeof optionsOrCb !== "object")
440
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
441
+ this.send(command, optionsOrCb || {}, cb);
442
+ }
443
+ else {
444
+ return this.send(command, optionsOrCb);
445
+ }
446
+ }
400
447
  getLayerVersion(args, optionsOrCb, cb) {
401
448
  const command = new GetLayerVersionCommand_1.GetLayerVersionCommand(args);
402
449
  if (typeof optionsOrCb === "function") {
@@ -579,6 +626,20 @@ class Lambda extends LambdaClient_1.LambdaClient {
579
626
  return this.send(command, optionsOrCb);
580
627
  }
581
628
  }
629
+ listFunctionUrlConfigs(args, optionsOrCb, cb) {
630
+ const command = new ListFunctionUrlConfigsCommand_1.ListFunctionUrlConfigsCommand(args);
631
+ if (typeof optionsOrCb === "function") {
632
+ this.send(command, optionsOrCb);
633
+ }
634
+ else if (typeof cb === "function") {
635
+ if (typeof optionsOrCb !== "object")
636
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
637
+ this.send(command, optionsOrCb || {}, cb);
638
+ }
639
+ else {
640
+ return this.send(command, optionsOrCb);
641
+ }
642
+ }
582
643
  listLayers(args, optionsOrCb, cb) {
583
644
  const command = new ListLayersCommand_1.ListLayersCommand(args);
584
645
  if (typeof optionsOrCb === "function") {
@@ -873,5 +934,19 @@ class Lambda extends LambdaClient_1.LambdaClient {
873
934
  return this.send(command, optionsOrCb);
874
935
  }
875
936
  }
937
+ updateFunctionUrlConfig(args, optionsOrCb, cb) {
938
+ const command = new UpdateFunctionUrlConfigCommand_1.UpdateFunctionUrlConfigCommand(args);
939
+ if (typeof optionsOrCb === "function") {
940
+ this.send(command, optionsOrCb);
941
+ }
942
+ else if (typeof cb === "function") {
943
+ if (typeof optionsOrCb !== "object")
944
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
945
+ this.send(command, optionsOrCb || {}, cb);
946
+ }
947
+ else {
948
+ return this.send(command, optionsOrCb);
949
+ }
950
+ }
876
951
  }
877
952
  exports.Lambda = Lambda;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFunctionUrlConfigCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateFunctionUrlConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LambdaClient";
18
+ const commandName = "CreateFunctionUrlConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateFunctionUrlConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateFunctionUrlConfigResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1CreateFunctionUrlConfigCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1CreateFunctionUrlConfigCommand)(output, context);
34
+ }
35
+ }
36
+ exports.CreateFunctionUrlConfigCommand = CreateFunctionUrlConfigCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteFunctionUrlConfigCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteFunctionUrlConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LambdaClient";
18
+ const commandName = "DeleteFunctionUrlConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteFunctionUrlConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: (output) => output,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DeleteFunctionUrlConfigCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteFunctionUrlConfigCommand)(output, context);
34
+ }
35
+ }
36
+ exports.DeleteFunctionUrlConfigCommand = DeleteFunctionUrlConfigCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFunctionUrlConfigCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetFunctionUrlConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LambdaClient";
18
+ const commandName = "GetFunctionUrlConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetFunctionUrlConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetFunctionUrlConfigResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetFunctionUrlConfigCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetFunctionUrlConfigCommand)(output, context);
34
+ }
35
+ }
36
+ exports.GetFunctionUrlConfigCommand = GetFunctionUrlConfigCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListFunctionUrlConfigsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListFunctionUrlConfigsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LambdaClient";
18
+ const commandName = "ListFunctionUrlConfigsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListFunctionUrlConfigsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListFunctionUrlConfigsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListFunctionUrlConfigsCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListFunctionUrlConfigsCommand)(output, context);
34
+ }
35
+ }
36
+ exports.ListFunctionUrlConfigsCommand = ListFunctionUrlConfigsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateFunctionUrlConfigCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateFunctionUrlConfigCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "LambdaClient";
18
+ const commandName = "UpdateFunctionUrlConfigCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateFunctionUrlConfigRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateFunctionUrlConfigResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFunctionUrlConfigCommand)(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFunctionUrlConfigCommand)(output, context);
34
+ }
35
+ }
36
+ exports.UpdateFunctionUrlConfigCommand = UpdateFunctionUrlConfigCommand;
@@ -7,6 +7,7 @@ tslib_1.__exportStar(require("./CreateAliasCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateCodeSigningConfigCommand"), exports);
8
8
  tslib_1.__exportStar(require("./CreateEventSourceMappingCommand"), exports);
9
9
  tslib_1.__exportStar(require("./CreateFunctionCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateFunctionUrlConfigCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DeleteAliasCommand"), exports);
11
12
  tslib_1.__exportStar(require("./DeleteCodeSigningConfigCommand"), exports);
12
13
  tslib_1.__exportStar(require("./DeleteEventSourceMappingCommand"), exports);
@@ -14,6 +15,7 @@ tslib_1.__exportStar(require("./DeleteFunctionCodeSigningConfigCommand"), export
14
15
  tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports);
15
16
  tslib_1.__exportStar(require("./DeleteFunctionConcurrencyCommand"), exports);
16
17
  tslib_1.__exportStar(require("./DeleteFunctionEventInvokeConfigCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteFunctionUrlConfigCommand"), exports);
17
19
  tslib_1.__exportStar(require("./DeleteLayerVersionCommand"), exports);
18
20
  tslib_1.__exportStar(require("./DeleteProvisionedConcurrencyConfigCommand"), exports);
19
21
  tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports);
@@ -25,6 +27,7 @@ tslib_1.__exportStar(require("./GetFunctionCommand"), exports);
25
27
  tslib_1.__exportStar(require("./GetFunctionConcurrencyCommand"), exports);
26
28
  tslib_1.__exportStar(require("./GetFunctionConfigurationCommand"), exports);
27
29
  tslib_1.__exportStar(require("./GetFunctionEventInvokeConfigCommand"), exports);
30
+ tslib_1.__exportStar(require("./GetFunctionUrlConfigCommand"), exports);
28
31
  tslib_1.__exportStar(require("./GetLayerVersionByArnCommand"), exports);
29
32
  tslib_1.__exportStar(require("./GetLayerVersionCommand"), exports);
30
33
  tslib_1.__exportStar(require("./GetLayerVersionPolicyCommand"), exports);
@@ -36,6 +39,7 @@ tslib_1.__exportStar(require("./ListAliasesCommand"), exports);
36
39
  tslib_1.__exportStar(require("./ListCodeSigningConfigsCommand"), exports);
37
40
  tslib_1.__exportStar(require("./ListEventSourceMappingsCommand"), exports);
38
41
  tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsCommand"), exports);
42
+ tslib_1.__exportStar(require("./ListFunctionUrlConfigsCommand"), exports);
39
43
  tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigCommand"), exports);
40
44
  tslib_1.__exportStar(require("./ListFunctionsCommand"), exports);
41
45
  tslib_1.__exportStar(require("./ListLayerVersionsCommand"), exports);
@@ -59,3 +63,4 @@ tslib_1.__exportStar(require("./UpdateEventSourceMappingCommand"), exports);
59
63
  tslib_1.__exportStar(require("./UpdateFunctionCodeCommand"), exports);
60
64
  tslib_1.__exportStar(require("./UpdateFunctionConfigurationCommand"), exports);
61
65
  tslib_1.__exportStar(require("./UpdateFunctionEventInvokeConfigCommand"), exports);
66
+ tslib_1.__exportStar(require("./UpdateFunctionUrlConfigCommand"), exports);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TracingConfig = exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.EphemeralStorage = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.FilterCriteria = exports.Filter = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
4
- exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.ResourceInUseException = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.InvalidCodeSignatureException = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = exports.EnvironmentError = exports.CreateFunctionRequest = exports.VpcConfig = void 0;
5
- exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.GetProvisionedConcurrencyConfigResponse = exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = exports.GetPolicyResponse = void 0;
6
- exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = exports.ListLayerVersionsResponse = void 0;
3
+ exports.TracingMode = exports.Runtime = exports.PackageType = exports.ImageConfig = exports.FileSystemConfig = exports.EphemeralStorage = exports.Environment = exports.DeadLetterConfig = exports.FunctionCode = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourceMappingConfiguration = exports.CreateEventSourceMappingRequest = exports.EventSourcePosition = exports.SourceAccessConfiguration = exports.SourceAccessType = exports.SelfManagedEventSource = exports.EndPointType = exports.FunctionResponseType = exports.FilterCriteria = exports.Filter = exports.DestinationConfig = exports.OnSuccess = exports.OnFailure = exports.CreateCodeSigningConfigResponse = exports.CodeSigningConfig = exports.CreateCodeSigningConfigRequest = exports.CodeSigningPolicies = exports.CodeSigningPolicy = exports.CreateAliasRequest = exports.Architecture = exports.AllowedPublishers = exports.AliasConfiguration = exports.AliasRoutingConfiguration = exports.AddPermissionResponse = exports.AddPermissionRequest = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = exports.AddLayerVersionPermissionResponse = exports.AddLayerVersionPermissionRequest = exports.AccountUsage = exports.AccountLimit = void 0;
4
+ exports.GetFunctionUrlConfigResponse = exports.GetFunctionUrlConfigRequest = exports.GetFunctionEventInvokeConfigRequest = exports.FunctionEventInvokeConfig = exports.GetFunctionConfigurationRequest = exports.GetFunctionConcurrencyResponse = exports.GetFunctionConcurrencyRequest = exports.GetFunctionCodeSigningConfigResponse = exports.GetFunctionCodeSigningConfigRequest = exports.GetFunctionResponse = exports.Concurrency = exports.FunctionCodeLocation = exports.GetFunctionRequest = exports.GetEventSourceMappingRequest = exports.GetCodeSigningConfigResponse = exports.GetCodeSigningConfigRequest = exports.GetAliasRequest = exports.GetAccountSettingsResponse = exports.GetAccountSettingsRequest = exports.DeleteProvisionedConcurrencyConfigRequest = exports.DeleteLayerVersionRequest = exports.DeleteFunctionUrlConfigRequest = exports.DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionConcurrencyRequest = exports.DeleteFunctionCodeSigningConfigRequest = exports.DeleteFunctionRequest = exports.ResourceInUseException = exports.DeleteEventSourceMappingRequest = exports.DeleteCodeSigningConfigResponse = exports.DeleteCodeSigningConfigRequest = exports.DeleteAliasRequest = exports.CreateFunctionUrlConfigResponse = exports.CreateFunctionUrlConfigRequest = exports.Cors = exports.InvalidCodeSignatureException = exports.FunctionConfiguration = exports.VpcConfigResponse = exports.TracingConfigResponse = exports.StateReasonCode = exports.State = exports.Layer = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.ImageConfigResponse = exports.ImageConfigError = exports.EnvironmentResponse = exports.EnvironmentError = exports.CreateFunctionRequest = exports.VpcConfig = exports.TracingConfig = void 0;
5
+ exports.ListFunctionsResponse = exports.ListFunctionsRequest = exports.FunctionVersion = exports.ListFunctionEventInvokeConfigsResponse = exports.ListFunctionEventInvokeConfigsRequest = exports.ListEventSourceMappingsResponse = exports.ListEventSourceMappingsRequest = exports.ListCodeSigningConfigsResponse = exports.ListCodeSigningConfigsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.InvokeAsyncResponse = exports.InvokeAsyncRequest = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.InvocationResponse = exports.InvocationRequest = exports.LogType = exports.InvocationType = exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.ProvisionedConcurrencyConfigNotFoundException = exports.GetProvisionedConcurrencyConfigResponse = exports.ProvisionedConcurrencyStatusEnum = exports.GetProvisionedConcurrencyConfigRequest = exports.GetPolicyResponse = exports.GetPolicyRequest = exports.GetLayerVersionPolicyResponse = exports.GetLayerVersionPolicyRequest = exports.GetLayerVersionByArnRequest = exports.GetLayerVersionResponse = exports.LayerVersionContentOutput = exports.GetLayerVersionRequest = void 0;
6
+ exports.UpdateFunctionUrlConfigResponse = exports.UpdateFunctionUrlConfigRequest = exports.UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionConfigurationRequest = exports.UpdateFunctionCodeRequest = exports.UpdateEventSourceMappingRequest = exports.UpdateCodeSigningConfigResponse = exports.UpdateCodeSigningConfigRequest = exports.UpdateAliasRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RemovePermissionRequest = exports.RemoveLayerVersionPermissionRequest = exports.PutProvisionedConcurrencyConfigResponse = exports.PutProvisionedConcurrencyConfigRequest = exports.PutFunctionEventInvokeConfigRequest = exports.PutFunctionConcurrencyRequest = exports.PutFunctionCodeSigningConfigResponse = exports.PutFunctionCodeSigningConfigRequest = exports.PublishVersionRequest = exports.PublishLayerVersionResponse = exports.PublishLayerVersionRequest = exports.LayerVersionContentInput = exports.ListVersionsByFunctionResponse = exports.ListVersionsByFunctionRequest = exports.ListTagsResponse = exports.ListTagsRequest = exports.ListProvisionedConcurrencyConfigsResponse = exports.ProvisionedConcurrencyConfigListItem = exports.ListProvisionedConcurrencyConfigsRequest = exports.ListLayerVersionsResponse = exports.ListLayerVersionsRequest = exports.ListLayersResponse = exports.LayersListItem = exports.LayerVersionsListItem = exports.ListLayersRequest = exports.ListFunctionUrlConfigsResponse = exports.FunctionUrlConfig = exports.ListFunctionUrlConfigsRequest = exports.ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigRequest = void 0;
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const LambdaServiceException_1 = require("./LambdaServiceException");
9
9
  var AccountLimit;
@@ -140,6 +140,11 @@ class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceExc
140
140
  }
141
141
  }
142
142
  exports.TooManyRequestsException = TooManyRequestsException;
143
+ var FunctionUrlAuthType;
144
+ (function (FunctionUrlAuthType) {
145
+ FunctionUrlAuthType["AWS_IAM"] = "AWS_IAM";
146
+ FunctionUrlAuthType["NONE"] = "NONE";
147
+ })(FunctionUrlAuthType = exports.FunctionUrlAuthType || (exports.FunctionUrlAuthType = {}));
143
148
  var AddPermissionRequest;
144
149
  (function (AddPermissionRequest) {
145
150
  AddPermissionRequest.filterSensitiveLog = (obj) => ({
@@ -544,6 +549,24 @@ class InvalidCodeSignatureException extends LambdaServiceException_1.LambdaServi
544
549
  }
545
550
  }
546
551
  exports.InvalidCodeSignatureException = InvalidCodeSignatureException;
552
+ var Cors;
553
+ (function (Cors) {
554
+ Cors.filterSensitiveLog = (obj) => ({
555
+ ...obj,
556
+ });
557
+ })(Cors = exports.Cors || (exports.Cors = {}));
558
+ var CreateFunctionUrlConfigRequest;
559
+ (function (CreateFunctionUrlConfigRequest) {
560
+ CreateFunctionUrlConfigRequest.filterSensitiveLog = (obj) => ({
561
+ ...obj,
562
+ });
563
+ })(CreateFunctionUrlConfigRequest = exports.CreateFunctionUrlConfigRequest || (exports.CreateFunctionUrlConfigRequest = {}));
564
+ var CreateFunctionUrlConfigResponse;
565
+ (function (CreateFunctionUrlConfigResponse) {
566
+ CreateFunctionUrlConfigResponse.filterSensitiveLog = (obj) => ({
567
+ ...obj,
568
+ });
569
+ })(CreateFunctionUrlConfigResponse = exports.CreateFunctionUrlConfigResponse || (exports.CreateFunctionUrlConfigResponse = {}));
547
570
  var DeleteAliasRequest;
548
571
  (function (DeleteAliasRequest) {
549
572
  DeleteAliasRequest.filterSensitiveLog = (obj) => ({
@@ -607,6 +630,12 @@ var DeleteFunctionEventInvokeConfigRequest;
607
630
  ...obj,
608
631
  });
609
632
  })(DeleteFunctionEventInvokeConfigRequest = exports.DeleteFunctionEventInvokeConfigRequest || (exports.DeleteFunctionEventInvokeConfigRequest = {}));
633
+ var DeleteFunctionUrlConfigRequest;
634
+ (function (DeleteFunctionUrlConfigRequest) {
635
+ DeleteFunctionUrlConfigRequest.filterSensitiveLog = (obj) => ({
636
+ ...obj,
637
+ });
638
+ })(DeleteFunctionUrlConfigRequest = exports.DeleteFunctionUrlConfigRequest || (exports.DeleteFunctionUrlConfigRequest = {}));
610
639
  var DeleteLayerVersionRequest;
611
640
  (function (DeleteLayerVersionRequest) {
612
641
  DeleteLayerVersionRequest.filterSensitiveLog = (obj) => ({
@@ -722,6 +751,18 @@ var GetFunctionEventInvokeConfigRequest;
722
751
  ...obj,
723
752
  });
724
753
  })(GetFunctionEventInvokeConfigRequest = exports.GetFunctionEventInvokeConfigRequest || (exports.GetFunctionEventInvokeConfigRequest = {}));
754
+ var GetFunctionUrlConfigRequest;
755
+ (function (GetFunctionUrlConfigRequest) {
756
+ GetFunctionUrlConfigRequest.filterSensitiveLog = (obj) => ({
757
+ ...obj,
758
+ });
759
+ })(GetFunctionUrlConfigRequest = exports.GetFunctionUrlConfigRequest || (exports.GetFunctionUrlConfigRequest = {}));
760
+ var GetFunctionUrlConfigResponse;
761
+ (function (GetFunctionUrlConfigResponse) {
762
+ GetFunctionUrlConfigResponse.filterSensitiveLog = (obj) => ({
763
+ ...obj,
764
+ });
765
+ })(GetFunctionUrlConfigResponse = exports.GetFunctionUrlConfigResponse || (exports.GetFunctionUrlConfigResponse = {}));
725
766
  var GetLayerVersionRequest;
726
767
  (function (GetLayerVersionRequest) {
727
768
  GetLayerVersionRequest.filterSensitiveLog = (obj) => ({
@@ -1228,6 +1269,24 @@ var ListFunctionsByCodeSigningConfigResponse;
1228
1269
  ...obj,
1229
1270
  });
1230
1271
  })(ListFunctionsByCodeSigningConfigResponse = exports.ListFunctionsByCodeSigningConfigResponse || (exports.ListFunctionsByCodeSigningConfigResponse = {}));
1272
+ var ListFunctionUrlConfigsRequest;
1273
+ (function (ListFunctionUrlConfigsRequest) {
1274
+ ListFunctionUrlConfigsRequest.filterSensitiveLog = (obj) => ({
1275
+ ...obj,
1276
+ });
1277
+ })(ListFunctionUrlConfigsRequest = exports.ListFunctionUrlConfigsRequest || (exports.ListFunctionUrlConfigsRequest = {}));
1278
+ var FunctionUrlConfig;
1279
+ (function (FunctionUrlConfig) {
1280
+ FunctionUrlConfig.filterSensitiveLog = (obj) => ({
1281
+ ...obj,
1282
+ });
1283
+ })(FunctionUrlConfig = exports.FunctionUrlConfig || (exports.FunctionUrlConfig = {}));
1284
+ var ListFunctionUrlConfigsResponse;
1285
+ (function (ListFunctionUrlConfigsResponse) {
1286
+ ListFunctionUrlConfigsResponse.filterSensitiveLog = (obj) => ({
1287
+ ...obj,
1288
+ });
1289
+ })(ListFunctionUrlConfigsResponse = exports.ListFunctionUrlConfigsResponse || (exports.ListFunctionUrlConfigsResponse = {}));
1231
1290
  var ListLayersRequest;
1232
1291
  (function (ListLayersRequest) {
1233
1292
  ListLayersRequest.filterSensitiveLog = (obj) => ({
@@ -1437,3 +1496,15 @@ var UpdateFunctionEventInvokeConfigRequest;
1437
1496
  ...obj,
1438
1497
  });
1439
1498
  })(UpdateFunctionEventInvokeConfigRequest = exports.UpdateFunctionEventInvokeConfigRequest || (exports.UpdateFunctionEventInvokeConfigRequest = {}));
1499
+ var UpdateFunctionUrlConfigRequest;
1500
+ (function (UpdateFunctionUrlConfigRequest) {
1501
+ UpdateFunctionUrlConfigRequest.filterSensitiveLog = (obj) => ({
1502
+ ...obj,
1503
+ });
1504
+ })(UpdateFunctionUrlConfigRequest = exports.UpdateFunctionUrlConfigRequest || (exports.UpdateFunctionUrlConfigRequest = {}));
1505
+ var UpdateFunctionUrlConfigResponse;
1506
+ (function (UpdateFunctionUrlConfigResponse) {
1507
+ UpdateFunctionUrlConfigResponse.filterSensitiveLog = (obj) => ({
1508
+ ...obj,
1509
+ });
1510
+ })(UpdateFunctionUrlConfigResponse = exports.UpdateFunctionUrlConfigResponse || (exports.UpdateFunctionUrlConfigResponse = {}));
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListFunctionUrlConfigs = void 0;
4
+ const ListFunctionUrlConfigsCommand_1 = require("../commands/ListFunctionUrlConfigsCommand");
5
+ const Lambda_1 = require("../Lambda");
6
+ const LambdaClient_1 = require("../LambdaClient");
7
+ const makePagedClientRequest = async (client, input, ...args) => {
8
+ return await client.send(new ListFunctionUrlConfigsCommand_1.ListFunctionUrlConfigsCommand(input), ...args);
9
+ };
10
+ const makePagedRequest = async (client, input, ...args) => {
11
+ return await client.listFunctionUrlConfigs(input, ...args);
12
+ };
13
+ async function* paginateListFunctionUrlConfigs(config, input, ...additionalArguments) {
14
+ let token = config.startingToken || undefined;
15
+ let hasNext = true;
16
+ let page;
17
+ while (hasNext) {
18
+ input.Marker = token;
19
+ input["MaxItems"] = config.pageSize;
20
+ if (config.client instanceof Lambda_1.Lambda) {
21
+ page = await makePagedRequest(config.client, input, ...additionalArguments);
22
+ }
23
+ else if (config.client instanceof LambdaClient_1.LambdaClient) {
24
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
25
+ }
26
+ else {
27
+ throw new Error("Invalid client, expected Lambda | LambdaClient");
28
+ }
29
+ yield page;
30
+ token = page.NextMarker;
31
+ hasNext = !!token;
32
+ }
33
+ return undefined;
34
+ }
35
+ exports.paginateListFunctionUrlConfigs = paginateListFunctionUrlConfigs;
@@ -6,6 +6,7 @@ tslib_1.__exportStar(require("./ListAliasesPaginator"), exports);
6
6
  tslib_1.__exportStar(require("./ListCodeSigningConfigsPaginator"), exports);
7
7
  tslib_1.__exportStar(require("./ListEventSourceMappingsPaginator"), exports);
8
8
  tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsPaginator"), exports);
9
+ tslib_1.__exportStar(require("./ListFunctionUrlConfigsPaginator"), exports);
9
10
  tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigPaginator"), exports);
10
11
  tslib_1.__exportStar(require("./ListFunctionsPaginator"), exports);
11
12
  tslib_1.__exportStar(require("./ListLayerVersionsPaginator"), exports);