@aws-sdk/client-shield 3.943.0 → 3.946.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 (67) hide show
  1. package/dist-cjs/index.js +13 -123
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/ShieldClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +13 -123
  8. package/dist-types/Shield.d.ts +1 -1
  9. package/dist-types/ShieldClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/AssociateDRTLogBucketCommand.d.ts +3 -3
  13. package/dist-types/commands/AssociateDRTRoleCommand.d.ts +3 -3
  14. package/dist-types/commands/AssociateHealthCheckCommand.d.ts +3 -3
  15. package/dist-types/commands/AssociateProactiveEngagementDetailsCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateProtectionCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateProtectionGroupCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateSubscriptionCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteProtectionCommand.d.ts +3 -3
  20. package/dist-types/commands/DeleteProtectionGroupCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteSubscriptionCommand.d.ts +3 -3
  22. package/dist-types/commands/DescribeAttackCommand.d.ts +3 -3
  23. package/dist-types/commands/DescribeAttackStatisticsCommand.d.ts +3 -3
  24. package/dist-types/commands/DescribeDRTAccessCommand.d.ts +3 -3
  25. package/dist-types/commands/DescribeEmergencyContactSettingsCommand.d.ts +3 -3
  26. package/dist-types/commands/DescribeProtectionCommand.d.ts +3 -3
  27. package/dist-types/commands/DescribeProtectionGroupCommand.d.ts +3 -3
  28. package/dist-types/commands/DescribeSubscriptionCommand.d.ts +3 -3
  29. package/dist-types/commands/DisableApplicationLayerAutomaticResponseCommand.d.ts +3 -3
  30. package/dist-types/commands/DisableProactiveEngagementCommand.d.ts +3 -3
  31. package/dist-types/commands/DisassociateDRTLogBucketCommand.d.ts +3 -3
  32. package/dist-types/commands/DisassociateDRTRoleCommand.d.ts +3 -3
  33. package/dist-types/commands/DisassociateHealthCheckCommand.d.ts +3 -3
  34. package/dist-types/commands/EnableApplicationLayerAutomaticResponseCommand.d.ts +3 -3
  35. package/dist-types/commands/EnableProactiveEngagementCommand.d.ts +3 -3
  36. package/dist-types/commands/GetSubscriptionStateCommand.d.ts +3 -3
  37. package/dist-types/commands/ListAttacksCommand.d.ts +3 -3
  38. package/dist-types/commands/ListProtectionGroupsCommand.d.ts +3 -3
  39. package/dist-types/commands/ListProtectionsCommand.d.ts +3 -3
  40. package/dist-types/commands/ListResourcesInProtectionGroupCommand.d.ts +3 -3
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  42. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  43. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  44. package/dist-types/commands/UpdateApplicationLayerAutomaticResponseCommand.d.ts +3 -3
  45. package/dist-types/commands/UpdateEmergencyContactSettingsCommand.d.ts +3 -3
  46. package/dist-types/commands/UpdateProtectionGroupCommand.d.ts +3 -3
  47. package/dist-types/commands/UpdateSubscriptionCommand.d.ts +3 -3
  48. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  49. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  50. package/dist-types/extensionConfiguration.d.ts +4 -4
  51. package/dist-types/models/ShieldServiceException.d.ts +1 -1
  52. package/dist-types/models/errors.d.ts +1 -1
  53. package/dist-types/pagination/Interfaces.d.ts +1 -1
  54. package/dist-types/pagination/ListAttacksPaginator.d.ts +1 -1
  55. package/dist-types/pagination/ListProtectionGroupsPaginator.d.ts +1 -1
  56. package/dist-types/pagination/ListProtectionsPaginator.d.ts +1 -1
  57. package/dist-types/pagination/ListResourcesInProtectionGroupPaginator.d.ts +1 -1
  58. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  59. package/dist-types/runtimeConfig.d.ts +1 -1
  60. package/dist-types/runtimeConfig.native.d.ts +1 -1
  61. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  62. package/dist-types/runtimeExtensions.d.ts +1 -1
  63. package/dist-types/schemas/schemas_0.d.ts +1 -1
  64. package/dist-types/ts3.4/ShieldClient.d.ts +3 -3
  65. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  66. package/dist-types/ts3.4/models/ShieldServiceException.d.ts +1 -1
  67. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -538,27 +538,9 @@ const _rT = "resourceType";
