aws-sdk-route53resolver 1.98.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53resolver/client.rb +385 -11
- data/lib/aws-sdk-route53resolver/client_api.rb +219 -0
- data/lib/aws-sdk-route53resolver/types.rb +819 -9
- data/lib/aws-sdk-route53resolver.rb +1 -1
- data/sig/client.rbs +93 -2
- data/sig/params.rbs +26 -0
- data/sig/types.rbs +151 -0
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: efd6430dbae6c2ba036f0a1bc4338544e840d4fdc2e9659755deca283b2b8cf3
|
|
4
|
+
data.tar.gz: 3d4649de55d4e6136fa98a7de1a2d6794cb66ff4027537816937dad3b82b3b19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c035131029f92c2ab3f356e45a6eea11c716c54ce4399e07614bb2b944dd0b67086ecf0ee8b32fbd52712f048023def461e3e9aae40db970eac93c3c5a8d5132
|
|
7
|
+
data.tar.gz: 5dedd76c17cb7045fe41cbbc1426ae6347a4763d8692faa36738b931dd375fcbeaa33388e541b43ebca3c5a342c7974e2cd708a6d85d6766124bd1ced3f7b800
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
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
|
+
|
|
9
|
+
1.99.0 (2026-05-21)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adding new BDD representation of endpoint ruleset
|
|
13
|
+
|
|
4
14
|
1.98.0 (2026-05-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.100.0
|
|
@@ -199,7 +199,7 @@ module Aws::Route53Resolver
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
|
|
203
203
|
# a clock skew correction and retry requests with skewed client clocks.
|
|
204
204
|
#
|
|
205
205
|
# @option options [String] :defaults_mode ("legacy")
|
|
@@ -323,17 +323,15 @@ module Aws::Route53Resolver
|
|
|
323
323
|
# @option options [String] :retry_mode ("legacy")
|
|
324
324
|
# Specifies which retry algorithm to use. Values are:
|
|
325
325
|
#
|
|
326
|
-
# * `legacy` - The pre-existing retry behavior.
|
|
327
|
-
# no retry mode is provided.
|
|
326
|
+
# * `legacy` - The pre-existing retry behavior. This is the default
|
|
327
|
+
# value if no retry mode is provided.
|
|
328
328
|
#
|
|
329
329
|
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
|
330
330
|
# This includes support for retry quotas, which limit the number of
|
|
331
331
|
# unsuccessful retries a client can make.
|
|
332
332
|
#
|
|
333
|
-
# * `adaptive` -
|
|
334
|
-
#
|
|
335
|
-
# throttling. This is a provisional mode that may change behavior
|
|
336
|
-
# in the future.
|
|
333
|
+
# * `adaptive` - A retry mode that includes all the functionality of
|
|
334
|
+
# `standard` mode along with automatic client side throttling.
|
|
337
335
|
#
|
|
338
336
|
# @option options [String] :sdk_ua_app_id
|
|
339
337
|
# A unique and opaque application ID that is appended to the
|
|
@@ -766,6 +764,270 @@ module Aws::Route53Resolver
|
|
|
766
764
|
req.send_request(options)
|
|
767
765
|
end
|
|
768
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<Types::FirewallRule>
|
|
775
|
+
# * {Types::BatchCreateFirewallRuleResponse#create_errors #create_errors} => Array<Types::BatchCreateFirewallRuleError>
|
|
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<Types::FirewallRule>
|
|
875
|
+
# * {Types::BatchDeleteFirewallRuleResponse#delete_errors #delete_errors} => Array<Types::BatchDeleteFirewallRuleError>
|
|
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<Types::FirewallRule>
|
|
939
|
+
# * {Types::BatchUpdateFirewallRuleResponse#update_errors #update_errors} => Array<Types::BatchUpdateFirewallRuleError>
|
|
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
|
+
|
|
769
1031
|
# Creates an empty firewall domain list for use in DNS Firewall rules.
|
|
770
1032
|
# You can populate the domains for the new list with a file, using
|
|
771
1033
|
# ImportFirewallDomains, or with domain strings, using
|
|
@@ -816,6 +1078,8 @@ module Aws::Route53Resolver
|
|
|
816
1078
|
# resp.firewall_domain_list.creator_request_id #=> String
|
|
817
1079
|
# resp.firewall_domain_list.creation_time #=> String
|
|
818
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"
|
|
819
1083
|
#
|
|
820
1084
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallDomainList AWS API Documentation
|
|
821
1085
|
#
|
|
@@ -954,7 +1218,7 @@ module Aws::Route53Resolver
|
|
|
954
1218
|
#
|
|
955
1219
|
# * A query type you define by using the DNS type ID, for example 28 for
|
|
956
1220
|
# AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
|
|
957
|
-
# be 1-
|
|
1221
|
+
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
958
1222
|
# DNS record types][1].
|
|
959
1223
|
#
|
|
960
1224
|
#
|
|
@@ -978,6 +1242,11 @@ module Aws::Route53Resolver
|
|
|
978
1242
|
# * `HIGH`: Detects only the most well corroborated threats with a low
|
|
979
1243
|
# rate of false positives.
|
|
980
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
|
+
#
|
|
981
1250
|
# @return [Types::CreateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
982
1251
|
#
|
|
983
1252
|
# * {Types::CreateFirewallRuleResponse#firewall_rule #firewall_rule} => Types::FirewallRule
|
|
@@ -999,6 +1268,18 @@ module Aws::Route53Resolver
|
|
|
999
1268
|
# qtype: "Qtype",
|
|
1000
1269
|
# dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
|
|
1001
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
|
+
# },
|
|
1002
1283
|
# })
|
|
1003
1284
|
#
|
|
1004
1285
|
# @example Response structure
|
|
@@ -1020,6 +1301,10 @@ module Aws::Route53Resolver
|
|
|
1020
1301
|
# resp.firewall_rule.qtype #=> String
|
|
1021
1302
|
# resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
1022
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"
|
|
1023
1308
|
#
|
|
1024
1309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRule AWS API Documentation
|
|
1025
1310
|
#
|
|
@@ -1656,6 +1941,8 @@ module Aws::Route53Resolver
|
|
|
1656
1941
|
# resp.firewall_domain_list.creator_request_id #=> String
|
|
1657
1942
|
# resp.firewall_domain_list.creation_time #=> String
|
|
1658
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"
|
|
1659
1946
|
#
|
|
1660
1947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallDomainList AWS API Documentation
|
|
1661
1948
|
#
|
|
@@ -1712,7 +1999,7 @@ module Aws::Route53Resolver
|
|
|
1712
1999
|
#
|
|
1713
2000
|
# * A query type you define by using the DNS type ID, for example 28 for
|
|
1714
2001
|
# AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
|
|
1715
|
-
# be 1-
|
|
2002
|
+
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
1716
2003
|
# DNS record types][1].
|
|
1717
2004
|
#
|
|
1718
2005
|
#
|
|
@@ -1751,6 +2038,10 @@ module Aws::Route53Resolver
|
|
|
1751
2038
|
# resp.firewall_rule.qtype #=> String
|
|
1752
2039
|
# resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
1753
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"
|
|
1754
2045
|
#
|
|
1755
2046
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRule AWS API Documentation
|
|
1756
2047
|
#
|
|
@@ -2273,6 +2564,8 @@ module Aws::Route53Resolver
|
|
|
2273
2564
|
# resp.firewall_domain_list.creator_request_id #=> String
|
|
2274
2565
|
# resp.firewall_domain_list.creation_time #=> String
|
|
2275
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"
|
|
2276
2569
|
#
|
|
2277
2570
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallDomainList AWS API Documentation
|
|
2278
2571
|
#
|
|
@@ -2947,6 +3240,8 @@ module Aws::Route53Resolver
|
|
|
2947
3240
|
# resp.firewall_domain_lists[0].name #=> String
|
|
2948
3241
|
# resp.firewall_domain_lists[0].creator_request_id #=> String
|
|
2949
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
|
|
2950
3245
|
#
|
|
2951
3246
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomainLists AWS API Documentation
|
|
2952
3247
|
#
|
|
@@ -3162,6 +3457,60 @@ module Aws::Route53Resolver
|
|
|
3162
3457
|
req.send_request(options)
|
|
3163
3458
|
end
|
|
3164
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<Types::FirewallRuleTypeDefinition>
|
|
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
|
+
|
|
3165
3514
|
# Retrieves the firewall rules that you have defined for the specified
|
|
3166
3515
|
# firewall rule group. DNS Firewall uses the rules in a rule group to
|
|
3167
3516
|
# filter DNS network traffic for a VPC.
|
|
@@ -3253,6 +3602,10 @@ module Aws::Route53Resolver
|
|
|
3253
3602
|
# resp.firewall_rules[0].qtype #=> String
|
|
3254
3603
|
# resp.firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
3255
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"
|
|
3256
3609
|
#
|
|
3257
3610
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRules AWS API Documentation
|
|
3258
3611
|
#
|
|
@@ -4533,7 +4886,7 @@ module Aws::Route53Resolver
|
|
|
4533
4886
|
#
|
|
4534
4887
|
# * A query type you define by using the DNS type ID, for example 28 for
|
|
4535
4888
|
# AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
|
|
4536
|
-
# be 1-
|
|
4889
|
+
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
4537
4890
|
# DNS record types][1].
|
|
4538
4891
|
#
|
|
4539
4892
|
# <note markdown="1"> If you set up a firewall BLOCK rule with action NXDOMAIN on query
|
|
@@ -4571,6 +4924,11 @@ module Aws::Route53Resolver
|
|
|
4571
4924
|
# * `HIGH`: Detects only the most well corroborated threats with a low
|
|
4572
4925
|
# rate of false positives.
|
|
4573
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
|
+
#
|
|
4574
4932
|
# @return [Types::UpdateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4575
4933
|
#
|
|
4576
4934
|
# * {Types::UpdateFirewallRuleResponse#firewall_rule #firewall_rule} => Types::FirewallRule
|
|
@@ -4592,6 +4950,18 @@ module Aws::Route53Resolver
|
|
|
4592
4950
|
# qtype: "Qtype",
|
|
4593
4951
|
# dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
|
|
4594
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
|
+
# },
|
|
4595
4965
|
# })
|
|
4596
4966
|
#
|
|
4597
4967
|
# @example Response structure
|
|
@@ -4613,6 +4983,10 @@ module Aws::Route53Resolver
|
|
|
4613
4983
|
# resp.firewall_rule.qtype #=> String
|
|
4614
4984
|
# resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
4615
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"
|
|
4616
4990
|
#
|
|
4617
4991
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRule AWS API Documentation
|
|
4618
4992
|
#
|
|
@@ -5093,7 +5467,7 @@ module Aws::Route53Resolver
|
|
|
5093
5467
|
tracer: tracer
|
|
5094
5468
|
)
|
|
5095
5469
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
|
5096
|
-
context[:gem_version] = '1.
|
|
5470
|
+
context[:gem_version] = '1.100.0'
|
|
5097
5471
|
Seahorse::Client::Request.new(handlers, context)
|
|
5098
5472
|
end
|
|
5099
5473
|
|