aws-sdk-route53resolver 1.99.0 → 1.100.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a9d18c891fc8b3c3c0f056eb53b36c3b005cea20d0d3aa5df5816ef19d695ca
4
- data.tar.gz: 41a63a3fdadaafeffe001682b3982fd7b91e001c836f4ba4b0245d36ecd6420e
3
+ metadata.gz: efd6430dbae6c2ba036f0a1bc4338544e840d4fdc2e9659755deca283b2b8cf3
4
+ data.tar.gz: 3d4649de55d4e6136fa98a7de1a2d6794cb66ff4027537816937dad3b82b3b19
5
5
  SHA512:
6
- metadata.gz: c706200699ce2b2cae784dbeb336ba962e908855f32dd032a4a86678be4468b6dabe1d529850f111686707b815af32897ef39fb7f5777bbba870f9f47790afd2
7
- data.tar.gz: fe522f728fd979e16bb7bd6f49180786cb04a37d56dc7e0fa93c98649d3610f667654f8c614680910765524c4a215dab84dd8970d934b4645bbea4b2f8e61b38
6
+ metadata.gz: c035131029f92c2ab3f356e45a6eea11c716c54ce4399e07614bb2b944dd0b67086ecf0ee8b32fbd52712f048023def461e3e9aae40db970eac93c3c5a8d5132
7
+ data.tar.gz: 5dedd76c17cb7045fe41cbbc1426ae6347a4763d8692faa36738b931dd375fcbeaa33388e541b43ebca3c5a342c7974e2cd708a6d85d6766124bd1ced3f7b800
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.100.0 (2026-05-29)
5
+ ------------------
6
+
7
+ * Feature - Added BatchCreateFirewallRule, BatchUpdateFirewallRule, BatchDeleteFirewallRule, and ListFirewallRuleTypes APIs. Added FirewallRuleType support to Firewall Rule APIs.
8
+
4
9
  1.99.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.99.0
1
+ 1.100.0
@@ -764,6 +764,270 @@ module Aws::Route53Resolver
764
764
  req.send_request(options)
765
765
  end
766
766
 
