@aws-sdk/client-shield 3.294.0 → 3.296.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 (77) hide show
  1. package/dist-cjs/commands/AssociateDRTLogBucketCommand.js +4 -4
  2. package/dist-cjs/commands/AssociateDRTRoleCommand.js +4 -4
  3. package/dist-cjs/commands/AssociateHealthCheckCommand.js +4 -4
  4. package/dist-cjs/commands/AssociateProactiveEngagementDetailsCommand.js +4 -4
  5. package/dist-cjs/commands/CreateProtectionCommand.js +4 -4
  6. package/dist-cjs/commands/CreateProtectionGroupCommand.js +4 -4
  7. package/dist-cjs/commands/CreateSubscriptionCommand.js +4 -4
  8. package/dist-cjs/commands/DeleteProtectionCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteProtectionGroupCommand.js +4 -4
  10. package/dist-cjs/commands/DeleteSubscriptionCommand.js +4 -4
  11. package/dist-cjs/commands/DescribeAttackCommand.js +4 -4
  12. package/dist-cjs/commands/DescribeAttackStatisticsCommand.js +4 -4
  13. package/dist-cjs/commands/DescribeDRTAccessCommand.js +4 -4
  14. package/dist-cjs/commands/DescribeEmergencyContactSettingsCommand.js +4 -4
  15. package/dist-cjs/commands/DescribeProtectionCommand.js +4 -4
  16. package/dist-cjs/commands/DescribeProtectionGroupCommand.js +4 -4
  17. package/dist-cjs/commands/DescribeSubscriptionCommand.js +4 -4
  18. package/dist-cjs/commands/DisableApplicationLayerAutomaticResponseCommand.js +4 -4
  19. package/dist-cjs/commands/DisableProactiveEngagementCommand.js +4 -4
  20. package/dist-cjs/commands/DisassociateDRTLogBucketCommand.js +4 -4
  21. package/dist-cjs/commands/DisassociateDRTRoleCommand.js +4 -4
  22. package/dist-cjs/commands/DisassociateHealthCheckCommand.js +4 -4
  23. package/dist-cjs/commands/EnableApplicationLayerAutomaticResponseCommand.js +4 -4
  24. package/dist-cjs/commands/EnableProactiveEngagementCommand.js +4 -4
  25. package/dist-cjs/commands/GetSubscriptionStateCommand.js +4 -4
  26. package/dist-cjs/commands/ListAttacksCommand.js +4 -4
  27. package/dist-cjs/commands/ListProtectionGroupsCommand.js +4 -4
  28. package/dist-cjs/commands/ListProtectionsCommand.js +4 -4
  29. package/dist-cjs/commands/ListResourcesInProtectionGroupCommand.js +4 -4
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  31. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  32. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  33. package/dist-cjs/commands/UpdateApplicationLayerAutomaticResponseCommand.js +4 -4
  34. package/dist-cjs/commands/UpdateEmergencyContactSettingsCommand.js +4 -4
  35. package/dist-cjs/commands/UpdateProtectionGroupCommand.js +4 -4
  36. package/dist-cjs/commands/UpdateSubscriptionCommand.js +4 -4
  37. package/dist-es/commands/AssociateDRTLogBucketCommand.js +4 -4
  38. package/dist-es/commands/AssociateDRTRoleCommand.js +4 -4
  39. package/dist-es/commands/AssociateHealthCheckCommand.js +4 -4
  40. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +4 -4
  41. package/dist-es/commands/CreateProtectionCommand.js +4 -4
  42. package/dist-es/commands/CreateProtectionGroupCommand.js +4 -4
  43. package/dist-es/commands/CreateSubscriptionCommand.js +4 -4
  44. package/dist-es/commands/DeleteProtectionCommand.js +4 -4
  45. package/dist-es/commands/DeleteProtectionGroupCommand.js +4 -4
  46. package/dist-es/commands/DeleteSubscriptionCommand.js +4 -4
  47. package/dist-es/commands/DescribeAttackCommand.js +4 -4
  48. package/dist-es/commands/DescribeAttackStatisticsCommand.js +4 -4
  49. package/dist-es/commands/DescribeDRTAccessCommand.js +4 -4
  50. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +4 -4
  51. package/dist-es/commands/DescribeProtectionCommand.js +4 -4
  52. package/dist-es/commands/DescribeProtectionGroupCommand.js +4 -4
  53. package/dist-es/commands/DescribeSubscriptionCommand.js +4 -4
  54. package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +4 -4
  55. package/dist-es/commands/DisableProactiveEngagementCommand.js +4 -4
  56. package/dist-es/commands/DisassociateDRTLogBucketCommand.js +4 -4
  57. package/dist-es/commands/DisassociateDRTRoleCommand.js +4 -4
  58. package/dist-es/commands/DisassociateHealthCheckCommand.js +4 -4
  59. package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +4 -4
  60. package/dist-es/commands/EnableProactiveEngagementCommand.js +4 -4
  61. package/dist-es/commands/GetSubscriptionStateCommand.js +4 -4
  62. package/dist-es/commands/ListAttacksCommand.js +4 -4
  63. package/dist-es/commands/ListProtectionGroupsCommand.js +4 -4
  64. package/dist-es/commands/ListProtectionsCommand.js +4 -4
  65. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +4 -4
  66. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  67. package/dist-es/commands/TagResourceCommand.js +4 -4
  68. package/dist-es/commands/UntagResourceCommand.js +4 -4
  69. package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +4 -4
  70. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +4 -4
  71. package/dist-es/commands/UpdateProtectionGroupCommand.js +4 -4
  72. package/dist-es/commands/UpdateSubscriptionCommand.js +4 -4
  73. package/dist-types/ShieldClient.d.ts +4 -4
  74. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  75. package/dist-types/ts3.4/ShieldClient.d.ts +4 -4
  76. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  77. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DisassociateDRTRoleRequestFilterSensitiveLog, DisassociateDRTRoleResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1DisassociateDRTRoleCommand, serializeAws_json1_1DisassociateDRTRoleCommand, } from "../protocols/Aws_json1_1";
