@aws-sdk/client-waf 3.721.0 → 3.726.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 +444 -336
- package/dist-es/WAFClient.js +1 -0
- package/dist-es/models/models_0.js +43 -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/WAFClient.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 WAFClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -38,38 +38,38 @@ export const TextTransformation = {
|
|
|
38
38
|
URL_DECODE: "URL_DECODE",
|
|
39
39
|
};
|
|
40
40
|
export class WAFDisallowedNameException extends __BaseException {
|
|
41
|
+
name = "WAFDisallowedNameException";
|
|
42
|
+
$fault = "client";
|
|
41
43
|
constructor(opts) {
|
|
42
44
|
super({
|
|
43
45
|
name: "WAFDisallowedNameException",
|
|
44
46
|
$fault: "client",
|
|
45
47
|
...opts,
|
|
46
48
|
});
|
|
47
|
-
this.name = "WAFDisallowedNameException";
|
|
48
|
-
this.$fault = "client";
|
|
49
49
|
Object.setPrototypeOf(this, WAFDisallowedNameException.prototype);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
export class WAFInternalErrorException extends __BaseException {
|
|
53
|
+
name = "WAFInternalErrorException";
|
|
54
|
+
$fault = "server";
|
|
53
55
|
constructor(opts) {
|
|
54
56
|
super({
|
|
55
57
|
name: "WAFInternalErrorException",
|
|
56
58
|
$fault: "server",
|
|
57
59
|
...opts,
|
|
58
60
|
});
|
|
59
|
-
this.name = "WAFInternalErrorException";
|
|
60
|
-
this.$fault = "server";
|
|
61
61
|
Object.setPrototypeOf(this, WAFInternalErrorException.prototype);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
export class WAFInvalidAccountException extends __BaseException {
|
|
65
|
+
name = "WAFInvalidAccountException";
|
|
66
|
+
$fault = "client";
|
|
65
67
|
constructor(opts) {
|
|
66
68
|
super({
|
|
67
69
|
name: "WAFInvalidAccountException",
|
|
68
70
|
$fault: "client",
|
|
69
71
|
...opts,
|
|
70
72
|
});
|
|
71
|
-
this.name = "WAFInvalidAccountException";
|
|
72
|
-
this.$fault = "client";
|
|
73
73
|
Object.setPrototypeOf(this, WAFInvalidAccountException.prototype);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
@@ -100,14 +100,17 @@ export const ParameterExceptionReason = {
|
|
|
100
100
|
INVALID_TAG_KEY: "INVALID_TAG_KEY",
|
|
101
101
|
};
|
|
102
102
|
export class WAFInvalidParameterException extends __BaseException {
|
|
103
|
+
name = "WAFInvalidParameterException";
|
|
104
|
+
$fault = "client";
|
|
105
|
+
field;
|
|
106
|
+
parameter;
|
|
107
|
+
reason;
|
|
103
108
|
constructor(opts) {
|
|
104
109
|
super({
|
|
105
110
|
name: "WAFInvalidParameterException",
|
|
106
111
|
$fault: "client",
|
|
107
112
|
...opts,
|
|
108
113
|
});
|
|
109
|
-
this.name = "WAFInvalidParameterException";
|
|
110
|
-
this.$fault = "client";
|
|
111
114
|
Object.setPrototypeOf(this, WAFInvalidParameterException.prototype);
|
|
112
115
|
this.field = opts.field;
|
|
113
116
|
this.parameter = opts.parameter;
|
|
@@ -115,26 +118,26 @@ export class WAFInvalidParameterException extends __BaseException {
|
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
120
|
export class WAFLimitsExceededException extends __BaseException {
|
|
121
|
+
name = "WAFLimitsExceededException";
|
|
122
|
+
$fault = "client";
|
|
118
123
|
constructor(opts) {
|
|
119
124
|
super({
|
|
120
125
|
name: "WAFLimitsExceededException",
|
|
121
126
|
$fault: "client",
|
|
122
127
|
...opts,
|
|
123
128
|
});
|
|
124
|
-
this.name = "WAFLimitsExceededException";
|
|
125
|
-
this.$fault = "client";
|
|
126
129
|
Object.setPrototypeOf(this, WAFLimitsExceededException.prototype);
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
export class WAFStaleDataException extends __BaseException {
|
|
133
|
+
name = "WAFStaleDataException";
|
|
134
|
+
$fault = "client";
|
|
130
135
|
constructor(opts) {
|
|
131
136
|
super({
|
|
132
137
|
name: "WAFStaleDataException",
|
|
133
138
|
$fault: "client",
|
|
134
139
|
...opts,
|
|
135
140
|
});
|
|
136
|
-
this.name = "WAFStaleDataException";
|
|
137
|
-
this.$fault = "client";
|
|
138
141
|
Object.setPrototypeOf(this, WAFStaleDataException.prototype);
|
|
139
142
|
}
|
|
140
143
|
}
|
|
@@ -409,38 +412,38 @@ export const PredicateType = {
|
|
|
409
412
|
XSS_MATCH: "XssMatch",
|
|
410
413
|
};
|
|
411
414
|
export class WAFBadRequestException extends __BaseException {
|
|
415
|
+
name = "WAFBadRequestException";
|
|
416
|
+
$fault = "client";
|
|
412
417
|
constructor(opts) {
|
|
413
418
|
super({
|
|
414
419
|
name: "WAFBadRequestException",
|
|
415
420
|
$fault: "client",
|
|
416
421
|
...opts,
|
|
417
422
|
});
|
|
418
|
-
this.name = "WAFBadRequestException";
|
|
419
|
-
this.$fault = "client";
|
|
420
423
|
Object.setPrototypeOf(this, WAFBadRequestException.prototype);
|
|
421
424
|
}
|
|
422
425
|
}
|
|
423
426
|
export class WAFTagOperationException extends __BaseException {
|
|
427
|
+
name = "WAFTagOperationException";
|
|
428
|
+
$fault = "client";
|
|
424
429
|
constructor(opts) {
|
|
425
430
|
super({
|
|
426
431
|
name: "WAFTagOperationException",
|
|
427
432
|
$fault: "client",
|
|
428
433
|
...opts,
|
|
429
434
|
});
|
|
430
|
-
this.name = "WAFTagOperationException";
|
|
431
|
-
this.$fault = "client";
|
|
432
435
|
Object.setPrototypeOf(this, WAFTagOperationException.prototype);
|
|
433
436
|
}
|
|
434
437
|
}
|
|
435
438
|
export class WAFTagOperationInternalErrorException extends __BaseException {
|
|
439
|
+
name = "WAFTagOperationInternalErrorException";
|
|
440
|
+
$fault = "server";
|
|
436
441
|
constructor(opts) {
|
|
437
442
|
super({
|
|
438
443
|
name: "WAFTagOperationInternalErrorException",
|
|
439
444
|
$fault: "server",
|
|
440
445
|
...opts,
|
|
441
446
|
});
|
|
442
|
-
this.name = "WAFTagOperationInternalErrorException";
|
|
443
|
-
this.$fault = "server";
|
|
444
447
|
Object.setPrototypeOf(this, WAFTagOperationInternalErrorException.prototype);
|
|
445
448
|
}
|
|
446
449
|
}
|
|
@@ -462,64 +465,66 @@ export const MigrationErrorType = {
|
|
|
462
465
|
S3_INTERNAL_ERROR: "S3_INTERNAL_ERROR",
|
|
463
466
|
};
|
|
464
467
|
export class WAFEntityMigrationException extends __BaseException {
|
|
468
|
+
name = "WAFEntityMigrationException";
|
|
469
|
+
$fault = "client";
|
|
470
|
+
MigrationErrorType;
|
|
471
|
+
MigrationErrorReason;
|
|
465
472
|
constructor(opts) {
|
|
466
473
|
super({
|
|
467
474
|
name: "WAFEntityMigrationException",
|
|
468
475
|
$fault: "client",
|
|
469
476
|
...opts,
|
|
470
477
|
});
|
|
471
|
-
this.name = "WAFEntityMigrationException";
|
|
472
|
-
this.$fault = "client";
|
|
473
478
|
Object.setPrototypeOf(this, WAFEntityMigrationException.prototype);
|
|
474
479
|
this.MigrationErrorType = opts.MigrationErrorType;
|
|
475
480
|
this.MigrationErrorReason = opts.MigrationErrorReason;
|
|
476
481
|
}
|
|
477
482
|
}
|
|
478
483
|
export class WAFInvalidOperationException extends __BaseException {
|
|
484
|
+
name = "WAFInvalidOperationException";
|
|
485
|
+
$fault = "client";
|
|
479
486
|
constructor(opts) {
|
|
480
487
|
super({
|
|
481
488
|
name: "WAFInvalidOperationException",
|
|
482
489
|
$fault: "client",
|
|
483
490
|
...opts,
|
|
484
491
|
});
|
|
485
|
-
this.name = "WAFInvalidOperationException";
|
|
486
|
-
this.$fault = "client";
|
|
487
492
|
Object.setPrototypeOf(this, WAFInvalidOperationException.prototype);
|
|
488
493
|
}
|
|
489
494
|
}
|
|
490
495
|
export class WAFNonexistentItemException extends __BaseException {
|
|
496
|
+
name = "WAFNonexistentItemException";
|
|
497
|
+
$fault = "client";
|
|
491
498
|
constructor(opts) {
|
|
492
499
|
super({
|
|
493
500
|
name: "WAFNonexistentItemException",
|
|
494
501
|
$fault: "client",
|
|
495
502
|
...opts,
|
|
496
503
|
});
|
|
497
|
-
this.name = "WAFNonexistentItemException";
|
|
498
|
-
this.$fault = "client";
|
|
499
504
|
Object.setPrototypeOf(this, WAFNonexistentItemException.prototype);
|
|
500
505
|
}
|
|
501
506
|
}
|
|
502
507
|
export class WAFNonEmptyEntityException extends __BaseException {
|
|
508
|
+
name = "WAFNonEmptyEntityException";
|
|
509
|
+
$fault = "client";
|
|
503
510
|
constructor(opts) {
|
|
504
511
|
super({
|
|
505
512
|
name: "WAFNonEmptyEntityException",
|
|
506
513
|
$fault: "client",
|
|
507
514
|
...opts,
|
|
508
515
|
});
|
|
509
|
-
this.name = "WAFNonEmptyEntityException";
|
|
510
|
-
this.$fault = "client";
|
|
511
516
|
Object.setPrototypeOf(this, WAFNonEmptyEntityException.prototype);
|
|
512
517
|
}
|
|
513
518
|
}
|
|
514
519
|
export class WAFReferencedItemException extends __BaseException {
|
|
520
|
+
name = "WAFReferencedItemException";
|
|
521
|
+
$fault = "client";
|
|
515
522
|
constructor(opts) {
|
|
516
523
|
super({
|
|
517
524
|
name: "WAFReferencedItemException",
|
|
518
525
|
$fault: "client",
|
|
519
526
|
...opts,
|
|
520
527
|
});
|
|
521
|
-
this.name = "WAFReferencedItemException";
|
|
522
|
-
this.$fault = "client";
|
|
523
528
|
Object.setPrototypeOf(this, WAFReferencedItemException.prototype);
|
|
524
529
|
}
|
|
525
530
|
}
|
|
@@ -529,26 +534,26 @@ export const ChangeTokenStatus = {
|
|
|
529
534
|
PROVISIONED: "PROVISIONED",
|
|
530
535
|
};
|
|
531
536
|
export class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
537
|
+
name = "WAFServiceLinkedRoleErrorException";
|
|
538
|
+
$fault = "client";
|
|
532
539
|
constructor(opts) {
|
|
533
540
|
super({
|
|
534
541
|
name: "WAFServiceLinkedRoleErrorException",
|
|
535
542
|
$fault: "client",
|
|
536
543
|
...opts,
|
|
537
544
|
});
|
|
538
|
-
this.name = "WAFServiceLinkedRoleErrorException";
|
|
539
|
-
this.$fault = "client";
|
|
540
545
|
Object.setPrototypeOf(this, WAFServiceLinkedRoleErrorException.prototype);
|
|
541
546
|
}
|
|
542
547
|
}
|
|
543
548
|
export class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
549
|
+
name = "WAFInvalidPermissionPolicyException";
|
|
550
|
+
$fault = "client";
|
|
544
551
|
constructor(opts) {
|
|
545
552
|
super({
|
|
546
553
|
name: "WAFInvalidPermissionPolicyException",
|
|
547
554
|
$fault: "client",
|
|
548
555
|
...opts,
|
|
549
556
|
});
|
|
550
|
-
this.name = "WAFInvalidPermissionPolicyException";
|
|
551
|
-
this.$fault = "client";
|
|
552
557
|
Object.setPrototypeOf(this, WAFInvalidPermissionPolicyException.prototype);
|
|
553
558
|
}
|
|
554
559
|
}
|
|
@@ -557,38 +562,38 @@ export const ChangeAction = {
|
|
|
557
562
|
INSERT: "INSERT",
|
|
558
563
|
};
|
|
559
564
|
export class WAFNonexistentContainerException extends __BaseException {
|
|
565
|
+
name = "WAFNonexistentContainerException";
|
|
566
|
+
$fault = "client";
|
|
560
567
|
constructor(opts) {
|
|
561
568
|
super({
|
|
562
569
|
name: "WAFNonexistentContainerException",
|
|
563
570
|
$fault: "client",
|
|
564
571
|
...opts,
|
|
565
572
|
});
|
|
566
|
-
this.name = "WAFNonexistentContainerException";
|
|
567
|
-
this.$fault = "client";
|
|
568
573
|
Object.setPrototypeOf(this, WAFNonexistentContainerException.prototype);
|
|
569
574
|
}
|
|
570
575
|
}
|
|
571
576
|
export class WAFInvalidRegexPatternException extends __BaseException {
|
|
577
|
+
name = "WAFInvalidRegexPatternException";
|
|
578
|
+
$fault = "client";
|
|
572
579
|
constructor(opts) {
|
|
573
580
|
super({
|
|
574
581
|
name: "WAFInvalidRegexPatternException",
|
|
575
582
|
$fault: "client",
|
|
576
583
|
...opts,
|
|
577
584
|
});
|
|
578
|
-
this.name = "WAFInvalidRegexPatternException";
|
|
579
|
-
this.$fault = "client";
|
|
580
585
|
Object.setPrototypeOf(this, WAFInvalidRegexPatternException.prototype);
|
|
581
586
|
}
|
|
582
587
|
}
|
|
583
588
|
export class WAFSubscriptionNotFoundException extends __BaseException {
|
|
589
|
+
name = "WAFSubscriptionNotFoundException";
|
|
590
|
+
$fault = "client";
|
|
584
591
|
constructor(opts) {
|
|
585
592
|
super({
|
|
586
593
|
name: "WAFSubscriptionNotFoundException",
|
|
587
594
|
$fault: "client",
|
|
588
595
|
...opts,
|
|
589
596
|
});
|
|
590
|
-
this.name = "WAFSubscriptionNotFoundException";
|
|
591
|
-
this.$fault = "client";
|
|
592
597
|
Object.setPrototypeOf(this, WAFSubscriptionNotFoundException.prototype);
|
|
593
598
|
}
|
|
594
599
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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: WAFClientConfig) => {
|
|
|
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-waf",
|
|
3
3
|
"description": "AWS SDK for JavaScript Waf Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.726.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-waf",
|
|
@@ -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.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.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.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.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": {
|