@aws-sdk/client-shield 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +31 -31
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AccessDeniedForDependencyException: () => AccessDeniedForDependencyException,
26
26
  ApplicationLayerAutomaticResponseStatus: () => ApplicationLayerAutomaticResponseStatus,
@@ -91,7 +91,7 @@ __export(src_exports, {
91
91
  paginateListProtections: () => paginateListProtections,
92
92
  paginateListResourcesInProtectionGroup: () => paginateListResourcesInProtectionGroup
93
93
  });
94
- module.exports = __toCommonJS(src_exports);
94
+ module.exports = __toCommonJS(index_exports);
95
95
 
96
96
  // src/ShieldClient.ts
97
97
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -218,9 +218,9 @@ var ShieldClient = class extends import_smithy_client.Client {
218
218
  this.middlewareStack.use(
219
219
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
220
220
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultShieldHttpAuthSchemeParametersProvider,
221
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
221
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
222
222
  "aws.auth#sigv4": config.credentials
223
- })
223
+ }), "identityProviderConfigProvider")
224
224
  })
225
225
  );
226
226
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -1457,35 +1457,35 @@ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput
1457
1457
  }, "de_ResourceNotFoundExceptionRes");
1458
1458
  var se_ListAttacksRequest = /* @__PURE__ */ __name((input, context) => {
1459
1459
  return (0, import_smithy_client.take)(input, {
1460
- EndTime: (_) => se_TimeRange(_, context),
1460
+ EndTime: /* @__PURE__ */ __name((_) => se_TimeRange(_, context), "EndTime"),
1461
1461
  MaxResults: [],
1462
1462
  NextToken: [],
1463
1463
  ResourceArns: import_smithy_client._json,
1464
- StartTime: (_) => se_TimeRange(_, context)
1464
+ StartTime: /* @__PURE__ */ __name((_) => se_TimeRange(_, context), "StartTime")
1465
1465
  });
1466
1466
  }, "se_ListAttacksRequest");
1467
1467
  var se_TimeRange = /* @__PURE__ */ __name((input, context) => {
1468
1468
  return (0, import_smithy_client.take)(input, {
1469
- FromInclusive: (_) => _.getTime() / 1e3,
1470
- ToExclusive: (_) => _.getTime() / 1e3
1469
+ FromInclusive: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "FromInclusive"),
1470
+ ToExclusive: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "ToExclusive")
1471
1471
  });
1472
1472
  }, "se_TimeRange");
1473
1473
  var de_AttackDetail = /* @__PURE__ */ __name((output, context) => {
1474
1474
  return (0, import_smithy_client.take)(output, {
1475
- AttackCounters: (_) => de_SummarizedCounterList(_, context),
1475
+ AttackCounters: /* @__PURE__ */ __name((_) => de_SummarizedCounterList(_, context), "AttackCounters"),
1476
1476
  AttackId: import_smithy_client.expectString,
1477
1477
  AttackProperties: import_smithy_client._json,
1478
- EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1478
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
1479
1479
  Mitigations: import_smithy_client._json,
1480
1480
  ResourceArn: import_smithy_client.expectString,
1481
- StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1482
- SubResources: (_) => de_SubResourceSummaryList(_, context)
1481
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
1482
+ SubResources: /* @__PURE__ */ __name((_) => de_SubResourceSummaryList(_, context), "SubResources")
1483
1483
  });
1484
1484
  }, "de_AttackDetail");
1485
1485
  var de_AttackStatisticsDataItem = /* @__PURE__ */ __name((output, context) => {
1486
1486
  return (0, import_smithy_client.take)(output, {
1487
1487
  AttackCount: import_smithy_client.expectLong,
1488
- AttackVolume: (_) => de_AttackVolume(_, context)
1488
+ AttackVolume: /* @__PURE__ */ __name((_) => de_AttackVolume(_, context), "AttackVolume")
1489
1489
  });
1490
1490
  }, "de_AttackStatisticsDataItem");
