@aws-sdk/client-wafv2 3.716.0 → 3.723.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.
- package/dist-cjs/index.js +384 -267
- package/dist-es/WAFV2Client.js +1 -0
- package/dist-es/models/models_0.js +59 -38
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-es/WAFV2Client.js
CHANGED
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class WAFV2Client extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -356,27 +356,29 @@ export const AssociatedResourceType = {
|
|
|
356
356
|
VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE",
|
|
357
357
|
};
|
|
358
358
|
export class WAFInternalErrorException extends __BaseException {
|
|
359
|
+
name = "WAFInternalErrorException";
|
|
360
|
+
$fault = "server";
|
|
361
|
+
Message;
|
|
359
362
|
constructor(opts) {
|
|
360
363
|
super({
|
|
361
364
|
name: "WAFInternalErrorException",
|
|
362
365
|
$fault: "server",
|
|
363
366
|
...opts,
|
|
364
367
|
});
|
|
365
|
-
this.name = "WAFInternalErrorException";
|
|
366
|
-
this.$fault = "server";
|
|
367
368
|
Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
|
|
368
369
|
this.Message = opts.Message;
|
|
369
370
|
}
|
|
370
371
|
}
|
|
371
372
|
export class WAFInvalidOperationException extends __BaseException {
|
|
373
|
+
name = "WAFInvalidOperationException";
|
|
374
|
+
$fault = "client";
|
|
375
|
+
Message;
|
|
372
376
|
constructor(opts) {
|
|
373
377
|
super({
|
|
374
378
|
name: "WAFInvalidOperationException",
|
|
375
379
|
$fault: "client",
|
|
376
380
|
...opts,
|
|
377
381
|
});
|
|
378
|
-
this.name = "WAFInvalidOperationException";
|
|
379
|
-
this.$fault = "client";
|
|
380
382
|
Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
|
|
381
383
|
this.Message = opts.Message;
|
|
382
384
|
}
|
|
@@ -454,14 +456,17 @@ export const ParameterExceptionField = {
|
|
|
454
456
|
XSS_MATCH_STATEMENT: "XSS_MATCH_STATEMENT",
|
|
455
457
|
};
|
|
456
458
|
export class WAFInvalidParameterException extends __BaseException {
|
|
459
|
+
name = "WAFInvalidParameterException";
|
|
460
|
+
$fault = "client";
|
|
461
|
+
Field;
|
|
462
|
+
Parameter;
|
|
463
|
+
Reason;
|
|
457
464
|
constructor(opts) {
|
|
458
465
|
super({
|
|
459
466
|
name: "WAFInvalidParameterException",
|
|
460
467
|
$fault: "client",
|
|
461
468
|
...opts,
|
|
462
469
|
});
|
|
463
|
-
this.name = "WAFInvalidParameterException";
|
|
464
|
-
this.$fault = "client";
|
|
465
470
|
Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
|
|
466
471
|
this.Field = opts.Field;
|
|
467
472
|
this.Parameter = opts.Parameter;
|
|
@@ -469,27 +474,29 @@ export class WAFInvalidParameterException extends __BaseException {
|
|
|
469
474
|
}
|
|
470
475
|
}
|
|
471
476
|
export class WAFNonexistentItemException extends __BaseException {
|
|
477
|
+
name = "WAFNonexistentItemException";
|
|
478
|
+
$fault = "client";
|
|
479
|
+
Message;
|
|
472
480
|
constructor(opts) {
|
|
473
481
|
super({
|
|
474
482
|
name: "WAFNonexistentItemException",
|
|
475
483
|
$fault: "client",
|
|
476
484
|
...opts,
|
|
477
485
|
});
|
|
478
|
-
this.name = "WAFNonexistentItemException";
|
|
479
|
-
this.$fault = "client";
|
|
480
486
|
Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
|
|
481
487
|
this.Message = opts.Message;
|
|
482
488
|
}
|
|
483
489
|
}
|
|
484
490
|
export class WAFUnavailableEntityException extends __BaseException {
|
|
491
|
+
name = "WAFUnavailableEntityException";
|
|
492
|
+
$fault = "client";
|
|
493
|
+
Message;
|
|
485
494
|
constructor(opts) {
|
|
486
495
|
super({
|
|
487
496
|
name: "WAFUnavailableEntityException",
|
|
488
497
|
$fault: "client",
|
|
489
498
|
...opts,
|
|
490
499
|
});
|
|
491
|
-
this.name = "WAFUnavailableEntityException";
|
|
492
|
-
this.$fault = "client";
|
|
493
500
|
Object.setPrototypeOf(this, WAFUnavailableEntityException.prototype);
|
|
494
501
|
this.Message = opts.Message;
|
|
495
502
|
}
|
|
@@ -505,54 +512,59 @@ export const Scope = {
|
|
|
505
512
|
REGIONAL: "REGIONAL",
|
|
506
513
|
};
|
|
507
514
|
export class WAFExpiredManagedRuleGroupVersionException extends __BaseException {
|
|
515
|
+
name = "WAFExpiredManagedRuleGroupVersionException";
|
|
516
|
+
$fault = "client";
|
|
517
|
+
Message;
|
|
508
518
|
constructor(opts) {
|
|
509
519
|
super({
|
|
510
520
|
name: "WAFExpiredManagedRuleGroupVersionException",
|
|
511
521
|
$fault: "client",
|
|
512
522
|
...opts,
|
|
513
523
|
});
|
|
514
|
-
this.name = "WAFExpiredManagedRuleGroupVersionException";
|
|
515
|
-
this.$fault = "client";
|
|
516
524
|
Object.setPrototypeOf(this, WAFExpiredManagedRuleGroupVersionException.prototype);
|
|
517
525
|
this.Message = opts.Message;
|
|
518
526
|
}
|
|
519
527
|
}
|
|
520
528
|
export class WAFInvalidResourceException extends __BaseException {
|
|
529
|
+
name = "WAFInvalidResourceException";
|
|
530
|
+
$fault = "client";
|
|
531
|
+
Message;
|
|
521
532
|
constructor(opts) {
|
|
522
533
|
super({
|
|
523
534
|
name: "WAFInvalidResourceException",
|
|
524
535
|
$fault: "client",
|
|
525
536
|
...opts,
|
|
526
537
|
});
|
|
527
|
-
this.name = "WAFInvalidResourceException";
|
|
528
|
-
this.$fault = "client";
|
|
529
538
|
Object.setPrototypeOf(this, WAFInvalidResourceException.prototype);
|
|
530
539
|
this.Message = opts.Message;
|
|
531
540
|
}
|
|
532
541
|
}
|
|
533
542
|
export class WAFLimitsExceededException extends __BaseException {
|
|
543
|
+
name = "WAFLimitsExceededException";
|
|
544
|
+
$fault = "client";
|
|
545
|
+
Message;
|
|
546
|
+
SourceType;
|
|
534
547
|
constructor(opts) {
|
|
535
548
|
super({
|
|
536
549
|
name: "WAFLimitsExceededException",
|
|
537
550
|
$fault: "client",
|
|
538
551
|
...opts,
|
|
539
552
|
});
|
|
540
|
-
this.name = "WAFLimitsExceededException";
|
|
541
|
-
this.$fault = "client";
|
|
542
553
|
Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
|
|
543
554
|
this.Message = opts.Message;
|
|
544
555
|
this.SourceType = opts.SourceType;
|
|
545
556
|
}
|
|
546
557
|
}
|
|
547
558
|
export class WAFSubscriptionNotFoundException extends __BaseException {
|
|
559
|
+
name = "WAFSubscriptionNotFoundException";
|
|
560
|
+
$fault = "client";
|
|
561
|
+
Message;
|
|
548
562
|
constructor(opts) {
|
|
549
563
|
super({
|
|
550
564
|
name: "WAFSubscriptionNotFoundException",
|
|
551
565
|
$fault: "client",
|
|
552
566
|
...opts,
|
|
553
567
|
});
|
|
554
|
-
this.name = "WAFSubscriptionNotFoundException";
|
|
555
|
-
this.$fault = "client";
|
|
556
568
|
Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
|
|
557
569
|
this.Message = opts.Message;
|
|
558
570
|
}
|
|
@@ -562,53 +574,57 @@ export const IPAddressVersion = {
|
|
|
562
574
|
IPV6: "IPV6",
|
|
563
575
|
};
|
|
564
576
|
export class WAFDuplicateItemException extends __BaseException {
|
|
577
|
+
name = "WAFDuplicateItemException";
|
|
578
|
+
$fault = "client";
|
|
579
|
+
Message;
|
|
565
580
|
constructor(opts) {
|
|
566
581
|
super({
|
|
567
582
|
name: "WAFDuplicateItemException",
|
|
568
583
|
$fault: "client",
|
|
569
584
|
...opts,
|
|
570
585
|
});
|
|
571
|
-
this.name = "WAFDuplicateItemException";
|
|
572
|
-
this.$fault = "client";
|
|
573
586
|
Object.setPrototypeOf(this, WAFDuplicateItemException.prototype);
|
|
574
587
|
this.Message = opts.Message;
|
|
575
588
|
}
|
|
576
589
|
}
|
|
577
590
|
export class WAFOptimisticLockException extends __BaseException {
|
|
591
|
+
name = "WAFOptimisticLockException";
|
|
592
|
+
$fault = "client";
|
|
593
|
+
Message;
|
|
578
594
|
constructor(opts) {
|
|
579
595
|
super({
|
|
580
596
|
name: "WAFOptimisticLockException",
|
|
581
597
|
$fault: "client",
|
|
582
598
|
...opts,
|
|
583
599
|
});
|
|
584
|
-
this.name = "WAFOptimisticLockException";
|
|
585
|
-
this.$fault = "client";
|
|
586
600
|
Object.setPrototypeOf(this, WAFOptimisticLockException.prototype);
|
|
587
601
|
this.Message = opts.Message;
|
|
588
602
|
}
|
|
589
603
|
}
|
|
590
604
|
export class WAFTagOperationException extends __BaseException {
|
|
605
|
+
name = "WAFTagOperationException";
|
|
606
|
+
$fault = "client";
|
|
607
|
+
Message;
|
|
591
608
|
constructor(opts) {
|
|
592
609
|
super({
|
|
593
610
|
name: "WAFTagOperationException",
|
|
594
611
|
$fault: "client",
|
|
595
612
|
...opts,
|
|
596
613
|
});
|
|
597
|
-
this.name = "WAFTagOperationException";
|
|
598
|
-
this.$fault = "client";
|
|
599
614
|
Object.setPrototypeOf(this, WAFTagOperationException.prototype);
|
|
600
615
|
this.Message = opts.Message;
|
|
601
616
|
}
|
|
602
617
|
}
|
|
603
618
|
export class WAFTagOperationInternalErrorException extends __BaseException {
|
|
619
|
+
name = "WAFTagOperationInternalErrorException";
|
|
620
|
+
$fault = "server";
|
|
621
|
+
Message;
|
|
604
622
|
constructor(opts) {
|
|
605
623
|
super({
|
|
606
624
|
name: "WAFTagOperationInternalErrorException",
|
|
607
625
|
$fault: "server",
|
|
608
626
|
...opts,
|
|
609
627
|
});
|
|
610
|
-
this.name = "WAFTagOperationInternalErrorException";
|
|
611
|
-
this.$fault = "server";
|
|
612
628
|
Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
|
|
613
629
|
this.Message = opts.Message;
|
|
614
630
|
}
|
|
@@ -619,27 +635,29 @@ export const ResponseContentType = {
|
|
|
619
635
|
TEXT_PLAIN: "TEXT_PLAIN",
|
|
620
636
|
};
|
|
621
637
|
export class WAFConfigurationWarningException extends __BaseException {
|
|
638
|
+
name = "WAFConfigurationWarningException";
|
|
639
|
+
$fault = "client";
|
|
640
|
+
Message;
|
|
622
641
|
constructor(opts) {
|
|
623
642
|
super({
|
|
624
643
|
name: "WAFConfigurationWarningException",
|
|
625
644
|
$fault: "client",
|
|
626
645
|
...opts,
|
|
627
646
|
});
|
|
628
|
-
this.name = "WAFConfigurationWarningException";
|
|
629
|
-
this.$fault = "client";
|
|
630
647
|
Object.setPrototypeOf(this, WAFConfigurationWarningException.prototype);
|
|
631
648
|
this.Message = opts.Message;
|
|
632
649
|
}
|
|
633
650
|
}
|
|
634
651
|
export class WAFAssociatedItemException extends __BaseException {
|
|
652
|
+
name = "WAFAssociatedItemException";
|
|
653
|
+
$fault = "client";
|
|
654
|
+
Message;
|
|
635
655
|
constructor(opts) {
|
|
636
656
|
super({
|
|
637
657
|
name: "WAFAssociatedItemException",
|
|
638
658
|
$fault: "client",
|
|
639
659
|
...opts,
|
|
640
660
|
});
|
|
641
|
-
this.name = "WAFAssociatedItemException";
|
|
642
|
-
this.$fault = "client";
|
|
643
661
|
Object.setPrototypeOf(this, WAFAssociatedItemException.prototype);
|
|
644
662
|
this.Message = opts.Message;
|
|
645
663
|
}
|
|
@@ -664,14 +682,15 @@ export const FilterRequirement = {
|
|
|
664
682
|
MEETS_ANY: "MEETS_ANY",
|
|
665
683
|
};
|
|
666
684
|
export class WAFUnsupportedAggregateKeyTypeException extends __BaseException {
|
|
685
|
+
name = "WAFUnsupportedAggregateKeyTypeException";
|
|
686
|
+
$fault = "client";
|
|
687
|
+
Message;
|
|
667
688
|
constructor(opts) {
|
|
668
689
|
super({
|
|
669
690
|
name: "WAFUnsupportedAggregateKeyTypeException",
|
|
670
691
|
$fault: "client",
|
|
671
692
|
...opts,
|
|
672
693
|
});
|
|
673
|
-
this.name = "WAFUnsupportedAggregateKeyTypeException";
|
|
674
|
-
this.$fault = "client";
|
|
675
694
|
Object.setPrototypeOf(this, WAFUnsupportedAggregateKeyTypeException.prototype);
|
|
676
695
|
this.Message = opts.Message;
|
|
677
696
|
}
|
|
@@ -691,39 +710,41 @@ export const ResourceType = {
|
|
|
691
710
|
VERIFIED_ACCESS_INSTANCE: "VERIFIED_ACCESS_INSTANCE",
|
|
692
711
|
};
|
|
693
712
|
export class WAFLogDestinationPermissionIssueException extends __BaseException {
|
|
713
|
+
name = "WAFLogDestinationPermissionIssueException";
|
|
714
|
+
$fault = "client";
|
|
715
|
+
Message;
|
|
694
716
|
constructor(opts) {
|
|
695
717
|
super({
|
|
696
718
|
name: "WAFLogDestinationPermissionIssueException",
|
|
697
719
|
$fault: "client",
|
|
698
720
|
...opts,
|
|
699
721
|
});
|
|
700
|
-
this.name = "WAFLogDestinationPermissionIssueException";
|
|
701
|
-
this.$fault = "client";
|
|
702
722
|
Object.setPrototypeOf(this, WAFLogDestinationPermissionIssueException.prototype);
|
|
703
723
|
this.Message = opts.Message;
|
|
704
724
|
}
|
|
705
725
|
}
|
|
706
726
|
export class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
727
|
+
name = "WAFServiceLinkedRoleErrorException";
|
|
728
|
+
$fault = "client";
|
|
707
729
|
constructor(opts) {
|
|
708
730
|
super({
|
|
709
731
|
name: "WAFServiceLinkedRoleErrorException",
|
|
710
732
|
$fault: "client",
|
|
711
733
|
...opts,
|
|
712
734
|
});
|
|
713
|
-
this.name = "WAFServiceLinkedRoleErrorException";
|
|
714
|
-
this.$fault = "client";
|
|
715
735
|
Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
|
|
716
736
|
}
|
|
717
737
|
}
|
|
718
738
|
export class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
739
|
+
name = "WAFInvalidPermissionPolicyException";
|
|
740
|
+
$fault = "client";
|
|
741
|
+
Message;
|
|
719
742
|
constructor(opts) {
|
|
720
743
|
super({
|
|
721
744
|
name: "WAFInvalidPermissionPolicyException",
|
|
722
745
|
$fault: "client",
|
|
723
746
|
...opts,
|
|
724
747
|
});
|
|
725
|
-
this.name = "WAFInvalidPermissionPolicyException";
|
|
726
|
-
this.$fault = "client";
|
|
727
748
|
Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
|
|
728
749
|
this.Message = opts.Message;
|
|
729
750
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
34
|
+
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -6,9 +6,11 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
input: any
|
|
11
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
_: unknown
|
|
13
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
12
14
|
defaultUserAgentProvider: (
|
|
13
15
|
config?:
|
|
14
16
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -6,13 +6,15 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
credentialDefaultProvider:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
credentialDefaultProvider:
|
|
10
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
+
| ((
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>);
|
|
16
18
|
defaultUserAgentProvider: (
|
|
17
19
|
config?:
|
|
18
20
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -28,9 +28,11 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
28
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
29
29
|
| undefined
|
|
30
30
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
31
|
-
credentialDefaultProvider:
|
|
32
|
-
input: any
|
|
33
|
-
|
|
31
|
+
credentialDefaultProvider:
|
|
32
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
33
|
+
| ((
|
|
34
|
+
_: unknown
|
|
35
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
34
36
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
35
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
36
38
|
logger: import("@smithy/types").Logger;
|
|
@@ -50,11 +52,21 @@ export declare const getRuntimeConfig: (config: WAFV2ClientConfig) => {
|
|
|
50
52
|
| import("@smithy/types").RetryStrategyV2
|
|
51
53
|
| undefined;
|
|
52
54
|
endpoint?:
|
|
53
|
-
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
| ((
|
|
56
|
+
| string
|
|
57
|
+
| import("@smithy/types").Endpoint
|
|
58
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
59
|
+
| import("@smithy/types").EndpointV2
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
61
|
+
) &
|
|
62
|
+
(
|
|
63
|
+
| string
|
|
64
|
+
| import("@smithy/types").Provider<string>
|
|
65
|
+
| import("@smithy/types").Endpoint
|
|
66
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
67
|
+
| import("@smithy/types").EndpointV2
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
69
|
+
))
|
|
58
70
|
| undefined;
|
|
59
71
|
endpointProvider: (
|
|
60
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wafv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wafv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.723.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-wafv2",
|
|
@@ -20,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.723.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.723.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.723.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.723.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.723.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.723.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|