@aws-sdk/client-waf 3.1087.0 → 3.1089.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 +1 -1
- package/dist-types/ts3.4/WAF.d.ts +244 -292
- package/dist-types/ts3.4/WAFClient.d.ts +26 -72
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +10 -13
- package/dist-types/ts3.4/commandBuilder.d.ts +8 -18
- package/dist-types/ts3.4/commands/CreateByteMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateGeoMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateRateBasedRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateRegexMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateRegexPatternSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateRuleGroupCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/CreateSizeConstraintSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateSqlInjectionMatchSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateWebACLCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/CreateWebACLMigrationStackCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/CreateXssMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteByteMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteGeoMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteLoggingConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeletePermissionPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteRateBasedRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteRegexMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteRegexPatternSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteRuleGroupCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/DeleteSizeConstraintSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteSqlInjectionMatchSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DeleteWebACLCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/DeleteXssMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetByteMatchSetCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetChangeTokenCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetChangeTokenStatusCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetGeoMatchSetCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetLoggingConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetPermissionPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetRateBasedRuleCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetRateBasedRuleManagedKeysCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetRegexMatchSetCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetRegexPatternSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetRuleCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetRuleGroupCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetSampledRequestsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetSizeConstraintSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/GetSqlInjectionMatchSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetWebACLCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/GetXssMatchSetCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListActivatedRulesInRuleGroupCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListByteMatchSetsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListGeoMatchSetsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListLoggingConfigurationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListRateBasedRulesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRegexMatchSetsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRegexPatternSetsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/ListRulesCommand.d.ts +4 -4
- package/dist-types/ts3.4/commands/ListSizeConstraintSetsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListSqlInjectionMatchSetsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListSubscribedRuleGroupsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListWebACLsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListXssMatchSetsCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/PutLoggingConfigurationCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/PutPermissionPolicyCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateByteMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateGeoMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateRateBasedRuleCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateRegexMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateRegexPatternSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdateRuleCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateRuleGroupCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateSizeConstraintSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateSqlInjectionMatchSetCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateWebACLCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/UpdateXssMatchSetCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -14
- package/dist-types/ts3.4/models/errors.d.ts +20 -80
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +38 -38
|
@@ -1,30 +1,20 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
|
-
import {
|
|
3
|
-
MigrationErrorType,
|
|
4
|
-
ParameterExceptionField,
|
|
5
|
-
ParameterExceptionReason,
|
|
6
|
-
} from "./enums";
|
|
2
|
+
import { MigrationErrorType, ParameterExceptionField, ParameterExceptionReason } from "./enums";
|
|
7
3
|
import { WAFServiceException as __BaseException } from "./WAFServiceException";
|
|
8
4
|
export declare class WAFDisallowedNameException extends __BaseException {
|
|
9
5
|
readonly name: "WAFDisallowedNameException";
|
|
10
6
|
readonly $fault: "client";
|
|
11
|
-
constructor(
|
|
12
|
-
opts: __ExceptionOptionType<WAFDisallowedNameException, __BaseException>
|
|
13
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<WAFDisallowedNameException, __BaseException>);
|
|
14
8
|
}
|
|
15
9
|
export declare class WAFInternalErrorException extends __BaseException {
|
|
16
10
|
readonly name: "WAFInternalErrorException";
|
|
17
11
|
readonly $fault: "server";
|
|
18
|
-
constructor(
|
|
19
|
-
opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>
|
|
20
|
-
);
|
|
12
|
+
constructor(opts: __ExceptionOptionType<WAFInternalErrorException, __BaseException>);
|
|
21
13
|
}
|
|
22
14
|
export declare class WAFInvalidAccountException extends __BaseException {
|
|
23
15
|
readonly name: "WAFInvalidAccountException";
|
|
24
16
|
readonly $fault: "client";
|
|
25
|
-
constructor(
|
|
26
|
-
opts: __ExceptionOptionType<WAFInvalidAccountException, __BaseException>
|
|
27
|
-
);
|
|
17
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidAccountException, __BaseException>);
|
|
28
18
|
}
|
|
29
19
|
export declare class WAFInvalidParameterException extends __BaseException {
|
|
30
20
|
readonly name: "WAFInvalidParameterException";
|
|
@@ -32,132 +22,82 @@ export declare class WAFInvalidParameterException extends __BaseException {
|
|
|
32
22
|
field?: ParameterExceptionField | undefined;
|
|
33
23
|
parameter?: string | undefined;
|
|
34
24
|
reason?: ParameterExceptionReason | undefined;
|
|
35
|
-
constructor(
|
|
36
|
-
opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>
|
|
37
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidParameterException, __BaseException>);
|
|
38
26
|
}
|
|
39
27
|
export declare class WAFLimitsExceededException extends __BaseException {
|
|
40
28
|
readonly name: "WAFLimitsExceededException";
|
|
41
29
|
readonly $fault: "client";
|
|
42
|
-
constructor(
|
|
43
|
-
opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>
|
|
44
|
-
);
|
|
30
|
+
constructor(opts: __ExceptionOptionType<WAFLimitsExceededException, __BaseException>);
|
|
45
31
|
}
|
|
46
32
|
export declare class WAFStaleDataException extends __BaseException {
|
|
47
33
|
readonly name: "WAFStaleDataException";
|
|
48
34
|
readonly $fault: "client";
|
|
49
|
-
constructor(
|
|
50
|
-
opts: __ExceptionOptionType<WAFStaleDataException, __BaseException>
|
|
51
|
-
);
|
|
35
|
+
constructor(opts: __ExceptionOptionType<WAFStaleDataException, __BaseException>);
|
|
52
36
|
}
|
|
53
37
|
export declare class WAFBadRequestException extends __BaseException {
|
|
54
38
|
readonly name: "WAFBadRequestException";
|
|
55
39
|
readonly $fault: "client";
|
|
56
|
-
constructor(
|
|
57
|
-
opts: __ExceptionOptionType<WAFBadRequestException, __BaseException>
|
|
58
|
-
);
|
|
40
|
+
constructor(opts: __ExceptionOptionType<WAFBadRequestException, __BaseException>);
|
|
59
41
|
}
|
|
60
42
|
export declare class WAFTagOperationException extends __BaseException {
|
|
61
43
|
readonly name: "WAFTagOperationException";
|
|
62
44
|
readonly $fault: "client";
|
|
63
|
-
constructor(
|
|
64
|
-
opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>
|
|
65
|
-
);
|
|
45
|
+
constructor(opts: __ExceptionOptionType<WAFTagOperationException, __BaseException>);
|
|
66
46
|
}
|
|
67
47
|
export declare class WAFTagOperationInternalErrorException extends __BaseException {
|
|
68
48
|
readonly name: "WAFTagOperationInternalErrorException";
|
|
69
49
|
readonly $fault: "server";
|
|
70
|
-
constructor(
|
|
71
|
-
opts: __ExceptionOptionType<
|
|
72
|
-
WAFTagOperationInternalErrorException,
|
|
73
|
-
__BaseException
|
|
74
|
-
>
|
|
75
|
-
);
|
|
50
|
+
constructor(opts: __ExceptionOptionType<WAFTagOperationInternalErrorException, __BaseException>);
|
|
76
51
|
}
|
|
77
52
|
export declare class WAFEntityMigrationException extends __BaseException {
|
|
78
53
|
readonly name: "WAFEntityMigrationException";
|
|
79
54
|
readonly $fault: "client";
|
|
80
55
|
MigrationErrorType?: MigrationErrorType | undefined;
|
|
81
56
|
MigrationErrorReason?: string | undefined;
|
|
82
|
-
constructor(
|
|
83
|
-
opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>
|
|
84
|
-
);
|
|
57
|
+
constructor(opts: __ExceptionOptionType<WAFEntityMigrationException, __BaseException>);
|
|
85
58
|
}
|
|
86
59
|
export declare class WAFInvalidOperationException extends __BaseException {
|
|
87
60
|
readonly name: "WAFInvalidOperationException";
|
|
88
61
|
readonly $fault: "client";
|
|
89
|
-
constructor(
|
|
90
|
-
opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>
|
|
91
|
-
);
|
|
62
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidOperationException, __BaseException>);
|
|
92
63
|
}
|
|
93
64
|
export declare class WAFNonexistentItemException extends __BaseException {
|
|
94
65
|
readonly name: "WAFNonexistentItemException";
|
|
95
66
|
readonly $fault: "client";
|
|
96
|
-
constructor(
|
|
97
|
-
opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>
|
|
98
|
-
);
|
|
67
|
+
constructor(opts: __ExceptionOptionType<WAFNonexistentItemException, __BaseException>);
|
|
99
68
|
}
|
|
100
69
|
export declare class WAFNonEmptyEntityException extends __BaseException {
|
|
101
70
|
readonly name: "WAFNonEmptyEntityException";
|
|
102
71
|
readonly $fault: "client";
|
|
103
|
-
constructor(
|
|
104
|
-
opts: __ExceptionOptionType<WAFNonEmptyEntityException, __BaseException>
|
|
105
|
-
);
|
|
72
|
+
constructor(opts: __ExceptionOptionType<WAFNonEmptyEntityException, __BaseException>);
|
|
106
73
|
}
|
|
107
74
|
export declare class WAFReferencedItemException extends __BaseException {
|
|
108
75
|
readonly name: "WAFReferencedItemException";
|
|
109
76
|
readonly $fault: "client";
|
|
110
|
-
constructor(
|
|
111
|
-
opts: __ExceptionOptionType<WAFReferencedItemException, __BaseException>
|
|
112
|
-
);
|
|
77
|
+
constructor(opts: __ExceptionOptionType<WAFReferencedItemException, __BaseException>);
|
|
113
78
|
}
|
|
114
79
|
export declare class WAFServiceLinkedRoleErrorException extends __BaseException {
|
|
115
80
|
readonly name: "WAFServiceLinkedRoleErrorException";
|
|
116
81
|
readonly $fault: "client";
|
|
117
|
-
constructor(
|
|
118
|
-
opts: __ExceptionOptionType<
|
|
119
|
-
WAFServiceLinkedRoleErrorException,
|
|
120
|
-
__BaseException
|
|
121
|
-
>
|
|
122
|
-
);
|
|
82
|
+
constructor(opts: __ExceptionOptionType<WAFServiceLinkedRoleErrorException, __BaseException>);
|
|
123
83
|
}
|
|
124
84
|
export declare class WAFInvalidPermissionPolicyException extends __BaseException {
|
|
125
85
|
readonly name: "WAFInvalidPermissionPolicyException";
|
|
126
86
|
readonly $fault: "client";
|
|
127
|
-
constructor(
|
|
128
|
-
opts: __ExceptionOptionType<
|
|
129
|
-
WAFInvalidPermissionPolicyException,
|
|
130
|
-
__BaseException
|
|
131
|
-
>
|
|
132
|
-
);
|
|
87
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidPermissionPolicyException, __BaseException>);
|
|
133
88
|
}
|
|
134
89
|
export declare class WAFNonexistentContainerException extends __BaseException {
|
|
135
90
|
readonly name: "WAFNonexistentContainerException";
|
|
136
91
|
readonly $fault: "client";
|
|
137
|
-
constructor(
|
|
138
|
-
opts: __ExceptionOptionType<
|
|
139
|
-
WAFNonexistentContainerException,
|
|
140
|
-
__BaseException
|
|
141
|
-
>
|
|
142
|
-
);
|
|
92
|
+
constructor(opts: __ExceptionOptionType<WAFNonexistentContainerException, __BaseException>);
|
|
143
93
|
}
|
|
144
94
|
export declare class WAFInvalidRegexPatternException extends __BaseException {
|
|
145
95
|
readonly name: "WAFInvalidRegexPatternException";
|
|
146
96
|
readonly $fault: "client";
|
|
147
|
-
constructor(
|
|
148
|
-
opts: __ExceptionOptionType<
|
|
149
|
-
WAFInvalidRegexPatternException,
|
|
150
|
-
__BaseException
|
|
151
|
-
>
|
|
152
|
-
);
|
|
97
|
+
constructor(opts: __ExceptionOptionType<WAFInvalidRegexPatternException, __BaseException>);
|
|
153
98
|
}
|
|
154
99
|
export declare class WAFSubscriptionNotFoundException extends __BaseException {
|
|
155
100
|
readonly name: "WAFSubscriptionNotFoundException";
|
|
156
101
|
readonly $fault: "client";
|
|
157
|
-
constructor(
|
|
158
|
-
opts: __ExceptionOptionType<
|
|
159
|
-
WAFSubscriptionNotFoundException,
|
|
160
|
-
__BaseException
|
|
161
|
-
>
|
|
162
|
-
);
|
|
102
|
+
constructor(opts: __ExceptionOptionType<WAFSubscriptionNotFoundException, __BaseException>);
|
|
163
103
|
}
|
|
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
9
|
credentialDefaultProvider:
|
|
10
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
11
|
-
| ((
|
|
12
|
-
_: unknown
|
|
13
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
12
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
16
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
19
|
-
requestHandler:
|
|
20
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
21
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
22
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
23
19
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
21
|
) => Promise<Uint8Array>;
|
|
30
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
31
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
53
45
|
logger: import("@smithy/types").Logger;
|
|
54
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
userAgentAppId?:
|
|
57
|
-
|
|
58
|
-
| undefined
|
|
59
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
60
|
-
retryStrategy?:
|
|
61
|
-
| import("@smithy/types").RetryStrategy
|
|
62
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
63
50
|
endpoint?:
|
|
64
51
|
| ((
|
|
65
52
|
| string
|
|
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
81
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
82
69
|
context?: {
|
|
83
70
|
logger?: import("@smithy/types").Logger;
|
|
84
|
-
}
|
|
71
|
+
},
|
|
85
72
|
) => import("@smithy/types").EndpointV2;
|
|
86
73
|
tls?: boolean;
|
|
87
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
94
81
|
signer?:
|
|
95
82
|
| import("@smithy/types").RequestSigner
|
|
96
83
|
| ((
|
|
97
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
98
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
99
86
|
signingEscapePath?: boolean;
|
|
100
87
|
systemClockOffset?: number;
|
|
101
88
|
signingRegion?: string;
|
|
102
89
|
signerConstructor?: new (
|
|
103
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
104
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
105
92
|
) => import("@smithy/types").RequestSigner;
|
|
106
93
|
};
|
|
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
10
10
|
credentialDefaultProvider:
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
20
|
-
requestHandler:
|
|
21
|
-
| RequestHandler
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
23
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
24
22
|
streamCollector: (
|
|
25
|
-
stream:
|
|
26
|
-
| import("stream").Readable
|
|
27
|
-
| import("stream/web").ReadableStream
|
|
28
|
-
| ReadableStream
|
|
29
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
30
24
|
) => Promise<Uint8Array>;
|
|
31
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
53
47
|
logger: import("@smithy/types").Logger;
|
|
54
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
55
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
56
|
-
retryStrategy?:
|
|
57
|
-
| import("@smithy/types").RetryStrategy
|
|
58
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
59
51
|
endpoint?:
|
|
60
52
|
| ((
|
|
61
53
|
| string
|
|
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
77
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
78
70
|
context?: {
|
|
79
71
|
logger?: import("@smithy/types").Logger;
|
|
80
|
-
}
|
|
72
|
+
},
|
|
81
73
|
) => import("@smithy/types").EndpointV2;
|
|
82
74
|
tls?: boolean;
|
|
83
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
89
81
|
signer?:
|
|
90
82
|
| import("@smithy/types").RequestSigner
|
|
91
83
|
| ((
|
|
92
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
93
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
94
86
|
signingEscapePath?: boolean;
|
|
95
87
|
systemClockOffset?: number;
|
|
96
88
|
signingRegion?: string;
|
|
97
89
|
signerConstructor?: new (
|
|
98
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
99
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
100
92
|
) => import("@smithy/types").RequestSigner;
|
|
101
93
|
};
|
|
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
21
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
22
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
23
23
|
streamCollector: (
|
|
24
|
-
stream:
|
|
25
|
-
| import("stream").Readable
|
|
26
|
-
| import("stream/web").ReadableStream
|
|
27
|
-
| ReadableStream
|
|
28
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
29
25
|
) => Promise<Uint8Array>;
|
|
30
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
31
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
40
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
41
37
|
profile?: string;
|
|
42
38
|
defaultUserAgentProvider: (
|
|
43
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
44
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
45
41
|
credentialDefaultProvider:
|
|
46
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
47
|
-
| ((
|
|
48
|
-
_: unknown
|
|
49
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
50
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
51
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
52
46
|
logger: import("@smithy/types").Logger;
|
|
53
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
54
48
|
defaultsMode:
|
|
55
49
|
| import("@smithy/core/client").DefaultsMode
|
|
56
|
-
| import("@smithy/types").Provider<
|
|
57
|
-
import("@smithy/core/client").DefaultsMode
|
|
58
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
59
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
60
|
-
userAgentAppId?:
|
|
61
|
-
|
|
62
|
-
| undefined
|
|
63
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
64
|
-
retryStrategy?:
|
|
65
|
-
| import("@smithy/types").RetryStrategy
|
|
66
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
67
54
|
endpoint?:
|
|
68
55
|
| ((
|
|
69
56
|
| string
|
|
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
85
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
86
73
|
context?: {
|
|
87
74
|
logger?: import("@smithy/types").Logger;
|
|
88
|
-
}
|
|
75
|
+
},
|
|
89
76
|
) => import("@smithy/types").EndpointV2;
|
|
90
77
|
tls?: boolean;
|
|
91
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
98
85
|
signer?:
|
|
99
86
|
| import("@smithy/types").RequestSigner
|
|
100
87
|
| ((
|
|
101
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
102
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
103
90
|
signingEscapePath?: boolean;
|
|
104
91
|
systemClockOffset?: number;
|
|
105
92
|
signingRegion?: string;
|
|
106
93
|
signerConstructor?: new (
|
|
107
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
108
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
109
96
|
) => import("@smithy/types").RequestSigner;
|
|
110
97
|
};
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: WAFClientConfig) => {
|
|
|
9
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
10
|
context?: {
|
|
11
11
|
logger?: import("@smithy/types").Logger;
|
|
12
|
-
}
|
|
12
|
+
},
|
|
13
13
|
) => import("@smithy/types").EndpointV2;
|
|
14
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
15
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").WAFHttpAuthSchemeProvider;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var WAFServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var WAFBadRequestException$: StaticErrorSchema;
|
|
9
5
|
export declare var WAFDisallowedNameException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-waf",
|
|
3
|
+
"version": "3.1089.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Waf Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-waf",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-waf"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -16,17 +47,13 @@
|
|
|
16
47
|
"test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
|
|
17
48
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
18
49
|
},
|
|
19
|
-
"main": "./dist-cjs/index.js",
|
|
20
|
-
"types": "./dist-types/index.d.ts",
|
|
21
|
-
"module": "./dist-es/index.js",
|
|
22
|
-
"sideEffects": false,
|
|
23
50
|
"dependencies": {
|
|
24
|
-
"@aws-sdk/core": "^3.975.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/types": "^3.974.
|
|
27
|
-
"@smithy/core": "^3.29.
|
|
28
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
29
|
-
"@smithy/node-http-handler": "^4.9.
|
|
51
|
+
"@aws-sdk/core": "^3.975.3",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.70",
|
|
53
|
+
"@aws-sdk/types": "^3.974.2",
|
|
54
|
+
"@smithy/core": "^3.29.4",
|
|
55
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
56
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
30
57
|
"@smithy/types": "^4.16.1",
|
|
31
58
|
"tslib": "^2.6.2"
|
|
32
59
|
},
|
|
@@ -40,32 +67,5 @@
|
|
|
40
67
|
},
|
|
41
68
|
"engines": {
|
|
42
69
|
"node": ">=20.0.0"
|
|
43
|
-
},
|
|
44
|
-
"typesVersions": {
|
|
45
|
-
"<4.5": {
|
|
46
|
-
"dist-types/*": [
|
|
47
|
-
"dist-types/ts3.4/*"
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"files": [
|
|
52
|
-
"dist-*/**"
|
|
53
|
-
],
|
|
54
|
-
"author": {
|
|
55
|
-
"name": "AWS SDK for JavaScript Team",
|
|
56
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
57
|
-
},
|
|
58
|
-
"license": "Apache-2.0",
|
|
59
|
-
"browser": {
|
|
60
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
61
|
-
},
|
|
62
|
-
"react-native": {
|
|
63
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
64
|
-
},
|
|
65
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-waf",
|
|
66
|
-
"repository": {
|
|
67
|
-
"type": "git",
|
|
68
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
69
|
-
"directory": "clients/client-waf"
|
|
70
70
|
}
|
|
71
71
|
}
|