538
538
  const _s = "server";
539
539
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.shield";
540
540
  const n0 = "com.amazonaws.shield";
541
- var AccessDeniedException = [
542
- -3,
543
- n0,
544
- _ADE,
545
- {
546
- [_e]: _c,
547
- },
548
- [_m],
549
- [0],
550
- ];
541
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_m], [0]];
551
542
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
552
- var AccessDeniedForDependencyException = [
553
- -3,
554
- n0,
555
- _ADFDE,
556
- {
557
- [_e]: _c,
558
- },
559
- [_m],
560
- [0],
561
- ];
543
+ var AccessDeniedForDependencyException = [-3, n0, _ADFDE, { [_e]: _c }, [_m], [0]];
562
544
  schema.TypeRegistry.for(n0).registerError(AccessDeniedForDependencyException, AccessDeniedForDependencyException$1);
563
545
  var ApplicationLayerAutomaticResponseConfiguration = [
564
546
  3,
@@ -715,72 +697,25 @@ var InclusionProtectionGroupFilters = [
715
697
  [_PGIr, _Pa, _RTe, _Agg],
716
698
  [64 | 0, 64 | 0, 64 | 0, 64 | 0],
717
699
  ];
718
- var InternalErrorException = [
719
- -3,
720
- n0,
721
- _IEE,
722
- {
723
- [_e]: _s,
724
- },
725
- [_m],
726
- [0],
727
- ];
700
+ var InternalErrorException = [-3, n0, _IEE, { [_e]: _s }, [_m], [0]];
728
701
  schema.TypeRegistry.for(n0).registerError(InternalErrorException, InternalErrorException$1);
729
- var InvalidOperationException = [
730
- -3,
731
- n0,
732
- _IOE,
733
- {
734
- [_e]: _c,
735
- },
736
- [_m],
737
- [0],
738
- ];
702
+ var InvalidOperationException = [-3, n0, _IOE, { [_e]: _c }, [_m], [0]];
739
703
  schema.TypeRegistry.for(n0).registerError(InvalidOperationException, InvalidOperationException$1);
740
- var InvalidPaginationTokenException = [
741
- -3,
742
- n0,
743
- _IPTE,
744
- {
745
- [_e]: _c,
746
- },
747
- [_m],
748
- [0],
749
- ];
704
+ var InvalidPaginationTokenException = [-3, n0, _IPTE, { [_e]: _c }, [_m], [0]];
750
705
  schema.TypeRegistry.for(n0).registerError(InvalidPaginationTokenException, InvalidPaginationTokenException$1);
751
706
  var InvalidParameterException = [
752
707
  -3,
753
708
  n0,
754
709
  _IPE,
755
- {
756
- [_e]: _c,
757
- },
710
+ { [_e]: _c },
758
711
  [_m, _r, _f],
759
712
  [0, 0, () => ValidationExceptionFieldList],
760
713
  ];
761
714
  schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
762
- var InvalidResourceException = [
763
- -3,
764
- n0,
765
- _IRE,
766
- {
767
- [_e]: _c,
768
- },
769
- [_m],
770
- [0],
771
- ];
715
+ var InvalidResourceException = [-3, n0, _IRE, { [_e]: _c }, [_m], [0]];
772
716
  schema.TypeRegistry.for(n0).registerError(InvalidResourceException, InvalidResourceException$1);
773
717
  var Limit = [3, n0, _L, 0, [_Ty, _Ma], [0, 1]];
774
- var LimitsExceededException = [
775
- -3,
776
- n0,
777
- _LEE,
778
- {
779
- [_e]: _c,
780
- },
781
- [_m, _Ty, _L],
782
- [0, 0, 1],
783
- ];
718
+ var LimitsExceededException = [-3, n0, _LEE, { [_e]: _c }, [_m, _Ty, _L], [0, 0, 1]];
784
719
  schema.TypeRegistry.for(n0).registerError(LimitsExceededException, LimitsExceededException$1);
785
720
  var ListAttacksRequest = [
786
721
  3,
@@ -834,39 +769,12 @@ var ListResourcesInProtectionGroupResponse = [
834
769
  ];
835
770
  var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
836
771
  var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [() => TagList]];
837
- var LockedSubscriptionException = [
838
- -3,
839
- n0,
840
- _LSE,
841
- {
842
- [_e]: _c,
843
- },
844
- [_m],
845
- [0],
846
- ];
772
+ var LockedSubscriptionException = [-3, n0, _LSE, { [_e]: _c }, [_m], [0]];
847
773
  schema.TypeRegistry.for(n0).registerError(LockedSubscriptionException, LockedSubscriptionException$1);
848
774
  var Mitigation = [3, n0, _Mi, 0, [_MN], [0]];
849
- var NoAssociatedRoleException = [
850
- -3,
851
- n0,
852
- _NARE,
853
- {
854
- [_e]: _c,
855
- },
856
- [_m],
857
- [0],
858
- ];
775
+ var NoAssociatedRoleException = [-3, n0, _NARE, { [_e]: _c }, [_m], [0]];
859
776
  schema.TypeRegistry.for(n0).registerError(NoAssociatedRoleException, NoAssociatedRoleException$1);
860
- var OptimisticLockException = [
861
- -3,
862
- n0,
863
- _OLE,
864
- {
865
- [_e]: _c,
866
- },
867
- [_m],
868
- [0],
869
- ];
777
+ var OptimisticLockException = [-3, n0, _OLE, { [_e]: _c }, [_m], [0]];
870
778
  schema.TypeRegistry.for(n0).registerError(OptimisticLockException, OptimisticLockException$1);
871
779
  var Protection = [
872
780
  3,
@@ -902,27 +810,9 @@ var ProtectionGroupPatternTypeLimits = [
902
810
  [() => ProtectionGroupArbitraryPatternLimits],
903
811
  ];
904
812
  var ProtectionLimits = [3, n0, _PL, 0, [_PRTL], [() => Limits]];
905
- var ResourceAlreadyExistsException = [
906
- -3,
907
- n0,
908
- _RAEE,
909
- {
910
- [_e]: _c,
911
- },
912
- [_m, _rT],
913
- [0, 0],
914
- ];
813
+ var ResourceAlreadyExistsException = [-3, n0, _RAEE, { [_e]: _c }, [_m, _rT], [0, 0]];
915
814
  schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
916
- var ResourceNotFoundException = [
917
- -3,
918
- n0,
919
- _RNFE,
920
- {
921
- [_e]: _c,
922
- },
923
- [_m, _rT],
924
- [0, 0],
925
- ];
815
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_m, _rT], [0, 0]];
926
816
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
927
817
  var ResponseAction = [
928
818
  3,
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultShieldHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -253,27 +253,9 @@ const n0 = "com.amazonaws.shield";
253
253
  import { TypeRegistry } from "@smithy/core/schema";
254
254
  import { AccessDeniedException as __AccessDeniedException, AccessDeniedForDependencyException as __AccessDeniedForDependencyException, InternalErrorException as __InternalErrorException, InvalidOperationException as __InvalidOperationException, InvalidPaginationTokenException as __InvalidPaginationTokenException, InvalidParameterException as __InvalidParameterException, InvalidResourceException as __InvalidResourceException, LimitsExceededException as __LimitsExceededException, LockedSubscriptionException as __LockedSubscriptionException, NoAssociatedRoleException as __NoAssociatedRoleException, OptimisticLockException as __OptimisticLockException, ResourceAlreadyExistsException as __ResourceAlreadyExistsException, ResourceNotFoundException as __ResourceNotFoundException, } from "../models/errors";
255
255
  import { ShieldServiceException as __ShieldServiceException } from "../models/ShieldServiceException";
256
- export var AccessDeniedException = [
257
- -3,
258
- n0,
259
- _ADE,
260
- {
261
- [_e]: _c,
262
- },
263
- [_m],
264
- [0],
265
- ];
256
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c }, [_m], [0]];
266
257
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
267
- export var AccessDeniedForDependencyException = [
268
- -3,
269
- n0,
270
- _ADFDE,
271
- {
272
- [_e]: _c,
273
- },
274
- [_m],
275
- [0],
276
- ];
258
+ export var AccessDeniedForDependencyException = [-3, n0, _ADFDE, { [_e]: _c }, [_m], [0]];
277
259
  TypeRegistry.for(n0).registerError(AccessDeniedForDependencyException, __AccessDeniedForDependencyException);