6
6
  export class DisassociateDRTRoleCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DisassociateDRTRoleCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateDRTRoleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DisassociateHealthCheckRequestFilterSensitiveLog, DisassociateHealthCheckResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1DisassociateHealthCheckCommand, serializeAws_json1_1DisassociateHealthCheckCommand, } from "../protocols/Aws_json1_1";
6
6
  export class DisassociateHealthCheckCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DisassociateHealthCheckCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateHealthCheckCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { EnableApplicationLayerAutomaticResponseRequestFilterSensitiveLog, EnableApplicationLayerAutomaticResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand, serializeAws_json1_1EnableApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
6
6
  export class EnableApplicationLayerAutomaticResponseCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class EnableApplicationLayerAutomaticResponseCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, EnableApplicationLayerAutomaticResponseCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { EnableProactiveEngagementRequestFilterSensitiveLog, EnableProactiveEngagementResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1EnableProactiveEngagementCommand, serializeAws_json1_1EnableProactiveEngagementCommand, } from "../protocols/Aws_json1_1";
6
6
  export class EnableProactiveEngagementCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class EnableProactiveEngagementCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, EnableProactiveEngagementCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { GetSubscriptionStateRequestFilterSensitiveLog, GetSubscriptionStateResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1GetSubscriptionStateCommand, serializeAws_json1_1GetSubscriptionStateCommand, } from "../protocols/Aws_json1_1";
6
6
  export class GetSubscriptionStateCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class GetSubscriptionStateCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, GetSubscriptionStateCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListAttacksRequestFilterSensitiveLog, ListAttacksResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListAttacksCommand, serializeAws_json1_1ListAttacksCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListAttacksCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListAttacksCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListAttacksCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListProtectionGroupsRequestFilterSensitiveLog, ListProtectionGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListProtectionGroupsCommand, serializeAws_json1_1ListProtectionGroupsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListProtectionGroupsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListProtectionGroupsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListProtectionGroupsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListProtectionsRequestFilterSensitiveLog, ListProtectionsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListProtectionsCommand, serializeAws_json1_1ListProtectionsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListProtectionsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListProtectionsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListProtectionsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListResourcesInProtectionGroupRequestFilterSensitiveLog, ListResourcesInProtectionGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListResourcesInProtectionGroupCommand, serializeAws_json1_1ListResourcesInProtectionGroupCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListResourcesInProtectionGroupCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListResourcesInProtectionGroupCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListResourcesInProtectionGroupCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateApplicationLayerAutomaticResponseRequestFilterSensitiveLog, UpdateApplicationLayerAutomaticResponseResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand, serializeAws_json1_1UpdateApplicationLayerAutomaticResponseCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateApplicationLayerAutomaticResponseCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateApplicationLayerAutomaticResponseCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateApplicationLayerAutomaticResponseCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateEmergencyContactSettingsRequestFilterSensitiveLog, UpdateEmergencyContactSettingsResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateEmergencyContactSettingsCommand, serializeAws_json1_1UpdateEmergencyContactSettingsCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateEmergencyContactSettingsCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateEmergencyContactSettingsCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEmergencyContactSettingsCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateProtectionGroupRequestFilterSensitiveLog, UpdateProtectionGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateProtectionGroupCommand, serializeAws_json1_1UpdateProtectionGroupCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateProtectionGroupCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateProtectionGroupCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProtectionGroupCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateSubscriptionRequestFilterSensitiveLog, UpdateSubscriptionResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_json1_1UpdateSubscriptionCommand, serializeAws_json1_1UpdateSubscriptionCommand, } from "../protocols/Aws_json1_1";