767
+ # Creates multiple DNS Firewall rules in the specified rule group.
768
+ #
769
+ # @option params [required, Array<Types::CreateFirewallRuleEntry>] :create_firewall_rule_entries
770
+ # The list of firewall rules to create.
771
+ #
772
+ # @return [Types::BatchCreateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
773
+ #
774
+ # * {Types::BatchCreateFirewallRuleResponse#created_firewall_rules #created_firewall_rules} => Array&lt;Types::FirewallRule&gt;
775
+ # * {Types::BatchCreateFirewallRuleResponse#create_errors #create_errors} => Array&lt;Types::BatchCreateFirewallRuleError&gt;
776
+ #
777
+ # @example Request syntax with placeholder values
778
+ #
779
+ # resp = client.batch_create_firewall_rule({
780
+ # create_firewall_rule_entries: [ # required
781
+ # {
782
+ # creator_request_id: "CreatorRequestId", # required
783
+ # firewall_rule_group_id: "ResourceId", # required
784
+ # firewall_domain_list_id: "ResourceId",
785
+ # priority: 1, # required
786
+ # action: "ALLOW", # required, accepts ALLOW, BLOCK, ALERT
787
+ # block_response: "NODATA", # accepts NODATA, NXDOMAIN, OVERRIDE
788
+ # block_override_domain: "BlockOverrideDomain",
789
+ # block_override_dns_type: "CNAME", # accepts CNAME
790
+ # block_override_ttl: 1,
791
+ # name: "Name", # required
792
+ # firewall_domain_redirection_action: "INSPECT_REDIRECTION_DOMAIN", # accepts INSPECT_REDIRECTION_DOMAIN, TRUST_REDIRECTION_DOMAIN
793
+ # qtype: "Qtype",
794
+ # dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
795
+ # confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
796
+ # firewall_rule_type: {
797
+ # firewall_advanced_content_category: {
798
+ # category: "FirewallAdvancedContentCategoryValue", # required
799
+ # },
800
+ # firewall_advanced_threat_category: {
801
+ # category: "FirewallAdvancedThreatCategoryValue", # required
802
+ # },
803
+ # dns_threat_protection: {
804
+ # value: "DnsThreatProtectionRuleTypeValue", # required
805
+ # confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
806
+ # },
807
+ # },
808
+ # },
809
+ # ],
810
+ # })
811
+ #
812
+ # @example Response structure
813
+ #
814
+ # resp.created_firewall_rules #=> Array
815
+ # resp.created_firewall_rules[0].firewall_rule_group_id #=> String
816
+ # resp.created_firewall_rules[0].firewall_domain_list_id #=> String
817
+ # resp.created_firewall_rules[0].firewall_threat_protection_id #=> String
818
+ # resp.created_firewall_rules[0].name #=> String
819
+ # resp.created_firewall_rules[0].priority #=> Integer
820
+ # resp.created_firewall_rules[0].action #=> String, one of "ALLOW", "BLOCK", "ALERT"
821
+ # resp.created_firewall_rules[0].block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
822
+ # resp.created_firewall_rules[0].block_override_domain #=> String
823
+ # resp.created_firewall_rules[0].block_override_dns_type #=> String, one of "CNAME"
824
+ # resp.created_firewall_rules[0].block_override_ttl #=> Integer
825
+ # resp.created_firewall_rules[0].creator_request_id #=> String
826
+ # resp.created_firewall_rules[0].creation_time #=> String
827
+ # resp.created_firewall_rules[0].modification_time #=> String
828
+ # resp.created_firewall_rules[0].firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
829
+ # resp.created_firewall_rules[0].qtype #=> String
830
+ # resp.created_firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
831
+ # resp.created_firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
832
+ # resp.created_firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
833
+ # resp.created_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
834
+ # resp.created_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
835
+ # resp.created_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
836
+ # resp.create_errors #=> Array
837
+ # resp.create_errors[0].firewall_rule.creator_request_id #=> String
838
+ # resp.create_errors[0].firewall_rule.firewall_rule_group_id #=> String
839
+ # resp.create_errors[0].firewall_rule.firewall_domain_list_id #=> String
840
+ # resp.create_errors[0].firewall_rule.priority #=> Integer
841
+ # resp.create_errors[0].firewall_rule.action #=> String, one of "ALLOW", "BLOCK", "ALERT"
842
+ # resp.create_errors[0].firewall_rule.block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
843
+ # resp.create_errors[0].firewall_rule.block_override_domain #=> String
844
+ # resp.create_errors[0].firewall_rule.block_override_dns_type #=> String, one of "CNAME"
845
+ # resp.create_errors[0].firewall_rule.block_override_ttl #=> Integer
846
+ # resp.create_errors[0].firewall_rule.name #=> String
847
+ # resp.create_errors[0].firewall_rule.firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
848
+ # resp.create_errors[0].firewall_rule.qtype #=> String
849
+ # resp.create_errors[0].firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
850
+ # resp.create_errors[0].firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
851
+ # resp.create_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
852
+ # resp.create_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
853
+ # resp.create_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
854
+ # resp.create_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
855
+ # resp.create_errors[0].code #=> String
856
+ # resp.create_errors[0].message #=> String
857
+ #
858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/BatchCreateFirewallRule AWS API Documentation
859
+ #
860
+ # @overload batch_create_firewall_rule(params = {})
861
+ # @param [Hash] params ({})
862
+ def batch_create_firewall_rule(params = {}, options = {})
863
+ req = build_request(:batch_create_firewall_rule, params)
864
+ req.send_request(options)
865
+ end
866
+
867
+ # Deletes multiple DNS Firewall rules from the specified rule group.
868
+ #
869
+ # @option params [required, Array<Types::DeleteFirewallRuleEntry>] :delete_firewall_rule_entries
870
+ # The list of firewall rules to delete.
871
+ #
872
+ # @return [Types::BatchDeleteFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
873
+ #
874
+ # * {Types::BatchDeleteFirewallRuleResponse#deleted_firewall_rules #deleted_firewall_rules} => Array&lt;Types::FirewallRule&gt;
875
+ # * {Types::BatchDeleteFirewallRuleResponse#delete_errors #delete_errors} => Array&lt;Types::BatchDeleteFirewallRuleError&gt;
876
+ #
877
+ # @example Request syntax with placeholder values
878
+ #
879
+ # resp = client.batch_delete_firewall_rule({
880
+ # delete_firewall_rule_entries: [ # required
881
+ # {
882
+ # firewall_rule_group_id: "ResourceId", # required
883
+ # firewall_domain_list_id: "ResourceId",
884
+ # firewall_threat_protection_id: "ResourceId",
885
+ # qtype: "Qtype",
886
+ # },
887
+ # ],
888
+ # })
889
+ #
890
+ # @example Response structure
891
+ #
892
+ # resp.deleted_firewall_rules #=> Array
893
+ # resp.deleted_firewall_rules[0].firewall_rule_group_id #=> String
894
+ # resp.deleted_firewall_rules[0].firewall_domain_list_id #=> String
895
+ # resp.deleted_firewall_rules[0].firewall_threat_protection_id #=> String
896
+ # resp.deleted_firewall_rules[0].name #=> String
897
+ # resp.deleted_firewall_rules[0].priority #=> Integer
898
+ # resp.deleted_firewall_rules[0].action #=> String, one of "ALLOW", "BLOCK", "ALERT"
899
+ # resp.deleted_firewall_rules[0].block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
900
+ # resp.deleted_firewall_rules[0].block_override_domain #=> String
901
+ # resp.deleted_firewall_rules[0].block_override_dns_type #=> String, one of "CNAME"
902
+ # resp.deleted_firewall_rules[0].block_override_ttl #=> Integer
903
+ # resp.deleted_firewall_rules[0].creator_request_id #=> String
904
+ # resp.deleted_firewall_rules[0].creation_time #=> String
905
+ # resp.deleted_firewall_rules[0].modification_time #=> String
906
+ # resp.deleted_firewall_rules[0].firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
907
+ # resp.deleted_firewall_rules[0].qtype #=> String
908
+ # resp.deleted_firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
909
+ # resp.deleted_firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
910
+ # resp.deleted_firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
911
+ # resp.deleted_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
912
+ # resp.deleted_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
913
+ # resp.deleted_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
914
+ # resp.delete_errors #=> Array
915
+ # resp.delete_errors[0].firewall_rule.firewall_rule_group_id #=> String
916
+ # resp.delete_errors[0].firewall_rule.firewall_domain_list_id #=> String
917
+ # resp.delete_errors[0].firewall_rule.firewall_threat_protection_id #=> String
918
+ # resp.delete_errors[0].firewall_rule.qtype #=> String
919
+ # resp.delete_errors[0].code #=> String
920
+ # resp.delete_errors[0].message #=> String
921
+ #
922
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/BatchDeleteFirewallRule AWS API Documentation
923
+ #
924
+ # @overload batch_delete_firewall_rule(params = {})
925
+ # @param [Hash] params ({})
926
+ def batch_delete_firewall_rule(params = {}, options = {})
927
+ req = build_request(:batch_delete_firewall_rule, params)
928
+ req.send_request(options)
929
+ end
930
+
931
+ # Updates multiple DNS Firewall rules in the specified rule group.
932
+ #
933
+ # @option params [required, Array<Types::UpdateFirewallRuleEntry>] :update_firewall_rule_entries
934
+ # The list of firewall rules to update.
935
+ #
936
+ # @return [Types::BatchUpdateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
937
+ #
938
+ # * {Types::BatchUpdateFirewallRuleResponse#updated_firewall_rules #updated_firewall_rules} => Array&lt;Types::FirewallRule&gt;
939
+ # * {Types::BatchUpdateFirewallRuleResponse#update_errors #update_errors} => Array&lt;Types::BatchUpdateFirewallRuleError&gt;
940
+ #
941
+ # @example Request syntax with placeholder values
942
+ #
943
+ # resp = client.batch_update_firewall_rule({
944
+ # update_firewall_rule_entries: [ # required
945
+ # {
946
+ # firewall_rule_group_id: "ResourceId", # required
947
+ # firewall_domain_list_id: "ResourceId",
948
+ # firewall_threat_protection_id: "ResourceId",
949
+ # priority: 1,
950
+ # action: "ALLOW", # accepts ALLOW, BLOCK, ALERT
951
+ # block_response: "NODATA", # accepts NODATA, NXDOMAIN, OVERRIDE
952
+ # block_override_domain: "BlockOverrideDomain",
953
+ # block_override_dns_type: "CNAME", # accepts CNAME
954
+ # block_override_ttl: 1,
955
+ # name: "Name",
956
+ # firewall_domain_redirection_action: "INSPECT_REDIRECTION_DOMAIN", # accepts INSPECT_REDIRECTION_DOMAIN, TRUST_REDIRECTION_DOMAIN
957
+ # qtype: "Qtype",
958
+ # dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
959
+ # confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
960
+ # firewall_rule_type: {
961
+ # firewall_advanced_content_category: {
962
+ # category: "FirewallAdvancedContentCategoryValue", # required
963
+ # },
964
+ # firewall_advanced_threat_category: {
965
+ # category: "FirewallAdvancedThreatCategoryValue", # required
966
+ # },
967
+ # dns_threat_protection: {
968
+ # value: "DnsThreatProtectionRuleTypeValue", # required
969
+ # confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
970
+ # },
971
+ # },
972
+ # },
973
+ # ],
974
+ # })
975
+ #
976
+ # @example Response structure
977
+ #
978
+ # resp.updated_firewall_rules #=> Array
979
+ # resp.updated_firewall_rules[0].firewall_rule_group_id #=> String
980
+ # resp.updated_firewall_rules[0].firewall_domain_list_id #=> String
981
+ # resp.updated_firewall_rules[0].firewall_threat_protection_id #=> String
982
+ # resp.updated_firewall_rules[0].name #=> String
983
+ # resp.updated_firewall_rules[0].priority #=> Integer
984
+ # resp.updated_firewall_rules[0].action #=> String, one of "ALLOW", "BLOCK", "ALERT"
985
+ # resp.updated_firewall_rules[0].block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
986
+ # resp.updated_firewall_rules[0].block_override_domain #=> String
987
+ # resp.updated_firewall_rules[0].block_override_dns_type #=> String, one of "CNAME"
988
+ # resp.updated_firewall_rules[0].block_override_ttl #=> Integer
989
+ # resp.updated_firewall_rules[0].creator_request_id #=> String
990
+ # resp.updated_firewall_rules[0].creation_time #=> String
991
+ # resp.updated_firewall_rules[0].modification_time #=> String
992
+ # resp.updated_firewall_rules[0].firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
993
+ # resp.updated_firewall_rules[0].qtype #=> String
994
+ # resp.updated_firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
995
+ # resp.updated_firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
996
+ # resp.updated_firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
997
+ # resp.updated_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
998
+ # resp.updated_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
999
+ # resp.updated_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
1000
+ # resp.update_errors #=> Array
1001
+ # resp.update_errors[0].firewall_rule.firewall_rule_group_id #=> String
1002
+ # resp.update_errors[0].firewall_rule.firewall_domain_list_id #=> String
1003
+ # resp.update_errors[0].firewall_rule.firewall_threat_protection_id #=> String
1004
+ # resp.update_errors[0].firewall_rule.priority #=> Integer
1005
+ # resp.update_errors[0].firewall_rule.action #=> String, one of "ALLOW", "BLOCK", "ALERT"
1006
+ # resp.update_errors[0].firewall_rule.block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
1007
+ # resp.update_errors[0].firewall_rule.block_override_domain #=> String
1008
+ # resp.update_errors[0].firewall_rule.block_override_dns_type #=> String, one of "CNAME"
1009
+ # resp.update_errors[0].firewall_rule.block_override_ttl #=> Integer
1010
+ # resp.update_errors[0].firewall_rule.name #=> String
1011
+ # resp.update_errors[0].firewall_rule.firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
1012
+ # resp.update_errors[0].firewall_rule.qtype #=> String
1013
+ # resp.update_errors[0].firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
1014
+ # resp.update_errors[0].firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
1015
+ # resp.update_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
1016
+ # resp.update_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
1017
+ # resp.update_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
1018
+ # resp.update_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
1019
+ # resp.update_errors[0].code #=> String
1020
+ # resp.update_errors[0].message #=> String
1021
+ #
1022
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/BatchUpdateFirewallRule AWS API Documentation
1023
+ #
1024
+ # @overload batch_update_firewall_rule(params = {})
1025
+ # @param [Hash] params ({})
1026
+ def batch_update_firewall_rule(params = {}, options = {})
1027
+ req = build_request(:batch_update_firewall_rule, params)
1028
+ req.send_request(options)
1029
+ end
1030
+
767
1031
  # Creates an empty firewall domain list for use in DNS Firewall rules.
