@aws-sdk/client-route53resolver 3.1055.0 → 3.1057.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +72 -7
  3. package/dist-cjs/schemas/schemas_0.js +204 -31
  4. package/dist-es/Route53Resolver.js +10 -0
  5. package/dist-es/commands/BatchCreateFirewallRuleCommand.js +16 -0
  6. package/dist-es/commands/BatchDeleteFirewallRuleCommand.js +16 -0
  7. package/dist-es/commands/BatchUpdateFirewallRuleCommand.js +16 -0
  8. package/dist-es/commands/ListFirewallRuleTypesCommand.js +16 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/enums.js +11 -7
  11. package/dist-es/pagination/ListFirewallRuleTypesPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +198 -26
  14. package/dist-types/Route53Resolver.d.ts +36 -0
  15. package/dist-types/Route53ResolverClient.d.ts +6 -2
  16. package/dist-types/commands/BatchCreateFirewallRuleCommand.d.ts +189 -0
  17. package/dist-types/commands/BatchDeleteFirewallRuleCommand.d.ts +145 -0
  18. package/dist-types/commands/BatchUpdateFirewallRuleCommand.d.ts +189 -0
  19. package/dist-types/commands/CreateFirewallDomainListCommand.d.ts +2 -0
  20. package/dist-types/commands/CreateFirewallRuleCommand.d.ts +24 -0
  21. package/dist-types/commands/DeleteFirewallDomainListCommand.d.ts +2 -0
  22. package/dist-types/commands/DeleteFirewallRuleCommand.d.ts +12 -0
  23. package/dist-types/commands/GetFirewallDomainListCommand.d.ts +2 -0
  24. package/dist-types/commands/ListFirewallDomainListsCommand.d.ts +2 -0
  25. package/dist-types/commands/ListFirewallRuleTypesCommand.d.ts +101 -0
  26. package/dist-types/commands/ListFirewallRulesCommand.d.ts +12 -0
  27. package/dist-types/commands/UpdateFirewallRuleCommand.d.ts +24 -0
  28. package/dist-types/commands/index.d.ts +4 -0
  29. package/dist-types/models/enums.d.ts +27 -15
  30. package/dist-types/models/models_0.d.ts +923 -204
  31. package/dist-types/pagination/ListFirewallRuleTypesPaginator.d.ts +7 -0
  32. package/dist-types/pagination/index.d.ts +1 -0
  33. package/dist-types/schemas/schemas_0.d.ts +23 -0
  34. package/dist-types/ts3.4/Route53Resolver.d.ts +76 -0
  35. package/dist-types/ts3.4/Route53ResolverClient.d.ts +24 -0
  36. package/dist-types/ts3.4/commands/BatchCreateFirewallRuleCommand.d.ts +53 -0
  37. package/dist-types/ts3.4/commands/BatchDeleteFirewallRuleCommand.d.ts +53 -0
  38. package/dist-types/ts3.4/commands/BatchUpdateFirewallRuleCommand.d.ts +53 -0
  39. package/dist-types/ts3.4/commands/ListFirewallRuleTypesCommand.d.ts +53 -0
  40. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  41. package/dist-types/ts3.4/models/enums.d.ts +15 -9
  42. package/dist-types/ts3.4/models/models_0.d.ts +137 -19
  43. package/dist-types/ts3.4/pagination/ListFirewallRuleTypesPaginator.d.ts +11 -0
  44. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +23 -0
  46. package/package.json +6 -6
