@aws-sdk/client-shield 3.54.0 → 3.56.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 (51) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/ShieldClient.js +13 -13
  3. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +3 -3
  4. package/dist-cjs/commands/AssociateDRTRoleCommand.js +3 -3
  5. package/dist-cjs/commands/AssociateHealthCheckCommand.js +3 -3
  6. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +3 -3
  7. package/dist-cjs/commands/CreateProtectionCommand.js +3 -3
  8. package/dist-cjs/commands/CreateProtectionGroupCommand.js +3 -3
  9. package/dist-cjs/commands/CreateSubscriptionCommand.js +3 -3
  10. package/dist-cjs/commands/DeleteProtectionCommand.js +3 -3
  11. package/dist-cjs/commands/DeleteProtectionGroupCommand.js +3 -3
  12. package/dist-cjs/commands/DeleteSubscriptionCommand.js +3 -3
  13. package/dist-cjs/commands/DescribeAttackCommand.js +3 -3
  14. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +3 -3
  15. package/dist-cjs/commands/DescribeDRTAccessCommand.js +3 -3
  16. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +3 -3
  17. package/dist-cjs/commands/DescribeProtectionCommand.js +3 -3
  18. package/dist-cjs/commands/DescribeProtectionGroupCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeSubscriptionCommand.js +3 -3
  20. package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +3 -3
  21. package/dist-cjs/commands/DisableProactiveEngagementCommand.js +3 -3
  22. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +3 -3
  23. package/dist-cjs/commands/DisassociateDRTRoleCommand.js +3 -3
  24. package/dist-cjs/commands/DisassociateHealthCheckCommand.js +3 -3
  25. package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +3 -3
  26. package/dist-cjs/commands/EnableProactiveEngagementCommand.js +3 -3
  27. package/dist-cjs/commands/GetSubscriptionStateCommand.js +3 -3
  28. package/dist-cjs/commands/ListAttacksCommand.js +3 -3
  29. package/dist-cjs/commands/ListProtectionGroupsCommand.js +3 -3
  30. package/dist-cjs/commands/ListProtectionsCommand.js +3 -3
  31. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +3 -3
  32. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  33. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  34. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  35. package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +3 -3
  36. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +3 -3
  37. package/dist-cjs/commands/UpdateProtectionGroupCommand.js +3 -3
  38. package/dist-cjs/commands/UpdateSubscriptionCommand.js +3 -3
  39. package/dist-cjs/endpoints.js +1 -1
  40. package/dist-cjs/protocols/Aws_json1_1.js +134 -134
  41. package/dist-cjs/runtimeConfig.browser.js +4 -4
  42. package/dist-cjs/runtimeConfig.js +9 -9
  43. package/dist-cjs/runtimeConfig.native.js +1 -1
  44. package/dist-es/Shield.js +36 -36
  45. package/dist-es/pagination/ListAttacksPaginator.js +4 -4
  46. package/dist-es/pagination/ListProtectionGroupsPaginator.js +4 -4
  47. package/dist-es/pagination/ListProtectionsPaginator.js +4 -4
  48. package/dist-es/pagination/ListResourcesInProtectionGroupPaginator.js +4 -4
  49. package/dist-types/runtimeConfig.native.d.ts +2 -2
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
  51. package/package.json +34 -34
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-shield
9
+
10
+
11
+
12
+
13
+
14
+ # [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-shield
17
+
18
+
19
+
20
+
21
+
22
+ ## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-shield
25
+
26
+
27
+
28
+
29
+
6
30
  # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
31
 
