@aws-sdk/client-shield 3.53.0 → 3.55.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 (57) 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/ShieldClient.d.ts +2 -2
  50. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  51. package/dist-types/runtimeConfig.d.ts +1 -1
  52. package/dist-types/runtimeConfig.native.d.ts +3 -3
  53. package/dist-types/ts3.4/ShieldClient.d.ts +2 -2
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  57. package/package.json +34 -34
@@ -11,7 +11,7 @@ class GetSubscriptionStateCommand 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 GetSubscriptionStateCommand 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_1GetSubscriptionStateCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1GetSubscriptionStateCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1GetSubscriptionStateCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1GetSubscriptionStateCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetSubscriptionStateCommand = GetSubscriptionStateCommand;
@@ -11,7 +11,7 @@ class ListAttacksCommand 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 ListAttacksCommand 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_1ListAttacksCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListAttacksCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListAttacksCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListAttacksCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListAttacksCommand = ListAttacksCommand;
@@ -11,7 +11,7 @@ class ListProtectionGroupsCommand 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 ListProtectionGroupsCommand 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_1ListProtectionGroupsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListProtectionGroupsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListProtectionGroupsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListProtectionGroupsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListProtectionGroupsCommand = ListProtectionGroupsCommand;
@@ -11,7 +11,7 @@ class ListProtectionsCommand 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 ListProtectionsCommand 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_1ListProtectionsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListProtectionsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListProtectionsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListProtectionsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListProtectionsCommand = ListProtectionsCommand;
@@ -11,7 +11,7 @@ class ListResourcesInProtectionGroupCommand 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 ListResourcesInProtectionGroupCommand 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_1ListResourcesInProtectionGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListResourcesInProtectionGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListResourcesInProtectionGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListResourcesInProtectionGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListResourcesInProtectionGroupCommand = ListResourcesInProtectionGroupCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand 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 ListTagsForResourceCommand 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_1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand 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 TagResourceCommand 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_1TagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand 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 UntagResourceCommand 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_1UntagResourceCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateApplicationLayerAutomaticResponseCommand 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 UpdateApplicationLayerAutomaticResponseCommand 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_1UpdateApplicationLayerAutomaticResponseCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateApplicationLayerAutomaticResponseCommand = UpdateApplicationLayerAutomaticResponseCommand;
@@ -11,7 +11,7 @@ class UpdateEmergencyContactSettingsCommand 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 UpdateEmergencyContactSettingsCommand 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_1UpdateEmergencyContactSettingsCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateEmergencyContactSettingsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateEmergencyContactSettingsCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateEmergencyContactSettingsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateEmergencyContactSettingsCommand = UpdateEmergencyContactSettingsCommand;
@@ -11,7 +11,7 @@ class UpdateProtectionGroupCommand 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 UpdateProtectionGroupCommand 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_1UpdateProtectionGroupCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateProtectionGroupCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateProtectionGroupCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateProtectionGroupCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateProtectionGroupCommand = UpdateProtectionGroupCommand;
@@ -11,7 +11,7 @@ class UpdateSubscriptionCommand 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 UpdateSubscriptionCommand 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_1UpdateSubscriptionCommand(input, context);
30
+ return (0, Aws_json1_1_1.serializeAws_json1_1UpdateSubscriptionCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_json1_1_1.deserializeAws_json1_1UpdateSubscriptionCommand(output, context);
33
+ return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateSubscriptionCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateSubscriptionCommand = UpdateSubscriptionCommand;
@@ -139,7 +139,7 @@ const partitionHash = {
139
139
  ],
140
140
  },
141
141
  };
142
- const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
142
+ const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
143
143
  ...options,
144
144
  signingService: "shield",
145
145
  regionHash,