768
1032
  # You can populate the domains for the new list with a file, using
769
1033
  # ImportFirewallDomains, or with domain strings, using
@@ -814,6 +1078,8 @@ module Aws::Route53Resolver
814
1078
  # resp.firewall_domain_list.creator_request_id #=> String
815
1079
  # resp.firewall_domain_list.creation_time #=> String
816
1080
  # resp.firewall_domain_list.modification_time #=> String
1081
+ # resp.firewall_domain_list.category #=> String
1082
+ # resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
817
1083
  #
818
1084
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallDomainList AWS API Documentation
819
1085
  #
@@ -952,7 +1218,7 @@ module Aws::Route53Resolver
952
1218
  #
953
1219
  # * A query type you define by using the DNS type ID, for example 28 for
954
1220
  # AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
955
- # be 1-65334, for example, TYPE28. For more information, see [List of
1221
+ # be 1-65534, for example, TYPE28. For more information, see [List of
956
1222
  # DNS record types][1].
957
1223
  #
958
1224
  #
@@ -976,6 +1242,11 @@ module Aws::Route53Resolver
976
1242
  # * `HIGH`: Detects only the most well corroborated threats with a low
977
1243
  # rate of false positives.
978
1244
  #
1245
+ # @option params [Types::FirewallRuleType] :firewall_rule_type
1246
+ # The rule type configuration for the firewall rule. This setting is
1247
+ # mutually exclusive with the top-level `FirewallDomainListId` and
1248
+ # `DnsThreatProtection` fields.
1249
+ #
979
1250
  # @return [Types::CreateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