278
260
  export var ApplicationLayerAutomaticResponseConfiguration = [
279
261
  3,
@@ -430,72 +412,25 @@ export var InclusionProtectionGroupFilters = [
430
412
  [_PGIr, _Pa, _RTe, _Agg],
431
413
  [64 | 0, 64 | 0, 64 | 0, 64 | 0],
432
414
  ];
433
- export var InternalErrorException = [
434
- -3,
435
- n0,
436
- _IEE,
437
- {
438
- [_e]: _s,
439
- },
440
- [_m],
441
- [0],
442
- ];
415
+ export var InternalErrorException = [-3, n0, _IEE, { [_e]: _s }, [_m], [0]];
443
416
  TypeRegistry.for(n0).registerError(InternalErrorException, __InternalErrorException);
444
- export var InvalidOperationException = [
445
- -3,
446
- n0,
447
- _IOE,
448
- {
449
- [_e]: _c,
450
- },
451
- [_m],
452
- [0],
453
- ];
417
+ export var InvalidOperationException = [-3, n0, _IOE, { [_e]: _c }, [_m], [0]];
454
418
  TypeRegistry.for(n0).registerError(InvalidOperationException, __InvalidOperationException);
455
- export var InvalidPaginationTokenException = [
456
- -3,
457
- n0,
458
- _IPTE,
459
- {
460
- [_e]: _c,
461
- },
462
- [_m],
463
- [0],
464
- ];
419
+ export var InvalidPaginationTokenException = [-3, n0, _IPTE, { [_e]: _c }, [_m], [0]];
465
420
  TypeRegistry.for(n0).registerError(InvalidPaginationTokenException, __InvalidPaginationTokenException);
466
421
  export var InvalidParameterException = [
467
422
  -3,
468
423
  n0,
469
424
  _IPE,
470
- {
471
- [_e]: _c,
472
- },
425
+ { [_e]: _c },
473
426
  [_m, _r, _f],
474
427
  [0, 0, () => ValidationExceptionFieldList],
475
428
  ];
476
429
  TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
477
- export var InvalidResourceException = [
478
- -3,
479
- n0,
480
- _IRE,
481
- {
482
- [_e]: _c,
483
- },
484
- [_m],
485
- [0],
486
- ];
430
+ export var InvalidResourceException = [-3, n0, _IRE, { [_e]: _c }, [_m], [0]];
487
431
  TypeRegistry.for(n0).registerError(InvalidResourceException, __InvalidResourceException);
488
432
  export var Limit = [3, n0, _L, 0, [_Ty, _Ma], [0, 1]];
489
- export var LimitsExceededException = [
490
- -3,
491
- n0,
492
- _LEE,
493
- {
494
- [_e]: _c,
495
- },
496
- [_m, _Ty, _L],
497
- [0, 0, 1],
498
- ];
433
+ export var LimitsExceededException = [-3, n0, _LEE, { [_e]: _c }, [_m, _Ty, _L], [0, 0, 1]];
499
434
  TypeRegistry.for(n0).registerError(LimitsExceededException, __LimitsExceededException);
500
435
  export var ListAttacksRequest = [
501
436
  3,
@@ -549,39 +484,12 @@ export var ListResourcesInProtectionGroupResponse = [
549
484
  ];
550
485
  export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RARN], [0]];
