@aws-sdk/client-shield 3.1077.0 → 3.1078.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 (116) hide show
  1. package/dist-cjs/index.js +44 -363
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AssociateDRTLogBucketCommand.js +2 -14
  4. package/dist-es/commands/AssociateDRTRoleCommand.js +2 -14
  5. package/dist-es/commands/AssociateHealthCheckCommand.js +2 -14
  6. package/dist-es/commands/AssociateProactiveEngagementDetailsCommand.js +2 -14
  7. package/dist-es/commands/CreateProtectionCommand.js +2 -14
  8. package/dist-es/commands/CreateProtectionGroupCommand.js +2 -14
  9. package/dist-es/commands/CreateSubscriptionCommand.js +2 -14
  10. package/dist-es/commands/DeleteProtectionCommand.js +2 -14
  11. package/dist-es/commands/DeleteProtectionGroupCommand.js +2 -14
  12. package/dist-es/commands/DeleteSubscriptionCommand.js +2 -14
  13. package/dist-es/commands/DescribeAttackCommand.js +2 -14
  14. package/dist-es/commands/DescribeAttackStatisticsCommand.js +2 -14
  15. package/dist-es/commands/DescribeDRTAccessCommand.js +2 -14
  16. package/dist-es/commands/DescribeEmergencyContactSettingsCommand.js +2 -14
  17. package/dist-es/commands/DescribeProtectionCommand.js +2 -14
  18. package/dist-es/commands/DescribeProtectionGroupCommand.js +2 -14
  19. package/dist-es/commands/DescribeSubscriptionCommand.js +2 -14
  20. package/dist-es/commands/DisableApplicationLayerAutomaticResponseCommand.js +2 -14
  21. package/dist-es/commands/DisableProactiveEngagementCommand.js +2 -14
  22. package/dist-es/commands/DisassociateDRTLogBucketCommand.js +2 -14
  23. package/dist-es/commands/DisassociateDRTRoleCommand.js +2 -14
  24. package/dist-es/commands/DisassociateHealthCheckCommand.js +2 -14
  25. package/dist-es/commands/EnableApplicationLayerAutomaticResponseCommand.js +2 -14
  26. package/dist-es/commands/EnableProactiveEngagementCommand.js +2 -14
  27. package/dist-es/commands/GetSubscriptionStateCommand.js +2 -14
  28. package/dist-es/commands/ListAttacksCommand.js +2 -14
  29. package/dist-es/commands/ListProtectionGroupsCommand.js +2 -14
  30. package/dist-es/commands/ListProtectionsCommand.js +2 -14
  31. package/dist-es/commands/ListResourcesInProtectionGroupCommand.js +2 -14
  32. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  33. package/dist-es/commands/TagResourceCommand.js +2 -14
  34. package/dist-es/commands/UntagResourceCommand.js +2 -14
  35. package/dist-es/commands/UpdateApplicationLayerAutomaticResponseCommand.js +2 -14
  36. package/dist-es/commands/UpdateEmergencyContactSettingsCommand.js +2 -14
  37. package/dist-es/commands/UpdateProtectionGroupCommand.js +2 -14
  38. package/dist-es/commands/UpdateSubscriptionCommand.js +2 -14
  39. package/dist-es/index.js +1 -0
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +3 -8
  42. package/dist-types/commands/AssociateDRTRoleCommand.d.ts +3 -8
  43. package/dist-types/commands/AssociateHealthCheckCommand.d.ts +3 -8
  44. package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateProtectionCommand.d.ts +3 -8
  46. package/dist-types/commands/CreateProtectionGroupCommand.d.ts +3 -8
  47. package/dist-types/commands/CreateSubscriptionCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteProtectionCommand.d.ts +3 -8
  49. package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +3 -8
  50. package/dist-types/commands/DeleteSubscriptionCommand.d.ts +3 -8
  51. package/dist-types/commands/DescribeAttackCommand.d.ts +3 -8
  52. package/dist-types/commands/DescribeAttackStatisticsCommand.d.ts +3 -8
  53. package/dist-types/commands/DescribeDRTAccessCommand.d.ts +3 -8
  54. package/dist-types/commands/DescribeEmergencyContactSettingsCommand.d.ts +3 -8
  55. package/dist-types/commands/DescribeProtectionCommand.d.ts +3 -8
  56. package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +3 -8
  57. package/dist-types/commands/DescribeSubscriptionCommand.d.ts +3 -8
  58. package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +3 -8
  59. package/dist-types/commands/DisableProactiveEngagementCommand.d.ts +3 -8
  60. package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +3 -8
  61. package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +3 -8
  62. package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +3 -8
  63. package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +3 -8
  64. package/dist-types/commands/EnableProactiveEngagementCommand.d.ts +3 -8
  65. package/dist-types/commands/GetSubscriptionStateCommand.d.ts +3 -8
  66. package/dist-types/commands/ListAttacksCommand.d.ts +3 -8
  67. package/dist-types/commands/ListProtectionGroupsCommand.d.ts +3 -8
  68. package/dist-types/commands/ListProtectionsCommand.d.ts +3 -8
  69. package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +3 -8
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  71. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  72. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  73. package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +3 -8
  74. package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +3 -8
  75. package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +3 -8
  76. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +3 -8
  77. package/dist-types/index.d.ts +1 -0
  78. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  79. package/dist-types/ts3.4/commands/AssociateDRTLogBucketCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/AssociateDRTRoleCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/AssociateHealthCheckCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/AssociateProactiveEngagementDetailsCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/CreateProtectionCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/CreateProtectionGroupCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/CreateSubscriptionCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DeleteProtectionCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/DeleteProtectionGroupCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/DeleteSubscriptionCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/DescribeAttackCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/DescribeAttackStatisticsCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/DescribeDRTAccessCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/DescribeEmergencyContactSettingsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/DescribeProtectionCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/DescribeProtectionGroupCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/DescribeSubscriptionCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/DisableProactiveEngagementCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/DisassociateDRTLogBucketCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/DisassociateDRTRoleCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/DisassociateHealthCheckCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/EnableProactiveEngagementCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/GetSubscriptionStateCommand.d.ts +7 -16
  104. package/dist-types/ts3.4/commands/ListAttacksCommand.d.ts +7 -16
  105. package/dist-types/ts3.4/commands/ListProtectionGroupsCommand.d.ts +7 -16
  106. package/dist-types/ts3.4/commands/ListProtectionsCommand.d.ts +7 -16
  107. package/dist-types/ts3.4/commands/ListResourcesInProtectionGroupCommand.d.ts +7 -16
  108. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  111. package/dist-types/ts3.4/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +7 -16
  112. package/dist-types/ts3.4/commands/UpdateEmergencyContactSettingsCommand.d.ts +7 -16
  113. package/dist-types/ts3.4/commands/UpdateProtectionGroupCommand.d.ts +7 -16
  114. package/dist-types/ts3.4/commands/UpdateSubscriptionCommand.d.ts +7 -16
  115. package/dist-types/ts3.4/index.d.ts +1 -0
  116. package/package.json +8 -8
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteProtectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProtectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DeleteProtectionGroup", {})
13
- .n("ShieldClient", "DeleteProtectionGroupCommand")
14
- .sc(DeleteProtectionGroup$)
15
- .build() {
3
+ export class DeleteProtectionGroupCommand extends command(_ep0, _mw0, "DeleteProtectionGroup", DeleteProtectionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DeleteSubscription", {})
13
- .n("ShieldClient", "DeleteSubscriptionCommand")
14
- .sc(DeleteSubscription$)
15
- .build() {
3
+ export class DeleteSubscriptionCommand extends command(_ep0, _mw0, "DeleteSubscription", DeleteSubscription$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAttack$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAttackCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeAttack", {})
13
- .n("ShieldClient", "DescribeAttackCommand")
14
- .sc(DescribeAttack$)
15
- .build() {
3
+ export class DescribeAttackCommand extends command(_ep0, _mw0, "DescribeAttack", DescribeAttack$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeAttackStatistics$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeAttackStatisticsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeAttackStatistics", {})
13
- .n("ShieldClient", "DescribeAttackStatisticsCommand")
14
- .sc(DescribeAttackStatistics$)
15
- .build() {
3
+ export class DescribeAttackStatisticsCommand extends command(_ep0, _mw0, "DescribeAttackStatistics", DescribeAttackStatistics$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeDRTAccess$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeDRTAccessCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeDRTAccess", {})
13
- .n("ShieldClient", "DescribeDRTAccessCommand")
14
- .sc(DescribeDRTAccess$)
15
- .build() {
3
+ export class DescribeDRTAccessCommand extends command(_ep0, _mw0, "DescribeDRTAccess", DescribeDRTAccess$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeEmergencyContactSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeEmergencyContactSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeEmergencyContactSettings", {})
13
- .n("ShieldClient", "DescribeEmergencyContactSettingsCommand")
14
- .sc(DescribeEmergencyContactSettings$)
15
- .build() {
3
+ export class DescribeEmergencyContactSettingsCommand extends command(_ep0, _mw0, "DescribeEmergencyContactSettings", DescribeEmergencyContactSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeProtection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeProtectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeProtection", {})
13
- .n("ShieldClient", "DescribeProtectionCommand")
14
- .sc(DescribeProtection$)
15
- .build() {
3
+ export class DescribeProtectionCommand extends command(_ep0, _mw0, "DescribeProtection", DescribeProtection$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeProtectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeProtectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeProtectionGroup", {})
13
- .n("ShieldClient", "DescribeProtectionGroupCommand")
14
- .sc(DescribeProtectionGroup$)
15
- .build() {
3
+ export class DescribeProtectionGroupCommand extends command(_ep0, _mw0, "DescribeProtectionGroup", DescribeProtectionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DescribeSubscription", {})
13
- .n("ShieldClient", "DescribeSubscriptionCommand")
14
- .sc(DescribeSubscription$)
15
- .build() {
3
+ export class DescribeSubscriptionCommand extends command(_ep0, _mw0, "DescribeSubscription", DescribeSubscription$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisableApplicationLayerAutomaticResponse$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableApplicationLayerAutomaticResponseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DisableApplicationLayerAutomaticResponse", {})
13
- .n("ShieldClient", "DisableApplicationLayerAutomaticResponseCommand")
14
- .sc(DisableApplicationLayerAutomaticResponse$)
15
- .build() {
3
+ export class DisableApplicationLayerAutomaticResponseCommand extends command(_ep0, _mw0, "DisableApplicationLayerAutomaticResponse", DisableApplicationLayerAutomaticResponse$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisableProactiveEngagement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisableProactiveEngagementCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DisableProactiveEngagement", {})
13
- .n("ShieldClient", "DisableProactiveEngagementCommand")
14
- .sc(DisableProactiveEngagement$)
15
- .build() {
3
+ export class DisableProactiveEngagementCommand extends command(_ep0, _mw0, "DisableProactiveEngagement", DisableProactiveEngagement$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateDRTLogBucket$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateDRTLogBucketCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DisassociateDRTLogBucket", {})
13
- .n("ShieldClient", "DisassociateDRTLogBucketCommand")
14
- .sc(DisassociateDRTLogBucket$)
15
- .build() {
3
+ export class DisassociateDRTLogBucketCommand extends command(_ep0, _mw0, "DisassociateDRTLogBucket", DisassociateDRTLogBucket$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateDRTRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateDRTRoleCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DisassociateDRTRole", {})
13
- .n("ShieldClient", "DisassociateDRTRoleCommand")
14
- .sc(DisassociateDRTRole$)
15
- .build() {
3
+ export class DisassociateDRTRoleCommand extends command(_ep0, _mw0, "DisassociateDRTRole", DisassociateDRTRole$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DisassociateHealthCheck$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateHealthCheckCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "DisassociateHealthCheck", {})
13
- .n("ShieldClient", "DisassociateHealthCheckCommand")
14
- .sc(DisassociateHealthCheck$)
15
- .build() {
3
+ export class DisassociateHealthCheckCommand extends command(_ep0, _mw0, "DisassociateHealthCheck", DisassociateHealthCheck$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableApplicationLayerAutomaticResponse$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableApplicationLayerAutomaticResponseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "EnableApplicationLayerAutomaticResponse", {})
13
- .n("ShieldClient", "EnableApplicationLayerAutomaticResponseCommand")
14
- .sc(EnableApplicationLayerAutomaticResponse$)
15
- .build() {
3
+ export class EnableApplicationLayerAutomaticResponseCommand extends command(_ep0, _mw0, "EnableApplicationLayerAutomaticResponse", EnableApplicationLayerAutomaticResponse$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { EnableProactiveEngagement$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class EnableProactiveEngagementCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "EnableProactiveEngagement", {})
13
- .n("ShieldClient", "EnableProactiveEngagementCommand")
14
- .sc(EnableProactiveEngagement$)
15
- .build() {
3
+ export class EnableProactiveEngagementCommand extends command(_ep0, _mw0, "EnableProactiveEngagement", EnableProactiveEngagement$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSubscriptionState$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSubscriptionStateCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "GetSubscriptionState", {})
13
- .n("ShieldClient", "GetSubscriptionStateCommand")
14
- .sc(GetSubscriptionState$)
15
- .build() {
3
+ export class GetSubscriptionStateCommand extends command(_ep0, _mw0, "GetSubscriptionState", GetSubscriptionState$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListAttacks$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListAttacksCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "ListAttacks", {})
13
- .n("ShieldClient", "ListAttacksCommand")
14
- .sc(ListAttacks$)
15
- .build() {
3
+ export class ListAttacksCommand extends command(_ep0, _mw0, "ListAttacks", ListAttacks$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProtectionGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProtectionGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "ListProtectionGroups", {})
13
- .n("ShieldClient", "ListProtectionGroupsCommand")
14
- .sc(ListProtectionGroups$)
15
- .build() {
3
+ export class ListProtectionGroupsCommand extends command(_ep0, _mw0, "ListProtectionGroups", ListProtectionGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListProtections$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListProtectionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "ListProtections", {})
13
- .n("ShieldClient", "ListProtectionsCommand")
14
- .sc(ListProtections$)
15
- .build() {
3
+ export class ListProtectionsCommand extends command(_ep0, _mw0, "ListProtections", ListProtections$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListResourcesInProtectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListResourcesInProtectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "ListResourcesInProtectionGroup", {})
13
- .n("ShieldClient", "ListResourcesInProtectionGroupCommand")
14
- .sc(ListResourcesInProtectionGroup$)
15
- .build() {
3
+ export class ListResourcesInProtectionGroupCommand extends command(_ep0, _mw0, "ListResourcesInProtectionGroup", ListResourcesInProtectionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "ListTagsForResource", {})
13
- .n("ShieldClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "TagResource", {})
13
- .n("ShieldClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "UntagResource", {})
13
- .n("ShieldClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateApplicationLayerAutomaticResponse$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApplicationLayerAutomaticResponseCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "UpdateApplicationLayerAutomaticResponse", {})
13
- .n("ShieldClient", "UpdateApplicationLayerAutomaticResponseCommand")
14
- .sc(UpdateApplicationLayerAutomaticResponse$)
15
- .build() {
3
+ export class UpdateApplicationLayerAutomaticResponseCommand extends command(_ep0, _mw0, "UpdateApplicationLayerAutomaticResponse", UpdateApplicationLayerAutomaticResponse$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEmergencyContactSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEmergencyContactSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "UpdateEmergencyContactSettings", {})
13
- .n("ShieldClient", "UpdateEmergencyContactSettingsCommand")
14
- .sc(UpdateEmergencyContactSettings$)
15
- .build() {
3
+ export class UpdateEmergencyContactSettingsCommand extends command(_ep0, _mw0, "UpdateEmergencyContactSettings", UpdateEmergencyContactSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateProtectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateProtectionGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "UpdateProtectionGroup", {})
13
- .n("ShieldClient", "UpdateProtectionGroupCommand")
14
- .sc(UpdateProtectionGroup$)
15
- .build() {
3
+ export class UpdateProtectionGroupCommand extends command(_ep0, _mw0, "UpdateProtectionGroup", UpdateProtectionGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateSubscriptionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("AWSShield_20160616", "UpdateSubscription", {})
13
- .n("ShieldClient", "UpdateSubscriptionCommand")
14
- .sc(UpdateSubscription$)
15
- .build() {
3
+ export class UpdateSubscriptionCommand extends command(_ep0, _mw0, "UpdateSubscription", UpdateSubscription$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./ShieldClient";
2
2
  export * from "./Shield";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "./ShieldClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse } from "../models/models_0";
4
- import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateDRTLogBucketCommandInput extends AssociateDRTLogBucket
22
19
  export interface AssociateDRTLogBucketCommandOutput extends AssociateDRTLogBucketResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateDRTLogBucketCommand_base: {
25
- new (input: AssociateDRTLogBucketCommandInput): import("@smithy/core/client").CommandImpl<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateDRTLogBucketCommandInput): import("@smithy/core/client").CommandImpl<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, ShieldClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateDRTLogBucketCommandInput): import("@smithy/core/client").CommandImpl<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, import("..").ShieldClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateDRTLogBucketCommandInput): import("@smithy/core/client").CommandImpl<AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput, import("..").ShieldClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Authorizes the Shield Response Team (SRT) to access the specified Amazon S3 bucket containing log data such as Application Load Balancer access logs, CloudFront logs, or logs from third party sources. You can associate up to 10 Amazon S3 buckets with your subscription.</p>