980
1251
  #
981
1252
  # * {Types::CreateFirewallRuleResponse#firewall_rule #firewall_rule} => Types::FirewallRule
@@ -997,6 +1268,18 @@ module Aws::Route53Resolver
997
1268
  # qtype: "Qtype",
998
1269
  # dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
999
1270
  # confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
1271
+ # firewall_rule_type: {
1272
+ # firewall_advanced_content_category: {
1273
+ # category: "FirewallAdvancedContentCategoryValue", # required
1274
+ # },
1275
+ # firewall_advanced_threat_category: {
1276
+ # category: "FirewallAdvancedThreatCategoryValue", # required
1277
+ # },
1278
+ # dns_threat_protection: {
1279
+ # value: "DnsThreatProtectionRuleTypeValue", # required
1280
+ # confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
1281
+ # },
1282
+ # },
1000
1283
  # })
1001
1284
  #
1002
1285
  # @example Response structure
@@ -1018,6 +1301,10 @@ module Aws::Route53Resolver
1018
1301
  # resp.firewall_rule.qtype #=> String
1019
1302
  # resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
1020
1303
  # resp.firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
1304
+ # resp.firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
1305
+ # resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
1306
+ # resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
1307
+ # resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
1021
1308
  #
1022
1309
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRule AWS API Documentation
1023
1310
  #
