@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class LambdaClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var LambdaClient = (function (_super) {
13
+ __extends(LambdaClient, _super);
14
+ function LambdaClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ LambdaClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return LambdaClient;
38
+ }(__Client));
39
+ export { LambdaClient };
@@ -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 { AddLayerVersionPermissionRequestFilterSensitiveLog, AddLayerVersionPermissionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AddLayerVersionPermissionCommand, serializeAws_restJson1AddLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class AddLayerVersionPermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddLayerVersionPermissionCommand = (function (_super) {
7
+ __extends(AddLayerVersionPermissionCommand, _super);
8
+ function AddLayerVersionPermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddLayerVersionPermissionCommand.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 = "AddLayerVersionPermissionCommand";
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 = "AddLayerVersionPermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddLayerVersionPermissionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddLayerVersionPermissionResponseFilterSensitiveLog,
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
+ AddLayerVersionPermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AddLayerVersionPermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddLayerVersionPermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddLayerVersionPermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddLayerVersionPermissionCommand;
38
+ }($Command));
39
+ export { AddLayerVersionPermissionCommand };
@@ -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 { AddPermissionRequestFilterSensitiveLog, AddPermissionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1AddPermissionCommand, serializeAws_restJson1AddPermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class AddPermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddPermissionCommand = (function (_super) {
7
+ __extends(AddPermissionCommand, _super);
8
+ function AddPermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddPermissionCommand.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 = "AddPermissionCommand";
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 = "AddPermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddPermissionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddPermissionResponseFilterSensitiveLog,
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
+ AddPermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1AddPermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddPermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1AddPermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddPermissionCommand;
38
+ }($Command));
39
+ export { AddPermissionCommand };
@@ -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 { AliasConfigurationFilterSensitiveLog, CreateAliasRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateAliasCommand, serializeAws_restJson1CreateAliasCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateAliasCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAliasCommand = (function (_super) {
7
+ __extends(CreateAliasCommand, _super);
8
+ function CreateAliasCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAliasCommand.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 = "CreateAliasCommand";
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 = "CreateAliasCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAliasRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AliasConfigurationFilterSensitiveLog,
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
+ CreateAliasCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateAliasCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAliasCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateAliasCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAliasCommand;
38
+ }($Command));
39
+ export { CreateAliasCommand };
@@ -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 { CreateCodeSigningConfigRequestFilterSensitiveLog, CreateCodeSigningConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateCodeSigningConfigCommand, serializeAws_restJson1CreateCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateCodeSigningConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateCodeSigningConfigCommand = (function (_super) {
7
+ __extends(CreateCodeSigningConfigCommand, _super);
8
+ function CreateCodeSigningConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCodeSigningConfigCommand.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 = "CreateCodeSigningConfigCommand";
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 = "CreateCodeSigningConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCodeSigningConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateCodeSigningConfigResponseFilterSensitiveLog,
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
+ CreateCodeSigningConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateCodeSigningConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCodeSigningConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateCodeSigningConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCodeSigningConfigCommand;
38
+ }($Command));
39
+ export { CreateCodeSigningConfigCommand };
@@ -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 { CreateEventSourceMappingRequestFilterSensitiveLog, EventSourceMappingConfigurationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateEventSourceMappingCommand, serializeAws_restJson1CreateEventSourceMappingCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateEventSourceMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEventSourceMappingCommand = (function (_super) {
7
+ __extends(CreateEventSourceMappingCommand, _super);
8
+ function CreateEventSourceMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEventSourceMappingCommand.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 = "CreateEventSourceMappingCommand";
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 = "CreateEventSourceMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEventSourceMappingRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EventSourceMappingConfigurationFilterSensitiveLog,
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
+ CreateEventSourceMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateEventSourceMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEventSourceMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateEventSourceMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEventSourceMappingCommand;
38
+ }($Command));
39
+ export { CreateEventSourceMappingCommand };
@@ -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 { CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateFunctionCommand, serializeAws_restJson1CreateFunctionCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateFunctionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFunctionCommand = (function (_super) {
7
+ __extends(CreateFunctionCommand, _super);
8
+ function CreateFunctionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFunctionCommand.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 = "CreateFunctionCommand";
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 = "CreateFunctionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFunctionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog,
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
+ CreateFunctionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateFunctionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFunctionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateFunctionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFunctionCommand;
38
+ }($Command));
39
+ export { CreateFunctionCommand };
@@ -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 { CreateFunctionUrlConfigRequestFilterSensitiveLog, CreateFunctionUrlConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1CreateFunctionUrlConfigCommand, serializeAws_restJson1CreateFunctionUrlConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class CreateFunctionUrlConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateFunctionUrlConfigCommand = (function (_super) {
7
+ __extends(CreateFunctionUrlConfigCommand, _super);
8
+ function CreateFunctionUrlConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateFunctionUrlConfigCommand.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 = "CreateFunctionUrlConfigCommand";
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 = "CreateFunctionUrlConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateFunctionUrlConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateFunctionUrlConfigResponseFilterSensitiveLog,
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
+ CreateFunctionUrlConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1CreateFunctionUrlConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateFunctionUrlConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1CreateFunctionUrlConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateFunctionUrlConfigCommand;
38
+ }($Command));
39
+ export { CreateFunctionUrlConfigCommand };
@@ -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 { DeleteAliasRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteAliasCommand, serializeAws_restJson1DeleteAliasCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteAliasCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAliasCommand = (function (_super) {
7
+ __extends(DeleteAliasCommand, _super);
8
+ function DeleteAliasCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAliasCommand.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 = "DeleteAliasCommand";
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 = "DeleteAliasCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAliasRequestFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
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
+ DeleteAliasCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteAliasCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAliasCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteAliasCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAliasCommand;
38
+ }($Command));
39
+ export { DeleteAliasCommand };
@@ -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 { DeleteCodeSigningConfigRequestFilterSensitiveLog, DeleteCodeSigningConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1DeleteCodeSigningConfigCommand, serializeAws_restJson1DeleteCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class DeleteCodeSigningConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteCodeSigningConfigCommand = (function (_super) {
7
+ __extends(DeleteCodeSigningConfigCommand, _super);
8
+ function DeleteCodeSigningConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCodeSigningConfigCommand.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 = "DeleteCodeSigningConfigCommand";
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 = "DeleteCodeSigningConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCodeSigningConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteCodeSigningConfigResponseFilterSensitiveLog,
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
+ DeleteCodeSigningConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1DeleteCodeSigningConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCodeSigningConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1DeleteCodeSigningConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCodeSigningConfigCommand;
38
+ }($Command));
39
+ export { DeleteCodeSigningConfigCommand };