@aws-sdk/client-lambda 3.183.0 → 3.185.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 (92) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_restJson1.js +2 -2
  3. package/dist-es/Lambda.js +261 -254
  4. package/dist-es/LambdaClient.js +28 -22
  5. package/dist-es/commands/AddLayerVersionPermissionCommand.js +28 -21
  6. package/dist-es/commands/AddPermissionCommand.js +28 -21
  7. package/dist-es/commands/CreateAliasCommand.js +28 -21
  8. package/dist-es/commands/CreateCodeSigningConfigCommand.js +28 -21
  9. package/dist-es/commands/CreateEventSourceMappingCommand.js +28 -21
  10. package/dist-es/commands/CreateFunctionCommand.js +28 -21
  11. package/dist-es/commands/CreateFunctionUrlConfigCommand.js +28 -21
  12. package/dist-es/commands/DeleteAliasCommand.js +29 -22
  13. package/dist-es/commands/DeleteCodeSigningConfigCommand.js +28 -21
  14. package/dist-es/commands/DeleteEventSourceMappingCommand.js +28 -21
  15. package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +29 -22
  16. package/dist-es/commands/DeleteFunctionCommand.js +29 -22
  17. package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +29 -22
  18. package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +29 -22
  19. package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +29 -22
  20. package/dist-es/commands/DeleteLayerVersionCommand.js +29 -22
  21. package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +29 -22
  22. package/dist-es/commands/GetAccountSettingsCommand.js +28 -21
  23. package/dist-es/commands/GetAliasCommand.js +28 -21
  24. package/dist-es/commands/GetCodeSigningConfigCommand.js +28 -21
  25. package/dist-es/commands/GetEventSourceMappingCommand.js +28 -21
  26. package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +28 -21
  27. package/dist-es/commands/GetFunctionCommand.js +28 -21
  28. package/dist-es/commands/GetFunctionConcurrencyCommand.js +28 -21
  29. package/dist-es/commands/GetFunctionConfigurationCommand.js +28 -21
  30. package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +28 -21
  31. package/dist-es/commands/GetFunctionUrlConfigCommand.js +28 -21
  32. package/dist-es/commands/GetLayerVersionByArnCommand.js +28 -21
  33. package/dist-es/commands/GetLayerVersionCommand.js +28 -21
  34. package/dist-es/commands/GetLayerVersionPolicyCommand.js +28 -21
  35. package/dist-es/commands/GetPolicyCommand.js +28 -21
  36. package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +28 -21
  37. package/dist-es/commands/InvokeAsyncCommand.js +28 -21
  38. package/dist-es/commands/InvokeCommand.js +28 -21
  39. package/dist-es/commands/ListAliasesCommand.js +28 -21
  40. package/dist-es/commands/ListCodeSigningConfigsCommand.js +28 -21
  41. package/dist-es/commands/ListEventSourceMappingsCommand.js +28 -21
  42. package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +28 -21
  43. package/dist-es/commands/ListFunctionUrlConfigsCommand.js +28 -21
  44. package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +28 -21
  45. package/dist-es/commands/ListFunctionsCommand.js +28 -21
  46. package/dist-es/commands/ListLayerVersionsCommand.js +28 -21
  47. package/dist-es/commands/ListLayersCommand.js +28 -21
  48. package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +28 -21
  49. package/dist-es/commands/ListTagsCommand.js +28 -21
  50. package/dist-es/commands/ListVersionsByFunctionCommand.js +28 -21
  51. package/dist-es/commands/PublishLayerVersionCommand.js +28 -21
  52. package/dist-es/commands/PublishVersionCommand.js +28 -21
  53. package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +28 -21
  54. package/dist-es/commands/PutFunctionConcurrencyCommand.js +28 -21
  55. package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +28 -21
  56. package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +28 -21
  57. package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +29 -22
  58. package/dist-es/commands/RemovePermissionCommand.js +29 -22
  59. package/dist-es/commands/TagResourceCommand.js +29 -22
  60. package/dist-es/commands/UntagResourceCommand.js +29 -22
  61. package/dist-es/commands/UpdateAliasCommand.js +28 -21
  62. package/dist-es/commands/UpdateCodeSigningConfigCommand.js +28 -21
  63. package/dist-es/commands/UpdateEventSourceMappingCommand.js +28 -21
  64. package/dist-es/commands/UpdateFunctionCodeCommand.js +28 -21
  65. package/dist-es/commands/UpdateFunctionConfigurationCommand.js +28 -21
  66. package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +28 -21
  67. package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +28 -21
  68. package/dist-es/endpoints.js +8 -8
  69. package/dist-es/models/LambdaServiceException.js +10 -5
  70. package/dist-es/models/models_0.js +611 -910
  71. package/dist-es/pagination/ListAliasesPaginator.js +68 -25
  72. package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +68 -25
  73. package/dist-es/pagination/ListEventSourceMappingsPaginator.js +68 -25
  74. package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +68 -25
  75. package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +68 -25
  76. package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +68 -25
  77. package/dist-es/pagination/ListFunctionsPaginator.js +68 -25
  78. package/dist-es/pagination/ListLayerVersionsPaginator.js +68 -25
  79. package/dist-es/pagination/ListLayersPaginator.js +68 -25
  80. package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +68 -25
  81. package/dist-es/pagination/ListVersionsByFunctionPaginator.js +68 -25
  82. package/dist-es/protocols/Aws_restJson1.js +7958 -6112
  83. package/dist-es/runtimeConfig.browser.js +12 -26
  84. package/dist-es/runtimeConfig.js +12 -30
  85. package/dist-es/runtimeConfig.native.js +5 -8
  86. package/dist-es/runtimeConfig.shared.js +11 -8
  87. package/dist-es/waiters/waitForFunctionActive.js +65 -45
  88. package/dist-es/waiters/waitForFunctionActiveV2.js +65 -45
  89. package/dist-es/waiters/waitForFunctionExists.js +42 -23
  90. package/dist-es/waiters/waitForFunctionUpdated.js +65 -45
  91. package/dist-es/waiters/waitForFunctionUpdatedV2.js +65 -45
  92. package/package.json +5 -5
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetLayerVersionPolicyRequestFilterSensitiveLog, GetLayerVersionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetLayerVersionPolicyCommand, serializeAws_restJson1GetLayerVersionPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetLayerVersionPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetLayerVersionPolicyCommand = (function (_super) {
7
+ __extends(GetLayerVersionPolicyCommand, _super);
8
+ function GetLayerVersionPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetLayerVersionPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "GetLayerVersionPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "GetLayerVersionPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetLayerVersionPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetLayerVersionPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetLayerVersionPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetLayerVersionPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetLayerVersionPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetLayerVersionPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetLayerVersionPolicyCommand;
38
+ }($Command));
39
+ export { GetLayerVersionPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetPolicyRequestFilterSensitiveLog, GetPolicyResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetPolicyCommand, serializeAws_restJson1GetPolicyCommand, } from "../protocols/Aws_restJson1";
5
- export class GetPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetPolicyCommand = (function (_super) {
7
+ __extends(GetPolicyCommand, _super);
8
+ function GetPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "GetPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "GetPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetPolicyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetPolicyResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetPolicyCommand;
38
+ }($Command));
39
+ export { GetPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetProvisionedConcurrencyConfigRequestFilterSensitiveLog, GetProvisionedConcurrencyConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand, serializeAws_restJson1GetProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class GetProvisionedConcurrencyConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetProvisionedConcurrencyConfigCommand = (function (_super) {
7
+ __extends(GetProvisionedConcurrencyConfigCommand, _super);
8
+ function GetProvisionedConcurrencyConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetProvisionedConcurrencyConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "GetProvisionedConcurrencyConfigCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "GetProvisionedConcurrencyConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetProvisionedConcurrencyConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetProvisionedConcurrencyConfigResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetProvisionedConcurrencyConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetProvisionedConcurrencyConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetProvisionedConcurrencyConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetProvisionedConcurrencyConfigCommand;
38
+ }($Command));
39
+ export { GetProvisionedConcurrencyConfigCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { InvokeAsyncRequestFilterSensitiveLog, InvokeAsyncResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InvokeAsyncCommand, serializeAws_restJson1InvokeAsyncCommand, } from "../protocols/Aws_restJson1";
5
- export class InvokeAsyncCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InvokeAsyncCommand = (function (_super) {
7
+ __extends(InvokeAsyncCommand, _super);
8
+ function InvokeAsyncCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InvokeAsyncCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "InvokeAsyncCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "InvokeAsyncCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InvokeAsyncRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InvokeAsyncResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ InvokeAsyncCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InvokeAsyncCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InvokeAsyncCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InvokeAsyncCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InvokeAsyncCommand;
38
+ }($Command));
39
+ export { InvokeAsyncCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { InvocationRequestFilterSensitiveLog, InvocationResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1InvokeCommand, serializeAws_restJson1InvokeCommand } from "../protocols/Aws_restJson1";
5
- export class InvokeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var InvokeCommand = (function (_super) {
7
+ __extends(InvokeCommand, _super);
8
+ function InvokeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ InvokeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "InvokeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "InvokeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: InvocationRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: InvocationResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ InvokeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1InvokeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ InvokeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1InvokeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return InvokeCommand;
38
+ }($Command));
39
+ export { InvokeCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAliasesRequestFilterSensitiveLog, ListAliasesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAliasesCommand, serializeAws_restJson1ListAliasesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAliasesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAliasesCommand = (function (_super) {
7
+ __extends(ListAliasesCommand, _super);
8
+ function ListAliasesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAliasesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "ListAliasesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "ListAliasesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAliasesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAliasesResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAliasesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAliasesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAliasesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAliasesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAliasesCommand;
38
+ }($Command));
39
+ export { ListAliasesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListCodeSigningConfigsRequestFilterSensitiveLog, ListCodeSigningConfigsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListCodeSigningConfigsCommand, serializeAws_restJson1ListCodeSigningConfigsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListCodeSigningConfigsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListCodeSigningConfigsCommand = (function (_super) {
7
+ __extends(ListCodeSigningConfigsCommand, _super);
8
+ function ListCodeSigningConfigsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCodeSigningConfigsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "ListCodeSigningConfigsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "ListCodeSigningConfigsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListCodeSigningConfigsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCodeSigningConfigsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCodeSigningConfigsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListCodeSigningConfigsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCodeSigningConfigsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListCodeSigningConfigsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCodeSigningConfigsCommand;
38
+ }($Command));
39
+ export { ListCodeSigningConfigsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListEventSourceMappingsRequestFilterSensitiveLog, ListEventSourceMappingsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListEventSourceMappingsCommand, serializeAws_restJson1ListEventSourceMappingsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListEventSourceMappingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListEventSourceMappingsCommand = (function (_super) {
7
+ __extends(ListEventSourceMappingsCommand, _super);
8
+ function ListEventSourceMappingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListEventSourceMappingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "ListEventSourceMappingsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "ListEventSourceMappingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListEventSourceMappingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListEventSourceMappingsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListEventSourceMappingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListEventSourceMappingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListEventSourceMappingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListEventSourceMappingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListEventSourceMappingsCommand;
38
+ }($Command));
39
+ export { ListEventSourceMappingsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFunctionEventInvokeConfigsRequestFilterSensitiveLog, ListFunctionEventInvokeConfigsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListFunctionEventInvokeConfigsCommand, serializeAws_restJson1ListFunctionEventInvokeConfigsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListFunctionEventInvokeConfigsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListFunctionEventInvokeConfigsCommand = (function (_super) {
7
+ __extends(ListFunctionEventInvokeConfigsCommand, _super);
8
+ function ListFunctionEventInvokeConfigsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListFunctionEventInvokeConfigsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "ListFunctionEventInvokeConfigsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "ListFunctionEventInvokeConfigsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListFunctionEventInvokeConfigsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListFunctionEventInvokeConfigsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListFunctionEventInvokeConfigsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListFunctionEventInvokeConfigsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListFunctionEventInvokeConfigsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListFunctionEventInvokeConfigsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListFunctionEventInvokeConfigsCommand;
38
+ }($Command));
39
+ export { ListFunctionEventInvokeConfigsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListFunctionUrlConfigsRequestFilterSensitiveLog, ListFunctionUrlConfigsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListFunctionUrlConfigsCommand, serializeAws_restJson1ListFunctionUrlConfigsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListFunctionUrlConfigsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListFunctionUrlConfigsCommand = (function (_super) {
7
+ __extends(ListFunctionUrlConfigsCommand, _super);
8
+ function ListFunctionUrlConfigsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListFunctionUrlConfigsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "LambdaClient";
15
- const commandName = "ListFunctionUrlConfigsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "LambdaClient";
18
+ var commandName = "ListFunctionUrlConfigsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListFunctionUrlConfigsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListFunctionUrlConfigsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListFunctionUrlConfigsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListFunctionUrlConfigsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListFunctionUrlConfigsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListFunctionUrlConfigsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListFunctionUrlConfigsCommand;
38
+ }($Command));
39
+ export { ListFunctionUrlConfigsCommand };