6
6
  export class UpdateSubscriptionCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateSubscriptionCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSubscriptionCommand.getEndpointParameterInstructions()));
@@ -44,8 +44,8 @@ import { UpdateEmergencyContactSettingsCommandInput, UpdateEmergencyContactSetti
44
44
  import { UpdateProtectionGroupCommandInput, UpdateProtectionGroupCommandOutput } from "./commands/UpdateProtectionGroupCommand";
45
45
  import { UpdateSubscriptionCommandInput, UpdateSubscriptionCommandOutput } from "./commands/UpdateSubscriptionCommand";
46
46
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
47
- export declare type ServiceInputTypes = AssociateDRTLogBucketCommandInput | AssociateDRTRoleCommandInput | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableApplicationLayerAutomaticResponseCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput | DisassociateDRTRoleCommandInput | DisassociateHealthCheckCommandInput | EnableApplicationLayerAutomaticResponseCommandInput | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput | ListProtectionGroupsCommandInput | ListProtectionsCommandInput | ListResourcesInProtectionGroupCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationLayerAutomaticResponseCommandInput | UpdateEmergencyContactSettingsCommandInput | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput;
48
- export declare type ServiceOutputTypes = AssociateDRTLogBucketCommandOutput | AssociateDRTRoleCommandOutput | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableApplicationLayerAutomaticResponseCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput | DisassociateDRTRoleCommandOutput | DisassociateHealthCheckCommandOutput | EnableApplicationLayerAutomaticResponseCommandOutput | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput | ListResourcesInProtectionGroupCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationLayerAutomaticResponseCommandOutput | UpdateEmergencyContactSettingsCommandOutput | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput;
47
+ export type ServiceInputTypes = AssociateDRTLogBucketCommandInput | AssociateDRTRoleCommandInput | AssociateHealthCheckCommandInput | AssociateProactiveEngagementDetailsCommandInput | CreateProtectionCommandInput | CreateProtectionGroupCommandInput | CreateSubscriptionCommandInput | DeleteProtectionCommandInput | DeleteProtectionGroupCommandInput | DeleteSubscriptionCommandInput | DescribeAttackCommandInput | DescribeAttackStatisticsCommandInput | DescribeDRTAccessCommandInput | DescribeEmergencyContactSettingsCommandInput | DescribeProtectionCommandInput | DescribeProtectionGroupCommandInput | DescribeSubscriptionCommandInput | DisableApplicationLayerAutomaticResponseCommandInput | DisableProactiveEngagementCommandInput | DisassociateDRTLogBucketCommandInput | DisassociateDRTRoleCommandInput | DisassociateHealthCheckCommandInput | EnableApplicationLayerAutomaticResponseCommandInput | EnableProactiveEngagementCommandInput | GetSubscriptionStateCommandInput | ListAttacksCommandInput | ListProtectionGroupsCommandInput | ListProtectionsCommandInput | ListResourcesInProtectionGroupCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationLayerAutomaticResponseCommandInput | UpdateEmergencyContactSettingsCommandInput | UpdateProtectionGroupCommandInput | UpdateSubscriptionCommandInput;
48
+ export type ServiceOutputTypes = AssociateDRTLogBucketCommandOutput | AssociateDRTRoleCommandOutput | AssociateHealthCheckCommandOutput | AssociateProactiveEngagementDetailsCommandOutput | CreateProtectionCommandOutput | CreateProtectionGroupCommandOutput | CreateSubscriptionCommandOutput | DeleteProtectionCommandOutput | DeleteProtectionGroupCommandOutput | DeleteSubscriptionCommandOutput | DescribeAttackCommandOutput | DescribeAttackStatisticsCommandOutput | DescribeDRTAccessCommandOutput | DescribeEmergencyContactSettingsCommandOutput | DescribeProtectionCommandOutput | DescribeProtectionGroupCommandOutput | DescribeSubscriptionCommandOutput | DisableApplicationLayerAutomaticResponseCommandOutput | DisableProactiveEngagementCommandOutput | DisassociateDRTLogBucketCommandOutput | DisassociateDRTRoleCommandOutput | DisassociateHealthCheckCommandOutput | EnableApplicationLayerAutomaticResponseCommandOutput | EnableProactiveEngagementCommandOutput | GetSubscriptionStateCommandOutput | ListAttacksCommandOutput | ListProtectionGroupsCommandOutput | ListProtectionsCommandOutput | ListResourcesInProtectionGroupCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationLayerAutomaticResponseCommandOutput | UpdateEmergencyContactSettingsCommandOutput | UpdateProtectionGroupCommandOutput | UpdateSubscriptionCommandOutput;
49
49
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
50
50
  /**
51
51
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -146,13 +146,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
146
146
  */
147
147
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
148
148
  }
