aws-sdk-route53resolver 1.39.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53resolver/client.rb +69 -20
- data/lib/aws-sdk-route53resolver/client_api.rb +24 -1
- data/lib/aws-sdk-route53resolver/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-route53resolver/types.rb +105 -22
- data/lib/aws-sdk-route53resolver.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9d4fa77e2868be76a20b65a6bb8065dfb772e1508636a93ad1d93e1aa57eb55
|
4
|
+
data.tar.gz: 41040de1aee087f7c84f65290ac45892516e0ed23836119f5b55bf02041f1bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 513712a814e99b5e5eec1ff1c885685de151e0ec8368298e4c60bfe6cf27cd445b1cd5b2c26ac06a309adcd6d2a819e60244d181ad7ff829e9bba59cc8acbd1e
|
7
|
+
data.tar.gz: dc787d19178da9f15a8b612be11b726d09c516cc8a2b39b42ecd7791f6d704b8b848a1a9d0169f337846b9f75a94e362e507df10af66272480056b6036075118
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2023-03-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add dual-stack and IPv6 support for Route 53 Resolver Endpoint,Add IPv6 target IP in Route 53 Resolver Forwarding Rule
|
8
|
+
|
4
9
|
1.39.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -502,6 +502,7 @@ module Aws::Route53Resolver
|
|
502
502
|
# ip_id: "ResourceId",
|
503
503
|
# subnet_id: "SubnetId",
|
504
504
|
# ip: "Ip",
|
505
|
+
# ipv_6: "Ipv6",
|
505
506
|
# },
|
506
507
|
# })
|
507
508
|
#
|
@@ -520,6 +521,7 @@ module Aws::Route53Resolver
|
|
520
521
|
# resp.resolver_endpoint.status_message #=> String
|
521
522
|
# resp.resolver_endpoint.creation_time #=> String
|
522
523
|
# resp.resolver_endpoint.modification_time #=> String
|
524
|
+
# resp.resolver_endpoint.resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
523
525
|
#
|
524
526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/AssociateResolverEndpointIpAddress AWS API Documentation
|
525
527
|
#
|
@@ -935,6 +937,11 @@ module Aws::Route53Resolver
|
|
935
937
|
# A list of the tag keys and values that you want to associate with the
|
936
938
|
# endpoint.
|
937
939
|
#
|
940
|
+
# @option params [String] :resolver_endpoint_type
|
941
|
+
# For the endpoint type you can choose either IPv4, IPv6. or dual-stack.
|
942
|
+
# A dual-stack endpoint means that it will resolve via both IPv4 and
|
943
|
+
# IPv6. This endpoint type is applied to all IP addresses.
|
944
|
+
#
|
938
945
|
# @return [Types::CreateResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
939
946
|
#
|
940
947
|
# * {Types::CreateResolverEndpointResponse#resolver_endpoint #resolver_endpoint} => Types::ResolverEndpoint
|
@@ -950,6 +957,7 @@ module Aws::Route53Resolver
|
|
950
957
|
# {
|
951
958
|
# subnet_id: "SubnetId", # required
|
952
959
|
# ip: "Ip",
|
960
|
+
# ipv_6: "Ipv6",
|
953
961
|
# },
|
954
962
|
# ],
|
955
963
|
# tags: [
|
@@ -958,6 +966,7 @@ module Aws::Route53Resolver
|
|
958
966
|
# value: "TagValue", # required
|
959
967
|
# },
|
960
968
|
# ],
|
969
|
+
# resolver_endpoint_type: "IPV6", # accepts IPV6, IPV4, DUALSTACK
|
961
970
|
# })
|
962
971
|
#
|
963
972
|
# @example Response structure
|
@@ -975,6 +984,7 @@ module Aws::Route53Resolver
|
|
975
984
|
# resp.resolver_endpoint.status_message #=> String
|
976
985
|
# resp.resolver_endpoint.creation_time #=> String
|
977
986
|
# resp.resolver_endpoint.modification_time #=> String
|
987
|
+
# resp.resolver_endpoint.resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
978
988
|
#
|
979
989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpoint AWS API Documentation
|
980
990
|
#
|
@@ -1149,8 +1159,9 @@ module Aws::Route53Resolver
|
|
1149
1159
|
# domain_name: "DomainName", # required
|
1150
1160
|
# target_ips: [
|
1151
1161
|
# {
|
1152
|
-
# ip: "Ip",
|
1162
|
+
# ip: "Ip",
|
1153
1163
|
# port: 1,
|
1164
|
+
# ipv_6: "Ipv6",
|
1154
1165
|
# },
|
1155
1166
|
# ],
|
1156
1167
|
# resolver_endpoint_id: "ResourceId",
|
@@ -1175,6 +1186,7 @@ module Aws::Route53Resolver
|
|
1175
1186
|
# resp.resolver_rule.target_ips #=> Array
|
1176
1187
|
# resp.resolver_rule.target_ips[0].ip #=> String
|
1177
1188
|
# resp.resolver_rule.target_ips[0].port #=> Integer
|
1189
|
+
# resp.resolver_rule.target_ips[0].ipv_6 #=> String
|
1178
1190
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
1179
1191
|
# resp.resolver_rule.owner_id #=> String
|
1180
1192
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
@@ -1348,6 +1360,7 @@ module Aws::Route53Resolver
|
|
1348
1360
|
# resp.resolver_endpoint.status_message #=> String
|
1349
1361
|
# resp.resolver_endpoint.creation_time #=> String
|
1350
1362
|
# resp.resolver_endpoint.modification_time #=> String
|
1363
|
+
# resp.resolver_endpoint.resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
1351
1364
|
#
|
1352
1365
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DeleteResolverEndpoint AWS API Documentation
|
1353
1366
|
#
|
@@ -1451,6 +1464,7 @@ module Aws::Route53Resolver
|
|
1451
1464
|
# resp.resolver_rule.target_ips #=> Array
|
1452
1465
|
# resp.resolver_rule.target_ips[0].ip #=> String
|
1453
1466
|
# resp.resolver_rule.target_ips[0].port #=> Integer
|
1467
|
+
# resp.resolver_rule.target_ips[0].ipv_6 #=> String
|
1454
1468
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
1455
1469
|
# resp.resolver_rule.owner_id #=> String
|
1456
1470
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
@@ -1537,6 +1551,7 @@ module Aws::Route53Resolver
|
|
1537
1551
|
# ip_id: "ResourceId",
|
1538
1552
|
# subnet_id: "SubnetId",
|
1539
1553
|
# ip: "Ip",
|
1554
|
+
# ipv_6: "Ipv6",
|
1540
1555
|
# },
|
1541
1556
|
# })
|
1542
1557
|
#
|
@@ -1555,6 +1570,7 @@ module Aws::Route53Resolver
|
|
1555
1570
|
# resp.resolver_endpoint.status_message #=> String
|
1556
1571
|
# resp.resolver_endpoint.creation_time #=> String
|
1557
1572
|
# resp.resolver_endpoint.modification_time #=> String
|
1573
|
+
# resp.resolver_endpoint.resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
1558
1574
|
#
|
1559
1575
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/DisassociateResolverEndpointIpAddress AWS API Documentation
|
1560
1576
|
#
|
@@ -1684,7 +1700,7 @@ module Aws::Route53Resolver
|
|
1684
1700
|
# resp.firewall_config.id #=> String
|
1685
1701
|
# resp.firewall_config.resource_id #=> String
|
1686
1702
|
# resp.firewall_config.owner_id #=> String
|
1687
|
-
# resp.firewall_config.firewall_fail_open #=> String, one of "ENABLED", "DISABLED"
|
1703
|
+
# resp.firewall_config.firewall_fail_open #=> String, one of "ENABLED", "DISABLED", "USE_LOCAL_RESOURCE_SETTING"
|
1688
1704
|
#
|
1689
1705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetFirewallConfig AWS API Documentation
|
1690
1706
|
#
|
@@ -1843,7 +1859,7 @@ module Aws::Route53Resolver
|
|
1843
1859
|
req.send_request(options)
|
1844
1860
|
end
|
1845
1861
|
|
1846
|
-
# Retrieves the behavior configuration of Route
|
1862
|
+
# Retrieves the behavior configuration of Route 53 Resolver behavior for
|
1847
1863
|
# a single VPC from Amazon Virtual Private Cloud.
|
1848
1864
|
#
|
1849
1865
|
# @option params [required, String] :resource_id
|
@@ -1864,7 +1880,7 @@ module Aws::Route53Resolver
|
|
1864
1880
|
# resp.resolver_config.id #=> String
|
1865
1881
|
# resp.resolver_config.resource_id #=> String
|
1866
1882
|
# resp.resolver_config.owner_id #=> String
|
1867
|
-
# resp.resolver_config.autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1883
|
+
# resp.resolver_config.autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING", "USE_LOCAL_RESOURCE_SETTING"
|
1868
1884
|
#
|
1869
1885
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverConfig AWS API Documentation
|
1870
1886
|
#
|
@@ -1896,7 +1912,7 @@ module Aws::Route53Resolver
|
|
1896
1912
|
# resp.resolver_dnssec_config.id #=> String
|
1897
1913
|
# resp.resolver_dnssec_config.owner_id #=> String
|
1898
1914
|
# resp.resolver_dnssec_config.resource_id #=> String
|
1899
|
-
# resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
1915
|
+
# resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING", "USE_LOCAL_RESOURCE_SETTING"
|
1900
1916
|
#
|
1901
1917
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverDnssecConfig AWS API Documentation
|
1902
1918
|
#
|
@@ -1940,6 +1956,7 @@ module Aws::Route53Resolver
|
|
1940
1956
|
# resp.resolver_endpoint.status_message #=> String
|
1941
1957
|
# resp.resolver_endpoint.creation_time #=> String
|
1942
1958
|
# resp.resolver_endpoint.modification_time #=> String
|
1959
|
+
# resp.resolver_endpoint.resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
1943
1960
|
#
|
1944
1961
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/GetResolverEndpoint AWS API Documentation
|
1945
1962
|
#
|
@@ -2089,6 +2106,7 @@ module Aws::Route53Resolver
|
|
2089
2106
|
# resp.resolver_rule.target_ips #=> Array
|
2090
2107
|
# resp.resolver_rule.target_ips[0].ip #=> String
|
2091
2108
|
# resp.resolver_rule.target_ips[0].port #=> Integer
|
2109
|
+
# resp.resolver_rule.target_ips[0].ipv_6 #=> String
|
2092
2110
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
2093
2111
|
# resp.resolver_rule.owner_id #=> String
|
2094
2112
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
@@ -2284,7 +2302,7 @@ module Aws::Route53Resolver
|
|
2284
2302
|
# resp.firewall_configs[0].id #=> String
|
2285
2303
|
# resp.firewall_configs[0].resource_id #=> String
|
2286
2304
|
# resp.firewall_configs[0].owner_id #=> String
|
2287
|
-
# resp.firewall_configs[0].firewall_fail_open #=> String, one of "ENABLED", "DISABLED"
|
2305
|
+
# resp.firewall_configs[0].firewall_fail_open #=> String, one of "ENABLED", "DISABLED", "USE_LOCAL_RESOURCE_SETTING"
|
2288
2306
|
#
|
2289
2307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListFirewallConfigs AWS API Documentation
|
2290
2308
|
#
|
@@ -2652,7 +2670,7 @@ module Aws::Route53Resolver
|
|
2652
2670
|
req.send_request(options)
|
2653
2671
|
end
|
2654
2672
|
|
2655
|
-
# Retrieves the Resolver configurations that you have defined. Route
|
2673
|
+
# Retrieves the Resolver configurations that you have defined. Route 53
|
2656
2674
|
# Resolver uses the configurations to manage DNS resolution behavior for
|
2657
2675
|
# your VPCs.
|
2658
2676
|
#
|
@@ -2694,7 +2712,7 @@ module Aws::Route53Resolver
|
|
2694
2712
|
# resp.resolver_configs[0].id #=> String
|
2695
2713
|
# resp.resolver_configs[0].resource_id #=> String
|
2696
2714
|
# resp.resolver_configs[0].owner_id #=> String
|
2697
|
-
# resp.resolver_configs[0].autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
2715
|
+
# resp.resolver_configs[0].autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING", "USE_LOCAL_RESOURCE_SETTING"
|
2698
2716
|
#
|
2699
2717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverConfigs AWS API Documentation
|
2700
2718
|
#
|
@@ -2755,7 +2773,7 @@ module Aws::Route53Resolver
|
|
2755
2773
|
# resp.resolver_dnssec_configs[0].id #=> String
|
2756
2774
|
# resp.resolver_dnssec_configs[0].owner_id #=> String
|
2757
2775
|
# resp.resolver_dnssec_configs[0].resource_id #=> String
|
2758
|
-
# resp.resolver_dnssec_configs[0].validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
2776
|
+
# resp.resolver_dnssec_configs[0].validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING", "USE_LOCAL_RESOURCE_SETTING"
|
2759
2777
|
#
|
2760
2778
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverDnssecConfigs AWS API Documentation
|
2761
2779
|
#
|
@@ -2810,7 +2828,8 @@ module Aws::Route53Resolver
|
|
2810
2828
|
# resp.ip_addresses[0].ip_id #=> String
|
2811
2829
|
# resp.ip_addresses[0].subnet_id #=> String
|
2812
2830
|
# resp.ip_addresses[0].ip #=> String
|
2813
|
-
# resp.ip_addresses[0].
|
2831
|
+
# resp.ip_addresses[0].ipv_6 #=> String
|
2832
|
+
# 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"
|
2814
2833
|
# resp.ip_addresses[0].status_message #=> String
|
2815
2834
|
# resp.ip_addresses[0].creation_time #=> String
|
2816
2835
|
# resp.ip_addresses[0].modification_time #=> String
|
@@ -2890,6 +2909,7 @@ module Aws::Route53Resolver
|
|
2890
2909
|
# resp.resolver_endpoints[0].status_message #=> String
|
2891
2910
|
# resp.resolver_endpoints[0].creation_time #=> String
|
2892
2911
|
# resp.resolver_endpoints[0].modification_time #=> String
|
2912
|
+
# resp.resolver_endpoints[0].resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
2893
2913
|
#
|
2894
2914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ListResolverEndpoints AWS API Documentation
|
2895
2915
|
#
|
@@ -3321,6 +3341,7 @@ module Aws::Route53Resolver
|
|
3321
3341
|
# resp.resolver_rules[0].target_ips #=> Array
|
3322
3342
|
# resp.resolver_rules[0].target_ips[0].ip #=> String
|
3323
3343
|
# resp.resolver_rules[0].target_ips[0].port #=> Integer
|
3344
|
+
# resp.resolver_rules[0].target_ips[0].ipv_6 #=> String
|
3324
3345
|
# resp.resolver_rules[0].resolver_endpoint_id #=> String
|
3325
3346
|
# resp.resolver_rules[0].owner_id #=> String
|
3326
3347
|
# resp.resolver_rules[0].share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
@@ -3662,7 +3683,7 @@ module Aws::Route53Resolver
|
|
3662
3683
|
#
|
3663
3684
|
# resp = client.update_firewall_config({
|
3664
3685
|
# resource_id: "ResourceId", # required
|
3665
|
-
# firewall_fail_open: "ENABLED", # required, accepts ENABLED, DISABLED
|
3686
|
+
# firewall_fail_open: "ENABLED", # required, accepts ENABLED, DISABLED, USE_LOCAL_RESOURCE_SETTING
|
3666
3687
|
# })
|
3667
3688
|
#
|
3668
3689
|
# @example Response structure
|
@@ -3670,7 +3691,7 @@ module Aws::Route53Resolver
|
|
3670
3691
|
# resp.firewall_config.id #=> String
|
3671
3692
|
# resp.firewall_config.resource_id #=> String
|
3672
3693
|
# resp.firewall_config.owner_id #=> String
|
3673
|
-
# resp.firewall_config.firewall_fail_open #=> String, one of "ENABLED", "DISABLED"
|
3694
|
+
# resp.firewall_config.firewall_fail_open #=> String, one of "ENABLED", "DISABLED", "USE_LOCAL_RESOURCE_SETTING"
|
3674
3695
|
#
|
3675
3696
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateFirewallConfig AWS API Documentation
|
3676
3697
|
#
|
@@ -3703,6 +3724,8 @@ module Aws::Route53Resolver
|
|
3703
3724
|
# @option params [required, Array<String>] :domains
|
3704
3725
|
# A list of domains to use in the update operation.
|
3705
3726
|
#
|
3727
|
+
# There is a limit of 1000 domains per request.
|
3728
|
+
#
|
3706
3729
|
# Each domain specification in your domain list must satisfy the
|
3707
3730
|
# following requirements:
|
3708
3731
|
#
|
@@ -3911,7 +3934,7 @@ module Aws::Route53Resolver
|
|
3911
3934
|
req.send_request(options)
|
3912
3935
|
end
|
3913
3936
|
|
3914
|
-
# Updates the behavior configuration of Route
|
3937
|
+
# Updates the behavior configuration of Route 53 Resolver behavior for a
|
3915
3938
|
# single VPC from Amazon Virtual Private Cloud.
|
3916
3939
|
#
|
3917
3940
|
# @option params [required, String] :resource_id
|
@@ -3924,6 +3947,11 @@ module Aws::Route53Resolver
|
|
3924
3947
|
# option will also affect EC2-Classic instances using ClassicLink. For
|
3925
3948
|
# more information, see [ClassicLink][1] in the *Amazon EC2 guide*.
|
3926
3949
|
#
|
3950
|
+
# We are retiring EC2-Classic on August 15, 2022. We recommend that you
|
3951
|
+
# migrate from EC2-Classic to a VPC. For more information, see [Migrate
|
3952
|
+
# from EC2-Classic to a VPC][2] in the *Amazon EC2 guide* and the blog
|
3953
|
+
# [EC2-Classic Networking is Retiring – Here’s How to Prepare][3].
|
3954
|
+
#
|
3927
3955
|
# <note markdown="1"> It can take some time for the status change to be completed.
|
3928
3956
|
#
|
3929
3957
|
# </note>
|
@@ -3933,6 +3961,8 @@ module Aws::Route53Resolver
|
|
3933
3961
|
#
|
3934
3962
|
#
|
3935
3963
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
3964
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
3965
|
+
# [3]: http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/
|
3936
3966
|
#
|
3937
3967
|
# @return [Types::UpdateResolverConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3938
3968
|
#
|
@@ -3942,7 +3972,7 @@ module Aws::Route53Resolver
|
|
3942
3972
|
#
|
3943
3973
|
# resp = client.update_resolver_config({
|
3944
3974
|
# resource_id: "ResourceId", # required
|
3945
|
-
# autodefined_reverse_flag: "ENABLE", # required, accepts ENABLE, DISABLE
|
3975
|
+
# autodefined_reverse_flag: "ENABLE", # required, accepts ENABLE, DISABLE, USE_LOCAL_RESOURCE_SETTING
|
3946
3976
|
# })
|
3947
3977
|
#
|
3948
3978
|
# @example Response structure
|
@@ -3950,7 +3980,7 @@ module Aws::Route53Resolver
|
|
3950
3980
|
# resp.resolver_config.id #=> String
|
3951
3981
|
# resp.resolver_config.resource_id #=> String
|
3952
3982
|
# resp.resolver_config.owner_id #=> String
|
3953
|
-
# resp.resolver_config.autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
3983
|
+
# resp.resolver_config.autodefined_reverse #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING", "USE_LOCAL_RESOURCE_SETTING"
|
3954
3984
|
#
|
3955
3985
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfig AWS API Documentation
|
3956
3986
|
#
|
@@ -3981,7 +4011,7 @@ module Aws::Route53Resolver
|
|
3981
4011
|
#
|
3982
4012
|
# resp = client.update_resolver_dnssec_config({
|
3983
4013
|
# resource_id: "ResourceId", # required
|
3984
|
-
# validation: "ENABLE", # required, accepts ENABLE, DISABLE
|
4014
|
+
# validation: "ENABLE", # required, accepts ENABLE, DISABLE, USE_LOCAL_RESOURCE_SETTING
|
3985
4015
|
# })
|
3986
4016
|
#
|
3987
4017
|
# @example Response structure
|
@@ -3989,7 +4019,7 @@ module Aws::Route53Resolver
|
|
3989
4019
|
# resp.resolver_dnssec_config.id #=> String
|
3990
4020
|
# resp.resolver_dnssec_config.owner_id #=> String
|
3991
4021
|
# resp.resolver_dnssec_config.resource_id #=> String
|
3992
|
-
# resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED"
|
4022
|
+
# resp.resolver_dnssec_config.validation_status #=> String, one of "ENABLING", "ENABLED", "DISABLING", "DISABLED", "UPDATING_TO_USE_LOCAL_RESOURCE_SETTING", "USE_LOCAL_RESOURCE_SETTING"
|
3993
4023
|
#
|
3994
4024
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverDnssecConfig AWS API Documentation
|
3995
4025
|
#
|
@@ -4000,7 +4030,9 @@ module Aws::Route53Resolver
|
|
4000
4030
|
req.send_request(options)
|
4001
4031
|
end
|
4002
4032
|
|
4003
|
-
# Updates the name
|
4033
|
+
# Updates the name, or enpoint type for an inbound or an outbound
|
4034
|
+
# Resolver endpoint. You can only update between IPV4 and DUALSTACK,
|
4035
|
+
# IPV6 endpoint type can't be updated to other type.
|
4004
4036
|
#
|
4005
4037
|
# @option params [required, String] :resolver_endpoint_id
|
4006
4038
|
# The ID of the Resolver endpoint that you want to update.
|
@@ -4008,6 +4040,13 @@ module Aws::Route53Resolver
|
|
4008
4040
|
# @option params [String] :name
|
4009
4041
|
# The name of the Resolver endpoint that you want to update.
|
4010
4042
|
#
|
4043
|
+
# @option params [String] :resolver_endpoint_type
|
4044
|
+
# Specifies the endpoint type for what type of IP address the endpoint
|
4045
|
+
# uses to forward DNS queries.
|
4046
|
+
#
|
4047
|
+
# @option params [Array<Types::UpdateIpAddress>] :update_ip_addresses
|
4048
|
+
# Updates the Resolver endpoint type to IpV4, Ipv6, or dual-stack.
|
4049
|
+
#
|
4011
4050
|
# @return [Types::UpdateResolverEndpointResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4012
4051
|
#
|
4013
4052
|
# * {Types::UpdateResolverEndpointResponse#resolver_endpoint #resolver_endpoint} => Types::ResolverEndpoint
|
@@ -4017,6 +4056,13 @@ module Aws::Route53Resolver
|
|
4017
4056
|
# resp = client.update_resolver_endpoint({
|
4018
4057
|
# resolver_endpoint_id: "ResourceId", # required
|
4019
4058
|
# name: "Name",
|
4059
|
+
# resolver_endpoint_type: "IPV6", # accepts IPV6, IPV4, DUALSTACK
|
4060
|
+
# update_ip_addresses: [
|
4061
|
+
# {
|
4062
|
+
# ip_id: "ResourceId", # required
|
4063
|
+
# ipv_6: "Ipv6", # required
|
4064
|
+
# },
|
4065
|
+
# ],
|
4020
4066
|
# })
|
4021
4067
|
#
|
4022
4068
|
# @example Response structure
|
@@ -4034,6 +4080,7 @@ module Aws::Route53Resolver
|
|
4034
4080
|
# resp.resolver_endpoint.status_message #=> String
|
4035
4081
|
# resp.resolver_endpoint.creation_time #=> String
|
4036
4082
|
# resp.resolver_endpoint.modification_time #=> String
|
4083
|
+
# resp.resolver_endpoint.resolver_endpoint_type #=> String, one of "IPV6", "IPV4", "DUALSTACK"
|
4037
4084
|
#
|
4038
4085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpoint AWS API Documentation
|
4039
4086
|
#
|
@@ -4066,8 +4113,9 @@ module Aws::Route53Resolver
|
|
4066
4113
|
# name: "Name",
|
4067
4114
|
# target_ips: [
|
4068
4115
|
# {
|
4069
|
-
# ip: "Ip",
|
4116
|
+
# ip: "Ip",
|
4070
4117
|
# port: 1,
|
4118
|
+
# ipv_6: "Ipv6",
|
4071
4119
|
# },
|
4072
4120
|
# ],
|
4073
4121
|
# resolver_endpoint_id: "ResourceId",
|
@@ -4087,6 +4135,7 @@ module Aws::Route53Resolver
|
|
4087
4135
|
# resp.resolver_rule.target_ips #=> Array
|
4088
4136
|
# resp.resolver_rule.target_ips[0].ip #=> String
|
4089
4137
|
# resp.resolver_rule.target_ips[0].port #=> Integer
|
4138
|
+
# resp.resolver_rule.target_ips[0].ipv_6 #=> String
|
4090
4139
|
# resp.resolver_rule.resolver_endpoint_id #=> String
|
4091
4140
|
# resp.resolver_rule.owner_id #=> String
|
4092
4141
|
# resp.resolver_rule.share_status #=> String, one of "NOT_SHARED", "SHARED_WITH_ME", "SHARED_BY_ME"
|
@@ -4115,7 +4164,7 @@ module Aws::Route53Resolver
|
|
4115
4164
|
params: params,
|
4116
4165
|
config: config)
|
4117
4166
|
context[:gem_name] = 'aws-sdk-route53resolver'
|
4118
|
-
context[:gem_version] = '1.
|
4167
|
+
context[:gem_version] = '1.40.0'
|
4119
4168
|
Seahorse::Client::Request.new(handlers, context)
|
4120
4169
|
end
|
4121
4170
|
|
@@ -140,6 +140,7 @@ module Aws::Route53Resolver
|
|
140
140
|
IpAddressUpdate = Shapes::StructureShape.new(name: 'IpAddressUpdate')
|
141
141
|
IpAddressesRequest = Shapes::ListShape.new(name: 'IpAddressesRequest')
|
142
142
|
IpAddressesResponse = Shapes::ListShape.new(name: 'IpAddressesResponse')
|
143
|
+
Ipv6 = Shapes::StringShape.new(name: 'Ipv6')
|
143
144
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
144
145
|
ListDomainMaxResults = Shapes::IntegerShape.new(name: 'ListDomainMaxResults')
|
145
146
|
ListFirewallConfigsMaxResult = Shapes::IntegerShape.new(name: 'ListFirewallConfigsMaxResult')
|
@@ -195,6 +196,7 @@ module Aws::Route53Resolver
|
|
195
196
|
ResolverEndpoint = Shapes::StructureShape.new(name: 'ResolverEndpoint')
|
196
197
|
ResolverEndpointDirection = Shapes::StringShape.new(name: 'ResolverEndpointDirection')
|
197
198
|
ResolverEndpointStatus = Shapes::StringShape.new(name: 'ResolverEndpointStatus')
|
199
|
+
ResolverEndpointType = Shapes::StringShape.new(name: 'ResolverEndpointType')
|
198
200
|
ResolverEndpoints = Shapes::ListShape.new(name: 'ResolverEndpoints')
|
199
201
|
ResolverQueryLogConfig = Shapes::StructureShape.new(name: 'ResolverQueryLogConfig')
|
200
202
|
ResolverQueryLogConfigAssociation = Shapes::StructureShape.new(name: 'ResolverQueryLogConfigAssociation')
|
@@ -251,6 +253,8 @@ module Aws::Route53Resolver
|
|
251
253
|
UpdateFirewallRuleGroupAssociationResponse = Shapes::StructureShape.new(name: 'UpdateFirewallRuleGroupAssociationResponse')
|
252
254
|
UpdateFirewallRuleRequest = Shapes::StructureShape.new(name: 'UpdateFirewallRuleRequest')
|
253
255
|
UpdateFirewallRuleResponse = Shapes::StructureShape.new(name: 'UpdateFirewallRuleResponse')
|
256
|
+
UpdateIpAddress = Shapes::StructureShape.new(name: 'UpdateIpAddress')
|
257
|
+
UpdateIpAddresses = Shapes::ListShape.new(name: 'UpdateIpAddresses')
|
254
258
|
UpdateResolverConfigRequest = Shapes::StructureShape.new(name: 'UpdateResolverConfigRequest')
|
255
259
|
UpdateResolverConfigResponse = Shapes::StructureShape.new(name: 'UpdateResolverConfigResponse')
|
256
260
|
UpdateResolverDnssecConfigRequest = Shapes::StructureShape.new(name: 'UpdateResolverDnssecConfigRequest')
|
@@ -339,6 +343,7 @@ module Aws::Route53Resolver
|
|
339
343
|
CreateResolverEndpointRequest.add_member(:direction, Shapes::ShapeRef.new(shape: ResolverEndpointDirection, required: true, location_name: "Direction"))
|
340
344
|
CreateResolverEndpointRequest.add_member(:ip_addresses, Shapes::ShapeRef.new(shape: IpAddressesRequest, required: true, location_name: "IpAddresses"))
|
341
345
|
CreateResolverEndpointRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags", metadata: {"box"=>true}))
|
346
|
+
CreateResolverEndpointRequest.add_member(:resolver_endpoint_type, Shapes::ShapeRef.new(shape: ResolverEndpointType, location_name: "ResolverEndpointType", metadata: {"box"=>true}))
|
342
347
|
CreateResolverEndpointRequest.struct_class = Types::CreateResolverEndpointRequest
|
343
348
|
|
344
349
|
CreateResolverEndpointResponse.add_member(:resolver_endpoint, Shapes::ShapeRef.new(shape: ResolverEndpoint, location_name: "ResolverEndpoint"))
|
@@ -640,11 +645,13 @@ module Aws::Route53Resolver
|
|
640
645
|
|
641
646
|
IpAddressRequest.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, required: true, location_name: "SubnetId"))
|
642
647
|
IpAddressRequest.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, location_name: "Ip", metadata: {"box"=>true}))
|
648
|
+
IpAddressRequest.add_member(:ipv_6, Shapes::ShapeRef.new(shape: Ipv6, location_name: "Ipv6", metadata: {"box"=>true}))
|
643
649
|
IpAddressRequest.struct_class = Types::IpAddressRequest
|
644
650
|
|
645
651
|
IpAddressResponse.add_member(:ip_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "IpId"))
|
646
652
|
IpAddressResponse.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId"))
|
647
653
|
IpAddressResponse.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, location_name: "Ip"))
|
654
|
+
IpAddressResponse.add_member(:ipv_6, Shapes::ShapeRef.new(shape: Ipv6, location_name: "Ipv6"))
|
648
655
|
IpAddressResponse.add_member(:status, Shapes::ShapeRef.new(shape: IpAddressStatus, location_name: "Status"))
|
649
656
|
IpAddressResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
650
657
|
IpAddressResponse.add_member(:creation_time, Shapes::ShapeRef.new(shape: Rfc3339TimeString, location_name: "CreationTime"))
|
@@ -654,6 +661,7 @@ module Aws::Route53Resolver
|
|
654
661
|
IpAddressUpdate.add_member(:ip_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "IpId", metadata: {"box"=>true}))
|
655
662
|
IpAddressUpdate.add_member(:subnet_id, Shapes::ShapeRef.new(shape: SubnetId, location_name: "SubnetId", metadata: {"box"=>true}))
|
656
663
|
IpAddressUpdate.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, location_name: "Ip", metadata: {"box"=>true}))
|
664
|
+
IpAddressUpdate.add_member(:ipv_6, Shapes::ShapeRef.new(shape: Ipv6, location_name: "Ipv6", metadata: {"box"=>true}))
|
657
665
|
IpAddressUpdate.struct_class = Types::IpAddressUpdate
|
658
666
|
|
659
667
|
IpAddressesRequest.member = Shapes::ShapeRef.new(shape: IpAddressRequest)
|
@@ -861,6 +869,7 @@ module Aws::Route53Resolver
|
|
861
869
|
ResolverEndpoint.add_member(:status_message, Shapes::ShapeRef.new(shape: StatusMessage, location_name: "StatusMessage"))
|
862
870
|
ResolverEndpoint.add_member(:creation_time, Shapes::ShapeRef.new(shape: Rfc3339TimeString, location_name: "CreationTime"))
|
863
871
|
ResolverEndpoint.add_member(:modification_time, Shapes::ShapeRef.new(shape: Rfc3339TimeString, location_name: "ModificationTime"))
|
872
|
+
ResolverEndpoint.add_member(:resolver_endpoint_type, Shapes::ShapeRef.new(shape: ResolverEndpointType, location_name: "ResolverEndpointType"))
|
864
873
|
ResolverEndpoint.struct_class = Types::ResolverEndpoint
|
865
874
|
|
866
875
|
ResolverEndpoints.member = Shapes::ShapeRef.new(shape: ResolverEndpoint)
|
@@ -955,8 +964,9 @@ module Aws::Route53Resolver
|
|
955
964
|
|
956
965
|
TagResourceResponse.struct_class = Types::TagResourceResponse
|
957
966
|
|
958
|
-
TargetAddress.add_member(:ip, Shapes::ShapeRef.new(shape: Ip,
|
967
|
+
TargetAddress.add_member(:ip, Shapes::ShapeRef.new(shape: Ip, location_name: "Ip", metadata: {"box"=>true}))
|
959
968
|
TargetAddress.add_member(:port, Shapes::ShapeRef.new(shape: Port, location_name: "Port", metadata: {"box"=>true}))
|
969
|
+
TargetAddress.add_member(:ipv_6, Shapes::ShapeRef.new(shape: Ipv6, location_name: "Ipv6", metadata: {"box"=>true}))
|
960
970
|
TargetAddress.struct_class = Types::TargetAddress
|
961
971
|
|
962
972
|
TargetList.member = Shapes::ShapeRef.new(shape: TargetAddress)
|
@@ -1014,6 +1024,12 @@ module Aws::Route53Resolver
|
|
1014
1024
|
UpdateFirewallRuleResponse.add_member(:firewall_rule, Shapes::ShapeRef.new(shape: FirewallRule, location_name: "FirewallRule"))
|
1015
1025
|
UpdateFirewallRuleResponse.struct_class = Types::UpdateFirewallRuleResponse
|
1016
1026
|
|
1027
|
+
UpdateIpAddress.add_member(:ip_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "IpId"))
|
1028
|
+
UpdateIpAddress.add_member(:ipv_6, Shapes::ShapeRef.new(shape: Ipv6, required: true, location_name: "Ipv6"))
|
1029
|
+
UpdateIpAddress.struct_class = Types::UpdateIpAddress
|
1030
|
+
|
1031
|
+
UpdateIpAddresses.member = Shapes::ShapeRef.new(shape: UpdateIpAddress)
|
1032
|
+
|
1017
1033
|
UpdateResolverConfigRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResourceId"))
|
1018
1034
|
UpdateResolverConfigRequest.add_member(:autodefined_reverse_flag, Shapes::ShapeRef.new(shape: AutodefinedReverseFlag, required: true, location_name: "AutodefinedReverseFlag"))
|
1019
1035
|
UpdateResolverConfigRequest.struct_class = Types::UpdateResolverConfigRequest
|
@@ -1030,6 +1046,8 @@ module Aws::Route53Resolver
|
|
1030
1046
|
|
1031
1047
|
UpdateResolverEndpointRequest.add_member(:resolver_endpoint_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location_name: "ResolverEndpointId"))
|
1032
1048
|
UpdateResolverEndpointRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name", metadata: {"box"=>true}))
|
1049
|
+
UpdateResolverEndpointRequest.add_member(:resolver_endpoint_type, Shapes::ShapeRef.new(shape: ResolverEndpointType, location_name: "ResolverEndpointType", metadata: {"box"=>true}))
|
1050
|
+
UpdateResolverEndpointRequest.add_member(:update_ip_addresses, Shapes::ShapeRef.new(shape: UpdateIpAddresses, location_name: "UpdateIpAddresses", metadata: {"box"=>true}))
|
1033
1051
|
UpdateResolverEndpointRequest.struct_class = Types::UpdateResolverEndpointRequest
|
1034
1052
|
|
1035
1053
|
UpdateResolverEndpointResponse.add_member(:resolver_endpoint, Shapes::ShapeRef.new(shape: ResolverEndpoint, location_name: "ResolverEndpoint"))
|
@@ -1419,6 +1437,7 @@ module Aws::Route53Resolver
|
|
1419
1437
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1420
1438
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1421
1439
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1440
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1422
1441
|
end)
|
1423
1442
|
|
1424
1443
|
api.add_operation(:get_resolver_dnssec_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1521,6 +1540,7 @@ module Aws::Route53Resolver
|
|
1521
1540
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1522
1541
|
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
1523
1542
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1543
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1524
1544
|
end)
|
1525
1545
|
|
1526
1546
|
api.add_operation(:import_firewall_domains, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1660,6 +1680,7 @@ module Aws::Route53Resolver
|
|
1660
1680
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1661
1681
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1662
1682
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1683
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1663
1684
|
o[:pager] = Aws::Pager.new(
|
1664
1685
|
limit_key: "max_results",
|
1665
1686
|
tokens: {
|
@@ -1861,6 +1882,7 @@ module Aws::Route53Resolver
|
|
1861
1882
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
1862
1883
|
o.errors << Shapes::ShapeRef.new(shape: UnknownResourceException)
|
1863
1884
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1885
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1864
1886
|
end)
|
1865
1887
|
|
1866
1888
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1961,6 +1983,7 @@ module Aws::Route53Resolver
|
|
1961
1983
|
o.errors << Shapes::ShapeRef.new(shape: InternalServiceErrorException)
|
1962
1984
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1963
1985
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1986
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1964
1987
|
end)
|
1965
1988
|
|
1966
1989
|
api.add_operation(:update_resolver_dnssec_config, Seahorse::Model::Operation.new.tap do |o|
|
@@ -14,36 +14,39 @@ module Aws::Route53Resolver
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53resolver.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -212,6 +212,11 @@ module Aws::Route53Resolver
|
|
212
212
|
include Aws::Structure
|
213
213
|
end
|
214
214
|
|
215
|
+
# The requested state transition isn't valid. For example, you can't
|
216
|
+
# delete a firewall domain list if it is in the process of being
|
217
|
+
# deleted, or you can't import domains into a domain list that is in
|
218
|
+
# the process of being deleted.
|
219
|
+
#
|
215
220
|
# @!attribute [rw] message
|
216
221
|
# @return [String]
|
217
222
|
#
|
@@ -468,6 +473,13 @@ module Aws::Route53Resolver
|
|
468
473
|
# the endpoint.
|
469
474
|
# @return [Array<Types::Tag>]
|
470
475
|
#
|
476
|
+
# @!attribute [rw] resolver_endpoint_type
|
477
|
+
# For the endpoint type you can choose either IPv4, IPv6. or
|
478
|
+
# dual-stack. A dual-stack endpoint means that it will resolve via
|
479
|
+
# both IPv4 and IPv6. This endpoint type is applied to all IP
|
480
|
+
# addresses.
|
481
|
+
# @return [String]
|
482
|
+
#
|
471
483
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/CreateResolverEndpointRequest AWS API Documentation
|
472
484
|
#
|
473
485
|
class CreateResolverEndpointRequest < Struct.new(
|
@@ -476,7 +488,8 @@ module Aws::Route53Resolver
|
|
476
488
|
:security_group_ids,
|
477
489
|
:direction,
|
478
490
|
:ip_addresses,
|
479
|
-
:tags
|
491
|
+
:tags,
|
492
|
+
:resolver_endpoint_type)
|
480
493
|
SENSITIVE = []
|
481
494
|
include Aws::Structure
|
482
495
|
end
|
@@ -1757,7 +1770,7 @@ module Aws::Route53Resolver
|
|
1757
1770
|
end
|
1758
1771
|
|
1759
1772
|
# @!attribute [rw] resolver_config
|
1760
|
-
# Information about the behavior configuration of Route
|
1773
|
+
# Information about the behavior configuration of Route 53 Resolver
|
1761
1774
|
# behavior for the VPC you specified in the `GetResolverConfig`
|
1762
1775
|
# request.
|
1763
1776
|
# @return [Types::ResolverConfig]
|
@@ -2018,6 +2031,7 @@ module Aws::Route53Resolver
|
|
2018
2031
|
# @return [String]
|
2019
2032
|
#
|
2020
2033
|
# @!attribute [rw] status
|
2034
|
+
# Status of the import request.
|
2021
2035
|
# @return [String]
|
2022
2036
|
#
|
2023
2037
|
# @!attribute [rw] status_message
|
@@ -2134,14 +2148,19 @@ module Aws::Route53Resolver
|
|
2134
2148
|
# @return [String]
|
2135
2149
|
#
|
2136
2150
|
# @!attribute [rw] ip
|
2137
|
-
# The
|
2151
|
+
# The IPv4 address that you want to use for DNS queries.
|
2152
|
+
# @return [String]
|
2153
|
+
#
|
2154
|
+
# @!attribute [rw] ipv_6
|
2155
|
+
# The IPv6 address that you want to use for DNS queries.
|
2138
2156
|
# @return [String]
|
2139
2157
|
#
|
2140
2158
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressRequest AWS API Documentation
|
2141
2159
|
#
|
2142
2160
|
class IpAddressRequest < Struct.new(
|
2143
2161
|
:subnet_id,
|
2144
|
-
:ip
|
2162
|
+
:ip,
|
2163
|
+
:ipv_6)
|
2145
2164
|
SENSITIVE = []
|
2146
2165
|
include Aws::Structure
|
2147
2166
|
end
|
@@ -2163,7 +2182,11 @@ module Aws::Route53Resolver
|
|
2163
2182
|
# @return [String]
|
2164
2183
|
#
|
2165
2184
|
# @!attribute [rw] ip
|
2166
|
-
# One
|
2185
|
+
# One IPv4 address that the Resolver endpoint uses for DNS queries.
|
2186
|
+
# @return [String]
|
2187
|
+
#
|
2188
|
+
# @!attribute [rw] ipv_6
|
2189
|
+
# One IPv6 address that the Resolver endpoint uses for DNS queries.
|
2167
2190
|
# @return [String]
|
2168
2191
|
#
|
2169
2192
|
# @!attribute [rw] status
|
@@ -2191,6 +2214,7 @@ module Aws::Route53Resolver
|
|
2191
2214
|
:ip_id,
|
2192
2215
|
:subnet_id,
|
2193
2216
|
:ip,
|
2217
|
+
:ipv_6,
|
2194
2218
|
:status,
|
2195
2219
|
:status_message,
|
2196
2220
|
:creation_time,
|
@@ -2226,7 +2250,11 @@ module Aws::Route53Resolver
|
|
2226
2250
|
# @return [String]
|
2227
2251
|
#
|
2228
2252
|
# @!attribute [rw] ip
|
2229
|
-
# The new
|
2253
|
+
# The new IPv4 address.
|
2254
|
+
# @return [String]
|
2255
|
+
#
|
2256
|
+
# @!attribute [rw] ipv_6
|
2257
|
+
# The new IPv6 address.
|
2230
2258
|
# @return [String]
|
2231
2259
|
#
|
2232
2260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/IpAddressUpdate AWS API Documentation
|
@@ -2234,7 +2262,8 @@ module Aws::Route53Resolver
|
|
2234
2262
|
class IpAddressUpdate < Struct.new(
|
2235
2263
|
:ip_id,
|
2236
2264
|
:subnet_id,
|
2237
|
-
:ip
|
2265
|
+
:ip,
|
2266
|
+
:ipv_6)
|
2238
2267
|
SENSITIVE = []
|
2239
2268
|
include Aws::Structure
|
2240
2269
|
end
|
@@ -2664,7 +2693,7 @@ module Aws::Route53Resolver
|
|
2664
2693
|
# If a response doesn't include the last of the configurations, you
|
2665
2694
|
# can get more configurations by submitting another
|
2666
2695
|
# `ListResolverConfigs` request. Get the value of `NextToken` that
|
2667
|
-
# Amazon Route
|
2696
|
+
# Amazon Route 53 returned in the previous response and include it in
|
2668
2697
|
# `NextToken` in the next request.
|
2669
2698
|
# @return [String]
|
2670
2699
|
#
|
@@ -3505,9 +3534,6 @@ module Aws::Route53Resolver
|
|
3505
3534
|
# rules for reverse DNS lookups. This is enabled by default. The
|
3506
3535
|
# status can be one of following:
|
3507
3536
|
#
|
3508
|
-
# Status of the rules generated by VPCs based on CIDR/Region for
|
3509
|
-
# reverse DNS resolution. The status can be one of following:
|
3510
|
-
#
|
3511
3537
|
# * **ENABLING:** Autodefined rules for reverse DNS lookups are being
|
3512
3538
|
# enabled but are not complete.
|
3513
3539
|
#
|
@@ -3576,18 +3602,17 @@ module Aws::Route53Resolver
|
|
3576
3602
|
end
|
3577
3603
|
|
3578
3604
|
# In the response to a [CreateResolverEndpoint][1],
|
3579
|
-
# [DeleteResolverEndpoint][2], [GetResolverEndpoint][3],
|
3580
|
-
#
|
3581
|
-
# complex type that contains
|
3582
|
-
# outbound Resolver endpoint.
|
3605
|
+
# [DeleteResolverEndpoint][2], [GetResolverEndpoint][3], Updates the
|
3606
|
+
# name, or ResolverEndpointType for an endpoint, or
|
3607
|
+
# [UpdateResolverEndpoint][4] request, a complex type that contains
|
3608
|
+
# settings for an existing inbound or outbound Resolver endpoint.
|
3583
3609
|
#
|
3584
3610
|
#
|
3585
3611
|
#
|
3586
3612
|
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html
|
3587
3613
|
# [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverEndpoint.html
|
3588
3614
|
# [3]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html
|
3589
|
-
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/
|
3590
|
-
# [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
|
3615
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
|
3591
3616
|
#
|
3592
3617
|
# @!attribute [rw] id
|
3593
3618
|
# The ID of the Resolver endpoint.
|
@@ -3697,6 +3722,10 @@ module Aws::Route53Resolver
|
|
3697
3722
|
# format and Coordinated Universal Time (UTC).
|
3698
3723
|
# @return [String]
|
3699
3724
|
#
|
3725
|
+
# @!attribute [rw] resolver_endpoint_type
|
3726
|
+
# The Resolver endpoint IP address type.
|
3727
|
+
# @return [String]
|
3728
|
+
#
|
3700
3729
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/ResolverEndpoint AWS API Documentation
|
3701
3730
|
#
|
3702
3731
|
class ResolverEndpoint < Struct.new(
|
@@ -3711,7 +3740,8 @@ module Aws::Route53Resolver
|
|
3711
3740
|
:status,
|
3712
3741
|
:status_message,
|
3713
3742
|
:creation_time,
|
3714
|
-
:modification_time
|
3743
|
+
:modification_time,
|
3744
|
+
:resolver_endpoint_type)
|
3715
3745
|
SENSITIVE = []
|
3716
3746
|
include Aws::Structure
|
3717
3747
|
end
|
@@ -4265,19 +4295,23 @@ module Aws::Route53Resolver
|
|
4265
4295
|
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html
|
4266
4296
|
#
|
4267
4297
|
# @!attribute [rw] ip
|
4268
|
-
# One
|
4269
|
-
# specify only IPv4 addresses.
|
4298
|
+
# One IPv4 address that you want to forward DNS queries to.
|
4270
4299
|
# @return [String]
|
4271
4300
|
#
|
4272
4301
|
# @!attribute [rw] port
|
4273
4302
|
# The port at `Ip` that you want to forward DNS queries to.
|
4274
4303
|
# @return [Integer]
|
4275
4304
|
#
|
4305
|
+
# @!attribute [rw] ipv_6
|
4306
|
+
# One IPv6 address that you want to forward DNS queries to.
|
4307
|
+
# @return [String]
|
4308
|
+
#
|
4276
4309
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/TargetAddress AWS API Documentation
|
4277
4310
|
#
|
4278
4311
|
class TargetAddress < Struct.new(
|
4279
4312
|
:ip,
|
4280
|
-
:port
|
4313
|
+
:port,
|
4314
|
+
:ipv_6)
|
4281
4315
|
SENSITIVE = []
|
4282
4316
|
include Aws::Structure
|
4283
4317
|
end
|
@@ -4416,6 +4450,8 @@ module Aws::Route53Resolver
|
|
4416
4450
|
# @!attribute [rw] domains
|
4417
4451
|
# A list of domains to use in the update operation.
|
4418
4452
|
#
|
4453
|
+
# There is a limit of 1000 domains per request.
|
4454
|
+
#
|
4419
4455
|
# Each domain specification in your domain list must satisfy the
|
4420
4456
|
# following requirements:
|
4421
4457
|
#
|
@@ -4447,6 +4483,7 @@ module Aws::Route53Resolver
|
|
4447
4483
|
# @return [String]
|
4448
4484
|
#
|
4449
4485
|
# @!attribute [rw] status
|
4486
|
+
# Status of the `UpdateFirewallDomains` request.
|
4450
4487
|
# @return [String]
|
4451
4488
|
#
|
4452
4489
|
# @!attribute [rw] status_message
|
@@ -4611,6 +4648,30 @@ module Aws::Route53Resolver
|
|
4611
4648
|
include Aws::Structure
|
4612
4649
|
end
|
4613
4650
|
|
4651
|
+
# Provides information about the IP address type in response to
|
4652
|
+
# [UpdateResolverEndpoint][1].
|
4653
|
+
#
|
4654
|
+
#
|
4655
|
+
#
|
4656
|
+
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html
|
4657
|
+
#
|
4658
|
+
# @!attribute [rw] ip_id
|
4659
|
+
# The ID of the IP address, specified by the `ResolverEndpointId`.
|
4660
|
+
# @return [String]
|
4661
|
+
#
|
4662
|
+
# @!attribute [rw] ipv_6
|
4663
|
+
# The IPv6 address that you want to use for DNS queries.
|
4664
|
+
# @return [String]
|
4665
|
+
#
|
4666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateIpAddress AWS API Documentation
|
4667
|
+
#
|
4668
|
+
class UpdateIpAddress < Struct.new(
|
4669
|
+
:ip_id,
|
4670
|
+
:ipv_6)
|
4671
|
+
SENSITIVE = []
|
4672
|
+
include Aws::Structure
|
4673
|
+
end
|
4674
|
+
|
4614
4675
|
# @!attribute [rw] resource_id
|
4615
4676
|
# Resource ID of the Amazon VPC that you want to update the Resolver
|
4616
4677
|
# configuration for.
|
@@ -4622,6 +4683,12 @@ module Aws::Route53Resolver
|
|
4622
4683
|
# option will also affect EC2-Classic instances using ClassicLink. For
|
4623
4684
|
# more information, see [ClassicLink][1] in the *Amazon EC2 guide*.
|
4624
4685
|
#
|
4686
|
+
# We are retiring EC2-Classic on August 15, 2022. We recommend that
|
4687
|
+
# you migrate from EC2-Classic to a VPC. For more information, see
|
4688
|
+
# [Migrate from EC2-Classic to a VPC][2] in the *Amazon EC2 guide* and
|
4689
|
+
# the blog [EC2-Classic Networking is Retiring – Here’s How to
|
4690
|
+
# Prepare][3].
|
4691
|
+
#
|
4625
4692
|
# <note markdown="1"> It can take some time for the status change to be completed.
|
4626
4693
|
#
|
4627
4694
|
# </note>
|
@@ -4631,6 +4698,8 @@ module Aws::Route53Resolver
|
|
4631
4698
|
#
|
4632
4699
|
#
|
4633
4700
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-classiclink.html
|
4701
|
+
# [2]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/vpc-migrate.html
|
4702
|
+
# [3]: http://aws.amazon.com/blogs/aws/ec2-classic-is-retiring-heres-how-to-prepare/
|
4634
4703
|
# @return [String]
|
4635
4704
|
#
|
4636
4705
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverConfigRequest AWS API Documentation
|
@@ -4696,11 +4765,22 @@ module Aws::Route53Resolver
|
|
4696
4765
|
# The name of the Resolver endpoint that you want to update.
|
4697
4766
|
# @return [String]
|
4698
4767
|
#
|
4768
|
+
# @!attribute [rw] resolver_endpoint_type
|
4769
|
+
# Specifies the endpoint type for what type of IP address the endpoint
|
4770
|
+
# uses to forward DNS queries.
|
4771
|
+
# @return [String]
|
4772
|
+
#
|
4773
|
+
# @!attribute [rw] update_ip_addresses
|
4774
|
+
# Updates the Resolver endpoint type to IpV4, Ipv6, or dual-stack.
|
4775
|
+
# @return [Array<Types::UpdateIpAddress>]
|
4776
|
+
#
|
4699
4777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/route53resolver-2018-04-01/UpdateResolverEndpointRequest AWS API Documentation
|
4700
4778
|
#
|
4701
4779
|
class UpdateResolverEndpointRequest < Struct.new(
|
4702
4780
|
:resolver_endpoint_id,
|
4703
|
-
:name
|
4781
|
+
:name,
|
4782
|
+
:resolver_endpoint_type,
|
4783
|
+
:update_ip_addresses)
|
4704
4784
|
SENSITIVE = []
|
4705
4785
|
include Aws::Structure
|
4706
4786
|
end
|
@@ -4746,6 +4826,9 @@ module Aws::Route53Resolver
|
|
4746
4826
|
include Aws::Structure
|
4747
4827
|
end
|
4748
4828
|
|
4829
|
+
# You have provided an invalid command. Supported values are `ADD`,
|
4830
|
+
# `REMOVE`, or `REPLACE` a domain.
|
4831
|
+
#
|
4749
4832
|
# @!attribute [rw] message
|
4750
4833
|
# @return [String]
|
4751
4834
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-route53resolver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|