@@ -1654,6 +1941,8 @@ module Aws::Route53Resolver
1654
1941
  # resp.firewall_domain_list.creator_request_id #=> String
1655
1942
  # resp.firewall_domain_list.creation_time #=> String
1656
1943
  # resp.firewall_domain_list.modification_time #=> String
1944
+ # resp.firewall_domain_list.category #=> String
1945
+ # resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
1657
1946
  #
1658
1947
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallDomainList AWS API Documentation
1659
1948
  #
@@ -1710,7 +1999,7 @@ module Aws::Route53Resolver
1710
1999
  #
1711
2000
  # * A query type you define by using the DNS type ID, for example 28 for
1712
2001
  # AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
1713
- # be 1-65334, for example, TYPE28. For more information, see [List of
2002
+ # be 1-65534, for example, TYPE28. For more information, see [List of
1714
2003
  # DNS record types][1].
1715
2004
  #
1716
2005
  #
@@ -1749,6 +2038,10 @@ module Aws::Route53Resolver
1749
2038
  # resp.firewall_rule.qtype #=> String
1750
2039
  # resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
1751
2040
  # resp.firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
2041
+ # resp.firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
2042
+ # resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
2043
+ # resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
2044
+ # resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
1752
2045
  #
1753
2046
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRule AWS API Documentation
1754
2047
  #