149
- declare type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
149
+ type ShieldClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
150
150
  /**
151
151
  * The configuration interface of ShieldClient class constructor that set the region, credentials and other options.
152
152
  */
153
153
  export interface ShieldClientConfig extends ShieldClientConfigType {
154
154
  }
155
- declare type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
155
+ type ShieldClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
156
156
  /**
157
157
  * The resolved configuration interface of ShieldClient class. This is resolved and normalized from the {@link ShieldClientConfig | constructor configuration interface}.
158
158
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -193,7 +193,7 @@ import {
193
193
  ClientResolvedEndpointParameters,
194
194
  EndpointParameters,
195
195
  } from "./endpoint/EndpointParameters";
196
- export declare type ServiceInputTypes =
196
+ export type ServiceInputTypes =
197
197
  | AssociateDRTLogBucketCommandInput
198
198
  | AssociateDRTRoleCommandInput
199
199
  | AssociateHealthCheckCommandInput
@@ -230,7 +230,7 @@ export declare type ServiceInputTypes =
230
230
  | UpdateEmergencyContactSettingsCommandInput
231
231
  | UpdateProtectionGroupCommandInput
232
232
  | UpdateSubscriptionCommandInput;
233
- export declare type ServiceOutputTypes =
233
+ export type ServiceOutputTypes =
234
234
  | AssociateDRTLogBucketCommandOutput
235
235
  | AssociateDRTRoleCommandOutput
236
236
  | AssociateHealthCheckCommandOutput
@@ -291,7 +291,7 @@ export interface ClientDefaults
291
291
  logger?: __Logger;
292
292
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
293
293
  }
294
- declare type ShieldClientConfigType = Partial<
294
+ type ShieldClientConfigType = Partial<
295
295
  __SmithyConfiguration<__HttpHandlerOptions>
296
296
  > &
297
297
  ClientDefaults &
@@ -303,7 +303,7 @@ declare type ShieldClientConfigType = Partial<
303
303
  UserAgentInputConfig &
304
304
  ClientInputEndpointParameters;
305
305
  export interface ShieldClientConfig extends ShieldClientConfigType {}
306
- declare type ShieldClientResolvedConfigType =
306
+ type ShieldClientResolvedConfigType =
307
307
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
308
308
  Required<ClientDefaults> &
309
309
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-shield",
3
3
  "description": "AWS SDK for JavaScript Shield Client for Node.js, Browser and React Native",
4
- "version": "3.294.0",
4
+ "version": "3.296.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.294.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.294.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.296.0",
24
+ "@aws-sdk/config-resolver": "3.296.0",
25
+ "@aws-sdk/credential-provider-node": "3.296.0",
26
+ "@aws-sdk/fetch-http-handler": "3.296.0",
27
+ "@aws-sdk/hash-node": "3.296.0",
28
+ "@aws-sdk/invalid-dependency": "3.296.0",
29
+ "@aws-sdk/middleware-content-length": "3.296.0",
30
+ "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-host-header": "3.296.0",
32
+ "@aws-sdk/middleware-logger": "3.296.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.296.0",
34
+ "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-serde": "3.296.0",
36
+ "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-stack": "3.296.0",
38
+ "@aws-sdk/middleware-user-agent": "3.296.0",
39
+ "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-http-handler": "3.296.0",
41
+ "@aws-sdk/protocol-http": "3.296.0",
42
+ "@aws-sdk/smithy-client": "3.296.0",
43
+ "@aws-sdk/types": "3.296.0",
44
+ "@aws-sdk/url-parser": "3.296.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.296.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-endpoints": "3.296.0",
51
+ "@aws-sdk/util-retry": "3.296.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.296.0",
53
+ "@aws-sdk/util-user-agent-node": "3.296.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"