aws-sdk-route53resolver 1.117.0 → 1.118.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53resolver/client.rb +228 -27
- data/lib/aws-sdk-route53resolver/client_api.rb +85 -0
- data/lib/aws-sdk-route53resolver/types.rb +371 -13
- data/lib/aws-sdk-route53resolver.rb +1 -1
- data/sig/client.rbs +24 -1
- data/sig/params.rbs +5 -0
- data/sig/types.rbs +49 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ba569fc958fb6a4b4a90784d6c15d45352768c8e8408a99a0c7adf63ef43149e
|
|
4
|
+
data.tar.gz: 2fdc8e898b74a7d1fede6c6e4cc1519858a8cc0d892c3afc84d6c05e3e1496d8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1747c020a50a9f64ce916931b610215cb4d45ce700d0d87db9c06a0b85fb7af972a4f0d87e673b2a6f0cccf22ec75f4748cae4742cc484efd732ca1e9d075913
|
|
7
|
+
data.tar.gz: bb421bf79649803d5263c68a0f376df2e9e2cf10ca4f508f06fb5dd5fc36fb17bb39815e3bb33a7635b61018c0aa3df0d29deb07e5ded33074cad8f825424d8d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.118.0 (2026-11-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Route 53 Resolver DNS Firewall adds the AutoAllowlist firewall rule type, which observes the domains your VPCs resolve and allows the ones you approve, and the ListFirewallRuleDomains API.
|
|
8
|
+
|
|
4
9
|
1.117.0 (2026-11-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.118.0
|
|
@@ -821,6 +821,11 @@ module Aws::Route53Resolver
|
|
|
821
821
|
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
822
822
|
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
823
823
|
# },
|
|
824
|
+
# auto_allowlist: {
|
|
825
|
+
# initial_data_timeframe_hours: 1, # required
|
|
826
|
+
# import_from_firewall_domain_list_id: "ResourceId",
|
|
827
|
+
# auto_allowlist_firewall_domain_list_id: "ResourceId",
|
|
828
|
+
# },
|
|
824
829
|
# },
|
|
825
830
|
# },
|
|
826
831
|
# ],
|
|
@@ -851,6 +856,9 @@ module Aws::Route53Resolver
|
|
|
851
856
|
# resp.created_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
852
857
|
# resp.created_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
853
858
|
# resp.created_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
859
|
+
# resp.created_firewall_rules[0].firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
860
|
+
# resp.created_firewall_rules[0].firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
861
|
+
# resp.created_firewall_rules[0].firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
854
862
|
# resp.created_firewall_rules[0].status #=> String
|
|
855
863
|
# resp.created_firewall_rules[0].status_message #=> String
|
|
856
864
|
# resp.create_errors #=> Array
|
|
@@ -873,6 +881,9 @@ module Aws::Route53Resolver
|
|
|
873
881
|
# resp.create_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
874
882
|
# resp.create_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
875
883
|
# resp.create_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
884
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
885
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
886
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
876
887
|
# resp.create_errors[0].code #=> String
|
|
877
888
|
# resp.create_errors[0].message #=> String
|
|
878
889
|
#
|
|
@@ -933,6 +944,9 @@ module Aws::Route53Resolver
|
|
|
933
944
|
# resp.deleted_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
934
945
|
# resp.deleted_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
935
946
|
# resp.deleted_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
947
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
948
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
949
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
936
950
|
# resp.deleted_firewall_rules[0].status #=> String
|
|
937
951
|
# resp.deleted_firewall_rules[0].status_message #=> String
|
|
938
952
|
# resp.delete_errors #=> Array
|
|
@@ -995,6 +1009,11 @@ module Aws::Route53Resolver
|
|
|
995
1009
|
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
996
1010
|
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
997
1011
|
# },
|
|
1012
|
+
# auto_allowlist: {
|
|
1013
|
+
# initial_data_timeframe_hours: 1, # required
|
|
1014
|
+
# import_from_firewall_domain_list_id: "ResourceId",
|
|
1015
|
+
# auto_allowlist_firewall_domain_list_id: "ResourceId",
|
|
1016
|
+
# },
|
|
998
1017
|
# },
|
|
999
1018
|
# },
|
|
1000
1019
|
# ],
|
|
@@ -1025,6 +1044,9 @@ module Aws::Route53Resolver
|
|
|
1025
1044
|
# resp.updated_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
1026
1045
|
# resp.updated_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
1027
1046
|
# resp.updated_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1047
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
1048
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
1049
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
1028
1050
|
# resp.updated_firewall_rules[0].status #=> String
|
|
1029
1051
|
# resp.updated_firewall_rules[0].status_message #=> String
|
|
1030
1052
|
# resp.update_errors #=> Array
|
|
@@ -1047,6 +1069,9 @@ module Aws::Route53Resolver
|
|
|
1047
1069
|
# resp.update_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
1048
1070
|
# resp.update_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
1049
1071
|
# resp.update_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1072
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
1073
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
1074
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
1050
1075
|
# resp.update_errors[0].code #=> String
|
|
1051
1076
|
# resp.update_errors[0].message #=> String
|
|
1052
1077
|
#
|
|
@@ -1110,7 +1135,7 @@ module Aws::Route53Resolver
|
|
|
1110
1135
|
# resp.firewall_domain_list.creation_time #=> String
|
|
1111
1136
|
# resp.firewall_domain_list.modification_time #=> String
|
|
1112
1137
|
# resp.firewall_domain_list.category #=> String
|
|
1113
|
-
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
1138
|
+
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT", "AUTOALLOWLIST"
|
|
1114
1139
|
#
|
|
1115
1140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallDomainList AWS API Documentation
|
|
1116
1141
|
#
|
|
@@ -1132,20 +1157,23 @@ module Aws::Route53Resolver
|
|
|
1132
1157
|
# * `DnsThreatProtection` — match a built-in DNS Firewall Advanced
|
|
1133
1158
|
# threat detector (`DGA`, `DNS_TUNNELING`, or `DICTIONARY_DGA`).
|
|
1134
1159
|
#
|
|
1135
|
-
# * `FirewallRuleType` — match one of the rule-type variants
|
|
1136
|
-
#
|
|
1137
|
-
# `
|
|
1138
|
-
# `
|
|
1139
|
-
# requires an active Amazon Web
|
|
1140
|
-
# the named partner product.
|
|
1141
|
-
#
|
|
1142
|
-
# For rules that require asynchronous provisioning (
|
|
1143
|
-
# `PartnerThreatProtection` rule
|
|
1144
|
-
# `CREATING` and transitions to `COMPLETE` once the
|
|
1145
|
-
#
|
|
1146
|
-
#
|
|
1147
|
-
#
|
|
1148
|
-
#
|
|
1160
|
+
# * `FirewallRuleType` — match one of the rule-type variants:
|
|
1161
|
+
# `FirewallAdvancedContentCategory`, `FirewallAdvancedThreatCategory`,
|
|
1162
|
+
# `DnsThreatProtection`, `PartnerThreatProtection`, or
|
|
1163
|
+
# `AutoAllowlist`. ListFirewallRuleTypes returns the first four. The
|
|
1164
|
+
# `PartnerThreatProtection` variant requires an active Amazon Web
|
|
1165
|
+
# Services Marketplace subscription to the named partner product.
|
|
1166
|
+
#
|
|
1167
|
+
# For rules that require asynchronous provisioning (the
|
|
1168
|
+
# `PartnerThreatProtection` and `AutoAllowlist` rule types), the rule's
|
|
1169
|
+
# `Status` begins at `CREATING` and transitions to `COMPLETE` once the
|
|
1170
|
+
# rule is provisioned: for `PartnerThreatProtection`, when the
|
|
1171
|
+
# marketplace entitlement is verified, and for `AutoAllowlist`, when DNS
|
|
1172
|
+
# Firewall has read the look-back window of every VPC that uses the rule
|
|
1173
|
+
# group, which can take hours for a rule group that many VPCs use. If
|
|
1174
|
+
# provisioning fails, `Status` becomes `CREATION_FAILED` and
|
|
1175
|
+
# `StatusMessage` contains a human-readable reason; the rule is then
|
|
1176
|
+
# immutable and must be removed with DeleteFirewallRule.
|
|
1149
1177
|
#
|
|
1150
1178
|
# @option params [required, String] :creator_request_id
|
|
1151
1179
|
# A unique string that identifies the request and that allows you to
|
|
@@ -1239,6 +1267,9 @@ module Aws::Route53Resolver
|
|
|
1239
1267
|
# redirection chain. You don't need to add the subsequent domains in
|
|
1240
1268
|
# the domain in the redirection list to the domain list.
|
|
1241
1269
|
#
|
|
1270
|
+
# You can't set this value on an AutoAllowlist rule, which always
|
|
1271
|
+
# inspects the redirection chain.
|
|
1272
|
+
#
|
|
1242
1273
|
# @option params [String] :qtype
|
|
1243
1274
|
# The DNS query type you want the rule to evaluate. Allowed values are;
|
|
1244
1275
|
#
|
|
@@ -1275,6 +1306,9 @@ module Aws::Route53Resolver
|
|
|
1275
1306
|
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
1276
1307
|
# DNS record types][1].
|
|
1277
1308
|
#
|
|
1309
|
+
# You can't set `Qtype` on an AutoAllowlist rule, because the rule
|
|
1310
|
+
# applies to all query types.
|
|
1311
|
+
#
|
|
1278
1312
|
#
|
|
1279
1313
|
#
|
|
1280
1314
|
# [1]: https://en.wikipedia.org/wiki/List_of_DNS_record_types
|
|
@@ -1331,8 +1365,12 @@ module Aws::Route53Resolver
|
|
|
1331
1365
|
# delivered through Amazon Web Services Marketplace. The selected
|
|
1332
1366
|
# partner must be an active subscription on the calling account.
|
|
1333
1367
|
#
|
|
1368
|
+
# * `AutoAllowlist` — automatically observe the domains that the VPCs
|
|
1369
|
+
# associated with the rule group resolve, and allow the ones that you
|
|
1370
|
+
# approve. See AutoAllowlistConfig.
|
|
1371
|
+
#
|
|
1334
1372
|
# To enumerate the values supported in your account, call
|
|
1335
|
-
# ListFirewallRuleTypes.
|
|
1373
|
+
# ListFirewallRuleTypes. It doesn't return `AutoAllowlist`.
|
|
1336
1374
|
#
|
|
1337
1375
|
# @return [Types::CreateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1338
1376
|
#
|
|
@@ -1369,6 +1407,11 @@ module Aws::Route53Resolver
|
|
|
1369
1407
|
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
1370
1408
|
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
1371
1409
|
# },
|
|
1410
|
+
# auto_allowlist: {
|
|
1411
|
+
# initial_data_timeframe_hours: 1, # required
|
|
1412
|
+
# import_from_firewall_domain_list_id: "ResourceId",
|
|
1413
|
+
# auto_allowlist_firewall_domain_list_id: "ResourceId",
|
|
1414
|
+
# },
|
|
1372
1415
|
# },
|
|
1373
1416
|
# })
|
|
1374
1417
|
#
|
|
@@ -1396,6 +1439,9 @@ module Aws::Route53Resolver
|
|
|
1396
1439
|
# resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
1397
1440
|
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
1398
1441
|
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1442
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
1443
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
1444
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
1399
1445
|
# resp.firewall_rule.status #=> String
|
|
1400
1446
|
# resp.firewall_rule.status_message #=> String
|
|
1401
1447
|
#
|
|
@@ -2063,7 +2109,7 @@ module Aws::Route53Resolver
|
|
|
2063
2109
|
# resp.firewall_domain_list.creation_time #=> String
|
|
2064
2110
|
# resp.firewall_domain_list.modification_time #=> String
|
|
2065
2111
|
# resp.firewall_domain_list.category #=> String
|
|
2066
|
-
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
2112
|
+
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT", "AUTOALLOWLIST"
|
|
2067
2113
|
#
|
|
2068
2114
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallDomainList AWS API Documentation
|
|
2069
2115
|
#
|
|
@@ -2170,6 +2216,9 @@ module Aws::Route53Resolver
|
|
|
2170
2216
|
# resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
2171
2217
|
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
2172
2218
|
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
2219
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
2220
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
2221
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
2173
2222
|
# resp.firewall_rule.status #=> String
|
|
2174
2223
|
# resp.firewall_rule.status_message #=> String
|
|
2175
2224
|
#
|
|
@@ -2683,6 +2732,8 @@ module Aws::Route53Resolver
|
|
|
2683
2732
|
# @return [Types::GetFirewallDomainListResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2684
2733
|
#
|
|
2685
2734
|
# * {Types::GetFirewallDomainListResponse#firewall_domain_list #firewall_domain_list} => Types::FirewallDomainList
|
|
2735
|
+
# * {Types::GetFirewallDomainListResponse#firewall_rule_group_id #firewall_rule_group_id} => String
|
|
2736
|
+
# * {Types::GetFirewallDomainListResponse#firewall_threat_protection_id #firewall_threat_protection_id} => String
|
|
2686
2737
|
#
|
|
2687
2738
|
# @example Request syntax with placeholder values
|
|
2688
2739
|
#
|
|
@@ -2703,7 +2754,9 @@ module Aws::Route53Resolver
|
|
|
2703
2754
|
# resp.firewall_domain_list.creation_time #=> String
|
|
2704
2755
|
# resp.firewall_domain_list.modification_time #=> String
|
|
2705
2756
|
# resp.firewall_domain_list.category #=> String
|
|
2706
|
-
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
2757
|
+
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT", "AUTOALLOWLIST"
|
|
2758
|
+
# resp.firewall_rule_group_id #=> String
|
|
2759
|
+
# resp.firewall_threat_protection_id #=> String
|
|
2707
2760
|
#
|
|
2708
2761
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallDomainList AWS API Documentation
|
|
2709
2762
|
#
|
|
@@ -3214,6 +3267,10 @@ module Aws::Route53Resolver
|
|
|
3214
3267
|
# Imports domain names from a file into a domain list, for use in a DNS
|
|
3215
3268
|
# firewall rule group.
|
|
3216
3269
|
#
|
|
3270
|
+
# You can't import into an AutoAllowlist rule's managed domain list.
|
|
3271
|
+
# To seed such a list, specify `ImportFromFirewallDomainListId` when you
|
|
3272
|
+
# create the rule.
|
|
3273
|
+
#
|
|
3217
3274
|
# Each domain specification in your domain list must satisfy the
|
|
3218
3275
|
# following requirements:
|
|
3219
3276
|
#
|
|
@@ -3378,8 +3435,11 @@ module Aws::Route53Resolver
|
|
|
3378
3435
|
# resp.firewall_domain_lists[0].name #=> String
|
|
3379
3436
|
# resp.firewall_domain_lists[0].creator_request_id #=> String
|
|
3380
3437
|
# resp.firewall_domain_lists[0].managed_owner_name #=> String
|
|
3381
|
-
# resp.firewall_domain_lists[0].managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
3438
|
+
# resp.firewall_domain_lists[0].managed_list_type #=> String, one of "THREAT", "CONTENT", "AUTOALLOWLIST"
|
|
3382
3439
|
# resp.firewall_domain_lists[0].category #=> String
|
|
3440
|
+
# resp.firewall_domain_lists[0].firewall_rule_group_id #=> String
|
|
3441
|
+
# resp.firewall_domain_lists[0].firewall_threat_protection_id #=> String
|
|
3442
|
+
# resp.firewall_domain_lists[0].status #=> String, one of "COMPLETE", "COMPLETE_IMPORT_FAILED", "IMPORTING", "DELETING", "UPDATING"
|
|
3383
3443
|
#
|
|
3384
3444
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomainLists AWS API Documentation
|
|
3385
3445
|
#
|
|
@@ -3447,6 +3507,94 @@ module Aws::Route53Resolver
|
|
|
3447
3507
|
req.send_request(options)
|
|
3448
3508
|
end
|
|
3449
3509
|
|
|
3510
|
+
# Retrieves the domains of an AutoAllowlist firewall rule. Only the
|
|
3511
|
+
# owner of the rule group can call this operation. Results are
|
|
3512
|
+
# paginated. Use `MaxResults` and `NextToken` to retrieve additional
|
|
3513
|
+
# domains.
|
|
3514
|
+
#
|
|
3515
|
+
# Identify the rule by `FirewallThreatProtectionId` to get the domains
|
|
3516
|
+
# that DNS Firewall observed in the VPCs that use the rule group,
|
|
3517
|
+
# through a rule group association or through a Route 53 Profile that
|
|
3518
|
+
# includes the rule group, including VPCs in other accounts. Each domain
|
|
3519
|
+
# is returned with its `DomainStatus` and request counts. Use
|
|
3520
|
+
# `QueryOptions` to filter and sort the results.
|
|
3521
|
+
#
|
|
3522
|
+
# Identify the rule's managed domain list by `FirewallDomainListId` to
|
|
3523
|
+
# get the domains that the rule currently allows. For any other domain
|
|
3524
|
+
# list, use ListFirewallDomains.
|
|
3525
|
+
#
|
|
3526
|
+
# @option params [required, String] :firewall_rule_group_id
|
|
3527
|
+
# The unique identifier of the firewall rule group that contains the
|
|
3528
|
+
# rule.
|
|
3529
|
+
#
|
|
3530
|
+
# @option params [String] :firewall_threat_protection_id
|
|
3531
|
+
# The threat protection ID that identifies an AutoAllowlist rule.
|
|
3532
|
+
# Provide this to list an AutoAllowlist rule's domains.
|
|
3533
|
+
#
|
|
3534
|
+
# @option params [String] :firewall_domain_list_id
|
|
3535
|
+
# The ID of the AutoAllowlist rule's managed domain list. Provide this
|
|
3536
|
+
# to list the domains that the rule currently allows.
|
|
3537
|
+
#
|
|
3538
|
+
# @option params [Types::ListFirewallRuleDomainsQueryOptions] :query_options
|
|
3539
|
+
# Optional filters and sort order for the returned domains. If you
|
|
3540
|
+
# don't specify this, the operation returns the `OBSERVED` domains
|
|
3541
|
+
# sorted by `TIME_ADDED` in descending order. See
|
|
3542
|
+
# ListFirewallRuleDomainsQueryOptions.
|
|
3543
|
+
#
|
|
3544
|
+
# @option params [Integer] :max_results
|
|
3545
|
+
# The maximum number of domains that you want to return in a single
|
|
3546
|
+
# call. If more domains remain than can be returned, the response
|
|
3547
|
+
# includes a `NextToken` value that you can use in a subsequent call to
|
|
3548
|
+
# get the next batch. The default is 100.
|
|
3549
|
+
#
|
|
3550
|
+
# @option params [String] :next_token
|
|
3551
|
+
# For the first call to this operation, omit this value. If more domains
|
|
3552
|
+
# remain than can be returned in a single call, the response includes a
|
|
3553
|
+
# `NextToken` value. In your next call, specify that value to get the
|
|
3554
|
+
# next batch of domains.
|
|
3555
|
+
#
|
|
3556
|
+
# @return [Types::ListFirewallRuleDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3557
|
+
#
|
|
3558
|
+
# * {Types::ListFirewallRuleDomainsResponse#domains #domains} => Array<Types::FirewallRuleDomain>
|
|
3559
|
+
# * {Types::ListFirewallRuleDomainsResponse#next_token #next_token} => String
|
|
3560
|
+
#
|
|
3561
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3562
|
+
#
|
|
3563
|
+
# @example Request syntax with placeholder values
|
|
3564
|
+
#
|
|
3565
|
+
# resp = client.list_firewall_rule_domains({
|
|
3566
|
+
# firewall_rule_group_id: "ResourceId", # required
|
|
3567
|
+
# firewall_threat_protection_id: "ResourceId",
|
|
3568
|
+
# firewall_domain_list_id: "ResourceId",
|
|
3569
|
+
# query_options: {
|
|
3570
|
+
# domain_status: "OBSERVED", # accepts OBSERVED, ALLOWED, DENIED
|
|
3571
|
+
# sort_by: "TIME_ADDED", # accepts TIME_ADDED, DAILY_TOTAL, TOTAL_REQUESTS
|
|
3572
|
+
# sort_order: "ASC", # accepts ASC, DESC
|
|
3573
|
+
# domain_name_filter: "FirewallDomainName",
|
|
3574
|
+
# },
|
|
3575
|
+
# max_results: 1,
|
|
3576
|
+
# next_token: "NextToken",
|
|
3577
|
+
# })
|
|
3578
|
+
#
|
|
3579
|
+
# @example Response structure
|
|
3580
|
+
#
|
|
3581
|
+
# resp.domains #=> Array
|
|
3582
|
+
# resp.domains[0].domain_name #=> String
|
|
3583
|
+
# resp.domains[0].domain_status #=> String, one of "OBSERVED", "ALLOWED", "DENIED", "UNKNOWN"
|
|
3584
|
+
# resp.domains[0].last_24_hour_requests #=> Integer
|
|
3585
|
+
# resp.domains[0].total_requests #=> Integer
|
|
3586
|
+
# resp.domains[0].added_time #=> String
|
|
3587
|
+
# resp.next_token #=> String
|
|
3588
|
+
#
|
|
3589
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleDomains AWS API Documentation
|
|
3590
|
+
#
|
|
3591
|
+
# @overload list_firewall_rule_domains(params = {})
|
|
3592
|
+
# @param [Hash] params ({})
|
|
3593
|
+
def list_firewall_rule_domains(params = {}, options = {})
|
|
3594
|
+
req = build_request(:list_firewall_rule_domains, params)
|
|
3595
|
+
req.send_request(options)
|
|
3596
|
+
end
|
|
3597
|
+
|
|
3450
3598
|
# Retrieves the firewall rule group associations that you have defined.
|
|
3451
3599
|
# Each association enables DNS filtering for a VPC with one rule group.
|
|
3452
3600
|
#
|
|
@@ -3612,6 +3760,9 @@ module Aws::Route53Resolver
|
|
|
3612
3760
|
# is fully managed by Amazon Web Services and requires no separate
|
|
3613
3761
|
# subscription.
|
|
3614
3762
|
#
|
|
3763
|
+
# This operation doesn't return the `AutoAllowlist` variant. Configure
|
|
3764
|
+
# an AutoAllowlist rule with AutoAllowlistConfig.
|
|
3765
|
+
#
|
|
3615
3766
|
# @option params [String] :rule_type
|
|
3616
3767
|
# An optional filter that restricts the response to a single
|
|
3617
3768
|
# FirewallRuleType variant. Supported values:
|
|
@@ -3676,8 +3827,8 @@ module Aws::Route53Resolver
|
|
|
3676
3827
|
# information, see `MaxResults`.
|
|
3677
3828
|
#
|
|
3678
3829
|
# For rules that require asynchronous provisioning, the response
|
|
3679
|
-
# includes `Status` (see
|
|
3680
|
-
#
|
|
3830
|
+
# includes `Status` (see FirewallRule) and, on failure, `StatusMessage`
|
|
3831
|
+
# with the reason.
|
|
3681
3832
|
#
|
|
3682
3833
|
# @option params [required, String] :firewall_rule_group_id
|
|
3683
3834
|
# The unique identifier of the firewall rule group that you want to
|
|
@@ -3768,6 +3919,9 @@ module Aws::Route53Resolver
|
|
|
3768
3919
|
# resp.firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
3769
3920
|
# resp.firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
3770
3921
|
# resp.firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
3922
|
+
# resp.firewall_rules[0].firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
3923
|
+
# resp.firewall_rules[0].firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
3924
|
+
# resp.firewall_rules[0].firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
3771
3925
|
# resp.firewall_rules[0].status #=> String
|
|
3772
3926
|
# resp.firewall_rules[0].status_message #=> String
|
|
3773
3927
|
#
|
|
@@ -4877,6 +5031,23 @@ module Aws::Route53Resolver
|
|
|
4877
5031
|
# Updates the firewall domain list from an array of domain
|
|
4878
5032
|
# specifications.
|
|
4879
5033
|
#
|
|
5034
|
+
# For an AutoAllowlist rule's managed domain list, use `ADD` to approve
|
|
5035
|
+
# observed domains, `REMOVE` to stop allowing domains, unless a wildcard
|
|
5036
|
+
# entry that's still on the list matches them, and `DENY` to dismiss
|
|
5037
|
+
# observed domains. `REPLACE` and ImportFirewallDomains aren't
|
|
5038
|
+
# supported for these lists.
|
|
5039
|
+
#
|
|
5040
|
+
# DNS Firewall throttles `UpdateFirewallDomains` requests based on both
|
|
5041
|
+
# the request rate and the total number of domains across your requests.
|
|
5042
|
+
#
|
|
5043
|
+
# **Best Practice for Updating Domain Lists**
|
|
5044
|
+
#
|
|
5045
|
+
# If you only need to modify a subset of domains, use the `ADD` or
|
|
5046
|
+
# `REMOVE` operations instead of `REPLACE`. With `REPLACE`, you send the
|
|
5047
|
+
# complete list you want to end up with, and throttling counts every
|
|
5048
|
+
# domain in that request, including domains that aren't changing, which
|
|
5049
|
+
# can use up your available throttling capacity.
|
|
5050
|
+
#
|
|
4880
5051
|
# @option params [required, String] :firewall_domain_list_id
|
|
4881
5052
|
# The ID of the domain list whose domains you want to update.
|
|
4882
5053
|
#
|
|
@@ -4885,13 +5056,23 @@ module Aws::Route53Resolver
|
|
|
4885
5056
|
# providing:
|
|
4886
5057
|
#
|
|
4887
5058
|
# * `ADD` - Add the domains to the ones that are already in the domain
|
|
4888
|
-
# list.
|
|
5059
|
+
# list. For an AutoAllowlist rule's managed domain list, this also
|
|
5060
|
+
# marks the observed domains as allowed.
|
|
4889
5061
|
#
|
|
4890
5062
|
# * `REMOVE` - Search the domain list for the domains and remove them
|
|
4891
|
-
# from the list.
|
|
5063
|
+
# from the list. For an AutoAllowlist rule's managed domain list, the
|
|
5064
|
+
# rule no longer allows the removed domains, unless a wildcard entry
|
|
5065
|
+
# that's still on the list matches them.
|
|
4892
5066
|
#
|
|
4893
5067
|
# * `REPLACE` - Update the domain list to exactly match the list that
|
|
4894
|
-
# you are providing.
|
|
5068
|
+
# you are providing. Not supported for an AutoAllowlist rule's
|
|
5069
|
+
# managed domain list.
|
|
5070
|
+
#
|
|
5071
|
+
# * `DENY` - For an AutoAllowlist rule's managed domain list only, mark
|
|
5072
|
+
# the specified observed domains as denied so that they're no longer
|
|
5073
|
+
# listed for review. If a domain is on the managed domain list, `DENY`
|
|
5074
|
+
# also removes it from the list. Specify fully qualified domain names.
|
|
5075
|
+
# Wildcards aren't accepted.
|
|
4895
5076
|
#
|
|
4896
5077
|
# @option params [required, Array<String>] :domains
|
|
4897
5078
|
# A list of domains to use in the update operation.
|
|
@@ -4919,7 +5100,7 @@ module Aws::Route53Resolver
|
|
|
4919
5100
|
#
|
|
4920
5101
|
# resp = client.update_firewall_domains({
|
|
4921
5102
|
# firewall_domain_list_id: "ResourceId", # required
|
|
4922
|
-
# operation: "ADD", # required, accepts ADD, REMOVE, REPLACE
|
|
5103
|
+
# operation: "ADD", # required, accepts ADD, REMOVE, REPLACE, DENY
|
|
4923
5104
|
# domains: ["FirewallDomainName"], # required
|
|
4924
5105
|
# })
|
|
4925
5106
|
#
|
|
@@ -5021,6 +5202,9 @@ module Aws::Route53Resolver
|
|
|
5021
5202
|
# redirection chain. You don't need to add the subsequent domains in
|
|
5022
5203
|
# the domain in the redirection list to the domain list.
|
|
5023
5204
|
#
|
|
5205
|
+
# You can't set this value on an AutoAllowlist rule, which always
|
|
5206
|
+
# inspects the redirection chain.
|
|
5207
|
+
#
|
|
5024
5208
|
# @option params [String] :qtype
|
|
5025
5209
|
# The DNS query type you want the rule to evaluate. Allowed values are;
|
|
5026
5210
|
#
|
|
@@ -5063,6 +5247,9 @@ module Aws::Route53Resolver
|
|
|
5063
5247
|
#
|
|
5064
5248
|
# </note>
|
|
5065
5249
|
#
|
|
5250
|
+
# You can't set `Qtype` on an AutoAllowlist rule, because the rule
|
|
5251
|
+
# applies to all query types.
|
|
5252
|
+
#
|
|
5066
5253
|
#
|
|
5067
5254
|
#
|
|
5068
5255
|
# [1]: https://en.wikipedia.org/wiki/List_of_DNS_record_types
|
|
@@ -5120,7 +5307,13 @@ module Aws::Route53Resolver
|
|
|
5120
5307
|
# partner must be an active subscription on the calling account.
|
|
5121
5308
|
#
|
|
5122
5309
|
# To enumerate the values supported in your account, call
|
|
5123
|
-
# ListFirewallRuleTypes.
|
|
5310
|
+
# ListFirewallRuleTypes. It doesn't return `AutoAllowlist`.
|
|
5311
|
+
#
|
|
5312
|
+
# You can't specify `FirewallRuleType` when you update an AutoAllowlist
|
|
5313
|
+
# rule, even with its current values. `InitialDataTimeframeHours` and
|
|
5314
|
+
# `ImportFromFirewallDomainListId` can't be changed. To change them,
|
|
5315
|
+
# delete the rule and create a new one. Deleting an AutoAllowlist rule
|
|
5316
|
+
# also deletes its managed domain list and the domains that you allowed.
|
|
5124
5317
|
#
|
|
5125
5318
|
# @return [Types::UpdateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5126
5319
|
#
|
|
@@ -5157,6 +5350,11 @@ module Aws::Route53Resolver
|
|
|
5157
5350
|
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
5158
5351
|
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
5159
5352
|
# },
|
|
5353
|
+
# auto_allowlist: {
|
|
5354
|
+
# initial_data_timeframe_hours: 1, # required
|
|
5355
|
+
# import_from_firewall_domain_list_id: "ResourceId",
|
|
5356
|
+
# auto_allowlist_firewall_domain_list_id: "ResourceId",
|
|
5357
|
+
# },
|
|
5160
5358
|
# },
|
|
5161
5359
|
# })
|
|
5162
5360
|
#
|
|
@@ -5184,6 +5382,9 @@ module Aws::Route53Resolver
|
|
|
5184
5382
|
# resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
5185
5383
|
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
5186
5384
|
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
5385
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.initial_data_timeframe_hours #=> Integer
|
|
5386
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.import_from_firewall_domain_list_id #=> String
|
|
5387
|
+
# resp.firewall_rule.firewall_rule_type.auto_allowlist.auto_allowlist_firewall_domain_list_id #=> String
|
|
5187
5388
|
# resp.firewall_rule.status #=> String
|
|
5188
5389
|
# resp.firewall_rule.status_message #=> String
|
|
5189
5390
|
#
|
|
@@ -5672,7 +5873,7 @@ module Aws::Route53Resolver
|
|
|
5672
5873
|
tracer: tracer
|
|
5673
5874
|
)
|
|
5674
5875
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
|
5675
|
-
context[:gem_version] = '1.
|
|
5876
|
+
context[:gem_version] = '1.118.0'
|
|
5676
5877
|
Seahorse::Client::Request.new(handlers, context)
|
|
5677
5878
|
end
|
|
5678
5879
|
|