aws-sdk-route53 1.76.0 → 1.77.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-route53/client.rb +46 -13
- data/lib/aws-sdk-route53/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-route53/endpoint_provider.rb +30 -108
- data/lib/aws-sdk-route53/types.rb +6 -0
- data/lib/aws-sdk-route53.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: 8eedaa803289c949ef42df2458d95eb6501f1e84c71959513df397c7dec05f59
|
4
|
+
data.tar.gz: 4c5a9869b83ca0adec816f1e466ec91e2edb6b322ed0af77bb3e0b24126404ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1e3f93cf75f39d333f9bb6178afea12012ca58257a9f2c6f5368ac4e1d1da2008cbc380ffef98a76d555b6559563a6aa843a1f870fa0a47ff2f4c25bf2bea7
|
7
|
+
data.tar.gz: 0c62ba1269fcea505045db2f9646c4872d5a1a3fa9890b2d9f48669d62ae9109cc2657825f15d4849fe0eb6b0596343277ca9059e615a8484b6d17de568eda43
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.77.0
|
@@ -690,10 +690,11 @@ module Aws::Route53
|
|
690
690
|
#
|
691
691
|
# When you submit a `ChangeResourceRecordSets` request, Route 53
|
692
692
|
# propagates your changes to all of the Route 53 authoritative DNS
|
693
|
-
# servers. While your changes are propagating,
|
694
|
-
# status of `PENDING`. When propagation is
|
695
|
-
# a status of `INSYNC`. Changes generally
|
696
|
-
#
|
693
|
+
# servers managing the hosted zone. While your changes are propagating,
|
694
|
+
# `GetChange` returns a status of `PENDING`. When propagation is
|
695
|
+
# complete, `GetChange` returns a status of `INSYNC`. Changes generally
|
696
|
+
# propagate to all Route 53 name servers managing the hosted zone within
|
697
|
+
# 60 seconds. For more information, see [GetChange][2].
|
697
698
|
#
|
698
699
|
# **Limits on ChangeResourceRecordSets Requests**
|
699
700
|
#
|
@@ -1759,6 +1760,12 @@ module Aws::Route53
|
|
1759
1760
|
# set when you created it. For more information about reusable
|
1760
1761
|
# delegation sets, see [CreateReusableDelegationSet][1].
|
1761
1762
|
#
|
1763
|
+
# If you are using a reusable delegation set to create a public hosted
|
1764
|
+
# zone for a subdomain, make sure that the parent hosted zone doesn't
|
1765
|
+
# use one or more of the same name servers. If you have overlapping
|
1766
|
+
# nameservers, the operation will cause a `ConflictingDomainsExist`
|
1767
|
+
# error.
|
1768
|
+
#
|
1762
1769
|
#
|
1763
1770
|
#
|
1764
1771
|
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html
|
@@ -2282,6 +2289,16 @@ module Aws::Route53
|
|
2282
2289
|
# domain or subdomain name by using the resource record sets that
|
2283
2290
|
# `CreateTrafficPolicyInstance` created.
|
2284
2291
|
#
|
2292
|
+
# <note markdown="1"> After you submit an `CreateTrafficPolicyInstance` request, there's a
|
2293
|
+
# brief delay while Amazon Route 53 creates the resource record sets
|
2294
|
+
# that are specified in the traffic policy definition. Use
|
2295
|
+
# `GetTrafficPolicyInstance` with the `id` of new traffic policy
|
2296
|
+
# instance to confirm that the `CreateTrafficPolicyInstance` request
|
2297
|
+
# completed successfully. For more information, see the `State` response
|
2298
|
+
# element.
|
2299
|
+
#
|
2300
|
+
# </note>
|
2301
|
+
#
|
2285
2302
|
# @option params [required, String] :hosted_zone_id
|
2286
2303
|
# The ID of the hosted zone that you want Amazon Route 53 to create
|
2287
2304
|
# resource record sets in by using the configuration in a traffic
|
@@ -3096,11 +3113,11 @@ module Aws::Route53
|
|
3096
3113
|
# one of the following values:
|
3097
3114
|
#
|
3098
3115
|
# * `PENDING` indicates that the changes in this request have not
|
3099
|
-
# propagated to all Amazon Route 53 DNS servers
|
3100
|
-
# status of all change batch requests.
|
3116
|
+
# propagated to all Amazon Route 53 DNS servers managing the hosted
|
3117
|
+
# zone. This is the initial status of all change batch requests.
|
3101
3118
|
#
|
3102
3119
|
# * `INSYNC` indicates that the changes have propagated to all Route 53
|
3103
|
-
# DNS servers.
|
3120
|
+
# DNS servers managing the hosted zone.
|
3104
3121
|
#
|
3105
3122
|
# @option params [required, String] :id
|
3106
3123
|
# The ID of the change batch request. The value that you specify here is
|
@@ -3792,11 +3809,10 @@ module Aws::Route53
|
|
3792
3809
|
|
3793
3810
|
# Gets information about a specified traffic policy instance.
|
3794
3811
|
#
|
3795
|
-
# <note markdown="1">
|
3796
|
-
#
|
3797
|
-
#
|
3798
|
-
#
|
3799
|
-
# response element.
|
3812
|
+
# <note markdown="1"> Use `GetTrafficPolicyInstance` with the `id` of new traffic policy
|
3813
|
+
# instance to confirm that the `CreateTrafficPolicyInstance` or an
|
3814
|
+
# `UpdateTrafficPolicyInstance` request completed successfully. For more
|
3815
|
+
# information, see the `State` response element.
|
3800
3816
|
#
|
3801
3817
|
# </note>
|
3802
3818
|
#
|
@@ -5424,6 +5440,13 @@ module Aws::Route53
|
|
5424
5440
|
#
|
5425
5441
|
# This call only supports querying public hosted zones.
|
5426
5442
|
#
|
5443
|
+
# <note markdown="1"> The `TestDnsAnswer ` returns information similar to what you would
|
5444
|
+
# expect from the answer section of the `dig` command. Therefore, if you
|
5445
|
+
# query for the name servers of a subdomain that point to the parent
|
5446
|
+
# name servers, those will not be returned.
|
5447
|
+
#
|
5448
|
+
# </note>
|
5449
|
+
#
|
5427
5450
|
# @option params [required, String] :hosted_zone_id
|
5428
5451
|
# The ID of the hosted zone that you want Amazon Route 53 to simulate a
|
5429
5452
|
# query for.
|
@@ -5996,6 +6019,16 @@ module Aws::Route53
|
|
5996
6019
|
req.send_request(options)
|
5997
6020
|
end
|
5998
6021
|
|
6022
|
+
# <note markdown="1"> After you submit a `UpdateTrafficPolicyInstance` request, there's a
|
6023
|
+
# brief delay while Route 53 creates the resource record sets that are
|
6024
|
+
# specified in the traffic policy definition. Use
|
6025
|
+
# `GetTrafficPolicyInstance` with the `id` of updated traffic policy
|
6026
|
+
# instance confirm that the `UpdateTrafficPolicyInstance` request
|
6027
|
+
# completed successfully. For more information, see the `State` response
|
6028
|
+
# element.
|
6029
|
+
#
|
6030
|
+
# </note>
|
6031
|
+
#
|
5999
6032
|
# Updates the resource record sets in a specified hosted zone that were
|
6000
6033
|
# created based on the settings in a specified traffic policy version.
|
6001
6034
|
#
|
@@ -6080,7 +6113,7 @@ module Aws::Route53
|
|
6080
6113
|
params: params,
|
6081
6114
|
config: config)
|
6082
6115
|
context[:gem_name] = 'aws-sdk-route53'
|
6083
|
-
context[:gem_version] = '1.
|
6116
|
+
context[:gem_version] = '1.77.0'
|
6084
6117
|
Seahorse::Client::Request.new(handlers, context)
|
6085
6118
|
end
|
6086
6119
|
|
@@ -50,9 +50,6 @@ module Aws::Route53
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,138 +14,60 @@ module Aws::Route53
|
|
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.
|
19
|
-
|
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: {})
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
26
20
|
end
|
27
|
-
if Aws::Endpoints::Matchers.
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
21
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
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.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-east-1"}]})
|
33
30
|
end
|
34
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
|
36
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"route53"}]})
|
37
|
-
end
|
38
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
31
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
32
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-east-1"}]})
|
39
33
|
end
|
40
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack,
|
41
|
-
|
42
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route-53.#{region}.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"route53"}]})
|
43
|
-
end
|
44
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
34
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
35
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"cn-northwest-1"}]})
|
45
36
|
end
|
46
|
-
|
47
|
-
|
48
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-cn")
|
49
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
50
|
-
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"))
|
51
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route-53-fips.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1", "signingName"=>"route53"}]})
|
52
|
-
end
|
53
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
37
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-gov-west-1"}]})
|
54
39
|
end
|
55
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
56
|
-
|
57
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route-53-fips.#{region}.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1", "signingName"=>"route53"}]})
|
58
|
-
end
|
59
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
40
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
41
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-gov-west-1"}]})
|
60
42
|
end
|
61
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack,
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
43
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-iso-east-1"}]})
|
45
|
+
end
|
46
|
+
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b") && Aws::Endpoints::Matchers.boolean_equals?(use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, false)
|
47
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-isob-east-1"}]})
|
66
48
|
end
|
67
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1", "signingName"=>"route53"}]})
|
68
|
-
end
|
69
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
|
70
49
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
71
50
|
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"))
|
72
|
-
return Aws::Endpoints::Endpoint.new(url: "https://
|
51
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
73
52
|
end
|
74
53
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
75
54
|
end
|
76
55
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
77
56
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
78
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53
|
57
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
79
58
|
end
|
80
59
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
81
60
|
end
|
82
61
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
83
62
|
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
84
|
-
return Aws::Endpoints::Endpoint.new(url: "https://
|
63
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
85
64
|
end
|
86
65
|
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
87
66
|
end
|
88
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53
|
89
|
-
end
|
90
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso")
|
91
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
92
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
93
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route-53-fips.#{region}.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"route53"}]})
|
94
|
-
end
|
95
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
96
|
-
end
|
97
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"route53"}]})
|
98
|
-
end
|
99
|
-
if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-iso-b")
|
100
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
101
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
102
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route-53-fips.#{region}.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"route53"}]})
|
103
|
-
end
|
104
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
105
|
-
end
|
106
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"route53"}]})
|
107
|
-
end
|
108
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
109
|
-
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"))
|
110
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
111
|
-
end
|
112
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
113
|
-
end
|
114
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
115
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
116
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
117
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"route53"}]})
|
118
|
-
end
|
119
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
120
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"route53"}]})
|
121
|
-
end
|
122
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
123
|
-
end
|
124
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
125
|
-
end
|
126
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
127
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
128
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
129
|
-
end
|
130
|
-
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
131
|
-
end
|
132
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-global")
|
133
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1", "signingName"=>"route53"}]})
|
134
|
-
end
|
135
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-cn-global")
|
136
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.amazonaws.com.cn", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1", "signingName"=>"route53"}]})
|
137
|
-
end
|
138
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-us-gov-global")
|
139
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.us-gov.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1", "signingName"=>"route53"}]})
|
140
|
-
end
|
141
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-global")
|
142
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.c2s.ic.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1", "signingName"=>"route53"}]})
|
143
|
-
end
|
144
|
-
if Aws::Endpoints::Matchers.string_equals?(region, "aws-iso-b-global")
|
145
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.sc2s.sgov.gov", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1", "signingName"=>"route53"}]})
|
67
|
+
return Aws::Endpoints::Endpoint.new(url: "https://route53.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
146
68
|
end
|
147
|
-
return Aws::Endpoints::Endpoint.new(url: "https://route53.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
148
69
|
end
|
70
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
149
71
|
raise ArgumentError, 'No endpoint could be resolved'
|
150
72
|
|
151
73
|
end
|
@@ -1301,6 +1301,12 @@ module Aws::Route53
|
|
1301
1301
|
# delegation set when you created it. For more information about
|
1302
1302
|
# reusable delegation sets, see [CreateReusableDelegationSet][1].
|
1303
1303
|
#
|
1304
|
+
# If you are using a reusable delegation set to create a public hosted
|
1305
|
+
# zone for a subdomain, make sure that the parent hosted zone doesn't
|
1306
|
+
# use one or more of the same name servers. If you have overlapping
|
1307
|
+
# nameservers, the operation will cause a `ConflictingDomainsExist`
|
1308
|
+
# error.
|
1309
|
+
#
|
1304
1310
|
#
|
1305
1311
|
#
|
1306
1312
|
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateReusableDelegationSet.html
|
data/lib/aws-sdk-route53.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-route53
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.77.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-07-
|
11
|
+
date: 2023-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|