@aws-sdk/client-wafv2 3.186.0 → 3.188.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 (60) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/WAFV2.js +194 -201
  3. package/dist-es/WAFV2Client.js +22 -28
  4. package/dist-es/commands/AssociateWebACLCommand.js +21 -28
  5. package/dist-es/commands/CheckCapacityCommand.js +21 -28
  6. package/dist-es/commands/CreateIPSetCommand.js +21 -28
  7. package/dist-es/commands/CreateRegexPatternSetCommand.js +21 -28
  8. package/dist-es/commands/CreateRuleGroupCommand.js +21 -28
  9. package/dist-es/commands/CreateWebACLCommand.js +21 -28
  10. package/dist-es/commands/DeleteFirewallManagerRuleGroupsCommand.js +21 -28
  11. package/dist-es/commands/DeleteIPSetCommand.js +21 -28
  12. package/dist-es/commands/DeleteLoggingConfigurationCommand.js +21 -28
  13. package/dist-es/commands/DeletePermissionPolicyCommand.js +21 -28
  14. package/dist-es/commands/DeleteRegexPatternSetCommand.js +21 -28
  15. package/dist-es/commands/DeleteRuleGroupCommand.js +21 -28
  16. package/dist-es/commands/DeleteWebACLCommand.js +21 -28
  17. package/dist-es/commands/DescribeManagedRuleGroupCommand.js +21 -28
  18. package/dist-es/commands/DisassociateWebACLCommand.js +21 -28
  19. package/dist-es/commands/GenerateMobileSdkReleaseUrlCommand.js +21 -28
  20. package/dist-es/commands/GetIPSetCommand.js +21 -28
  21. package/dist-es/commands/GetLoggingConfigurationCommand.js +21 -28
  22. package/dist-es/commands/GetManagedRuleSetCommand.js +21 -28
  23. package/dist-es/commands/GetMobileSdkReleaseCommand.js +21 -28
  24. package/dist-es/commands/GetPermissionPolicyCommand.js +21 -28
  25. package/dist-es/commands/GetRateBasedStatementManagedKeysCommand.js +21 -28
  26. package/dist-es/commands/GetRegexPatternSetCommand.js +21 -28
  27. package/dist-es/commands/GetRuleGroupCommand.js +21 -28
  28. package/dist-es/commands/GetSampledRequestsCommand.js +21 -28
  29. package/dist-es/commands/GetWebACLCommand.js +21 -28
  30. package/dist-es/commands/GetWebACLForResourceCommand.js +21 -28
  31. package/dist-es/commands/ListAvailableManagedRuleGroupVersionsCommand.js +21 -28
  32. package/dist-es/commands/ListAvailableManagedRuleGroupsCommand.js +21 -28
  33. package/dist-es/commands/ListIPSetsCommand.js +21 -28
  34. package/dist-es/commands/ListLoggingConfigurationsCommand.js +21 -28
  35. package/dist-es/commands/ListManagedRuleSetsCommand.js +21 -28
  36. package/dist-es/commands/ListMobileSdkReleasesCommand.js +21 -28
  37. package/dist-es/commands/ListRegexPatternSetsCommand.js +21 -28
  38. package/dist-es/commands/ListResourcesForWebACLCommand.js +21 -28
  39. package/dist-es/commands/ListRuleGroupsCommand.js +21 -28
  40. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  41. package/dist-es/commands/ListWebACLsCommand.js +21 -28
  42. package/dist-es/commands/PutLoggingConfigurationCommand.js +21 -28
  43. package/dist-es/commands/PutManagedRuleSetVersionsCommand.js +21 -28
  44. package/dist-es/commands/PutPermissionPolicyCommand.js +21 -28
  45. package/dist-es/commands/TagResourceCommand.js +21 -28
  46. package/dist-es/commands/UntagResourceCommand.js +21 -28
  47. package/dist-es/commands/UpdateIPSetCommand.js +21 -28
  48. package/dist-es/commands/UpdateManagedRuleSetVersionExpiryDateCommand.js +21 -28
  49. package/dist-es/commands/UpdateRegexPatternSetCommand.js +21 -28
  50. package/dist-es/commands/UpdateRuleGroupCommand.js +21 -28
  51. package/dist-es/commands/UpdateWebACLCommand.js +21 -28
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/WAFV2ServiceException.js +5 -10
  54. package/dist-es/models/models_0.js +775 -404
  55. package/dist-es/protocols/Aws_json1_1.js +4048 -4810
  56. package/dist-es/runtimeConfig.browser.js +26 -12
  57. package/dist-es/runtimeConfig.js +30 -12
  58. package/dist-es/runtimeConfig.native.js +8 -5
  59. package/dist-es/runtimeConfig.shared.js +8 -11
  60. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeletePermissionPolicyRequestFilterSensitiveLog, DeletePermissionPolicyResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeletePermissionPolicyCommand, serializeAws_json1_1DeletePermissionPolicyCommand, } from "../protocols/Aws_json1_1";