551
486
  export var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [() => TagList]];
552
- export var LockedSubscriptionException = [
553
- -3,
554
- n0,
555
- _LSE,
556
- {
557
- [_e]: _c,
558
- },
559
- [_m],
560
- [0],
561
- ];
487
+ export var LockedSubscriptionException = [-3, n0, _LSE, { [_e]: _c }, [_m], [0]];
562
488
  TypeRegistry.for(n0).registerError(LockedSubscriptionException, __LockedSubscriptionException);
563
489
  export var Mitigation = [3, n0, _Mi, 0, [_MN], [0]];
564
- export var NoAssociatedRoleException = [
565
- -3,
566
- n0,
567
- _NARE,
568
- {
569
- [_e]: _c,
570
- },
571
- [_m],
572
- [0],
573
- ];
490
+ export var NoAssociatedRoleException = [-3, n0, _NARE, { [_e]: _c }, [_m], [0]];
574
491
  TypeRegistry.for(n0).registerError(NoAssociatedRoleException, __NoAssociatedRoleException);
575
- export var OptimisticLockException = [
576
- -3,
577
- n0,
578
- _OLE,
579
- {
580
- [_e]: _c,
581
- },
582
- [_m],
583
- [0],
584
- ];
492
+ export var OptimisticLockException = [-3, n0, _OLE, { [_e]: _c }, [_m], [0]];
585
493
  TypeRegistry.for(n0).registerError(OptimisticLockException, __OptimisticLockException);