@@ -2271,6 +2564,8 @@ module Aws::Route53Resolver
2271
2564
  # resp.firewall_domain_list.creator_request_id #=> String
2272
2565
  # resp.firewall_domain_list.creation_time #=> String
2273
2566
  # resp.firewall_domain_list.modification_time #=> String
2567
+ # resp.firewall_domain_list.category #=> String
2568
+ # resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
2274
2569
  #
2275
2570
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallDomainList AWS API Documentation
2276
2571
  #
@@ -2945,6 +3240,8 @@ module Aws::Route53Resolver
2945
3240
  # resp.firewall_domain_lists[0].name #=> String
2946
3241
  # resp.firewall_domain_lists[0].creator_request_id #=> String
2947
3242
  # resp.firewall_domain_lists[0].managed_owner_name #=> String
3243
+ # resp.firewall_domain_lists[0].managed_list_type #=> String, one of "THREAT", "CONTENT"
3244
+ # resp.firewall_domain_lists[0].category #=> String
2948
3245
  #
2949
3246
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomainLists AWS API Documentation
2950
3247
  #
@@ -3160,6 +3457,60 @@ module Aws::Route53Resolver
3160
3457
  req.send_request(options)
3161
3458
  end
3162
3459
 
3460
+ # Retrieves the available rule types that can be used in DNS Firewall
3461
+ # rules.
3462
+ #
3463
+ # @option params [String] :rule_type
3464
+ # The rule type to filter by. If specified, only rule types matching
3465
+ # this value are returned.
3466
+ #
3467
+ # @option params [Integer] :max_results
3468
+ # The maximum number of objects that you want Resolver to return for
3469
+ # this request. If more objects are available, in the response, Resolver
3470
+ # provides a `NextToken` value that you can use in a subsequent call to
3471
+ # get the next batch of objects.
3472
+ #
3473
+ # @option params [String] :next_token
3474
+ # For the first call to this list request, omit this value. When you
3475
+ # request a list of objects, Resolver returns at most the number of
3476
+ # objects specified in `MaxResults`. If more objects are available for
3477
+ # retrieval, Resolver provides a `NextToken` value in the response. To
3478
+ # retrieve the next batch of objects, use the token that was returned
3479
+ # for the prior request in your next request.
3480
+ #
3481
+ # @return [Types::ListFirewallRuleTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3482
+ #
3483
+ # * {Types::ListFirewallRuleTypesResponse#firewall_rule_types #firewall_rule_types} => Array&lt;Types::FirewallRuleTypeDefinition&gt;
3484
+ # * {Types::ListFirewallRuleTypesResponse#next_token #next_token} => String
3485
+ #
3486
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3487
+ #
3488
+ # @example Request syntax with placeholder values
3489
+ #
3490
+ # resp = client.list_firewall_rule_types({
3491
+ # rule_type: "RuleTypeName",
3492
+ # max_results: 1,
3493
+ # next_token: "NextToken",
3494
+ # })
3495
+ #
3496
+ # @example Response structure
3497
+ #
3498
+ # resp.firewall_rule_types #=> Array
3499
+ # resp.firewall_rule_types[0].rule_type #=> String
3500
+ # resp.firewall_rule_types[0].value #=> String
3501
+ # resp.firewall_rule_types[0].display_name #=> String
3502
+ # resp.firewall_rule_types[0].description #=> String
3503
+ # resp.next_token #=> String
3504
+ #
3505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleTypes AWS API Documentation
3506
+ #
3507
+ # @overload list_firewall_rule_types(params = {})
3508
+ # @param [Hash] params ({})
3509
+ def list_firewall_rule_types(params = {}, options = {})
3510
+ req = build_request(:list_firewall_rule_types, params)
3511
+ req.send_request(options)
3512
+ end
3513
+
3163
3514
  # Retrieves the firewall rules that you have defined for the specified