@@ -65,6 +65,18 @@ declare const DeleteFirewallRuleCommand_base: {
65
65
  * // Qtype: "STRING_VALUE",
66
66
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
67
67
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
68
+ * // FirewallRuleType: { // FirewallRuleType
69
+ * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
70
+ * // Category: "STRING_VALUE", // required
71
+ * // },
72
+ * // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
73
+ * // Category: "STRING_VALUE", // required
74
+ * // },
75
+ * // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
76
+ * // Value: "STRING_VALUE", // required
77
+ * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
78
+ * // },
79
+ * // },
68
80
  * // },
69
81
  * // };
70
82
  *
@@ -55,6 +55,8 @@ declare const GetFirewallDomainListCommand_base: {
55
55
  * // CreatorRequestId: "STRING_VALUE",
56
56
  * // CreationTime: "STRING_VALUE",
57
57
  * // ModificationTime: "STRING_VALUE",
58
+ * // Category: "STRING_VALUE",
59
+ * // ManagedListType: "THREAT" || "CONTENT",
58
60
  * // },
59
61
  * // };
60
62
  *
@@ -54,6 +54,8 @@ declare const ListFirewallDomainListsCommand_base: {
54
54
  * // Name: "STRING_VALUE",
55
55
  * // CreatorRequestId: "STRING_VALUE",
56
56
  * // ManagedOwnerName: "STRING_VALUE",
57
+ * // ManagedListType: "THREAT" || "CONTENT",
58
+ * // Category: "STRING_VALUE",
57
59
  * // },
58
60
  * // ],
59
61
  * // };
@@ -0,0 +1,101 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListFirewallRuleTypesRequest, ListFirewallRuleTypesResponse } from "../models/models_0";
4
+ import type { Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../Route53ResolverClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListFirewallRuleTypesCommand}.
14
+ */
15
+ export interface ListFirewallRuleTypesCommandInput extends ListFirewallRuleTypesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListFirewallRuleTypesCommand}.
21
+ */
22
+ export interface ListFirewallRuleTypesCommandOutput extends ListFirewallRuleTypesResponse, __MetadataBearer {
23
+ }
24
+ declare const ListFirewallRuleTypesCommand_base: {
25
+ new (input: ListFirewallRuleTypesCommandInput): import("@smithy/core/client").CommandImpl<ListFirewallRuleTypesCommandInput, ListFirewallRuleTypesCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListFirewallRuleTypesCommandInput]): import("@smithy/core/client").CommandImpl<ListFirewallRuleTypesCommandInput, ListFirewallRuleTypesCommandOutput, Route53ResolverClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): {
28
+ [x: string]: unknown;
29
+ };
30
+ };
31
+ /**
32
+ * <p>Retrieves the available rule types that can be used in DNS Firewall rules.</p>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { Route53ResolverClient, ListFirewallRuleTypesCommand } from "@aws-sdk/client-route53resolver"; // ES Modules import
37
+ * // const { Route53ResolverClient, ListFirewallRuleTypesCommand } = require("@aws-sdk/client-route53resolver"); // CommonJS import
38
+ * // import type { Route53ResolverClientConfig } from "@aws-sdk/client-route53resolver";
39
+ * const config = {}; // type is Route53ResolverClientConfig
40
+ * const client = new Route53ResolverClient(config);
41
+ * const input = { // ListFirewallRuleTypesRequest
42
+ * RuleType: "STRING_VALUE",
43
+ * MaxResults: Number("int"),
44
+ * NextToken: "STRING_VALUE",
45
+ * };
46
+ * const command = new ListFirewallRuleTypesCommand(input);
47
+ * const response = await client.send(command);
48
+ * // { // ListFirewallRuleTypesResponse
49
+ * // FirewallRuleTypes: [ // FirewallRuleTypeDefinitions
50
+ * // { // FirewallRuleTypeDefinition
51
+ * // RuleType: "STRING_VALUE",
52
+ * // Value: "STRING_VALUE",
53
+ * // DisplayName: "STRING_VALUE",
54
+ * // Description: "STRING_VALUE",
55
+ * // },
56
+ * // ],
57
+ * // NextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListFirewallRuleTypesCommandInput - {@link ListFirewallRuleTypesCommandInput}
63
+ * @returns {@link ListFirewallRuleTypesCommandOutput}
64
+ * @see {@link ListFirewallRuleTypesCommandInput} for command's `input` shape.
65
+ * @see {@link ListFirewallRuleTypesCommandOutput} for command's `response` shape.
66
+ * @see {@link Route53ResolverClientResolvedConfig | config} for Route53ResolverClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>The current account doesn't have the IAM permissions required to perform the specified Resolver operation.</p>
70
+ * <p>This error can also be thrown when a customer has reached the 5120 character limit for a
71
+ * resource policy for CloudWatch Logs.</p>
72
+ *
73
+ * @throws {@link InternalServiceErrorException} (client fault)
74
+ * <p>We encountered an unknown error. Try again in a few minutes.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was throttled. Try again in a few minutes.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>You have provided an invalid command. If you ran the <code>UpdateFirewallDomains</code> request. supported values are <code>ADD</code>,
81
+ * <code>REMOVE</code>, or <code>REPLACE</code> a domain.</p>
82
+ *
83
+ * @throws {@link Route53ResolverServiceException}
84
+ * <p>Base exception class for all service exceptions from Route53Resolver service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListFirewallRuleTypesCommand extends ListFirewallRuleTypesCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListFirewallRuleTypesRequest;
94
+ output: ListFirewallRuleTypesResponse;
95
+ };
96
+ sdk: {
97
+ input: ListFirewallRuleTypesCommandInput;
98
+ output: ListFirewallRuleTypesCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -69,6 +69,18 @@ declare const ListFirewallRulesCommand_base: {
69
69
  * // Qtype: "STRING_VALUE",
70
70
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
71
71
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
72
+ * // FirewallRuleType: { // FirewallRuleType
73
+ * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
74
+ * // Category: "STRING_VALUE", // required
75
+ * // },
76
+ * // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
77
+ * // Category: "STRING_VALUE", // required
78
+ * // },
79
+ * // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
80
+ * // Value: "STRING_VALUE", // required
81
+ * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
82
+ * // },
83
+ * // },
72
84
  * // },
73
85
  * // ],
74
86
  * // };
@@ -53,6 +53,18 @@ declare const UpdateFirewallRuleCommand_base: {
53
53
  * Qtype: "STRING_VALUE",
54
54
  * DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
55
55
  * ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
56
+ * FirewallRuleType: { // FirewallRuleType
57
+ * FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
58
+ * Category: "STRING_VALUE", // required
59
+ * },
60
+ * FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
61
+ * Category: "STRING_VALUE", // required
62
+ * },
63
+ * DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
64
+ * Value: "STRING_VALUE", // required
65
+ * ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
66
+ * },
67
+ * },
56
68
  * };
57
69
  * const command = new UpdateFirewallRuleCommand(input);
58
70
  * const response = await client.send(command);
@@ -75,6 +87,18 @@ declare const UpdateFirewallRuleCommand_base: {
75
87
  * // Qtype: "STRING_VALUE",
76
88
  * // DnsThreatProtection: "DGA" || "DNS_TUNNELING" || "DICTIONARY_DGA",
77
89
  * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH",
90
+ * // FirewallRuleType: { // FirewallRuleType
91
+ * // FirewallAdvancedContentCategory: { // FirewallAdvancedContentCategoryConfig
92
+ * // Category: "STRING_VALUE", // required
93
+ * // },
94
+ * // FirewallAdvancedThreatCategory: { // FirewallAdvancedThreatCategoryConfig
95
+ * // Category: "STRING_VALUE", // required
96
+ * // },
97
+ * // DnsThreatProtection: { // DnsThreatProtectionRuleTypeConfig
98
+ * // Value: "STRING_VALUE", // required
99
+ * // ConfidenceThreshold: "LOW" || "MEDIUM" || "HIGH", // required
100
+ * // },
101
+ * // },
78
102
  * // },
79
103
  * // };
80
104
  *
@@ -2,6 +2,9 @@ export * from "./AssociateFirewallRuleGroupCommand";
2
2
  export * from "./AssociateResolverEndpointIpAddressCommand";
3
3
  export * from "./AssociateResolverQueryLogConfigCommand";
4
4
  export * from "./AssociateResolverRuleCommand";
5
+ export * from "./BatchCreateFirewallRuleCommand";
6
+ export * from "./BatchDeleteFirewallRuleCommand";
7
+ export * from "./BatchUpdateFirewallRuleCommand";
5
8
  export * from "./CreateFirewallDomainListCommand";
6
9
  export * from "./CreateFirewallRuleCommand";
7
10
  export * from "./CreateFirewallRuleGroupCommand";
@@ -41,6 +44,7 @@ export * from "./ListFirewallDomainListsCommand";
41
44
  export * from "./ListFirewallDomainsCommand";
42
45
  export * from "./ListFirewallRuleGroupAssociationsCommand";
43
46
  export * from "./ListFirewallRuleGroupsCommand";
47
+ export * from "./ListFirewallRuleTypesCommand";
44
48
  export * from "./ListFirewallRulesCommand";
45
49
  export * from "./ListOutpostResolversCommand";
46
50
  export * from "./ListResolverConfigsCommand";
@@ -185,21 +185,6 @@ export declare const ConfidenceThreshold: {
185
185
  * @public
186
186
  */