8
32
  **Note:** Version bump only for package @aws-sdk/client-shield
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
13
  class ShieldClient extends smithy_client_1.Client {
14
14
  constructor(configuration) {
15
- const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
- const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
- const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
- const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
- const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
- const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
- const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
15
+ const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
16
+ const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
17
+ const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
18
+ const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
19
+ const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
20
+ const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
21
+ const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
22
22
  super(_config_6);
23
23
  this.config = _config_6;
24
- this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
- this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
- this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
- this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
- this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
- this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
24
+ this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
25
+ this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
+ this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
+ this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
28
+ this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
30
  }
31
31
  destroy() {
32
32
  super.destroy();
@@ -11,7 +11,7 @@ class AssociateDRTLogBucketCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class AssociateDRTLogBucketCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1AssociateDRTLogBucketCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1AssociateDRTLogBucketCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1AssociateDRTLogBucketCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateDRTLogBucketCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.AssociateDRTLogBucketCommand = AssociateDRTLogBucketCommand;
@@ -11,7 +11,7 @@ class AssociateDRTRoleCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class AssociateDRTRoleCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1AssociateDRTRoleCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1AssociateDRTRoleCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1AssociateDRTRoleCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateDRTRoleCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.AssociateDRTRoleCommand = AssociateDRTRoleCommand;
@@ -11,7 +11,7 @@ class AssociateHealthCheckCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class AssociateHealthCheckCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1AssociateHealthCheckCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1AssociateHealthCheckCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1AssociateHealthCheckCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateHealthCheckCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.AssociateHealthCheckCommand = AssociateHealthCheckCommand;
@@ -11,7 +11,7 @@ class AssociateProactiveEngagementDetailsCommand extends smithy_client_1.Command
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class AssociateProactiveEngagementDetailsCommand extends smithy_client_1.Command
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1AssociateProactiveEngagementDetailsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1AssociateProactiveEngagementDetailsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1AssociateProactiveEngagementDetailsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1AssociateProactiveEngagementDetailsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.AssociateProactiveEngagementDetailsCommand = AssociateProactiveEngagementDetailsCommand;
@@ -11,7 +11,7 @@ class CreateProtectionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class CreateProtectionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateProtectionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateProtectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateProtectionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateProtectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateProtectionCommand = CreateProtectionCommand;
@@ -11,7 +11,7 @@ class CreateProtectionGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class CreateProtectionGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateProtectionGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateProtectionGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateProtectionGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateProtectionGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateProtectionGroupCommand = CreateProtectionGroupCommand;
@@ -11,7 +11,7 @@ class CreateSubscriptionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class CreateSubscriptionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1CreateSubscriptionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1CreateSubscriptionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1CreateSubscriptionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1CreateSubscriptionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.CreateSubscriptionCommand = CreateSubscriptionCommand;
@@ -11,7 +11,7 @@ class DeleteProtectionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DeleteProtectionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteProtectionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteProtectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteProtectionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteProtectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteProtectionCommand = DeleteProtectionCommand;
@@ -11,7 +11,7 @@ class DeleteProtectionGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DeleteProtectionGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteProtectionGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteProtectionGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteProtectionGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteProtectionGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteProtectionGroupCommand = DeleteProtectionGroupCommand;
@@ -11,7 +11,7 @@ class DeleteSubscriptionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DeleteSubscriptionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DeleteSubscriptionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DeleteSubscriptionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DeleteSubscriptionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteSubscriptionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DeleteSubscriptionCommand = DeleteSubscriptionCommand;
@@ -11,7 +11,7 @@ class DescribeAttackCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeAttackCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeAttackCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeAttackCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeAttackCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeAttackCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeAttackCommand = DescribeAttackCommand;
@@ -11,7 +11,7 @@ class DescribeAttackStatisticsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeAttackStatisticsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeAttackStatisticsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeAttackStatisticsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeAttackStatisticsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeAttackStatisticsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeAttackStatisticsCommand = DescribeAttackStatisticsCommand;
@@ -11,7 +11,7 @@ class DescribeDRTAccessCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeDRTAccessCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeDRTAccessCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeDRTAccessCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeDRTAccessCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeDRTAccessCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeDRTAccessCommand = DescribeDRTAccessCommand;
@@ -11,7 +11,7 @@ class DescribeEmergencyContactSettingsCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeEmergencyContactSettingsCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeEmergencyContactSettingsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeEmergencyContactSettingsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeEmergencyContactSettingsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeEmergencyContactSettingsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeEmergencyContactSettingsCommand = DescribeEmergencyContactSettingsCommand;
@@ -11,7 +11,7 @@ class DescribeProtectionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeProtectionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeProtectionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeProtectionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeProtectionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeProtectionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeProtectionCommand = DescribeProtectionCommand;
@@ -11,7 +11,7 @@ class DescribeProtectionGroupCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeProtectionGroupCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeProtectionGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeProtectionGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeProtectionGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeProtectionGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeProtectionGroupCommand = DescribeProtectionGroupCommand;
@@ -11,7 +11,7 @@ class DescribeSubscriptionCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DescribeSubscriptionCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DescribeSubscriptionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DescribeSubscriptionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DescribeSubscriptionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DescribeSubscriptionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DescribeSubscriptionCommand = DescribeSubscriptionCommand;
@@ -11,7 +11,7 @@ class DisableApplicationLayerAutomaticResponseCommand extends smithy_client_1.Co
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DisableApplicationLayerAutomaticResponseCommand extends smithy_client_1.Co
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisableApplicationLayerAutomaticResponseCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisableApplicationLayerAutomaticResponseCommand = DisableApplicationLayerAutomaticResponseCommand;
@@ -11,7 +11,7 @@ class DisableProactiveEngagementCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DisableProactiveEngagementCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisableProactiveEngagementCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisableProactiveEngagementCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisableProactiveEngagementCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisableProactiveEngagementCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisableProactiveEngagementCommand = DisableProactiveEngagementCommand;
@@ -11,7 +11,7 @@ class DisassociateDRTLogBucketCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DisassociateDRTLogBucketCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisassociateDRTLogBucketCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateDRTLogBucketCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisassociateDRTLogBucketCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateDRTLogBucketCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateDRTLogBucketCommand = DisassociateDRTLogBucketCommand;
@@ -11,7 +11,7 @@ class DisassociateDRTRoleCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DisassociateDRTRoleCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisassociateDRTRoleCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateDRTRoleCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisassociateDRTRoleCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateDRTRoleCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateDRTRoleCommand = DisassociateDRTRoleCommand;
@@ -11,7 +11,7 @@ class DisassociateHealthCheckCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class DisassociateHealthCheckCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1DisassociateHealthCheckCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1DisassociateHealthCheckCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1DisassociateHealthCheckCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1DisassociateHealthCheckCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateHealthCheckCommand = DisassociateHealthCheckCommand;
@@ -11,7 +11,7 @@ class EnableApplicationLayerAutomaticResponseCommand extends smithy_client_1.Com
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class EnableApplicationLayerAutomaticResponseCommand extends smithy_client_1.Com
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnableApplicationLayerAutomaticResponseCommand = EnableApplicationLayerAutomaticResponseCommand;
@@ -11,7 +11,7 @@ class EnableProactiveEngagementCommand extends smithy_client_1.Command {
11
11
  this.input = input;
12
12
  }
13
13
  resolveMiddleware(clientStack, configuration, options) {
14
- this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
14
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
15
15
  const stack = clientStack.concat(this.middlewareStack);
16
16
  const { logger } = configuration;
17
17
  const clientName = "ShieldClient";
@@ -27,10 +27,10 @@ class EnableProactiveEngagementCommand extends smithy_client_1.Command {
27
27
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
28
  }
29
29
  serialize(input, context) {
30
- return Aws_json1_1_1.serializeAws_json1_1EnableProactiveEngagementCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1EnableProactiveEngagementCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1EnableProactiveEngagementCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1EnableProactiveEngagementCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnableProactiveEngagementCommand = EnableProactiveEngagementCommand;