@aws-sdk/client-lambda 3.186.0 → 3.190.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 (91) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/Lambda.js +254 -261
  3. package/dist-es/LambdaClient.js +22 -28
  4. package/dist-es/commands/AddLayerVersionPermissionCommand.js +21 -28
  5. package/dist-es/commands/AddPermissionCommand.js +21 -28
  6. package/dist-es/commands/CreateAliasCommand.js +21 -28
  7. package/dist-es/commands/CreateCodeSigningConfigCommand.js +21 -28
  8. package/dist-es/commands/CreateEventSourceMappingCommand.js +21 -28
  9. package/dist-es/commands/CreateFunctionCommand.js +21 -28
  10. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +21 -28
  11. package/dist-es/commands/DeleteAliasCommand.js +22 -29
  12. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +21 -28
  13. package/dist-es/commands/DeleteEventSourceMappingCommand.js +21 -28
  14. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +22 -29
  15. package/dist-es/commands/DeleteFunctionCommand.js +22 -29
  16. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +22 -29
  17. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +22 -29
  18. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +22 -29
  19. package/dist-es/commands/DeleteLayerVersionCommand.js +22 -29
  20. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +22 -29
  21. package/dist-es/commands/GetAccountSettingsCommand.js +21 -28
  22. package/dist-es/commands/GetAliasCommand.js +21 -28
  23. package/dist-es/commands/GetCodeSigningConfigCommand.js +21 -28
  24. package/dist-es/commands/GetEventSourceMappingCommand.js +21 -28
  25. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +21 -28
  26. package/dist-es/commands/GetFunctionCommand.js +21 -28
  27. package/dist-es/commands/GetFunctionConcurrencyCommand.js +21 -28
  28. package/dist-es/commands/GetFunctionConfigurationCommand.js +21 -28
  29. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +21 -28
  30. package/dist-es/commands/GetFunctionUrlConfigCommand.js +21 -28
  31. package/dist-es/commands/GetLayerVersionByArnCommand.js +21 -28
  32. package/dist-es/commands/GetLayerVersionCommand.js +21 -28
  33. package/dist-es/commands/GetLayerVersionPolicyCommand.js +21 -28
  34. package/dist-es/commands/GetPolicyCommand.js +21 -28
  35. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +21 -28
  36. package/dist-es/commands/InvokeAsyncCommand.js +21 -28
  37. package/dist-es/commands/InvokeCommand.js +21 -28
  38. package/dist-es/commands/ListAliasesCommand.js +21 -28
  39. package/dist-es/commands/ListCodeSigningConfigsCommand.js +21 -28
  40. package/dist-es/commands/ListEventSourceMappingsCommand.js +21 -28
  41. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +21 -28
  42. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +21 -28
  43. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +21 -28
  44. package/dist-es/commands/ListFunctionsCommand.js +21 -28
  45. package/dist-es/commands/ListLayerVersionsCommand.js +21 -28
  46. package/dist-es/commands/ListLayersCommand.js +21 -28
  47. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +21 -28
  48. package/dist-es/commands/ListTagsCommand.js +21 -28
  49. package/dist-es/commands/ListVersionsByFunctionCommand.js +21 -28
  50. package/dist-es/commands/PublishLayerVersionCommand.js +21 -28
  51. package/dist-es/commands/PublishVersionCommand.js +21 -28
  52. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +21 -28
  53. package/dist-es/commands/PutFunctionConcurrencyCommand.js +21 -28
  54. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +21 -28
  55. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +21 -28
  56. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +22 -29
  57. package/dist-es/commands/RemovePermissionCommand.js +22 -29
  58. package/dist-es/commands/TagResourceCommand.js +22 -29
  59. package/dist-es/commands/UntagResourceCommand.js +22 -29
  60. package/dist-es/commands/UpdateAliasCommand.js +21 -28
  61. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +21 -28
  62. package/dist-es/commands/UpdateEventSourceMappingCommand.js +21 -28
  63. package/dist-es/commands/UpdateFunctionCodeCommand.js +21 -28
  64. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +21 -28
  65. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +21 -28
  66. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +21 -28
  67. package/dist-es/endpoints.js +8 -8
  68. package/dist-es/models/LambdaServiceException.js +5 -10
  69. package/dist-es/models/models_0.js +910 -611
  70. package/dist-es/pagination/ListAliasesPaginator.js +25 -68
  71. package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +25 -68
  72. package/dist-es/pagination/ListEventSourceMappingsPaginator.js +25 -68
  73. package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +25 -68
  74. package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +25 -68
  75. package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +25 -68
  76. package/dist-es/pagination/ListFunctionsPaginator.js +25 -68
  77. package/dist-es/pagination/ListLayerVersionsPaginator.js +25 -68
  78. package/dist-es/pagination/ListLayersPaginator.js +25 -68
  79. package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +25 -68
  80. package/dist-es/pagination/ListVersionsByFunctionPaginator.js +25 -68
  81. package/dist-es/protocols/Aws_restJson1.js +6122 -7968
  82. package/dist-es/runtimeConfig.browser.js +26 -12
  83. package/dist-es/runtimeConfig.js +30 -12
  84. package/dist-es/runtimeConfig.native.js +8 -5
  85. package/dist-es/runtimeConfig.shared.js +8 -11
  86. package/dist-es/waiters/waitForFunctionActive.js +45 -65
  87. package/dist-es/waiters/waitForFunctionActiveV2.js +45 -65
  88. package/dist-es/waiters/waitForFunctionExists.js +23 -42
  89. package/dist-es/waiters/waitForFunctionUpdated.js +45 -65
  90. package/dist-es/waiters/waitForFunctionUpdatedV2.js +45 -65
  91. package/package.json +34 -34
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog, ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommand, serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
6
- var ListFunctionsByCodeSigningConfigCommand = (function (_super) {
7
- __extends(ListFunctionsByCodeSigningConfigCommand, _super);
8
- function ListFunctionsByCodeSigningConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFunctionsByCodeSigningConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFunctionsByCodeSigningConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListFunctionsByCodeSigningConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListFunctionsByCodeSigningConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFunctionsByCodeSigningConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFunctionsByCodeSigningConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFunctionsByCodeSigningConfigCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand(input, context);
33
- };
34
- ListFunctionsByCodeSigningConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommand(output, context);
36
- };
37
- return ListFunctionsByCodeSigningConfigCommand;
38
- }($Command));
39
- export { ListFunctionsByCodeSigningConfigCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListFunctionsRequestFilterSensitiveLog, ListFunctionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListFunctionsCommand, serializeAws_restJson1ListFunctionsCommand, } from "../protocols/Aws_restJson1";
6
- var ListFunctionsCommand = (function (_super) {
7
- __extends(ListFunctionsCommand, _super);
8
- function ListFunctionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListFunctionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListFunctionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListFunctionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListFunctionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListFunctionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListFunctionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListFunctionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListFunctionsCommand(input, context);
33
- };
34
- ListFunctionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListFunctionsCommand(output, context);
36
- };
37
- return ListFunctionsCommand;
38
- }($Command));
39
- export { ListFunctionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLayerVersionsRequestFilterSensitiveLog, ListLayerVersionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListLayerVersionsCommand, serializeAws_restJson1ListLayerVersionsCommand, } from "../protocols/Aws_restJson1";
6
- var ListLayerVersionsCommand = (function (_super) {
7
- __extends(ListLayerVersionsCommand, _super);
8
- function ListLayerVersionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLayerVersionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLayerVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListLayerVersionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListLayerVersionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLayerVersionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLayerVersionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLayerVersionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListLayerVersionsCommand(input, context);
33
- };
34
- ListLayerVersionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLayerVersionsCommand(output, context);
36
- };
37
- return ListLayerVersionsCommand;
38
- }($Command));
39
- export { ListLayerVersionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLayersRequestFilterSensitiveLog, ListLayersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListLayersCommand, serializeAws_restJson1ListLayersCommand, } from "../protocols/Aws_restJson1";
6
- var ListLayersCommand = (function (_super) {
7
- __extends(ListLayersCommand, _super);
8
- function ListLayersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLayersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLayersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListLayersCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListLayersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLayersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLayersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLayersCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListLayersCommand(input, context);
33
- };
34
- ListLayersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListLayersCommand(output, context);
36
- };
37
- return ListLayersCommand;
38
- }($Command));
39
- export { ListLayersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog, ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand, serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand, } from "../protocols/Aws_restJson1";
6
- var ListProvisionedConcurrencyConfigsCommand = (function (_super) {
7
- __extends(ListProvisionedConcurrencyConfigsCommand, _super);
8
- function ListProvisionedConcurrencyConfigsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListProvisionedConcurrencyConfigsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListProvisionedConcurrencyConfigsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListProvisionedConcurrencyConfigsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListProvisionedConcurrencyConfigsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListProvisionedConcurrencyConfigsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListProvisionedConcurrencyConfigsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListProvisionedConcurrencyConfigsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand(input, context);
33
- };
34
- ListProvisionedConcurrencyConfigsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand(output, context);
36
- };
37
- return ListProvisionedConcurrencyConfigsCommand;
38
- }($Command));
39
- export { ListProvisionedConcurrencyConfigsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsRequestFilterSensitiveLog, ListTagsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListTagsCommand, serializeAws_restJson1ListTagsCommand, } from "../protocols/Aws_restJson1";
6
- var ListTagsCommand = (function (_super) {
7
- __extends(ListTagsCommand, _super);
8
- function ListTagsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListTagsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListTagsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListTagsCommand(input, context);
33
- };
34
- ListTagsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListTagsCommand(output, context);
36
- };
37
- return ListTagsCommand;
38
- }($Command));
39
- export { ListTagsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListVersionsByFunctionRequestFilterSensitiveLog, ListVersionsByFunctionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1ListVersionsByFunctionCommand, serializeAws_restJson1ListVersionsByFunctionCommand, } from "../protocols/Aws_restJson1";
6
- var ListVersionsByFunctionCommand = (function (_super) {
7
- __extends(ListVersionsByFunctionCommand, _super);
8
- function ListVersionsByFunctionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListVersionsByFunctionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListVersionsByFunctionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "ListVersionsByFunctionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "ListVersionsByFunctionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListVersionsByFunctionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListVersionsByFunctionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListVersionsByFunctionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1ListVersionsByFunctionCommand(input, context);
33
- };
34
- ListVersionsByFunctionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1ListVersionsByFunctionCommand(output, context);
36
- };
37
- return ListVersionsByFunctionCommand;
38
- }($Command));
39
- export { ListVersionsByFunctionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PublishLayerVersionRequestFilterSensitiveLog, PublishLayerVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PublishLayerVersionCommand, serializeAws_restJson1PublishLayerVersionCommand, } from "../protocols/Aws_restJson1";
6
- var PublishLayerVersionCommand = (function (_super) {
7
- __extends(PublishLayerVersionCommand, _super);
8
- function PublishLayerVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PublishLayerVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PublishLayerVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "PublishLayerVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "PublishLayerVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PublishLayerVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PublishLayerVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PublishLayerVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PublishLayerVersionCommand(input, context);
33
- };
34
- PublishLayerVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PublishLayerVersionCommand(output, context);
36
- };
37
- return PublishLayerVersionCommand;
38
- }($Command));
39
- export { PublishLayerVersionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { FunctionConfigurationFilterSensitiveLog, PublishVersionRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PublishVersionCommand, serializeAws_restJson1PublishVersionCommand, } from "../protocols/Aws_restJson1";
6
- var PublishVersionCommand = (function (_super) {
7
- __extends(PublishVersionCommand, _super);
8
- function PublishVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PublishVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PublishVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "PublishVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "PublishVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PublishVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PublishVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PublishVersionCommand(input, context);
33
- };
34
- PublishVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PublishVersionCommand(output, context);
36
- };
37
- return PublishVersionCommand;
38
- }($Command));
39
- export { PublishVersionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PutFunctionCodeSigningConfigRequestFilterSensitiveLog, PutFunctionCodeSigningConfigResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_restJson1PutFunctionCodeSigningConfigCommand, serializeAws_restJson1PutFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
6
- var PutFunctionCodeSigningConfigCommand = (function (_super) {
7
- __extends(PutFunctionCodeSigningConfigCommand, _super);
8
- function PutFunctionCodeSigningConfigCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PutFunctionCodeSigningConfigCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PutFunctionCodeSigningConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LambdaClient";
18
- var commandName = "PutFunctionCodeSigningConfigCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LambdaClient";
15
+ const commandName = "PutFunctionCodeSigningConfigCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PutFunctionCodeSigningConfigRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PutFunctionCodeSigningConfigResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PutFunctionCodeSigningConfigCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_restJson1PutFunctionCodeSigningConfigCommand(input, context);
33
- };
34
- PutFunctionCodeSigningConfigCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_restJson1PutFunctionCodeSigningConfigCommand(output, context);
36
- };
37
- return PutFunctionCodeSigningConfigCommand;
38
- }($Command));
39
- export { PutFunctionCodeSigningConfigCommand };
31
+ }
32
+ }