187
187
  export type ConfidenceThreshold = (typeof ConfidenceThreshold)[keyof typeof ConfidenceThreshold];
188
- /**
189
- * @public
190
- * @enum
191
- */
192
- export declare const FirewallDomainListStatus: {
193
- readonly COMPLETE: "COMPLETE";
194
- readonly COMPLETE_IMPORT_FAILED: "COMPLETE_IMPORT_FAILED";
195
- readonly DELETING: "DELETING";
196
- readonly IMPORTING: "IMPORTING";
197
- readonly UPDATING: "UPDATING";
198
- };
199
- /**
200
- * @public
201
- */
202
- export type FirewallDomainListStatus = (typeof FirewallDomainListStatus)[keyof typeof FirewallDomainListStatus];
203
188
  /**
204
189
  * @public
205
190
  * @enum
@@ -225,6 +210,33 @@ export declare const FirewallDomainRedirectionAction: {
225
210
  * @public
226
211
  */
227
212
  export type FirewallDomainRedirectionAction = (typeof FirewallDomainRedirectionAction)[keyof typeof FirewallDomainRedirectionAction];
213
+ /**
214
+ * @public
215
+ * @enum
216
+ */
217
+ export declare const DomainListType: {
218
+ readonly CONTENT: "CONTENT";
219
+ readonly THREAT: "THREAT";
220
+ };
221
+ /**
222
+ * @public
223
+ */
224
+ export type DomainListType = (typeof DomainListType)[keyof typeof DomainListType];
225
+ /**
226
+ * @public
227
+ * @enum
228
+ */
229
+ export declare const FirewallDomainListStatus: {
230
+ readonly COMPLETE: "COMPLETE";
231
+ readonly COMPLETE_IMPORT_FAILED: "COMPLETE_IMPORT_FAILED";
232
+ readonly DELETING: "DELETING";
233
+ readonly IMPORTING: "IMPORTING";
234
+ readonly UPDATING: "UPDATING";
235
+ };
236
+ /**
237
+ * @public
238
+ */
239
+ export type FirewallDomainListStatus = (typeof FirewallDomainListStatus)[keyof typeof FirewallDomainListStatus];
228
240
  /**
229
241
  * @public
230
242
  * @enum