@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
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1465,436 +1466,116 @@ class ShieldClient extends Client {
1465
1466
  }
1466
1467
  }
1467
1468
 
1468
- class AssociateDRTLogBucketCommand extends Command
1469
- .classBuilder()
1470
- .ep(commonParams)
1471
- .m(function (Command, cs, config, o) {
1472
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1473
- })
1474
- .s("AWSShield_20160616", "AssociateDRTLogBucket", {})
1475
- .n("ShieldClient", "AssociateDRTLogBucketCommand")
1476
- .sc(AssociateDRTLogBucket$)
1477
- .build() {
1469
+ const command = makeBuilder(commonParams, "AWSShield_20160616", "ShieldClient", getEndpointPlugin);
1470
+ const _ep0 = {};
1471
+ const _mw0 = (Command, cs, config, o) => [];
1472
+
1473
+ class AssociateDRTLogBucketCommand extends command(_ep0, _mw0, "AssociateDRTLogBucket", AssociateDRTLogBucket$) {
1478
1474
  }
1479
1475
 
1480
- class AssociateDRTRoleCommand extends Command
1481
- .classBuilder()
1482
- .ep(commonParams)
1483
- .m(function (Command, cs, config, o) {
1484
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1485
- })
1486
- .s("AWSShield_20160616", "AssociateDRTRole", {})
1487
- .n("ShieldClient", "AssociateDRTRoleCommand")
1488
- .sc(AssociateDRTRole$)
1489
- .build() {
1476
+ class AssociateDRTRoleCommand extends command(_ep0, _mw0, "AssociateDRTRole", AssociateDRTRole$) {
1490
1477
  }
1491
1478
 
1492
- class AssociateHealthCheckCommand extends Command
1493
- .classBuilder()
1494
- .ep(commonParams)
1495
- .m(function (Command, cs, config, o) {
1496
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1497
- })
1498
- .s("AWSShield_20160616", "AssociateHealthCheck", {})
1499
- .n("ShieldClient", "AssociateHealthCheckCommand")
1500
- .sc(AssociateHealthCheck$)
1501
- .build() {
1479
+ class AssociateHealthCheckCommand extends command(_ep0, _mw0, "AssociateHealthCheck", AssociateHealthCheck$) {
1502
1480
  }
1503
1481
 
1504
- class AssociateProactiveEngagementDetailsCommand extends Command
1505
- .classBuilder()
1506
- .ep(commonParams)
1507
- .m(function (Command, cs, config, o) {
1508
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1509
- })
1510
- .s("AWSShield_20160616", "AssociateProactiveEngagementDetails", {})
1511
- .n("ShieldClient", "AssociateProactiveEngagementDetailsCommand")
1512
- .sc(AssociateProactiveEngagementDetails$)
1513
- .build() {
1482
+ class AssociateProactiveEngagementDetailsCommand extends command(_ep0, _mw0, "AssociateProactiveEngagementDetails", AssociateProactiveEngagementDetails$) {
1514
1483
  }
1515
1484
 
1516
- class CreateProtectionCommand extends Command
1517
- .classBuilder()
1518
- .ep(commonParams)
1519
- .m(function (Command, cs, config, o) {
1520
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1521
- })
1522
- .s("AWSShield_20160616", "CreateProtection", {})
1523
- .n("ShieldClient", "CreateProtectionCommand")
1524
- .sc(CreateProtection$)
1525
- .build() {
1485
+ class CreateProtectionCommand extends command(_ep0, _mw0, "CreateProtection", CreateProtection$) {
1526
1486
  }
1527
1487
 
1528
- class CreateProtectionGroupCommand extends Command
1529
- .classBuilder()
1530
- .ep(commonParams)
1531
- .m(function (Command, cs, config, o) {
1532
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1533
- })
1534
- .s("AWSShield_20160616", "CreateProtectionGroup", {})
1535
- .n("ShieldClient", "CreateProtectionGroupCommand")
1536
- .sc(CreateProtectionGroup$)
1537
- .build() {
1488
+ class CreateProtectionGroupCommand extends command(_ep0, _mw0, "CreateProtectionGroup", CreateProtectionGroup$) {
1538
1489
  }
1539
1490
 
1540
- class CreateSubscriptionCommand extends Command
1541
- .classBuilder()
1542
- .ep(commonParams)
1543
- .m(function (Command, cs, config, o) {
1544
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1545
- })
1546
- .s("AWSShield_20160616", "CreateSubscription", {})
1547
- .n("ShieldClient", "CreateSubscriptionCommand")
1548
- .sc(CreateSubscription$)
1549
- .build() {
1491
+ class CreateSubscriptionCommand extends command(_ep0, _mw0, "CreateSubscription", CreateSubscription$) {
1550
1492
  }
1551
1493
 
1552
- class DeleteProtectionCommand extends Command
1553
- .classBuilder()
1554
- .ep(commonParams)
1555
- .m(function (Command, cs, config, o) {
1556
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1557
- })
1558
- .s("AWSShield_20160616", "DeleteProtection", {})
1559
- .n("ShieldClient", "DeleteProtectionCommand")
1560
- .sc(DeleteProtection$)
1561
- .build() {
1494
+ class DeleteProtectionCommand extends command(_ep0, _mw0, "DeleteProtection", DeleteProtection$) {
1562
1495
  }
1563
1496
 
1564
- class DeleteProtectionGroupCommand extends Command
1565
- .classBuilder()
1566
- .ep(commonParams)
1567
- .m(function (Command, cs, config, o) {
1568
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1569
- })
1570
- .s("AWSShield_20160616", "DeleteProtectionGroup", {})
1571
- .n("ShieldClient", "DeleteProtectionGroupCommand")
1572
- .sc(DeleteProtectionGroup$)
1573
- .build() {
1497
+ class DeleteProtectionGroupCommand extends command(_ep0, _mw0, "DeleteProtectionGroup", DeleteProtectionGroup$) {
1574
1498
  }
1575
1499
 
1576
- class DeleteSubscriptionCommand extends Command
1577
- .classBuilder()
1578
- .ep(commonParams)
1579
- .m(function (Command, cs, config, o) {
1580
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1581
- })
1582
- .s("AWSShield_20160616", "DeleteSubscription", {})
1583
- .n("ShieldClient", "DeleteSubscriptionCommand")
1584
- .sc(DeleteSubscription$)
1585
- .build() {
1500
+ class DeleteSubscriptionCommand extends command(_ep0, _mw0, "DeleteSubscription", DeleteSubscription$) {
1586
1501
  }
1587
1502
 
1588
- class DescribeAttackCommand extends Command
1589
- .classBuilder()
1590
- .ep(commonParams)
1591
- .m(function (Command, cs, config, o) {
1592
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1593
- })
1594
- .s("AWSShield_20160616", "DescribeAttack", {})
1595
- .n("ShieldClient", "DescribeAttackCommand")
1596
- .sc(DescribeAttack$)
1597
- .build() {
1503
+ class DescribeAttackCommand extends command(_ep0, _mw0, "DescribeAttack", DescribeAttack$) {
1598
1504
  }
1599
1505
 
1600
- class DescribeAttackStatisticsCommand extends Command
1601
- .classBuilder()
1602
- .ep(commonParams)
1603
- .m(function (Command, cs, config, o) {
1604
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1605
- })
1606
- .s("AWSShield_20160616", "DescribeAttackStatistics", {})
1607
- .n("ShieldClient", "DescribeAttackStatisticsCommand")
1608
- .sc(DescribeAttackStatistics$)
1609
- .build() {
1506
+ class DescribeAttackStatisticsCommand extends command(_ep0, _mw0, "DescribeAttackStatistics", DescribeAttackStatistics$) {
1610
1507
  }
1611
1508
 
1612
- class DescribeDRTAccessCommand extends Command
1613
- .classBuilder()
1614
- .ep(commonParams)
1615
- .m(function (Command, cs, config, o) {
1616
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
- })
1618
- .s("AWSShield_20160616", "DescribeDRTAccess", {})
1619
- .n("ShieldClient", "DescribeDRTAccessCommand")
1620
- .sc(DescribeDRTAccess$)
1621
- .build() {
1509
+ class DescribeDRTAccessCommand extends command(_ep0, _mw0, "DescribeDRTAccess", DescribeDRTAccess$) {
1622
1510
  }
1623
1511
 
1624
- class DescribeEmergencyContactSettingsCommand extends Command
1625
- .classBuilder()
1626
- .ep(commonParams)
1627
- .m(function (Command, cs, config, o) {
1628
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1629
- })
1630
- .s("AWSShield_20160616", "DescribeEmergencyContactSettings", {})
1631
- .n("ShieldClient", "DescribeEmergencyContactSettingsCommand")
1632
- .sc(DescribeEmergencyContactSettings$)
1633
- .build() {
1512
+ class DescribeEmergencyContactSettingsCommand extends command(_ep0, _mw0, "DescribeEmergencyContactSettings", DescribeEmergencyContactSettings$) {
1634
1513
  }
1635
1514
 
1636
- class DescribeProtectionCommand extends Command
1637
- .classBuilder()
1638
- .ep(commonParams)
1639
- .m(function (Command, cs, config, o) {
1640
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1641
- })
1642
- .s("AWSShield_20160616", "DescribeProtection", {})
1643
- .n("ShieldClient", "DescribeProtectionCommand")
1644
- .sc(DescribeProtection$)
1645
- .build() {
1515
+ class DescribeProtectionCommand extends command(_ep0, _mw0, "DescribeProtection", DescribeProtection$) {
1646
1516
  }
1647
1517
 
1648
- class DescribeProtectionGroupCommand extends Command
1649
- .classBuilder()
1650
- .ep(commonParams)
1651
- .m(function (Command, cs, config, o) {
1652
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1653
- })
1654
- .s("AWSShield_20160616", "DescribeProtectionGroup", {})
1655
- .n("ShieldClient", "DescribeProtectionGroupCommand")
1656
- .sc(DescribeProtectionGroup$)
1657
- .build() {
1518
+ class DescribeProtectionGroupCommand extends command(_ep0, _mw0, "DescribeProtectionGroup", DescribeProtectionGroup$) {
1658
1519
  }
1659
1520
 
1660
- class DescribeSubscriptionCommand extends Command
1661
- .classBuilder()
1662
- .ep(commonParams)
1663
- .m(function (Command, cs, config, o) {
1664
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1665
- })
1666
- .s("AWSShield_20160616", "DescribeSubscription", {})
1667
- .n("ShieldClient", "DescribeSubscriptionCommand")
1668
- .sc(DescribeSubscription$)
1669
- .build() {
1521
+ class DescribeSubscriptionCommand extends command(_ep0, _mw0, "DescribeSubscription", DescribeSubscription$) {
1670
1522
  }
1671
1523
 
1672
- class DisableApplicationLayerAutomaticResponseCommand extends Command
1673
- .classBuilder()
1674
- .ep(commonParams)
1675
- .m(function (Command, cs, config, o) {
1676
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1677
- })
1678
- .s("AWSShield_20160616", "DisableApplicationLayerAutomaticResponse", {})
1679
- .n("ShieldClient", "DisableApplicationLayerAutomaticResponseCommand")
1680
- .sc(DisableApplicationLayerAutomaticResponse$)
1681
- .build() {
1524
+ class DisableApplicationLayerAutomaticResponseCommand extends command(_ep0, _mw0, "DisableApplicationLayerAutomaticResponse", DisableApplicationLayerAutomaticResponse$) {
1682
1525
  }
1683
1526
 
1684
- class DisableProactiveEngagementCommand extends Command
1685
- .classBuilder()
1686
- .ep(commonParams)
1687
- .m(function (Command, cs, config, o) {
1688
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1689
- })
1690
- .s("AWSShield_20160616", "DisableProactiveEngagement", {})
1691
- .n("ShieldClient", "DisableProactiveEngagementCommand")
1692
- .sc(DisableProactiveEngagement$)
1693
- .build() {
1527
+ class DisableProactiveEngagementCommand extends command(_ep0, _mw0, "DisableProactiveEngagement", DisableProactiveEngagement$) {
1694
1528
  }
1695
1529
 
1696
- class DisassociateDRTLogBucketCommand extends Command
1697
- .classBuilder()
1698
- .ep(commonParams)
1699
- .m(function (Command, cs, config, o) {
1700
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1701
- })
1702
- .s("AWSShield_20160616", "DisassociateDRTLogBucket", {})
1703
- .n("ShieldClient", "DisassociateDRTLogBucketCommand")
1704
- .sc(DisassociateDRTLogBucket$)
1705
- .build() {
1530
+ class DisassociateDRTLogBucketCommand extends command(_ep0, _mw0, "DisassociateDRTLogBucket", DisassociateDRTLogBucket$) {
1706
1531
  }
1707
1532
 
1708
- class DisassociateDRTRoleCommand extends Command
1709
- .classBuilder()
1710
- .ep(commonParams)
1711
- .m(function (Command, cs, config, o) {
1712
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1713
- })
1714
- .s("AWSShield_20160616", "DisassociateDRTRole", {})
1715
- .n("ShieldClient", "DisassociateDRTRoleCommand")
1716
- .sc(DisassociateDRTRole$)
1717
- .build() {
1533
+ class DisassociateDRTRoleCommand extends command(_ep0, _mw0, "DisassociateDRTRole", DisassociateDRTRole$) {
1718
1534
  }
1719
1535
 
1720
- class DisassociateHealthCheckCommand extends Command
1721
- .classBuilder()
1722
- .ep(commonParams)
1723
- .m(function (Command, cs, config, o) {
1724
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1725
- })
1726
- .s("AWSShield_20160616", "DisassociateHealthCheck", {})
1727
- .n("ShieldClient", "DisassociateHealthCheckCommand")
1728
- .sc(DisassociateHealthCheck$)
1729
- .build() {
1536
+ class DisassociateHealthCheckCommand extends command(_ep0, _mw0, "DisassociateHealthCheck", DisassociateHealthCheck$) {
1730
1537
  }
1731
1538
 
1732
- class EnableApplicationLayerAutomaticResponseCommand extends Command
1733
- .classBuilder()
1734
- .ep(commonParams)
1735
- .m(function (Command, cs, config, o) {
1736
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1737
- })
1738
- .s("AWSShield_20160616", "EnableApplicationLayerAutomaticResponse", {})
1739
- .n("ShieldClient", "EnableApplicationLayerAutomaticResponseCommand")
1740
- .sc(EnableApplicationLayerAutomaticResponse$)
1741
- .build() {
1539
+ class EnableApplicationLayerAutomaticResponseCommand extends command(_ep0, _mw0, "EnableApplicationLayerAutomaticResponse", EnableApplicationLayerAutomaticResponse$) {
1742
1540
  }
1743
1541
 
1744
- class EnableProactiveEngagementCommand extends Command
1745
- .classBuilder()
1746
- .ep(commonParams)
1747
- .m(function (Command, cs, config, o) {
1748
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1749
- })
1750
- .s("AWSShield_20160616", "EnableProactiveEngagement", {})
1751
- .n("ShieldClient", "EnableProactiveEngagementCommand")
1752
- .sc(EnableProactiveEngagement$)
1753
- .build() {
1542
+ class EnableProactiveEngagementCommand extends command(_ep0, _mw0, "EnableProactiveEngagement", EnableProactiveEngagement$) {
1754
1543
  }
1755
1544
 
1756
- class GetSubscriptionStateCommand extends Command
1757
- .classBuilder()
1758
- .ep(commonParams)
1759
- .m(function (Command, cs, config, o) {
1760
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1761
- })
1762
- .s("AWSShield_20160616", "GetSubscriptionState", {})
1763
- .n("ShieldClient", "GetSubscriptionStateCommand")
1764
- .sc(GetSubscriptionState$)
1765
- .build() {
1545
+ class GetSubscriptionStateCommand extends command(_ep0, _mw0, "GetSubscriptionState", GetSubscriptionState$) {
1766
1546
  }
1767
1547
 
1768
- class ListAttacksCommand extends Command
1769
- .classBuilder()
1770
- .ep(commonParams)
1771
- .m(function (Command, cs, config, o) {
1772
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1773
- })
1774
- .s("AWSShield_20160616", "ListAttacks", {})
1775
- .n("ShieldClient", "ListAttacksCommand")
1776
- .sc(ListAttacks$)
1777
- .build() {
1548
+ class ListAttacksCommand extends command(_ep0, _mw0, "ListAttacks", ListAttacks$) {
1778
1549
  }
1779
1550
 
1780
- class ListProtectionGroupsCommand extends Command
1781
- .classBuilder()
1782
- .ep(commonParams)
1783
- .m(function (Command, cs, config, o) {
1784
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1785
- })
1786
- .s("AWSShield_20160616", "ListProtectionGroups", {})
1787
- .n("ShieldClient", "ListProtectionGroupsCommand")
1788
- .sc(ListProtectionGroups$)
1789
- .build() {
1551
+ class ListProtectionGroupsCommand extends command(_ep0, _mw0, "ListProtectionGroups", ListProtectionGroups$) {
1790
1552
  }
1791
1553
 
1792
- class ListProtectionsCommand extends Command
1793
- .classBuilder()
1794
- .ep(commonParams)
1795
- .m(function (Command, cs, config, o) {
1796
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1797
- })
1798
- .s("AWSShield_20160616", "ListProtections", {})
1799
- .n("ShieldClient", "ListProtectionsCommand")
1800
- .sc(ListProtections$)
1801
- .build() {
1554
+ class ListProtectionsCommand extends command(_ep0, _mw0, "ListProtections", ListProtections$) {
1802
1555
  }
1803
1556
 
1804
- class ListResourcesInProtectionGroupCommand extends Command
1805
- .classBuilder()
1806
- .ep(commonParams)
1807
- .m(function (Command, cs, config, o) {
1808
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1809
- })
1810
- .s("AWSShield_20160616", "ListResourcesInProtectionGroup", {})
1811
- .n("ShieldClient", "ListResourcesInProtectionGroupCommand")
1812
- .sc(ListResourcesInProtectionGroup$)
1813
- .build() {
1557
+ class ListResourcesInProtectionGroupCommand extends command(_ep0, _mw0, "ListResourcesInProtectionGroup", ListResourcesInProtectionGroup$) {
1814
1558
  }
1815
1559
 
1816
- class ListTagsForResourceCommand extends Command
1817
- .classBuilder()
1818
- .ep(commonParams)
1819
- .m(function (Command, cs, config, o) {
1820
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1821
- })
1822
- .s("AWSShield_20160616", "ListTagsForResource", {})
1823
- .n("ShieldClient", "ListTagsForResourceCommand")
1824
- .sc(ListTagsForResource$)
1825
- .build() {
1560
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1826
1561
  }
1827
1562
 
1828
- class TagResourceCommand extends Command
1829
- .classBuilder()
1830
- .ep(commonParams)
1831
- .m(function (Command, cs, config, o) {
1832
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1833
- })
1834
- .s("AWSShield_20160616", "TagResource", {})
1835
- .n("ShieldClient", "TagResourceCommand")
1836
- .sc(TagResource$)
1837
- .build() {
1563
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1838
1564
  }
1839
1565
 
1840
- class UntagResourceCommand extends Command
1841
- .classBuilder()
1842
- .ep(commonParams)
1843
- .m(function (Command, cs, config, o) {
1844
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1845
- })
1846
- .s("AWSShield_20160616", "UntagResource", {})
1847
- .n("ShieldClient", "UntagResourceCommand")
1848
- .sc(UntagResource$)
1849
- .build() {
1566
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1850
1567
  }
1851
1568
 
1852
- class UpdateApplicationLayerAutomaticResponseCommand extends Command
1853
- .classBuilder()
1854
- .ep(commonParams)
1855
- .m(function (Command, cs, config, o) {
1856
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1857
- })
1858
- .s("AWSShield_20160616", "UpdateApplicationLayerAutomaticResponse", {})
1859
- .n("ShieldClient", "UpdateApplicationLayerAutomaticResponseCommand")
1860
- .sc(UpdateApplicationLayerAutomaticResponse$)
1861
- .build() {
1569
+ class UpdateApplicationLayerAutomaticResponseCommand extends command(_ep0, _mw0, "UpdateApplicationLayerAutomaticResponse", UpdateApplicationLayerAutomaticResponse$) {
1862
1570
  }
1863
1571
 
1864
- class UpdateEmergencyContactSettingsCommand extends Command
1865
- .classBuilder()
1866
- .ep(commonParams)
1867
- .m(function (Command, cs, config, o) {
1868
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1869
- })
1870
- .s("AWSShield_20160616", "UpdateEmergencyContactSettings", {})
1871
- .n("ShieldClient", "UpdateEmergencyContactSettingsCommand")
1872
- .sc(UpdateEmergencyContactSettings$)
1873
- .build() {
1572
+ class UpdateEmergencyContactSettingsCommand extends command(_ep0, _mw0, "UpdateEmergencyContactSettings", UpdateEmergencyContactSettings$) {
1874
1573
  }
1875
1574
 
1876
- class UpdateProtectionGroupCommand extends Command
1877
- .classBuilder()
1878
- .ep(commonParams)
1879
- .m(function (Command, cs, config, o) {
1880
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1881
- })
1882
- .s("AWSShield_20160616", "UpdateProtectionGroup", {})
1883
- .n("ShieldClient", "UpdateProtectionGroupCommand")
1884
- .sc(UpdateProtectionGroup$)
1885
- .build() {
1575
+ class UpdateProtectionGroupCommand extends command(_ep0, _mw0, "UpdateProtectionGroup", UpdateProtectionGroup$) {
1886
1576
  }
1887
1577
 
1888
- class UpdateSubscriptionCommand extends Command
1889
- .classBuilder()
1890
- .ep(commonParams)
1891
- .m(function (Command, cs, config, o) {
1892
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1893
- })
1894
- .s("AWSShield_20160616", "UpdateSubscription", {})
1895
- .n("ShieldClient", "UpdateSubscriptionCommand")
1896
- .sc(UpdateSubscription$)
1897
- .build() {
1578
+ class UpdateSubscriptionCommand extends command(_ep0, _mw0, "UpdateSubscription", UpdateSubscription$) {
1898
1579
  }
1899
1580
 
1900
1581
  const paginateListAttacks = createPaginator(ShieldClient, ListAttacksCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "AWSShield_20160616", "ShieldClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -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 { AssociateDRTLogBucket$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateDRTLogBucketCommand 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", "AssociateDRTLogBucket", {})
13
- .n("ShieldClient", "AssociateDRTLogBucketCommand")
14
- .sc(AssociateDRTLogBucket$)
15
- .build() {
3
+ export class AssociateDRTLogBucketCommand extends command(_ep0, _mw0, "AssociateDRTLogBucket", AssociateDRTLogBucket$) {
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 { AssociateDRTRole$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateDRTRoleCommand 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", "AssociateDRTRole", {})
13
- .n("ShieldClient", "AssociateDRTRoleCommand")
14
- .sc(AssociateDRTRole$)
15
- .build() {
3
+ export class AssociateDRTRoleCommand extends command(_ep0, _mw0, "AssociateDRTRole", AssociateDRTRole$) {
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 { AssociateHealthCheck$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateHealthCheckCommand 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", "AssociateHealthCheck", {})
13
- .n("ShieldClient", "AssociateHealthCheckCommand")
14
- .sc(AssociateHealthCheck$)
15
- .build() {
3
+ export class AssociateHealthCheckCommand extends command(_ep0, _mw0, "AssociateHealthCheck", AssociateHealthCheck$) {
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 { AssociateProactiveEngagementDetails$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateProactiveEngagementDetailsCommand 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", "AssociateProactiveEngagementDetails", {})
13
- .n("ShieldClient", "AssociateProactiveEngagementDetailsCommand")
14
- .sc(AssociateProactiveEngagementDetails$)
15
- .build() {
3
+ export class AssociateProactiveEngagementDetailsCommand extends command(_ep0, _mw0, "AssociateProactiveEngagementDetails", AssociateProactiveEngagementDetails$) {
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 { CreateProtection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProtectionCommand 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", "CreateProtection", {})
13
- .n("ShieldClient", "CreateProtectionCommand")
14
- .sc(CreateProtection$)
15
- .build() {
3
+ export class CreateProtectionCommand extends command(_ep0, _mw0, "CreateProtection", CreateProtection$) {
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 { CreateProtectionGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateProtectionGroupCommand 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", "CreateProtectionGroup", {})
13
- .n("ShieldClient", "CreateProtectionGroupCommand")
14
- .sc(CreateProtectionGroup$)
15
- .build() {
3
+ export class CreateProtectionGroupCommand extends command(_ep0, _mw0, "CreateProtectionGroup", CreateProtectionGroup$) {
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 { CreateSubscription$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSubscriptionCommand 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", "CreateSubscription", {})
13
- .n("ShieldClient", "CreateSubscriptionCommand")
14
- .sc(CreateSubscription$)
15
- .build() {
3
+ export class CreateSubscriptionCommand extends command(_ep0, _mw0, "CreateSubscription", CreateSubscription$) {
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 { DeleteProtection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteProtectionCommand 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", "DeleteProtection", {})
13
- .n("ShieldClient", "DeleteProtectionCommand")
14
- .sc(DeleteProtection$)
15
- .build() {
3
+ export class DeleteProtectionCommand extends command(_ep0, _mw0, "DeleteProtection", DeleteProtection$) {
16
4
  }