586
494
  export var Protection = [
587
495
  3,
@@ -617,27 +525,9 @@ export var ProtectionGroupPatternTypeLimits = [
617
525
  [() => ProtectionGroupArbitraryPatternLimits],
618
526
  ];
619
527
  export var ProtectionLimits = [3, n0, _PL, 0, [_PRTL], [() => Limits]];
620
- export var ResourceAlreadyExistsException = [
621
- -3,
622
- n0,
623
- _RAEE,
624
- {
625
- [_e]: _c,
626
- },
627
- [_m, _rT],
628
- [0, 0],
629
- ];
528
+ export var ResourceAlreadyExistsException = [-3, n0, _RAEE, { [_e]: _c }, [_m, _rT], [0, 0]];
630
529
  TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, __ResourceAlreadyExistsException);
631
- export var ResourceNotFoundException = [
632
- -3,
633
- n0,
634
- _RNFE,
635
- {
636
- [_e]: _c,
637
- },
638
- [_m, _rT],
639
- [0, 0],
640
- ];
530
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c }, [_m, _rT], [0, 0]];
641
531
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
642
532
  export var ResponseAction = [
643
533
  3,
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput } from "./commands/AssociateDRTLogBucketCommand";
3
3
  import { AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput } from "./commands/AssociateDRTRoleCommand";
4
4
  import { AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput } from "./commands/AssociateHealthCheckCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AssociateDRTLogBucketCommandInput, AssociateDRTLogBucketCommandOutput } from "./commands/AssociateDRTLogBucketCommand";
11
11
  import { AssociateDRTRoleCommandInput, AssociateDRTRoleCommandOutput } from "./commands/AssociateDRTRoleCommand";
12
12
  import { AssociateHealthCheckCommandInput, AssociateHealthCheckCommandOutput } from "./commands/AssociateHealthCheckCommand";
@@ -44,7 +44,7 @@ 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
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
47
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
48
48
  export { __Client };
49
49
  /**
50
50
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { ShieldHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { ShieldHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type ShieldClientResolvedConfig } from "../ShieldClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AssociateDRTLogBucketRequest, AssociateDRTLogBucketResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { AssociateDRTRoleRequest, AssociateDRTRoleResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AssociateDRTRoleRequest, AssociateDRTRoleResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { AssociateHealthCheckRequest, AssociateHealthCheckResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AssociateHealthCheckRequest, AssociateHealthCheckResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { AssociateProactiveEngagementDetailsRequest, AssociateProactiveEngagementDetailsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AssociateProactiveEngagementDetailsRequest, AssociateProactiveEngagementDetailsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateProtectionRequest, CreateProtectionResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateProtectionRequest, CreateProtectionResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateProtectionGroupRequest, CreateProtectionGroupResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateProtectionGroupRequest, CreateProtectionGroupResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateSubscriptionRequest, CreateSubscriptionResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateSubscriptionRequest, CreateSubscriptionResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DeleteProtectionRequest, DeleteProtectionResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteProtectionRequest, DeleteProtectionResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DeleteProtectionGroupRequest, DeleteProtectionGroupResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteProtectionGroupRequest, DeleteProtectionGroupResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DeleteSubscriptionRequest, DeleteSubscriptionResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteSubscriptionRequest, DeleteSubscriptionResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeAttackRequest, DescribeAttackResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeAttackRequest, DescribeAttackResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeAttackStatisticsRequest, DescribeAttackStatisticsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeAttackStatisticsRequest, DescribeAttackStatisticsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, ShieldClientResolvedConfig } from "../ShieldClient";
5
5
  /**
6
6
  * @public
7
7
  */