3164
3515
  # firewall rule group. DNS Firewall uses the rules in a rule group to
3165
3516
  # filter DNS network traffic for a VPC.
@@ -3251,6 +3602,10 @@ module Aws::Route53Resolver
3251
3602
  # resp.firewall_rules[0].qtype #=> String
3252
3603
  # resp.firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
3253
3604
  # resp.firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
3605
+ # resp.firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
3606
+ # resp.firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
3607
+ # resp.firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
3608
+ # resp.firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
3254
3609
  #
3255
3610
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRules AWS API Documentation
3256
3611
  #
@@ -4531,7 +4886,7 @@ module Aws::Route53Resolver
4531
4886
  #
4532
4887
  # * A query type you define by using the DNS type ID, for example 28 for
4533
4888
  # AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
4534
- # be 1-65334, for example, TYPE28. For more information, see [List of
4889
+ # be 1-65534, for example, TYPE28. For more information, see [List of
4535
4890
  # DNS record types][1].
4536
4891
  #
4537
4892
  # <note markdown="1"> If you set up a firewall BLOCK rule with action NXDOMAIN on query
@@ -4569,6 +4924,11 @@ module Aws::Route53Resolver
4569
4924
  # * `HIGH`: Detects only the most well corroborated threats with a low
4570
4925
  # rate of false positives.
4571
4926
  #
4927
+ # @option params [Types::FirewallRuleType] :firewall_rule_type
4928
+ # The rule type configuration for the firewall rule. This setting is
4929
+ # mutually exclusive with the top-level `FirewallDomainListId` and
4930
+ # `DnsThreatProtection` fields.
4931
+ #
4572
4932
  # @return [Types::UpdateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4573
4933
  #
4574
4934
  # * {Types::UpdateFirewallRuleResponse#firewall_rule #firewall_rule} => Types::FirewallRule
@@ -4590,6 +4950,18 @@ module Aws::Route53Resolver
4590
4950
  # qtype: "Qtype",
4591
4951
  # dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
4592
4952
  # confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
4953
+ # firewall_rule_type: {
4954
+ # firewall_advanced_content_category: {
4955
+ # category: "FirewallAdvancedContentCategoryValue", # required
4956
+ # },
4957
+ # firewall_advanced_threat_category: {
4958
+ # category: "FirewallAdvancedThreatCategoryValue", # required
4959
+ # },
4960
+ # dns_threat_protection: {
4961
+ # value: "DnsThreatProtectionRuleTypeValue", # required
4962
+ # confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
4963
+ # },
4964
+ # },
4593
4965
  # })
4594
4966
  #
4595
4967
  # @example Response structure
@@ -4611,6 +4983,10 @@ module Aws::Route53Resolver
4611
4983
  # resp.firewall_rule.qtype #=> String
4612
4984
  # resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
4613
4985
  # resp.firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
4986
+ # resp.firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
4987
+ # resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
4988
+ # resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
4989
+ # resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
4614
4990
  #
4615
4991
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRule AWS API Documentation
4616
4992
  #
@@ -5091,7 +5467,7 @@ module Aws::Route53Resolver
5091
5467
  tracer: tracer
5092
5468
  )
5093
5469
  context[:gem_name] = 'aws-sdk-route53resolver'
5094
- context[:gem_version] = '1.99.0'
5470
+ context[:gem_version] = '1.100.0'
5095
5471
  Seahorse::Client::Request.new(handlers, context)
5096
5472
  end
5097
5473