@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 { ConcurrencyFilterSensitiveLog, PutFunctionConcurrencyRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutFunctionConcurrencyCommand, serializeAws_restJson1PutFunctionConcurrencyCommand, } from "../protocols/Aws_restJson1";
5
- export class PutFunctionConcurrencyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutFunctionConcurrencyCommand = (function (_super) {
7
+ __extends(PutFunctionConcurrencyCommand, _super);
8
+ function PutFunctionConcurrencyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutFunctionConcurrencyCommand.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 = "PutFunctionConcurrencyCommand";
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 = "PutFunctionConcurrencyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutFunctionConcurrencyRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ConcurrencyFilterSensitiveLog,
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
+ PutFunctionConcurrencyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutFunctionConcurrencyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutFunctionConcurrencyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutFunctionConcurrencyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutFunctionConcurrencyCommand;
38
+ }($Command));
39
+ export { PutFunctionConcurrencyCommand };
@@ -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 { FunctionEventInvokeConfigFilterSensitiveLog, PutFunctionEventInvokeConfigRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutFunctionEventInvokeConfigCommand, serializeAws_restJson1PutFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class PutFunctionEventInvokeConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutFunctionEventInvokeConfigCommand = (function (_super) {
7
+ __extends(PutFunctionEventInvokeConfigCommand, _super);
8
+ function PutFunctionEventInvokeConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutFunctionEventInvokeConfigCommand.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 = "PutFunctionEventInvokeConfigCommand";
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 = "PutFunctionEventInvokeConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutFunctionEventInvokeConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: FunctionEventInvokeConfigFilterSensitiveLog,
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
+ PutFunctionEventInvokeConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutFunctionEventInvokeConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutFunctionEventInvokeConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutFunctionEventInvokeConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutFunctionEventInvokeConfigCommand;
38
+ }($Command));
39
+ export { PutFunctionEventInvokeConfigCommand };
@@ -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 { PutProvisionedConcurrencyConfigRequestFilterSensitiveLog, PutProvisionedConcurrencyConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand, serializeAws_restJson1PutProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class PutProvisionedConcurrencyConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var PutProvisionedConcurrencyConfigCommand = (function (_super) {
7
+ __extends(PutProvisionedConcurrencyConfigCommand, _super);
8
+ function PutProvisionedConcurrencyConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ PutProvisionedConcurrencyConfigCommand.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 = "PutProvisionedConcurrencyConfigCommand";
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 = "PutProvisionedConcurrencyConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: PutProvisionedConcurrencyConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: PutProvisionedConcurrencyConfigResponseFilterSensitiveLog,
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
+ PutProvisionedConcurrencyConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1PutProvisionedConcurrencyConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ PutProvisionedConcurrencyConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return PutProvisionedConcurrencyConfigCommand;
38
+ }($Command));
39
+ export { PutProvisionedConcurrencyConfigCommand };
@@ -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 { RemoveLayerVersionPermissionRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemoveLayerVersionPermissionCommand, serializeAws_restJson1RemoveLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class RemoveLayerVersionPermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemoveLayerVersionPermissionCommand = (function (_super) {
7
+ __extends(RemoveLayerVersionPermissionCommand, _super);
8
+ function RemoveLayerVersionPermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemoveLayerVersionPermissionCommand.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 = "RemoveLayerVersionPermissionCommand";
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 = "RemoveLayerVersionPermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemoveLayerVersionPermissionRequestFilterSensitiveLog,
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
+ RemoveLayerVersionPermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemoveLayerVersionPermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemoveLayerVersionPermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemoveLayerVersionPermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemoveLayerVersionPermissionCommand;
38
+ }($Command));
39
+ export { RemoveLayerVersionPermissionCommand };
@@ -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 { RemovePermissionRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1RemovePermissionCommand, serializeAws_restJson1RemovePermissionCommand, } from "../protocols/Aws_restJson1";
5
- export class RemovePermissionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RemovePermissionCommand = (function (_super) {
7
+ __extends(RemovePermissionCommand, _super);
8
+ function RemovePermissionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RemovePermissionCommand.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 = "RemovePermissionCommand";
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 = "RemovePermissionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RemovePermissionRequestFilterSensitiveLog,
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
+ RemovePermissionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1RemovePermissionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RemovePermissionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1RemovePermissionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RemovePermissionCommand;
38
+ }($Command));
39
+ export { RemovePermissionCommand };
@@ -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 { TagResourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.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 = "TagResourceCommand";
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
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
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { UntagResourceRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.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 = "UntagResourceCommand";
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
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
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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, UpdateAliasRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateAliasCommand, serializeAws_restJson1UpdateAliasCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateAliasCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAliasCommand = (function (_super) {
7
+ __extends(UpdateAliasCommand, _super);
8
+ function UpdateAliasCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAliasCommand.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 = "UpdateAliasCommand";
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 = "UpdateAliasCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAliasRequestFilterSensitiveLog,
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
+ UpdateAliasCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateAliasCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAliasCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateAliasCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAliasCommand;
38
+ }($Command));
39
+ export { UpdateAliasCommand };
@@ -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 { UpdateCodeSigningConfigRequestFilterSensitiveLog, UpdateCodeSigningConfigResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateCodeSigningConfigCommand, serializeAws_restJson1UpdateCodeSigningConfigCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateCodeSigningConfigCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateCodeSigningConfigCommand = (function (_super) {
7
+ __extends(UpdateCodeSigningConfigCommand, _super);
8
+ function UpdateCodeSigningConfigCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateCodeSigningConfigCommand.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 = "UpdateCodeSigningConfigCommand";
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 = "UpdateCodeSigningConfigCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateCodeSigningConfigRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateCodeSigningConfigResponseFilterSensitiveLog,
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
+ UpdateCodeSigningConfigCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateCodeSigningConfigCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateCodeSigningConfigCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateCodeSigningConfigCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateCodeSigningConfigCommand;
38
+ }($Command));
39
+ export { UpdateCodeSigningConfigCommand };
@@ -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 { EventSourceMappingConfigurationFilterSensitiveLog, UpdateEventSourceMappingRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1UpdateEventSourceMappingCommand, serializeAws_restJson1UpdateEventSourceMappingCommand, } from "../protocols/Aws_restJson1";
5
- export class UpdateEventSourceMappingCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateEventSourceMappingCommand = (function (_super) {
7
+ __extends(UpdateEventSourceMappingCommand, _super);
8
+ function UpdateEventSourceMappingCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateEventSourceMappingCommand.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 = "UpdateEventSourceMappingCommand";
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 = "UpdateEventSourceMappingCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateEventSourceMappingRequestFilterSensitiveLog,
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
+ UpdateEventSourceMappingCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1UpdateEventSourceMappingCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateEventSourceMappingCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1UpdateEventSourceMappingCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateEventSourceMappingCommand;
38
+ }($Command));
39
+ export { UpdateEventSourceMappingCommand };