@aws-sdk/client-route53resolver 3.1172.0 → 3.1173.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/README.md +7 -0
- package/dist-cjs/index.js +98 -9
- package/dist-es/Route53Resolver.js +4 -0
- package/dist-es/commands/ListFirewallRuleDomainsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +22 -0
- package/dist-es/pagination/ListFirewallRuleDomainsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +56 -8
- package/dist-types/Route53Resolver.d.ts +14 -0
- package/dist-types/Route53ResolverClient.d.ts +3 -2
- package/dist-types/commands/AssociateResolverEndpointIpAddressCommand.d.ts +5 -0
- package/dist-types/commands/AssociateResolverRuleCommand.d.ts +5 -0
- package/dist-types/commands/BatchCreateFirewallRuleCommand.d.ts +15 -0
- package/dist-types/commands/BatchDeleteFirewallRuleCommand.d.ts +5 -0
- package/dist-types/commands/BatchUpdateFirewallRuleCommand.d.ts +15 -0
- package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +1 -1
- package/dist-types/commands/CreateFirewallRuleCommand.d.ts +12 -2
- package/dist-types/commands/DeleteFirewallDomainListCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +5 -0
- package/dist-types/commands/DeleteResolverEndpointCommand.d.ts +5 -0
- package/dist-types/commands/DeleteResolverRuleCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateResolverEndpointIpAddressCommand.d.ts +5 -0
- package/dist-types/commands/DisassociateResolverRuleCommand.d.ts +5 -0
- package/dist-types/commands/GetFirewallDomainListCommand.d.ts +3 -1
- package/dist-types/commands/GetResolverEndpointCommand.d.ts +5 -0
- package/dist-types/commands/GetResolverRuleAssociationCommand.d.ts +5 -0
- package/dist-types/commands/GetResolverRuleCommand.d.ts +5 -0
- package/dist-types/commands/ImportFirewallDomainsCommand.d.ts +1 -0
- package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +4 -1
- package/dist-types/commands/ListFirewallRuleDomainsCommand.d.ts +110 -0
- package/dist-types/commands/ListFirewallRuleTypesCommand.d.ts +1 -0
- package/dist-types/commands/ListFirewallRulesCommand.d.ts +6 -1
- package/dist-types/commands/ListResolverEndpointIpAddressesCommand.d.ts +5 -0
- package/dist-types/commands/ListResolverEndpointsCommand.d.ts +5 -0
- package/dist-types/commands/ListResolverRuleAssociationsCommand.d.ts +5 -0
- package/dist-types/commands/ListResolverRulesCommand.d.ts +5 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/TagResourceCommand.d.ts +5 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFirewallDomainsCommand.d.ts +7 -1
- package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +10 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +54 -0
- package/dist-types/models/models_0.d.ts +237 -11
- package/dist-types/pagination/ListFirewallRuleDomainsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +6 -0
- package/dist-types/ts3.4/Route53Resolver.d.ts +24 -0
- package/dist-types/ts3.4/Route53ResolverClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/ListFirewallRuleDomainsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/models_0.d.ts +40 -0
- package/dist-types/ts3.4/pagination/ListFirewallRuleDomainsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFirewallRuleDomainsRequest,
|
|
4
|
+
ListFirewallRuleDomainsResponse,
|
|
5
|
+
} from "../models/models_0";
|
|
6
|
+
export { __MetadataBearer };
|
|
7
|
+
export interface ListFirewallRuleDomainsCommandInput extends ListFirewallRuleDomainsRequest {}
|
|
8
|
+
export interface ListFirewallRuleDomainsCommandOutput
|
|
9
|
+
extends ListFirewallRuleDomainsResponse, __MetadataBearer {}
|
|
10
|
+
declare const ListFirewallRuleDomainsCommand_base: {
|
|
11
|
+
new (
|
|
12
|
+
input: ListFirewallRuleDomainsCommandInput,
|
|
13
|
+
): import("@smithy/core/client").CommandImpl<
|
|
14
|
+
ListFirewallRuleDomainsCommandInput,
|
|
15
|
+
ListFirewallRuleDomainsCommandOutput,
|
|
16
|
+
import("..").Route53ResolverClientResolvedConfig,
|
|
17
|
+
import("..").ServiceInputTypes,
|
|
18
|
+
import("..").ServiceOutputTypes
|
|
19
|
+
>;
|
|
20
|
+
new (
|
|
21
|
+
input: ListFirewallRuleDomainsCommandInput,
|
|
22
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
|
+
ListFirewallRuleDomainsCommandInput,
|
|
24
|
+
ListFirewallRuleDomainsCommandOutput,
|
|
25
|
+
import("..").Route53ResolverClientResolvedConfig,
|
|
26
|
+
import("..").ServiceInputTypes,
|
|
27
|
+
import("..").ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
|
+
};
|
|
31
|
+
export declare class ListFirewallRuleDomainsCommand extends ListFirewallRuleDomainsCommand_base {
|
|
32
|
+
protected static __types: {
|
|
33
|
+
api: {
|
|
34
|
+
input: ListFirewallRuleDomainsRequest;
|
|
35
|
+
output: ListFirewallRuleDomainsResponse;
|
|
36
|
+
};
|
|
37
|
+
sdk: {
|
|
38
|
+
input: ListFirewallRuleDomainsCommandInput;
|
|
39
|
+
output: ListFirewallRuleDomainsCommandOutput;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -42,6 +42,7 @@ export * from "./ImportFirewallDomainsCommand";
|
|
|
42
42
|
export * from "./ListFirewallConfigsCommand";
|
|
43
43
|
export * from "./ListFirewallDomainListsCommand";
|
|
44
44
|
export * from "./ListFirewallDomainsCommand";
|
|
45
|
+
export * from "./ListFirewallRuleDomainsCommand";
|
|
45
46
|
export * from "./ListFirewallRuleGroupAssociationsCommand";
|
|
46
47
|
export * from "./ListFirewallRuleGroupsCommand";
|
|
47
48
|
export * from "./ListFirewallRuleTypesCommand";
|
|
@@ -108,6 +108,7 @@ export declare const FirewallDomainRedirectionAction: {
|
|
|
108
108
|
export type FirewallDomainRedirectionAction =
|
|
109
109
|
(typeof FirewallDomainRedirectionAction)[keyof typeof FirewallDomainRedirectionAction];
|
|
110
110
|
export declare const DomainListType: {
|
|
111
|
+
readonly AUTOALLOWLIST: "AUTOALLOWLIST";
|
|
111
112
|
readonly CONTENT: "CONTENT";
|
|
112
113
|
readonly THREAT: "THREAT";
|
|
113
114
|
};
|
|
@@ -179,13 +180,41 @@ export declare const FirewallDomainImportOperation: {
|
|
|
179
180
|
};
|
|
180
181
|
export type FirewallDomainImportOperation =
|
|
181
182
|
(typeof FirewallDomainImportOperation)[keyof typeof FirewallDomainImportOperation];
|
|
183
|
+
export declare const FirewallDomainStatus: {
|
|
184
|
+
readonly ALLOWED: "ALLOWED";
|
|
185
|
+
readonly DENIED: "DENIED";
|
|
186
|
+
readonly OBSERVED: "OBSERVED";
|
|
187
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
188
|
+
};
|
|
189
|
+
export type FirewallDomainStatus = (typeof FirewallDomainStatus)[keyof typeof FirewallDomainStatus];
|
|
190
|
+
export declare const FirewallDomainStatusFilter: {
|
|
191
|
+
readonly ALLOWED: "ALLOWED";
|
|
192
|
+
readonly DENIED: "DENIED";
|
|
193
|
+
readonly OBSERVED: "OBSERVED";
|
|
194
|
+
};
|
|
195
|
+
export type FirewallDomainStatusFilter =
|
|
196
|
+
(typeof FirewallDomainStatusFilter)[keyof typeof FirewallDomainStatusFilter];
|
|
182
197
|
export declare const FirewallDomainUpdateOperation: {
|
|
183
198
|
readonly ADD: "ADD";
|
|
199
|
+
readonly DENY: "DENY";
|
|
184
200
|
readonly REMOVE: "REMOVE";
|
|
185
201
|
readonly REPLACE: "REPLACE";
|
|
186
202
|
};
|
|
187
203
|
export type FirewallDomainUpdateOperation =
|
|
188
204
|
(typeof FirewallDomainUpdateOperation)[keyof typeof FirewallDomainUpdateOperation];
|
|
205
|
+
export declare const FirewallRuleDomainSortBy: {
|
|
206
|
+
readonly DAILY_TOTAL: "DAILY_TOTAL";
|
|
207
|
+
readonly TIME_ADDED: "TIME_ADDED";
|
|
208
|
+
readonly TOTAL_REQUESTS: "TOTAL_REQUESTS";
|
|
209
|
+
};
|
|
210
|
+
export type FirewallRuleDomainSortBy =
|
|
211
|
+
(typeof FirewallRuleDomainSortBy)[keyof typeof FirewallRuleDomainSortBy];
|
|
212
|
+
export declare const FirewallRuleDomainSortOrder: {
|
|
213
|
+
readonly ASC: "ASC";
|
|
214
|
+
readonly DESC: "DESC";
|
|
215
|
+
};
|
|
216
|
+
export type FirewallRuleDomainSortOrder =
|
|
217
|
+
(typeof FirewallRuleDomainSortOrder)[keyof typeof FirewallRuleDomainSortOrder];
|
|
189
218
|
export declare const ResolverAutodefinedReverseStatus: {
|
|
190
219
|
readonly Disabled: "DISABLED";
|
|
191
220
|
readonly Disabling: "DISABLING";
|
|
@@ -9,8 +9,12 @@ import {
|
|
|
9
9
|
FirewallDomainImportOperation,
|
|
10
10
|
FirewallDomainListStatus,
|
|
11
11
|
FirewallDomainRedirectionAction,
|
|
12
|
+
FirewallDomainStatus,
|
|
13
|
+
FirewallDomainStatusFilter,
|
|
12
14
|
FirewallDomainUpdateOperation,
|
|
13
15
|
FirewallFailOpenStatus,
|
|
16
|
+
FirewallRuleDomainSortBy,
|
|
17
|
+
FirewallRuleDomainSortOrder,
|
|
14
18
|
FirewallRuleGroupAssociationStatus,
|
|
15
19
|
FirewallRuleGroupStatus,
|
|
16
20
|
IpAddressStatus,
|
|
@@ -130,6 +134,11 @@ export interface ResolverRuleAssociation {
|
|
|
130
134
|
export interface AssociateResolverRuleResponse {
|
|
131
135
|
ResolverRuleAssociation?: ResolverRuleAssociation | undefined;
|
|
132
136
|
}
|
|
137
|
+
export interface AutoAllowlistConfig {
|
|
138
|
+
InitialDataTimeframeHours: number | undefined;
|
|
139
|
+
ImportFromFirewallDomainListId?: string | undefined;
|
|
140
|
+
AutoAllowlistFirewallDomainListId?: string | undefined;
|
|
141
|
+
}
|
|
133
142
|
export interface DnsThreatProtectionRuleTypeConfig {
|
|
134
143
|
Value: string | undefined;
|
|
135
144
|
ConfidenceThreshold: ConfidenceThreshold | undefined;
|
|
@@ -148,6 +157,7 @@ export interface FirewallRuleType {
|
|
|
148
157
|
FirewallAdvancedContentCategory?: FirewallAdvancedContentCategoryConfig | undefined;
|
|
149
158
|
FirewallAdvancedThreatCategory?: FirewallAdvancedThreatCategoryConfig | undefined;
|
|
150
159
|
DnsThreatProtection?: DnsThreatProtectionRuleTypeConfig | undefined;
|
|
160
|
+
AutoAllowlist?: AutoAllowlistConfig | undefined;
|
|
151
161
|
}
|
|
152
162
|
export interface CreateFirewallRuleEntry {
|
|
153
163
|
CreatorRequestId: string | undefined;
|
|
@@ -506,6 +516,16 @@ export interface FirewallDomainListMetadata {
|
|
|
506
516
|
ManagedOwnerName?: string | undefined;
|
|
507
517
|
ManagedListType?: DomainListType | undefined;
|
|
508
518
|
Category?: string | undefined;
|
|
519
|
+
FirewallRuleGroupId?: string | undefined;
|
|
520
|
+
FirewallThreatProtectionId?: string | undefined;
|
|
521
|
+
Status?: FirewallDomainListStatus | undefined;
|
|
522
|
+
}
|
|
523
|
+
export interface FirewallRuleDomain {
|
|
524
|
+
DomainName?: string | undefined;
|
|
525
|
+
DomainStatus?: FirewallDomainStatus | undefined;
|
|
526
|
+
Last24HourRequests?: number | undefined;
|
|
527
|
+
TotalRequests?: number | undefined;
|
|
528
|
+
AddedTime?: string | undefined;
|
|
509
529
|
}
|
|
510
530
|
export interface FirewallRuleGroupMetadata {
|
|
511
531
|
Id?: string | undefined;
|
|
@@ -537,6 +557,8 @@ export interface GetFirewallDomainListRequest {
|
|
|
537
557
|
}
|
|
538
558
|
export interface GetFirewallDomainListResponse {
|
|
539
559
|
FirewallDomainList?: FirewallDomainList | undefined;
|
|
560
|
+
FirewallRuleGroupId?: string | undefined;
|
|
561
|
+
FirewallThreatProtectionId?: string | undefined;
|
|
540
562
|
}
|
|
541
563
|
export interface GetFirewallRuleGroupRequest {
|
|
542
564
|
FirewallRuleGroupId: string | undefined;
|
|
@@ -674,6 +696,24 @@ export interface ListFirewallDomainsResponse {
|
|
|
674
696
|
NextToken?: string | undefined;
|
|
675
697
|
Domains?: string[] | undefined;
|
|
676
698
|
}
|
|
699
|
+
export interface ListFirewallRuleDomainsQueryOptions {
|
|
700
|
+
DomainStatus?: FirewallDomainStatusFilter | undefined;
|
|
701
|
+
SortBy?: FirewallRuleDomainSortBy | undefined;
|
|
702
|
+
SortOrder?: FirewallRuleDomainSortOrder | undefined;
|
|
703
|
+
DomainNameFilter?: string | undefined;
|
|
704
|
+
}
|
|
705
|
+
export interface ListFirewallRuleDomainsRequest {
|
|
706
|
+
FirewallRuleGroupId: string | undefined;
|
|
707
|
+
FirewallThreatProtectionId?: string | undefined;
|
|
708
|
+
FirewallDomainListId?: string | undefined;
|
|
709
|
+
QueryOptions?: ListFirewallRuleDomainsQueryOptions | undefined;
|
|
710
|
+
MaxResults?: number | undefined;
|
|
711
|
+
NextToken?: string | undefined;
|
|
712
|
+
}
|
|
713
|
+
export interface ListFirewallRuleDomainsResponse {
|
|
714
|
+
Domains?: FirewallRuleDomain[] | undefined;
|
|
715
|
+
NextToken?: string | undefined;
|
|
716
|
+
}
|
|
677
717
|
export interface ListFirewallRuleGroupAssociationsRequest {
|
|
678
718
|
FirewallRuleGroupId?: string | undefined;
|
|
679
719
|
VpcId?: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListFirewallRuleDomainsCommandInput,
|
|
4
|
+
ListFirewallRuleDomainsCommandOutput,
|
|
5
|
+
} from "../commands/ListFirewallRuleDomainsCommand";
|
|
6
|
+
import { Route53ResolverPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListFirewallRuleDomains: (
|
|
8
|
+
config: Route53ResolverPaginationConfiguration,
|
|
9
|
+
input: ListFirewallRuleDomainsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListFirewallRuleDomainsCommandOutput>;
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListFirewallConfigsPaginator";
|
|
3
3
|
export * from "./ListFirewallDomainListsPaginator";
|
|
4
4
|
export * from "./ListFirewallDomainsPaginator";
|
|
5
|
+
export * from "./ListFirewallRuleDomainsPaginator";
|
|
5
6
|
export * from "./ListFirewallRuleGroupAssociationsPaginator";
|
|
6
7
|
export * from "./ListFirewallRuleGroupsPaginator";
|
|
7
8
|
export * from "./ListFirewallRulesPaginator";
|
|
@@ -27,6 +27,7 @@ export declare var AssociateResolverQueryLogConfigRequest$: StaticStructureSchem
|
|
|
27
27
|
export declare var AssociateResolverQueryLogConfigResponse$: StaticStructureSchema;
|
|
28
28
|
export declare var AssociateResolverRuleRequest$: StaticStructureSchema;
|
|
29
29
|
export declare var AssociateResolverRuleResponse$: StaticStructureSchema;
|
|
30
|
+
export declare var AutoAllowlistConfig$: StaticStructureSchema;
|
|
30
31
|
export declare var BatchCreateFirewallRuleError$: StaticStructureSchema;
|
|
31
32
|
export declare var BatchCreateFirewallRuleRequest$: StaticStructureSchema;
|
|
32
33
|
export declare var BatchCreateFirewallRuleResponse$: StaticStructureSchema;
|
|
@@ -82,6 +83,7 @@ export declare var FirewallConfig$: StaticStructureSchema;
|
|
|
82
83
|
export declare var FirewallDomainList$: StaticStructureSchema;
|
|
83
84
|
export declare var FirewallDomainListMetadata$: StaticStructureSchema;
|
|
84
85
|
export declare var FirewallRule$: StaticStructureSchema;
|
|
86
|
+
export declare var FirewallRuleDomain$: StaticStructureSchema;
|
|
85
87
|
export declare var FirewallRuleGroup$: StaticStructureSchema;
|
|
86
88
|
export declare var FirewallRuleGroupAssociation$: StaticStructureSchema;
|
|
87
89
|
export declare var FirewallRuleGroupMetadata$: StaticStructureSchema;
|
|
@@ -128,6 +130,9 @@ export declare var ListFirewallDomainListsRequest$: StaticStructureSchema;
|
|
|
128
130
|
export declare var ListFirewallDomainListsResponse$: StaticStructureSchema;
|
|
129
131
|
export declare var ListFirewallDomainsRequest$: StaticStructureSchema;
|
|
130
132
|
export declare var ListFirewallDomainsResponse$: StaticStructureSchema;
|
|
133
|
+
export declare var ListFirewallRuleDomainsQueryOptions$: StaticStructureSchema;
|
|
134
|
+
export declare var ListFirewallRuleDomainsRequest$: StaticStructureSchema;
|
|
135
|
+
export declare var ListFirewallRuleDomainsResponse$: StaticStructureSchema;
|
|
131
136
|
export declare var ListFirewallRuleGroupAssociationsRequest$: StaticStructureSchema;
|
|
132
137
|
export declare var ListFirewallRuleGroupAssociationsResponse$: StaticStructureSchema;
|
|
133
138
|
export declare var ListFirewallRuleGroupsRequest$: StaticStructureSchema;
|
|
@@ -243,6 +248,7 @@ export declare var ImportFirewallDomains$: StaticOperationSchema;
|
|
|
243
248
|
export declare var ListFirewallConfigs$: StaticOperationSchema;
|
|
244
249
|
export declare var ListFirewallDomainLists$: StaticOperationSchema;
|
|
245
250
|
export declare var ListFirewallDomains$: StaticOperationSchema;
|
|
251
|
+
export declare var ListFirewallRuleDomains$: StaticOperationSchema;
|
|
246
252
|
export declare var ListFirewallRuleGroupAssociations$: StaticOperationSchema;
|
|
247
253
|
export declare var ListFirewallRuleGroups$: StaticOperationSchema;
|
|
248
254
|
export declare var ListFirewallRules$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-route53resolver",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1173.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Route53resolver Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-route53resolver",
|
|
6
6
|
"license": "Apache-2.0",
|