1491
1491
  var de_AttackStatisticsDataList = /* @__PURE__ */ __name((output, context) => {
@@ -1504,16 +1504,16 @@ var de_AttackSummary = /* @__PURE__ */ __name((output, context) => {
1504
1504
  return (0, import_smithy_client.take)(output, {
1505
1505
  AttackId: import_smithy_client.expectString,
1506
1506
  AttackVectors: import_smithy_client._json,
1507
- EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1507
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
1508
1508
  ResourceArn: import_smithy_client.expectString,
1509
- StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1509
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime")
1510
1510
  });
1511
1511
  }, "de_AttackSummary");
1512
1512
  var de_AttackVolume = /* @__PURE__ */ __name((output, context) => {
1513
1513
  return (0, import_smithy_client.take)(output, {
1514
- BitsPerSecond: (_) => de_AttackVolumeStatistics(_, context),
1515
- PacketsPerSecond: (_) => de_AttackVolumeStatistics(_, context),
1516
- RequestsPerSecond: (_) => de_AttackVolumeStatistics(_, context)
1514
+ BitsPerSecond: /* @__PURE__ */ __name((_) => de_AttackVolumeStatistics(_, context), "BitsPerSecond"),
1515
+ PacketsPerSecond: /* @__PURE__ */ __name((_) => de_AttackVolumeStatistics(_, context), "PacketsPerSecond"),
1516
+ RequestsPerSecond: /* @__PURE__ */ __name((_) => de_AttackVolumeStatistics(_, context), "RequestsPerSecond")
1517
1517
  });
1518
1518
  }, "de_AttackVolume");
1519
1519
  var de_AttackVolumeStatistics = /* @__PURE__ */ __name((output, context) => {
@@ -1523,30 +1523,30 @@ var de_AttackVolumeStatistics = /* @__PURE__ */ __name((output, context) => {
1523
1523
  }, "de_AttackVolumeStatistics");
1524
1524
  var de_DescribeAttackResponse = /* @__PURE__ */ __name((output, context) => {
1525
1525
  return (0, import_smithy_client.take)(output, {
1526
- Attack: (_) => de_AttackDetail(_, context)
1526
+ Attack: /* @__PURE__ */ __name((_) => de_AttackDetail(_, context), "Attack")
1527
1527
  });
1528
1528
  }, "de_DescribeAttackResponse");
1529
1529
  var de_DescribeAttackStatisticsResponse = /* @__PURE__ */ __name((output, context) => {
1530
1530
  return (0, import_smithy_client.take)(output, {
1531
- DataItems: (_) => de_AttackStatisticsDataList(_, context),
1532
- TimeRange: (_) => de_TimeRange(_, context)
1531
+ DataItems: /* @__PURE__ */ __name((_) => de_AttackStatisticsDataList(_, context), "DataItems"),
1532
+ TimeRange: /* @__PURE__ */ __name((_) => de_TimeRange(_, context), "TimeRange")
1533
1533
  });
1534
1534
  }, "de_DescribeAttackStatisticsResponse");
1535
1535
  var de_DescribeSubscriptionResponse = /* @__PURE__ */ __name((output, context) => {
1536
1536
  return (0, import_smithy_client.take)(output, {
1537
- Subscription: (_) => de_Subscription(_, context)
1537
+ Subscription: /* @__PURE__ */ __name((_) => de_Subscription(_, context), "Subscription")
1538
1538
  });
1539
1539
  }, "de_DescribeSubscriptionResponse");
1540
1540
  var de_ListAttacksResponse = /* @__PURE__ */ __name((output, context) => {
1541
1541
  return (0, import_smithy_client.take)(output, {
1542
- AttackSummaries: (_) => de_AttackSummaries(_, context),
1542
+ AttackSummaries: /* @__PURE__ */ __name((_) => de_AttackSummaries(_, context), "AttackSummaries"),
1543
1543
  NextToken: import_smithy_client.expectString
1544
1544
  });
1545
1545
  }, "de_ListAttacksResponse");
1546
1546
  var de_SubResourceSummary = /* @__PURE__ */ __name((output, context) => {
1547
1547
  return (0, import_smithy_client.take)(output, {
1548
- AttackVectors: (_) => de_SummarizedAttackVectorList(_, context),
1549
- Counters: (_) => de_SummarizedCounterList(_, context),
1548
+ AttackVectors: /* @__PURE__ */ __name((_) => de_SummarizedAttackVectorList(_, context), "AttackVectors"),
1549
+ Counters: /* @__PURE__ */ __name((_) => de_SummarizedCounterList(_, context), "Counters"),
1550
1550
  Id: import_smithy_client.expectString,
1551
1551
  Type: import_smithy_client.expectString
1552
1552
  });
@@ -1560,10 +1560,10 @@ var de_SubResourceSummaryList = /* @__PURE__ */ __name((output, context) => {
1560
1560
  var de_Subscription = /* @__PURE__ */ __name((output, context) => {
1561
1561
  return (0, import_smithy_client.take)(output, {
1562
1562
  AutoRenew: import_smithy_client.expectString,
1563
- EndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1563
+ EndTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "EndTime"),
1564
1564
  Limits: import_smithy_client._json,
1565
1565
  ProactiveEngagementStatus: import_smithy_client.expectString,
1566
- StartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1566
+ StartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartTime"),
1567
1567
  SubscriptionArn: import_smithy_client.expectString,
1568
1568
  SubscriptionLimits: import_smithy_client._json,
1569
1569
  TimeCommitmentInSeconds: import_smithy_client.expectLong
@@ -1571,7 +1571,7 @@ var de_Subscription = /* @__PURE__ */ __name((output, context) => {
1571
1571
  }, "de_Subscription");
1572
1572
  var de_SummarizedAttackVector = /* @__PURE__ */ __name((output, context) => {
1573
1573
  return (0, import_smithy_client.take)(output, {
1574
- VectorCounters: (_) => de_SummarizedCounterList(_, context),
1574
+ VectorCounters: /* @__PURE__ */ __name((_) => de_SummarizedCounterList(_, context), "VectorCounters"),
1575
1575
  VectorType: import_smithy_client.expectString
1576
1576
  });
1577
1577
  }, "de_SummarizedAttackVector");
@@ -1599,8 +1599,8 @@ var de_SummarizedCounterList = /* @__PURE__ */ __name((output, context) => {
1599
1599
  }, "de_SummarizedCounterList");
1600
1600
  var de_TimeRange = /* @__PURE__ */ __name((output, context) => {
1601
1601
  return (0, import_smithy_client.take)(output, {
1602
- FromInclusive: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
1603
- ToExclusive: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
1602
+ FromInclusive: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "FromInclusive"),
1603
+ ToExclusive: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ToExclusive")
1604
1604
  });
1605
1605
  }, "de_TimeRange");
1606
1606
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
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.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-shield",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",