aws-sdk-route53resolver 1.99.0 → 1.101.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 +539 -12
- data/lib/aws-sdk-route53resolver/client_api.rb +237 -0
- data/lib/aws-sdk-route53resolver/types.rb +1068 -39
- data/lib/aws-sdk-route53resolver.rb +1 -1
- data/sig/client.rbs +93 -2
- data/sig/params.rbs +29 -0
- data/sig/types.rbs +167 -1
- metadata +2 -1
|
@@ -484,6 +484,11 @@ module Aws::Route53Resolver
|
|
|
484
484
|
# Associates a FirewallRuleGroup with a VPC, to provide DNS filtering
|
|
485
485
|
# for the VPC.
|
|
486
486
|
#
|
|
487
|
+
# If the rule group contains any rule configured with the
|
|
488
|
+
# `PartnerThreatProtection` rule type, the calling account must hold an
|
|
489
|
+
# active AWS Marketplace subscription to the named partner. If the
|
|
490
|
+
# subscription is missing, the association request is rejected.
|
|
491
|
+
#
|
|
487
492
|
# @option params [required, String] :creator_request_id
|
|
488
493
|
# A unique string that identifies the request and that allows failed
|
|
489
494
|
# requests to be retried without the risk of running the operation
|
|
@@ -764,6 +769,287 @@ module Aws::Route53Resolver
|
|
|
764
769
|
req.send_request(options)
|
|
765
770
|
end
|
|
766
771
|
|
|
772
|
+
# Creates multiple DNS Firewall rules in the specified rule group.
|
|
773
|
+
#
|
|
774
|
+
# @option params [required, Array<Types::CreateFirewallRuleEntry>] :create_firewall_rule_entries
|
|
775
|
+
# The list of firewall rules to create.
|
|
776
|
+
#
|
|
777
|
+
# @return [Types::BatchCreateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
778
|
+
#
|
|
779
|
+
# * {Types::BatchCreateFirewallRuleResponse#created_firewall_rules #created_firewall_rules} => Array<Types::FirewallRule>
|
|
780
|
+
# * {Types::BatchCreateFirewallRuleResponse#create_errors #create_errors} => Array<Types::BatchCreateFirewallRuleError>
|
|
781
|
+
#
|
|
782
|
+
# @example Request syntax with placeholder values
|
|
783
|
+
#
|
|
784
|
+
# resp = client.batch_create_firewall_rule({
|
|
785
|
+
# create_firewall_rule_entries: [ # required
|
|
786
|
+
# {
|
|
787
|
+
# creator_request_id: "CreatorRequestId", # required
|
|
788
|
+
# firewall_rule_group_id: "ResourceId", # required
|
|
789
|
+
# firewall_domain_list_id: "ResourceId",
|
|
790
|
+
# priority: 1, # required
|
|
791
|
+
# action: "ALLOW", # required, accepts ALLOW, BLOCK, ALERT
|
|
792
|
+
# block_response: "NODATA", # accepts NODATA, NXDOMAIN, OVERRIDE
|
|
793
|
+
# block_override_domain: "BlockOverrideDomain",
|
|
794
|
+
# block_override_dns_type: "CNAME", # accepts CNAME
|
|
795
|
+
# block_override_ttl: 1,
|
|
796
|
+
# name: "Name", # required
|
|
797
|
+
# firewall_domain_redirection_action: "INSPECT_REDIRECTION_DOMAIN", # accepts INSPECT_REDIRECTION_DOMAIN, TRUST_REDIRECTION_DOMAIN
|
|
798
|
+
# qtype: "Qtype",
|
|
799
|
+
# dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
|
|
800
|
+
# confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
|
|
801
|
+
# firewall_rule_type: {
|
|
802
|
+
# partner_threat_protection: {
|
|
803
|
+
# partner: "PartnerValue", # required
|
|
804
|
+
# },
|
|
805
|
+
# firewall_advanced_content_category: {
|
|
806
|
+
# category: "FirewallAdvancedContentCategoryValue", # required
|
|
807
|
+
# },
|
|
808
|
+
# firewall_advanced_threat_category: {
|
|
809
|
+
# category: "FirewallAdvancedThreatCategoryValue", # required
|
|
810
|
+
# },
|
|
811
|
+
# dns_threat_protection: {
|
|
812
|
+
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
813
|
+
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
814
|
+
# },
|
|
815
|
+
# },
|
|
816
|
+
# },
|
|
817
|
+
# ],
|
|
818
|
+
# })
|
|
819
|
+
#
|
|
820
|
+
# @example Response structure
|
|
821
|
+
#
|
|
822
|
+
# resp.created_firewall_rules #=> Array
|
|
823
|
+
# resp.created_firewall_rules[0].firewall_rule_group_id #=> String
|
|
824
|
+
# resp.created_firewall_rules[0].firewall_domain_list_id #=> String
|
|
825
|
+
# resp.created_firewall_rules[0].firewall_threat_protection_id #=> String
|
|
826
|
+
# resp.created_firewall_rules[0].name #=> String
|
|
827
|
+
# resp.created_firewall_rules[0].priority #=> Integer
|
|
828
|
+
# resp.created_firewall_rules[0].action #=> String, one of "ALLOW", "BLOCK", "ALERT"
|
|
829
|
+
# resp.created_firewall_rules[0].block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
|
|
830
|
+
# resp.created_firewall_rules[0].block_override_domain #=> String
|
|
831
|
+
# resp.created_firewall_rules[0].block_override_dns_type #=> String, one of "CNAME"
|
|
832
|
+
# resp.created_firewall_rules[0].block_override_ttl #=> Integer
|
|
833
|
+
# resp.created_firewall_rules[0].creator_request_id #=> String
|
|
834
|
+
# resp.created_firewall_rules[0].creation_time #=> String
|
|
835
|
+
# resp.created_firewall_rules[0].modification_time #=> String
|
|
836
|
+
# resp.created_firewall_rules[0].firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
|
|
837
|
+
# resp.created_firewall_rules[0].qtype #=> String
|
|
838
|
+
# resp.created_firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
839
|
+
# resp.created_firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
840
|
+
# resp.created_firewall_rules[0].firewall_rule_type.partner_threat_protection.partner #=> String
|
|
841
|
+
# resp.created_firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
842
|
+
# resp.created_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
843
|
+
# resp.created_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
844
|
+
# resp.created_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
845
|
+
# resp.created_firewall_rules[0].status #=> String
|
|
846
|
+
# resp.created_firewall_rules[0].status_message #=> String
|
|
847
|
+
# resp.create_errors #=> Array
|
|
848
|
+
# resp.create_errors[0].firewall_rule.creator_request_id #=> String
|
|
849
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_group_id #=> String
|
|
850
|
+
# resp.create_errors[0].firewall_rule.firewall_domain_list_id #=> String
|
|
851
|
+
# resp.create_errors[0].firewall_rule.priority #=> Integer
|
|
852
|
+
# resp.create_errors[0].firewall_rule.action #=> String, one of "ALLOW", "BLOCK", "ALERT"
|
|
853
|
+
# resp.create_errors[0].firewall_rule.block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
|
|
854
|
+
# resp.create_errors[0].firewall_rule.block_override_domain #=> String
|
|
855
|
+
# resp.create_errors[0].firewall_rule.block_override_dns_type #=> String, one of "CNAME"
|
|
856
|
+
# resp.create_errors[0].firewall_rule.block_override_ttl #=> Integer
|
|
857
|
+
# resp.create_errors[0].firewall_rule.name #=> String
|
|
858
|
+
# resp.create_errors[0].firewall_rule.firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
|
|
859
|
+
# resp.create_errors[0].firewall_rule.qtype #=> String
|
|
860
|
+
# resp.create_errors[0].firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
861
|
+
# resp.create_errors[0].firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
862
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.partner_threat_protection.partner #=> String
|
|
863
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
864
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
865
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
866
|
+
# resp.create_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
867
|
+
# resp.create_errors[0].code #=> String
|
|
868
|
+
# resp.create_errors[0].message #=> String
|
|
869
|
+
#
|
|
870
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/BatchCreateFirewallRule AWS API Documentation
|
|
871
|
+
#
|
|
872
|
+
# @overload batch_create_firewall_rule(params = {})
|
|
873
|
+
# @param [Hash] params ({})
|
|
874
|
+
def batch_create_firewall_rule(params = {}, options = {})
|
|
875
|
+
req = build_request(:batch_create_firewall_rule, params)
|
|
876
|
+
req.send_request(options)
|
|
877
|
+
end
|
|
878
|
+
|
|
879
|
+
# Deletes multiple DNS Firewall rules from the specified rule group.
|
|
880
|
+
#
|
|
881
|
+
# @option params [required, Array<Types::DeleteFirewallRuleEntry>] :delete_firewall_rule_entries
|
|
882
|
+
# The list of firewall rules to delete.
|
|
883
|
+
#
|
|
884
|
+
# @return [Types::BatchDeleteFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
885
|
+
#
|
|
886
|
+
# * {Types::BatchDeleteFirewallRuleResponse#deleted_firewall_rules #deleted_firewall_rules} => Array<Types::FirewallRule>
|
|
887
|
+
# * {Types::BatchDeleteFirewallRuleResponse#delete_errors #delete_errors} => Array<Types::BatchDeleteFirewallRuleError>
|
|
888
|
+
#
|
|
889
|
+
# @example Request syntax with placeholder values
|
|
890
|
+
#
|
|
891
|
+
# resp = client.batch_delete_firewall_rule({
|
|
892
|
+
# delete_firewall_rule_entries: [ # required
|
|
893
|
+
# {
|
|
894
|
+
# firewall_rule_group_id: "ResourceId", # required
|
|
895
|
+
# firewall_domain_list_id: "ResourceId",
|
|
896
|
+
# firewall_threat_protection_id: "ResourceId",
|
|
897
|
+
# qtype: "Qtype",
|
|
898
|
+
# },
|
|
899
|
+
# ],
|
|
900
|
+
# })
|
|
901
|
+
#
|
|
902
|
+
# @example Response structure
|
|
903
|
+
#
|
|
904
|
+
# resp.deleted_firewall_rules #=> Array
|
|
905
|
+
# resp.deleted_firewall_rules[0].firewall_rule_group_id #=> String
|
|
906
|
+
# resp.deleted_firewall_rules[0].firewall_domain_list_id #=> String
|
|
907
|
+
# resp.deleted_firewall_rules[0].firewall_threat_protection_id #=> String
|
|
908
|
+
# resp.deleted_firewall_rules[0].name #=> String
|
|
909
|
+
# resp.deleted_firewall_rules[0].priority #=> Integer
|
|
910
|
+
# resp.deleted_firewall_rules[0].action #=> String, one of "ALLOW", "BLOCK", "ALERT"
|
|
911
|
+
# resp.deleted_firewall_rules[0].block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
|
|
912
|
+
# resp.deleted_firewall_rules[0].block_override_domain #=> String
|
|
913
|
+
# resp.deleted_firewall_rules[0].block_override_dns_type #=> String, one of "CNAME"
|
|
914
|
+
# resp.deleted_firewall_rules[0].block_override_ttl #=> Integer
|
|
915
|
+
# resp.deleted_firewall_rules[0].creator_request_id #=> String
|
|
916
|
+
# resp.deleted_firewall_rules[0].creation_time #=> String
|
|
917
|
+
# resp.deleted_firewall_rules[0].modification_time #=> String
|
|
918
|
+
# resp.deleted_firewall_rules[0].firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
|
|
919
|
+
# resp.deleted_firewall_rules[0].qtype #=> String
|
|
920
|
+
# resp.deleted_firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
921
|
+
# resp.deleted_firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
922
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.partner_threat_protection.partner #=> String
|
|
923
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
924
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
925
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
926
|
+
# resp.deleted_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
927
|
+
# resp.deleted_firewall_rules[0].status #=> String
|
|
928
|
+
# resp.deleted_firewall_rules[0].status_message #=> String
|
|
929
|
+
# resp.delete_errors #=> Array
|
|
930
|
+
# resp.delete_errors[0].firewall_rule.firewall_rule_group_id #=> String
|
|
931
|
+
# resp.delete_errors[0].firewall_rule.firewall_domain_list_id #=> String
|
|
932
|
+
# resp.delete_errors[0].firewall_rule.firewall_threat_protection_id #=> String
|
|
933
|
+
# resp.delete_errors[0].firewall_rule.qtype #=> String
|
|
934
|
+
# resp.delete_errors[0].code #=> String
|
|
935
|
+
# resp.delete_errors[0].message #=> String
|
|
936
|
+
#
|
|
937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/BatchDeleteFirewallRule AWS API Documentation
|
|
938
|
+
#
|
|
939
|
+
# @overload batch_delete_firewall_rule(params = {})
|
|
940
|
+
# @param [Hash] params ({})
|
|
941
|
+
def batch_delete_firewall_rule(params = {}, options = {})
|
|
942
|
+
req = build_request(:batch_delete_firewall_rule, params)
|
|
943
|
+
req.send_request(options)
|
|
944
|
+
end
|
|
945
|
+
|
|
946
|
+
# Updates multiple DNS Firewall rules in the specified rule group.
|
|
947
|
+
#
|
|
948
|
+
# @option params [required, Array<Types::UpdateFirewallRuleEntry>] :update_firewall_rule_entries
|
|
949
|
+
# The list of firewall rules to update.
|
|
950
|
+
#
|
|
951
|
+
# @return [Types::BatchUpdateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
952
|
+
#
|
|
953
|
+
# * {Types::BatchUpdateFirewallRuleResponse#updated_firewall_rules #updated_firewall_rules} => Array<Types::FirewallRule>
|
|
954
|
+
# * {Types::BatchUpdateFirewallRuleResponse#update_errors #update_errors} => Array<Types::BatchUpdateFirewallRuleError>
|
|
955
|
+
#
|
|
956
|
+
# @example Request syntax with placeholder values
|
|
957
|
+
#
|
|
958
|
+
# resp = client.batch_update_firewall_rule({
|
|
959
|
+
# update_firewall_rule_entries: [ # required
|
|
960
|
+
# {
|
|
961
|
+
# firewall_rule_group_id: "ResourceId", # required
|
|
962
|
+
# firewall_domain_list_id: "ResourceId",
|
|
963
|
+
# firewall_threat_protection_id: "ResourceId",
|
|
964
|
+
# priority: 1,
|
|
965
|
+
# action: "ALLOW", # accepts ALLOW, BLOCK, ALERT
|
|
966
|
+
# block_response: "NODATA", # accepts NODATA, NXDOMAIN, OVERRIDE
|
|
967
|
+
# block_override_domain: "BlockOverrideDomain",
|
|
968
|
+
# block_override_dns_type: "CNAME", # accepts CNAME
|
|
969
|
+
# block_override_ttl: 1,
|
|
970
|
+
# name: "Name",
|
|
971
|
+
# firewall_domain_redirection_action: "INSPECT_REDIRECTION_DOMAIN", # accepts INSPECT_REDIRECTION_DOMAIN, TRUST_REDIRECTION_DOMAIN
|
|
972
|
+
# qtype: "Qtype",
|
|
973
|
+
# dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
|
|
974
|
+
# confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
|
|
975
|
+
# firewall_rule_type: {
|
|
976
|
+
# partner_threat_protection: {
|
|
977
|
+
# partner: "PartnerValue", # required
|
|
978
|
+
# },
|
|
979
|
+
# firewall_advanced_content_category: {
|
|
980
|
+
# category: "FirewallAdvancedContentCategoryValue", # required
|
|
981
|
+
# },
|
|
982
|
+
# firewall_advanced_threat_category: {
|
|
983
|
+
# category: "FirewallAdvancedThreatCategoryValue", # required
|
|
984
|
+
# },
|
|
985
|
+
# dns_threat_protection: {
|
|
986
|
+
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
987
|
+
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
988
|
+
# },
|
|
989
|
+
# },
|
|
990
|
+
# },
|
|
991
|
+
# ],
|
|
992
|
+
# })
|
|
993
|
+
#
|
|
994
|
+
# @example Response structure
|
|
995
|
+
#
|
|
996
|
+
# resp.updated_firewall_rules #=> Array
|
|
997
|
+
# resp.updated_firewall_rules[0].firewall_rule_group_id #=> String
|
|
998
|
+
# resp.updated_firewall_rules[0].firewall_domain_list_id #=> String
|
|
999
|
+
# resp.updated_firewall_rules[0].firewall_threat_protection_id #=> String
|
|
1000
|
+
# resp.updated_firewall_rules[0].name #=> String
|
|
1001
|
+
# resp.updated_firewall_rules[0].priority #=> Integer
|
|
1002
|
+
# resp.updated_firewall_rules[0].action #=> String, one of "ALLOW", "BLOCK", "ALERT"
|
|
1003
|
+
# resp.updated_firewall_rules[0].block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
|
|
1004
|
+
# resp.updated_firewall_rules[0].block_override_domain #=> String
|
|
1005
|
+
# resp.updated_firewall_rules[0].block_override_dns_type #=> String, one of "CNAME"
|
|
1006
|
+
# resp.updated_firewall_rules[0].block_override_ttl #=> Integer
|
|
1007
|
+
# resp.updated_firewall_rules[0].creator_request_id #=> String
|
|
1008
|
+
# resp.updated_firewall_rules[0].creation_time #=> String
|
|
1009
|
+
# resp.updated_firewall_rules[0].modification_time #=> String
|
|
1010
|
+
# resp.updated_firewall_rules[0].firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
|
|
1011
|
+
# resp.updated_firewall_rules[0].qtype #=> String
|
|
1012
|
+
# resp.updated_firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
1013
|
+
# resp.updated_firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1014
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.partner_threat_protection.partner #=> String
|
|
1015
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
1016
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
1017
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
1018
|
+
# resp.updated_firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1019
|
+
# resp.updated_firewall_rules[0].status #=> String
|
|
1020
|
+
# resp.updated_firewall_rules[0].status_message #=> String
|
|
1021
|
+
# resp.update_errors #=> Array
|
|
1022
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_group_id #=> String
|
|
1023
|
+
# resp.update_errors[0].firewall_rule.firewall_domain_list_id #=> String
|
|
1024
|
+
# resp.update_errors[0].firewall_rule.firewall_threat_protection_id #=> String
|
|
1025
|
+
# resp.update_errors[0].firewall_rule.priority #=> Integer
|
|
1026
|
+
# resp.update_errors[0].firewall_rule.action #=> String, one of "ALLOW", "BLOCK", "ALERT"
|
|
1027
|
+
# resp.update_errors[0].firewall_rule.block_response #=> String, one of "NODATA", "NXDOMAIN", "OVERRIDE"
|
|
1028
|
+
# resp.update_errors[0].firewall_rule.block_override_domain #=> String
|
|
1029
|
+
# resp.update_errors[0].firewall_rule.block_override_dns_type #=> String, one of "CNAME"
|
|
1030
|
+
# resp.update_errors[0].firewall_rule.block_override_ttl #=> Integer
|
|
1031
|
+
# resp.update_errors[0].firewall_rule.name #=> String
|
|
1032
|
+
# resp.update_errors[0].firewall_rule.firewall_domain_redirection_action #=> String, one of "INSPECT_REDIRECTION_DOMAIN", "TRUST_REDIRECTION_DOMAIN"
|
|
1033
|
+
# resp.update_errors[0].firewall_rule.qtype #=> String
|
|
1034
|
+
# resp.update_errors[0].firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
1035
|
+
# resp.update_errors[0].firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1036
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.partner_threat_protection.partner #=> String
|
|
1037
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
1038
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
1039
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
1040
|
+
# resp.update_errors[0].firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1041
|
+
# resp.update_errors[0].code #=> String
|
|
1042
|
+
# resp.update_errors[0].message #=> String
|
|
1043
|
+
#
|
|
1044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/BatchUpdateFirewallRule AWS API Documentation
|
|
1045
|
+
#
|
|
1046
|
+
# @overload batch_update_firewall_rule(params = {})
|
|
1047
|
+
# @param [Hash] params ({})
|
|
1048
|
+
def batch_update_firewall_rule(params = {}, options = {})
|
|
1049
|
+
req = build_request(:batch_update_firewall_rule, params)
|
|
1050
|
+
req.send_request(options)
|
|
1051
|
+
end
|
|
1052
|
+
|
|
767
1053
|
# Creates an empty firewall domain list for use in DNS Firewall rules.
|
|
768
1054
|
# You can populate the domains for the new list with a file, using
|
|
769
1055
|
# ImportFirewallDomains, or with domain strings, using
|
|
@@ -814,6 +1100,8 @@ module Aws::Route53Resolver
|
|
|
814
1100
|
# resp.firewall_domain_list.creator_request_id #=> String
|
|
815
1101
|
# resp.firewall_domain_list.creation_time #=> String
|
|
816
1102
|
# resp.firewall_domain_list.modification_time #=> String
|
|
1103
|
+
# resp.firewall_domain_list.category #=> String
|
|
1104
|
+
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
817
1105
|
#
|
|
818
1106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallDomainList AWS API Documentation
|
|
819
1107
|
#
|
|
@@ -824,8 +1112,31 @@ module Aws::Route53Resolver
|
|
|
824
1112
|
req.send_request(options)
|
|
825
1113
|
end
|
|
826
1114
|
|
|
827
|
-
# Creates a single DNS Firewall rule in the specified rule group
|
|
828
|
-
# the
|
|
1115
|
+
# Creates a single DNS Firewall rule in the specified rule group. The
|
|
1116
|
+
# rule can use any one of the following match sources, and the chosen
|
|
1117
|
+
# source must be supplied through the matching request field — they are
|
|
1118
|
+
# mutually exclusive:
|
|
1119
|
+
#
|
|
1120
|
+
# * `FirewallDomainListId` — match a customer-managed or AWS-managed
|
|
1121
|
+
# domain list.
|
|
1122
|
+
#
|
|
1123
|
+
# * `DnsThreatProtection` — match a built-in DNS Firewall Advanced
|
|
1124
|
+
# threat detector (`DGA`, `DNS_TUNNELING`, or `DICTIONARY_DGA`).
|
|
1125
|
+
#
|
|
1126
|
+
# * `FirewallRuleType` — match one of the rule-type variants returned by
|
|
1127
|
+
# ListFirewallRuleTypes: `FirewallAdvancedContentCategory`,
|
|
1128
|
+
# `FirewallAdvancedThreatCategory`, `DnsThreatProtection`, or
|
|
1129
|
+
# `PartnerThreatProtection`. The `PartnerThreatProtection` variant
|
|
1130
|
+
# requires an active AWS Marketplace subscription to the named partner
|
|
1131
|
+
# product.
|
|
1132
|
+
#
|
|
1133
|
+
# For rules that require asynchronous provisioning (today, the
|
|
1134
|
+
# `PartnerThreatProtection` rule type), the rule's `Status` begins at
|
|
1135
|
+
# `CREATING` and transitions to `COMPLETE` once the rule is provisioned
|
|
1136
|
+
# and the marketplace entitlement is verified. If provisioning fails,
|
|
1137
|
+
# `Status` becomes `CREATION_FAILED` and `StatusMessage` contains a
|
|
1138
|
+
# human-readable reason; the rule is then immutable and must be removed
|
|
1139
|
+
# with DeleteFirewallRule.
|
|
829
1140
|
#
|
|
830
1141
|
# @option params [required, String] :creator_request_id
|
|
831
1142
|
# A unique string that identifies the request and that allows you to
|
|
@@ -952,7 +1263,7 @@ module Aws::Route53Resolver
|
|
|
952
1263
|
#
|
|
953
1264
|
# * A query type you define by using the DNS type ID, for example 28 for
|
|
954
1265
|
# AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
|
|
955
|
-
# be 1-
|
|
1266
|
+
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
956
1267
|
# DNS record types][1].
|
|
957
1268
|
#
|
|
958
1269
|
#
|
|
@@ -960,7 +1271,22 @@ module Aws::Route53Resolver
|
|
|
960
1271
|
# [1]: https://en.wikipedia.org/wiki/List_of_DNS_record_types
|
|
961
1272
|
#
|
|
962
1273
|
# @option params [String] :dns_threat_protection
|
|
963
|
-
#
|
|
1274
|
+
# The type of the DNS Firewall Advanced rule. This setting is mutually
|
|
1275
|
+
# exclusive with `FirewallDomainListId` and `FirewallRuleType`. Valid
|
|
1276
|
+
# values are:
|
|
1277
|
+
#
|
|
1278
|
+
# * `DGA`: Domain generation algorithms detection. DGAs are used by
|
|
1279
|
+
# attackers to generate a large number of domains to launch malware
|
|
1280
|
+
# attacks.
|
|
1281
|
+
#
|
|
1282
|
+
# * `DNS_TUNNELING`: DNS tunneling detection. DNS tunneling is used by
|
|
1283
|
+
# attackers to exfiltrate data from the client by using the DNS tunnel
|
|
1284
|
+
# without making a network connection to the client.
|
|
1285
|
+
#
|
|
1286
|
+
# * `DICTIONARY_DGA`: Dictionary-based domain generation algorithms
|
|
1287
|
+
# detection. Dictionary DGAs use wordlists to generate domains that
|
|
1288
|
+
# appear more legitimate, making them harder to detect than
|
|
1289
|
+
# traditional DGAs.
|
|
964
1290
|
#
|
|
965
1291
|
# @option params [String] :confidence_threshold
|
|
966
1292
|
# The confidence threshold for DNS Firewall Advanced. You must provide
|
|
@@ -976,6 +1302,28 @@ module Aws::Route53Resolver
|
|
|
976
1302
|
# * `HIGH`: Detects only the most well corroborated threats with a low
|
|
977
1303
|
# rate of false positives.
|
|
978
1304
|
#
|
|
1305
|
+
# @option params [Types::FirewallRuleType] :firewall_rule_type
|
|
1306
|
+
# The rule type configuration for the firewall rule. This is a tagged
|
|
1307
|
+
# union — set exactly one of its members. This setting is mutually
|
|
1308
|
+
# exclusive with the top-level `FirewallDomainListId` and
|
|
1309
|
+
# `DnsThreatProtection` fields. Use one of:
|
|
1310
|
+
#
|
|
1311
|
+
# * `FirewallAdvancedContentCategory` — match an AWS-managed content
|
|
1312
|
+
# category (for example, `VIOLENCE_AND_HATE_SPEECH`).
|
|
1313
|
+
#
|
|
1314
|
+
# * `FirewallAdvancedThreatCategory` — match an AWS-managed advanced
|
|
1315
|
+
# threat category (for example, `PHISHING`).
|
|
1316
|
+
#
|
|
1317
|
+
# * `DnsThreatProtection` — match a built-in DNS Firewall Advanced
|
|
1318
|
+
# threat detector (`DGA`, `DNS_TUNNELING`, or `DICTIONARY_DGA`).
|
|
1319
|
+
#
|
|
1320
|
+
# * `PartnerThreatProtection` — match a third-party threat feed
|
|
1321
|
+
# delivered through AWS Marketplace. The selected partner must be an
|
|
1322
|
+
# active subscription on the calling account.
|
|
1323
|
+
#
|
|
1324
|
+
# To enumerate the values supported in your account, call
|
|
1325
|
+
# ListFirewallRuleTypes.
|
|
1326
|
+
#
|
|
979
1327
|
# @return [Types::CreateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
980
1328
|
#
|
|
981
1329
|
# * {Types::CreateFirewallRuleResponse#firewall_rule #firewall_rule} => Types::FirewallRule
|
|
@@ -997,6 +1345,21 @@ module Aws::Route53Resolver
|
|
|
997
1345
|
# qtype: "Qtype",
|
|
998
1346
|
# dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
|
|
999
1347
|
# confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
|
|
1348
|
+
# firewall_rule_type: {
|
|
1349
|
+
# partner_threat_protection: {
|
|
1350
|
+
# partner: "PartnerValue", # required
|
|
1351
|
+
# },
|
|
1352
|
+
# firewall_advanced_content_category: {
|
|
1353
|
+
# category: "FirewallAdvancedContentCategoryValue", # required
|
|
1354
|
+
# },
|
|
1355
|
+
# firewall_advanced_threat_category: {
|
|
1356
|
+
# category: "FirewallAdvancedThreatCategoryValue", # required
|
|
1357
|
+
# },
|
|
1358
|
+
# dns_threat_protection: {
|
|
1359
|
+
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
1360
|
+
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
1361
|
+
# },
|
|
1362
|
+
# },
|
|
1000
1363
|
# })
|
|
1001
1364
|
#
|
|
1002
1365
|
# @example Response structure
|
|
@@ -1018,6 +1381,13 @@ module Aws::Route53Resolver
|
|
|
1018
1381
|
# resp.firewall_rule.qtype #=> String
|
|
1019
1382
|
# resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
1020
1383
|
# resp.firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1384
|
+
# resp.firewall_rule.firewall_rule_type.partner_threat_protection.partner #=> String
|
|
1385
|
+
# resp.firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
1386
|
+
# resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
1387
|
+
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
1388
|
+
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
1389
|
+
# resp.firewall_rule.status #=> String
|
|
1390
|
+
# resp.firewall_rule.status_message #=> String
|
|
1021
1391
|
#
|
|
1022
1392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateFirewallRule AWS API Documentation
|
|
1023
1393
|
#
|
|
@@ -1654,6 +2024,8 @@ module Aws::Route53Resolver
|
|
|
1654
2024
|
# resp.firewall_domain_list.creator_request_id #=> String
|
|
1655
2025
|
# resp.firewall_domain_list.creation_time #=> String
|
|
1656
2026
|
# resp.firewall_domain_list.modification_time #=> String
|
|
2027
|
+
# resp.firewall_domain_list.category #=> String
|
|
2028
|
+
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
1657
2029
|
#
|
|
1658
2030
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallDomainList AWS API Documentation
|
|
1659
2031
|
#
|
|
@@ -1664,7 +2036,13 @@ module Aws::Route53Resolver
|
|
|
1664
2036
|
req.send_request(options)
|
|
1665
2037
|
end
|
|
1666
2038
|
|
|
1667
|
-
# Deletes the specified firewall rule.
|
|
2039
|
+
# Deletes the specified firewall rule. Identify the rule using either
|
|
2040
|
+
# `FirewallDomainListId` (for domain-list and DNS Firewall Advanced
|
|
2041
|
+
# rules) or `FirewallThreatProtectionId` (for partner-managed and DNS
|
|
2042
|
+
# Firewall Advanced rules) — together with `FirewallRuleGroupId`.
|
|
2043
|
+
#
|
|
2044
|
+
# `DeleteFirewallRule` is the only operation that succeeds against a
|
|
2045
|
+
# rule whose `Status` is `CREATION_FAILED`.
|
|
1668
2046
|
#
|
|
1669
2047
|
# @option params [required, String] :firewall_rule_group_id
|
|
1670
2048
|
# The unique identifier of the firewall rule group that you want to
|
|
@@ -1710,7 +2088,7 @@ module Aws::Route53Resolver
|
|
|
1710
2088
|
#
|
|
1711
2089
|
# * A query type you define by using the DNS type ID, for example 28 for
|
|
1712
2090
|
# AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
|
|
1713
|
-
# be 1-
|
|
2091
|
+
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
1714
2092
|
# DNS record types][1].
|
|
1715
2093
|
#
|
|
1716
2094
|
#
|
|
@@ -1749,6 +2127,13 @@ module Aws::Route53Resolver
|
|
|
1749
2127
|
# resp.firewall_rule.qtype #=> String
|
|
1750
2128
|
# resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
1751
2129
|
# resp.firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
2130
|
+
# resp.firewall_rule.firewall_rule_type.partner_threat_protection.partner #=> String
|
|
2131
|
+
# resp.firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
2132
|
+
# resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
2133
|
+
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
2134
|
+
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
2135
|
+
# resp.firewall_rule.status #=> String
|
|
2136
|
+
# resp.firewall_rule.status_message #=> String
|
|
1752
2137
|
#
|
|
1753
2138
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteFirewallRule AWS API Documentation
|
|
1754
2139
|
#
|
|
@@ -2271,6 +2656,8 @@ module Aws::Route53Resolver
|
|
|
2271
2656
|
# resp.firewall_domain_list.creator_request_id #=> String
|
|
2272
2657
|
# resp.firewall_domain_list.creation_time #=> String
|
|
2273
2658
|
# resp.firewall_domain_list.modification_time #=> String
|
|
2659
|
+
# resp.firewall_domain_list.category #=> String
|
|
2660
|
+
# resp.firewall_domain_list.managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
2274
2661
|
#
|
|
2275
2662
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallDomainList AWS API Documentation
|
|
2276
2663
|
#
|
|
@@ -2945,6 +3332,8 @@ module Aws::Route53Resolver
|
|
|
2945
3332
|
# resp.firewall_domain_lists[0].name #=> String
|
|
2946
3333
|
# resp.firewall_domain_lists[0].creator_request_id #=> String
|
|
2947
3334
|
# resp.firewall_domain_lists[0].managed_owner_name #=> String
|
|
3335
|
+
# resp.firewall_domain_lists[0].managed_list_type #=> String, one of "THREAT", "CONTENT"
|
|
3336
|
+
# resp.firewall_domain_lists[0].category #=> String
|
|
2948
3337
|
#
|
|
2949
3338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallDomainLists AWS API Documentation
|
|
2950
3339
|
#
|
|
@@ -3160,6 +3549,78 @@ module Aws::Route53Resolver
|
|
|
3160
3549
|
req.send_request(options)
|
|
3161
3550
|
end
|
|
3162
3551
|
|
|
3552
|
+
# Retrieves the rule-type variants that can be used in the
|
|
3553
|
+
# `FirewallRuleType` field of CreateFirewallRule and UpdateFirewallRule.
|
|
3554
|
+
# Each returned FirewallRuleTypeDefinition identifies one variant +
|
|
3555
|
+
# value combination — for example, `FirewallAdvancedContentCategory` +
|
|
3556
|
+
# `VIOLENCE_AND_HATE_SPEECH`, or `PartnerThreatProtection` + a
|
|
3557
|
+
# partner-managed feed.
|
|
3558
|
+
#
|
|
3559
|
+
# The supported `RuleType` filter values are
|
|
3560
|
+
# `FirewallAdvancedContentCategory`, `FirewallAdvancedThreatCategory`,
|
|
3561
|
+
# `DnsThreatProtection`, and `PartnerThreatProtection`. When a returned
|
|
3562
|
+
# definition's variant requires an external subscription (currently
|
|
3563
|
+
# only `PartnerThreatProtection`), the response also includes a
|
|
3564
|
+
# SubscriptionInfo identifying the AWS Marketplace product that backs
|
|
3565
|
+
# it; absence of `SubscriptionInfo` means the variant is fully managed
|
|
3566
|
+
# by AWS and requires no separate subscription.
|
|
3567
|
+
#
|
|
3568
|
+
# @option params [String] :rule_type
|
|
3569
|
+
# An optional filter that restricts the response to a single
|
|
3570
|
+
# FirewallRuleType variant. Supported values:
|
|
3571
|
+
# `FirewallAdvancedContentCategory`, `FirewallAdvancedThreatCategory`,
|
|
3572
|
+
# `DnsThreatProtection`, and `PartnerThreatProtection`. If omitted,
|
|
3573
|
+
# definitions across all variants are returned.
|
|
3574
|
+
#
|
|
3575
|
+
# @option params [Integer] :max_results
|
|
3576
|
+
# The maximum number of objects that you want Resolver to return for
|
|
3577
|
+
# this request. If more objects are available, in the response, Resolver
|
|
3578
|
+
# provides a `NextToken` value that you can use in a subsequent call to
|
|
3579
|
+
# get the next batch of objects.
|
|
3580
|
+
#
|
|
3581
|
+
# @option params [String] :next_token
|
|
3582
|
+
# For the first call to this list request, omit this value. When you
|
|
3583
|
+
# request a list of objects, Resolver returns at most the number of
|
|
3584
|
+
# objects specified in `MaxResults`. If more objects are available for
|
|
3585
|
+
# retrieval, Resolver provides a `NextToken` value in the response. To
|
|
3586
|
+
# retrieve the next batch of objects, use the token that was returned
|
|
3587
|
+
# for the prior request in your next request.
|
|
3588
|
+
#
|
|
3589
|
+
# @return [Types::ListFirewallRuleTypesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3590
|
+
#
|
|
3591
|
+
# * {Types::ListFirewallRuleTypesResponse#firewall_rule_types #firewall_rule_types} => Array<Types::FirewallRuleTypeDefinition>
|
|
3592
|
+
# * {Types::ListFirewallRuleTypesResponse#next_token #next_token} => String
|
|
3593
|
+
#
|
|
3594
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
3595
|
+
#
|
|
3596
|
+
# @example Request syntax with placeholder values
|
|
3597
|
+
#
|
|
3598
|
+
# resp = client.list_firewall_rule_types({
|
|
3599
|
+
# rule_type: "RuleTypeName",
|
|
3600
|
+
# max_results: 1,
|
|
3601
|
+
# next_token: "NextToken",
|
|
3602
|
+
# })
|
|
3603
|
+
#
|
|
3604
|
+
# @example Response structure
|
|
3605
|
+
#
|
|
3606
|
+
# resp.firewall_rule_types #=> Array
|
|
3607
|
+
# resp.firewall_rule_types[0].rule_type #=> String
|
|
3608
|
+
# resp.firewall_rule_types[0].value #=> String
|
|
3609
|
+
# resp.firewall_rule_types[0].display_name #=> String
|
|
3610
|
+
# resp.firewall_rule_types[0].description #=> String
|
|
3611
|
+
# resp.firewall_rule_types[0].subscription_info.vendor_name #=> String
|
|
3612
|
+
# resp.firewall_rule_types[0].subscription_info.product_id #=> String
|
|
3613
|
+
# resp.next_token #=> String
|
|
3614
|
+
#
|
|
3615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRuleTypes AWS API Documentation
|
|
3616
|
+
#
|
|
3617
|
+
# @overload list_firewall_rule_types(params = {})
|
|
3618
|
+
# @param [Hash] params ({})
|
|
3619
|
+
def list_firewall_rule_types(params = {}, options = {})
|
|
3620
|
+
req = build_request(:list_firewall_rule_types, params)
|
|
3621
|
+
req.send_request(options)
|
|
3622
|
+
end
|
|
3623
|
+
|
|
3163
3624
|
# Retrieves the firewall rules that you have defined for the specified
|
|
3164
3625
|
# firewall rule group. DNS Firewall uses the rules in a rule group to
|
|
3165
3626
|
# filter DNS network traffic for a VPC.
|
|
@@ -3167,6 +3628,10 @@ module Aws::Route53Resolver
|
|
|
3167
3628
|
# A single call might return only a partial list of the rules. For
|
|
3168
3629
|
# information, see `MaxResults`.
|
|
3169
3630
|
#
|
|
3631
|
+
# For rules that require asynchronous provisioning, the response
|
|
3632
|
+
# includes `Status` (see FirewallRuleStatus) and, on failure,
|
|
3633
|
+
# `StatusMessage` with the reason.
|
|
3634
|
+
#
|
|
3170
3635
|
# @option params [required, String] :firewall_rule_group_id
|
|
3171
3636
|
# The unique identifier of the firewall rule group that you want to
|
|
3172
3637
|
# retrieve the rules for.
|
|
@@ -3251,6 +3716,13 @@ module Aws::Route53Resolver
|
|
|
3251
3716
|
# resp.firewall_rules[0].qtype #=> String
|
|
3252
3717
|
# resp.firewall_rules[0].dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
3253
3718
|
# resp.firewall_rules[0].confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
3719
|
+
# resp.firewall_rules[0].firewall_rule_type.partner_threat_protection.partner #=> String
|
|
3720
|
+
# resp.firewall_rules[0].firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
3721
|
+
# resp.firewall_rules[0].firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
3722
|
+
# resp.firewall_rules[0].firewall_rule_type.dns_threat_protection.value #=> String
|
|
3723
|
+
# resp.firewall_rules[0].firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
3724
|
+
# resp.firewall_rules[0].status #=> String
|
|
3725
|
+
# resp.firewall_rules[0].status_message #=> String
|
|
3254
3726
|
#
|
|
3255
3727
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallRules AWS API Documentation
|
|
3256
3728
|
#
|
|
@@ -3475,7 +3947,7 @@ module Aws::Route53Resolver
|
|
|
3475
3947
|
# resp.ip_addresses[0].subnet_id #=> String
|
|
3476
3948
|
# resp.ip_addresses[0].ip #=> String
|
|
3477
3949
|
# resp.ip_addresses[0].ipv_6 #=> String
|
|
3478
|
-
# resp.ip_addresses[0].status #=> String, one of "CREATING", "FAILED_CREATION", "ATTACHING", "ATTACHED", "REMAP_DETACHING", "REMAP_ATTACHING", "DETACHING", "FAILED_RESOURCE_GONE", "DELETING", "DELETE_FAILED_FAS_EXPIRED", "UPDATING", "UPDATE_FAILED", "ISOLATED"
|
|
3950
|
+
# resp.ip_addresses[0].status #=> String, one of "CREATING", "FAILED_CREATION", "FAILED_CREATION_INSUFFICIENT_EC2_CAPACITY_IN_OUTPOST", "ATTACHING", "ATTACHED", "REMAP_DETACHING", "REMAP_ATTACHING", "DETACHING", "FAILED_RESOURCE_GONE", "DELETING", "DELETE_FAILED_FAS_EXPIRED", "UPDATING", "UPDATE_FAILED", "ISOLATED"
|
|
3479
3951
|
# resp.ip_addresses[0].status_message #=> String
|
|
3480
3952
|
# resp.ip_addresses[0].creation_time #=> String
|
|
3481
3953
|
# resp.ip_addresses[0].modification_time #=> String
|
|
@@ -4420,7 +4892,11 @@ module Aws::Route53Resolver
|
|
|
4420
4892
|
req.send_request(options)
|
|
4421
4893
|
end
|
|
4422
4894
|
|
|
4423
|
-
# Updates the specified firewall rule.
|
|
4895
|
+
# Updates the specified firewall rule. The rule's `FirewallRuleType`,
|
|
4896
|
+
# `FirewallDomainListId`, and top-level `DnsThreatProtection` match
|
|
4897
|
+
# source cannot be changed after creation. Rules whose `Status` is
|
|
4898
|
+
# `CREATING` or `CREATION_FAILED` cannot be updated; remove a failed
|
|
4899
|
+
# rule with DeleteFirewallRule.
|
|
4424
4900
|
#
|
|
4425
4901
|
# @option params [required, String] :firewall_rule_group_id
|
|
4426
4902
|
# The unique identifier of the firewall rule group for the rule.
|
|
@@ -4531,7 +5007,7 @@ module Aws::Route53Resolver
|
|
|
4531
5007
|
#
|
|
4532
5008
|
# * A query type you define by using the DNS type ID, for example 28 for
|
|
4533
5009
|
# AAAA. The values must be defined as TYPENUMBER, where the NUMBER can
|
|
4534
|
-
# be 1-
|
|
5010
|
+
# be 1-65534, for example, TYPE28. For more information, see [List of
|
|
4535
5011
|
# DNS record types][1].
|
|
4536
5012
|
#
|
|
4537
5013
|
# <note markdown="1"> If you set up a firewall BLOCK rule with action NXDOMAIN on query
|
|
@@ -4545,16 +5021,23 @@ module Aws::Route53Resolver
|
|
|
4545
5021
|
# [1]: https://en.wikipedia.org/wiki/List_of_DNS_record_types
|
|
4546
5022
|
#
|
|
4547
5023
|
# @option params [String] :dns_threat_protection
|
|
4548
|
-
# The type of the DNS Firewall Advanced rule.
|
|
5024
|
+
# The type of the DNS Firewall Advanced rule. This setting is mutually
|
|
5025
|
+
# exclusive with `FirewallDomainListId` and `FirewallRuleType`. Valid
|
|
5026
|
+
# values are:
|
|
4549
5027
|
#
|
|
4550
5028
|
# * `DGA`: Domain generation algorithms detection. DGAs are used by
|
|
4551
|
-
# attackers to generate a large number of domains to
|
|
5029
|
+
# attackers to generate a large number of domains to launch malware
|
|
4552
5030
|
# attacks.
|
|
4553
5031
|
#
|
|
4554
5032
|
# * `DNS_TUNNELING`: DNS tunneling detection. DNS tunneling is used by
|
|
4555
5033
|
# attackers to exfiltrate data from the client by using the DNS tunnel
|
|
4556
5034
|
# without making a network connection to the client.
|
|
4557
5035
|
#
|
|
5036
|
+
# * `DICTIONARY_DGA`: Dictionary-based domain generation algorithms
|
|
5037
|
+
# detection. Dictionary DGAs use wordlists to generate domains that
|
|
5038
|
+
# appear more legitimate, making them harder to detect than
|
|
5039
|
+
# traditional DGAs.
|
|
5040
|
+
#
|
|
4558
5041
|
# @option params [String] :confidence_threshold
|
|
4559
5042
|
# The confidence threshold for DNS Firewall Advanced. You must provide
|
|
4560
5043
|
# this value when you create a DNS Firewall Advanced rule. The
|
|
@@ -4569,6 +5052,28 @@ module Aws::Route53Resolver
|
|
|
4569
5052
|
# * `HIGH`: Detects only the most well corroborated threats with a low
|
|
4570
5053
|
# rate of false positives.
|
|
4571
5054
|
#
|
|
5055
|
+
# @option params [Types::FirewallRuleType] :firewall_rule_type
|
|
5056
|
+
# The rule type configuration for the firewall rule. This is a tagged
|
|
5057
|
+
# union — set exactly one of its members. This setting is mutually
|
|
5058
|
+
# exclusive with the top-level `FirewallDomainListId` and
|
|
5059
|
+
# `DnsThreatProtection` fields. Use one of:
|
|
5060
|
+
#
|
|
5061
|
+
# * `FirewallAdvancedContentCategory` — match an AWS-managed content
|
|
5062
|
+
# category (for example, `VIOLENCE_AND_HATE_SPEECH`).
|
|
5063
|
+
#
|
|
5064
|
+
# * `FirewallAdvancedThreatCategory` — match an AWS-managed advanced
|
|
5065
|
+
# threat category (for example, `PHISHING`).
|
|
5066
|
+
#
|
|
5067
|
+
# * `DnsThreatProtection` — match a built-in DNS Firewall Advanced
|
|
5068
|
+
# threat detector (`DGA`, `DNS_TUNNELING`, or `DICTIONARY_DGA`).
|
|
5069
|
+
#
|
|
5070
|
+
# * `PartnerThreatProtection` — match a third-party threat feed
|
|
5071
|
+
# delivered through AWS Marketplace. The selected partner must be an
|
|
5072
|
+
# active subscription on the calling account.
|
|
5073
|
+
#
|
|
5074
|
+
# To enumerate the values supported in your account, call
|
|
5075
|
+
# ListFirewallRuleTypes.
|
|
5076
|
+
#
|
|
4572
5077
|
# @return [Types::UpdateFirewallRuleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4573
5078
|
#
|
|
4574
5079
|
# * {Types::UpdateFirewallRuleResponse#firewall_rule #firewall_rule} => Types::FirewallRule
|
|
@@ -4590,6 +5095,21 @@ module Aws::Route53Resolver
|
|
|
4590
5095
|
# qtype: "Qtype",
|
|
4591
5096
|
# dns_threat_protection: "DGA", # accepts DGA, DNS_TUNNELING, DICTIONARY_DGA
|
|
4592
5097
|
# confidence_threshold: "LOW", # accepts LOW, MEDIUM, HIGH
|
|
5098
|
+
# firewall_rule_type: {
|
|
5099
|
+
# partner_threat_protection: {
|
|
5100
|
+
# partner: "PartnerValue", # required
|
|
5101
|
+
# },
|
|
5102
|
+
# firewall_advanced_content_category: {
|
|
5103
|
+
# category: "FirewallAdvancedContentCategoryValue", # required
|
|
5104
|
+
# },
|
|
5105
|
+
# firewall_advanced_threat_category: {
|
|
5106
|
+
# category: "FirewallAdvancedThreatCategoryValue", # required
|
|
5107
|
+
# },
|
|
5108
|
+
# dns_threat_protection: {
|
|
5109
|
+
# value: "DnsThreatProtectionRuleTypeValue", # required
|
|
5110
|
+
# confidence_threshold: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
|
5111
|
+
# },
|
|
5112
|
+
# },
|
|
4593
5113
|
# })
|
|
4594
5114
|
#
|
|
4595
5115
|
# @example Response structure
|
|
@@ -4611,6 +5131,13 @@ module Aws::Route53Resolver
|
|
|
4611
5131
|
# resp.firewall_rule.qtype #=> String
|
|
4612
5132
|
# resp.firewall_rule.dns_threat_protection #=> String, one of "DGA", "DNS_TUNNELING", "DICTIONARY_DGA"
|
|
4613
5133
|
# resp.firewall_rule.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
5134
|
+
# resp.firewall_rule.firewall_rule_type.partner_threat_protection.partner #=> String
|
|
5135
|
+
# resp.firewall_rule.firewall_rule_type.firewall_advanced_content_category.category #=> String
|
|
5136
|
+
# resp.firewall_rule.firewall_rule_type.firewall_advanced_threat_category.category #=> String
|
|
5137
|
+
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.value #=> String
|
|
5138
|
+
# resp.firewall_rule.firewall_rule_type.dns_threat_protection.confidence_threshold #=> String, one of "LOW", "MEDIUM", "HIGH"
|
|
5139
|
+
# resp.firewall_rule.status #=> String
|
|
5140
|
+
# resp.firewall_rule.status_message #=> String
|
|
4614
5141
|
#
|
|
4615
5142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallRule AWS API Documentation
|
|
4616
5143
|
#
|
|
@@ -5091,7 +5618,7 @@ module Aws::Route53Resolver
|
|
|
5091
5618
|
tracer: tracer
|
|
5092
5619
|
)
|
|
5093
5620
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
|
5094
|
-
context[:gem_version] = '1.
|
|
5621
|
+
context[:gem_version] = '1.101.0'
|
|
5095
5622
|
Seahorse::Client::Request.new(handlers, context)
|
|
5096
5623
|
end
|
|
5097
5624
|
|