6
- var DeletePermissionPolicyCommand = (function (_super) {
7
- __extends(DeletePermissionPolicyCommand, _super);
8
- function DeletePermissionPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeletePermissionPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeletePermissionPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "DeletePermissionPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "DeletePermissionPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeletePermissionPolicyRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeletePermissionPolicyResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeletePermissionPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeletePermissionPolicyCommand(input, context);
33
- };
34
- DeletePermissionPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeletePermissionPolicyCommand(output, context);
36
- };
37
- return DeletePermissionPolicyCommand;
38
- }($Command));
39
- export { DeletePermissionPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteRegexPatternSetRequestFilterSensitiveLog, DeleteRegexPatternSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteRegexPatternSetCommand, serializeAws_json1_1DeleteRegexPatternSetCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteRegexPatternSetCommand = (function (_super) {
7
- __extends(DeleteRegexPatternSetCommand, _super);
8
- function DeleteRegexPatternSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRegexPatternSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRegexPatternSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "DeleteRegexPatternSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "DeleteRegexPatternSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRegexPatternSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteRegexPatternSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRegexPatternSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteRegexPatternSetCommand(input, context);
33
- };
34
- DeleteRegexPatternSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteRegexPatternSetCommand(output, context);
36
- };
37
- return DeleteRegexPatternSetCommand;
38
- }($Command));
39
- export { DeleteRegexPatternSetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteRuleGroupRequestFilterSensitiveLog, DeleteRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteRuleGroupCommand, serializeAws_json1_1DeleteRuleGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteRuleGroupCommand = (function (_super) {
7
- __extends(DeleteRuleGroupCommand, _super);
8
- function DeleteRuleGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteRuleGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteRuleGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "DeleteRuleGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "DeleteRuleGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteRuleGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteRuleGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteRuleGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteRuleGroupCommand(input, context);
33
- };
34
- DeleteRuleGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteRuleGroupCommand(output, context);
36
- };
37
- return DeleteRuleGroupCommand;
38
- }($Command));
39
- export { DeleteRuleGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DeleteWebACLRequestFilterSensitiveLog, DeleteWebACLResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteWebACLCommand, serializeAws_json1_1DeleteWebACLCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteWebACLCommand = (function (_super) {
7
- __extends(DeleteWebACLCommand, _super);
8
- function DeleteWebACLCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteWebACLCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteWebACLCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "DeleteWebACLCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "DeleteWebACLCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteWebACLRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteWebACLResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteWebACLCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DeleteWebACLCommand(input, context);
33
- };
34
- DeleteWebACLCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteWebACLCommand(output, context);
36
- };
37
- return DeleteWebACLCommand;
38
- }($Command));
39
- export { DeleteWebACLCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeManagedRuleGroupRequestFilterSensitiveLog, DescribeManagedRuleGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeManagedRuleGroupCommand, serializeAws_json1_1DescribeManagedRuleGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeManagedRuleGroupCommand = (function (_super) {
7
- __extends(DescribeManagedRuleGroupCommand, _super);
8
- function DescribeManagedRuleGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeManagedRuleGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeManagedRuleGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "DescribeManagedRuleGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "DescribeManagedRuleGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeManagedRuleGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeManagedRuleGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeManagedRuleGroupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeManagedRuleGroupCommand(input, context);
33
- };
34
- DescribeManagedRuleGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeManagedRuleGroupCommand(output, context);
36
- };
37
- return DescribeManagedRuleGroupCommand;
38
- }($Command));
39
- export { DescribeManagedRuleGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisassociateWebACLRequestFilterSensitiveLog, DisassociateWebACLResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisassociateWebACLCommand, serializeAws_json1_1DisassociateWebACLCommand, } from "../protocols/Aws_json1_1";
6
- var DisassociateWebACLCommand = (function (_super) {
7
- __extends(DisassociateWebACLCommand, _super);
8
- function DisassociateWebACLCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisassociateWebACLCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisassociateWebACLCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "DisassociateWebACLCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "DisassociateWebACLCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisassociateWebACLRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisassociateWebACLResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisassociateWebACLCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisassociateWebACLCommand(input, context);
33
- };
34
- DisassociateWebACLCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisassociateWebACLCommand(output, context);
36
- };
37
- return DisassociateWebACLCommand;
38
- }($Command));
39
- export { DisassociateWebACLCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GenerateMobileSdkReleaseUrlRequestFilterSensitiveLog, GenerateMobileSdkReleaseUrlResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommand, serializeAws_json1_1GenerateMobileSdkReleaseUrlCommand, } from "../protocols/Aws_json1_1";
6
- var GenerateMobileSdkReleaseUrlCommand = (function (_super) {
7
- __extends(GenerateMobileSdkReleaseUrlCommand, _super);
8
- function GenerateMobileSdkReleaseUrlCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GenerateMobileSdkReleaseUrlCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GenerateMobileSdkReleaseUrlCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "GenerateMobileSdkReleaseUrlCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "GenerateMobileSdkReleaseUrlCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GenerateMobileSdkReleaseUrlRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GenerateMobileSdkReleaseUrlResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GenerateMobileSdkReleaseUrlCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GenerateMobileSdkReleaseUrlCommand(input, context);
33
- };
34
- GenerateMobileSdkReleaseUrlCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GenerateMobileSdkReleaseUrlCommand(output, context);
36
- };
37
- return GenerateMobileSdkReleaseUrlCommand;
38
- }($Command));
39
- export { GenerateMobileSdkReleaseUrlCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetIPSetRequestFilterSensitiveLog, GetIPSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetIPSetCommand, serializeAws_json1_1GetIPSetCommand } from "../protocols/Aws_json1_1";
6
- var GetIPSetCommand = (function (_super) {
7
- __extends(GetIPSetCommand, _super);
8
- function GetIPSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetIPSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetIPSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "GetIPSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "GetIPSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetIPSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetIPSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetIPSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetIPSetCommand(input, context);
33
- };
34
- GetIPSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetIPSetCommand(output, context);
36
- };
37
- return GetIPSetCommand;
38
- }($Command));
39
- export { GetIPSetCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetLoggingConfigurationRequestFilterSensitiveLog, GetLoggingConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetLoggingConfigurationCommand, serializeAws_json1_1GetLoggingConfigurationCommand, } from "../protocols/Aws_json1_1";
6
- var GetLoggingConfigurationCommand = (function (_super) {
7
- __extends(GetLoggingConfigurationCommand, _super);
8
- function GetLoggingConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetLoggingConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetLoggingConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "GetLoggingConfigurationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "GetLoggingConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetLoggingConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetLoggingConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetLoggingConfigurationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetLoggingConfigurationCommand(input, context);
33
- };
34
- GetLoggingConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetLoggingConfigurationCommand(output, context);
36
- };
37
- return GetLoggingConfigurationCommand;
38
- }($Command));
39
- export { GetLoggingConfigurationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { GetManagedRuleSetRequestFilterSensitiveLog, GetManagedRuleSetResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetManagedRuleSetCommand, serializeAws_json1_1GetManagedRuleSetCommand, } from "../protocols/Aws_json1_1";
6
- var GetManagedRuleSetCommand = (function (_super) {
7
- __extends(GetManagedRuleSetCommand, _super);
8
- function GetManagedRuleSetCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetManagedRuleSetCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetManagedRuleSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "WAFV2Client";
18
- var commandName = "GetManagedRuleSetCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "WAFV2Client";
15
+ const commandName = "GetManagedRuleSetCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetManagedRuleSetRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetManagedRuleSetResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetManagedRuleSetCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1GetManagedRuleSetCommand(input, context);
33
- };
34
- GetManagedRuleSetCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetManagedRuleSetCommand(output, context);
36
- };
37
- return GetManagedRuleSetCommand;
38
- }($Command));
39
- export { GetManagedRuleSetCommand };
31
+ }
32
+ }