aws-sdk-route53 1.60.0 → 1.63.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 +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53/client.rb +415 -30
- data/lib/aws-sdk-route53/client_api.rb +241 -1
- data/lib/aws-sdk-route53/errors.rb +96 -0
- data/lib/aws-sdk-route53/types.rb +587 -18
- data/lib/aws-sdk-route53.rb +1 -1
- metadata +4 -4
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/rest_xml.rb'
|
33
35
|
require 'aws-sdk-route53/plugins/id_fix.rb'
|
@@ -75,7 +77,9 @@ module Aws::Route53
|
|
75
77
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
80
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
81
|
add_plugin(Aws::Plugins::DefaultsMode)
|
82
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
79
83
|
add_plugin(Aws::Plugins::SignatureV4)
|
80
84
|
add_plugin(Aws::Plugins::Protocols::RestXml)
|
81
85
|
add_plugin(Aws::Route53::Plugins::IdFix)
|
@@ -402,6 +406,27 @@ module Aws::Route53
|
|
402
406
|
#
|
403
407
|
# </note>
|
404
408
|
#
|
409
|
+
# <note markdown="1"> When granting access, the hosted zone and the Amazon VPC must belong
|
410
|
+
# to the same partition. A partition is a group of Amazon Web Services
|
411
|
+
# Regions. Each Amazon Web Services account is scoped to one partition.
|
412
|
+
#
|
413
|
+
# The following are the supported partitions:
|
414
|
+
#
|
415
|
+
# * `aws` - Amazon Web Services Regions
|
416
|
+
#
|
417
|
+
# * `aws-cn` - China Regions
|
418
|
+
#
|
419
|
+
# * `aws-us-gov` - Amazon Web Services GovCloud (US) Region
|
420
|
+
#
|
421
|
+
# For more information, see [Access Management][1] in the *Amazon Web
|
422
|
+
# Services General Reference*.
|
423
|
+
#
|
424
|
+
# </note>
|
425
|
+
#
|
426
|
+
#
|
427
|
+
#
|
428
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
429
|
+
#
|
405
430
|
# @option params [required, String] :hosted_zone_id
|
406
431
|
# The ID of the private hosted zone that you want to associate an Amazon
|
407
432
|
# VPC with.
|
@@ -471,6 +496,82 @@ module Aws::Route53
|
|
471
496
|
req.send_request(options)
|
472
497
|
end
|
473
498
|
|
499
|
+
# Creates, changes, or deletes CIDR blocks within a collection. Contains
|
500
|
+
# authoritative IP information mapping blocks to one or multiple
|
501
|
+
# locations.
|
502
|
+
#
|
503
|
+
# A change request can update multiple locations in a collection at a
|
504
|
+
# time, which is helpful if you want to move one or more CIDR blocks
|
505
|
+
# from one location to another in one transaction, without downtime.
|
506
|
+
#
|
507
|
+
# **Limits**
|
508
|
+
#
|
509
|
+
# The max number of CIDR blocks included in the request is 1000. As a
|
510
|
+
# result, big updates require multiple API calls.
|
511
|
+
#
|
512
|
+
# <b> PUT and DELETE\_IF\_EXISTS</b>
|
513
|
+
#
|
514
|
+
# Use `ChangeCidrCollection` to perform the following actions:
|
515
|
+
#
|
516
|
+
# * `PUT`\: Create a CIDR block within the specified collection.
|
517
|
+
#
|
518
|
+
# * ` DELETE_IF_EXISTS`\: Delete an existing CIDR block from the
|
519
|
+
# collection.
|
520
|
+
#
|
521
|
+
# @option params [required, String] :id
|
522
|
+
# The UUID of the CIDR collection to update.
|
523
|
+
#
|
524
|
+
# @option params [Integer] :collection_version
|
525
|
+
# A sequential counter that Amazon Route 53 sets to 1 when you create a
|
526
|
+
# collection and increments it by 1 each time you update the collection.
|
527
|
+
#
|
528
|
+
# We recommend that you use `ListCidrCollection` to get the current
|
529
|
+
# value of `CollectionVersion` for the collection that you want to
|
530
|
+
# update, and then include that value with the change request. This
|
531
|
+
# prevents Route 53 from overwriting an intervening update:
|
532
|
+
#
|
533
|
+
# * If the value in the request matches the value of `CollectionVersion`
|
534
|
+
# in the collection, Route 53 updates the collection.
|
535
|
+
#
|
536
|
+
# * If the value of `CollectionVersion` in the collection is greater
|
537
|
+
# than the value in the request, the collection was changed after you
|
538
|
+
# got the version number. Route 53 does not update the collection, and
|
539
|
+
# it returns a `CidrCollectionVersionMismatch` error.
|
540
|
+
#
|
541
|
+
# @option params [required, Array<Types::CidrCollectionChange>] :changes
|
542
|
+
# Information about changes to a CIDR collection.
|
543
|
+
#
|
544
|
+
# @return [Types::ChangeCidrCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
545
|
+
#
|
546
|
+
# * {Types::ChangeCidrCollectionResponse#id #id} => String
|
547
|
+
#
|
548
|
+
# @example Request syntax with placeholder values
|
549
|
+
#
|
550
|
+
# resp = client.change_cidr_collection({
|
551
|
+
# id: "UUID", # required
|
552
|
+
# collection_version: 1,
|
553
|
+
# changes: [ # required
|
554
|
+
# {
|
555
|
+
# location_name: "CidrLocationNameDefaultNotAllowed", # required
|
556
|
+
# action: "PUT", # required, accepts PUT, DELETE_IF_EXISTS
|
557
|
+
# cidr_list: ["Cidr"], # required
|
558
|
+
# },
|
559
|
+
# ],
|
560
|
+
# })
|
561
|
+
#
|
562
|
+
# @example Response structure
|
563
|
+
#
|
564
|
+
# resp.id #=> String
|
565
|
+
#
|
566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ChangeCidrCollection AWS API Documentation
|
567
|
+
#
|
568
|
+
# @overload change_cidr_collection(params = {})
|
569
|
+
# @param [Hash] params ({})
|
570
|
+
def change_cidr_collection(params = {}, options = {})
|
571
|
+
req = build_request(:change_cidr_collection, params)
|
572
|
+
req.send_request(options)
|
573
|
+
end
|
574
|
+
|
474
575
|
# Creates, changes, or deletes a resource record set, which contains
|
475
576
|
# authoritative DNS information for a specified domain name or subdomain
|
476
577
|
# name. For example, you can use `ChangeResourceRecordSets` to create a
|
@@ -531,9 +632,8 @@ module Aws::Route53
|
|
531
632
|
# * `DELETE`\: Deletes an existing resource record set that has the
|
532
633
|
# specified values.
|
533
634
|
#
|
534
|
-
# * `UPSERT`\: If a resource
|
535
|
-
#
|
536
|
-
# updates it with the values in the request.
|
635
|
+
# * `UPSERT`\: If a resource set exists Route 53 updates it with the
|
636
|
+
# values in the request.
|
537
637
|
#
|
538
638
|
# **Syntaxes for Creating, Updating, and Deleting Resource Record Sets**
|
539
639
|
#
|
@@ -1200,6 +1300,10 @@ module Aws::Route53
|
|
1200
1300
|
# },
|
1201
1301
|
# health_check_id: "HealthCheckId",
|
1202
1302
|
# traffic_policy_instance_id: "TrafficPolicyInstanceId",
|
1303
|
+
# cidr_routing_config: {
|
1304
|
+
# collection_id: "UUID", # required
|
1305
|
+
# location_name: "CidrLocationNameDefaultAllowed", # required
|
1306
|
+
# },
|
1203
1307
|
# },
|
1204
1308
|
# },
|
1205
1309
|
# ],
|
@@ -1306,6 +1410,46 @@ module Aws::Route53
|
|
1306
1410
|
req.send_request(options)
|
1307
1411
|
end
|
1308
1412
|
|
1413
|
+
# Creates a CIDR collection in the current Amazon Web Services account.
|
1414
|
+
#
|
1415
|
+
# @option params [required, String] :name
|
1416
|
+
# A unique identifier for the account that can be used to reference the
|
1417
|
+
# collection from other API calls.
|
1418
|
+
#
|
1419
|
+
# @option params [required, String] :caller_reference
|
1420
|
+
# A client-specific token that allows requests to be securely retried so
|
1421
|
+
# that the intended outcome will only occur once, retries receive a
|
1422
|
+
# similar response, and there are no additional edge cases to handle.
|
1423
|
+
#
|
1424
|
+
# @return [Types::CreateCidrCollectionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1425
|
+
#
|
1426
|
+
# * {Types::CreateCidrCollectionResponse#collection #collection} => Types::CidrCollection
|
1427
|
+
# * {Types::CreateCidrCollectionResponse#location #location} => String
|
1428
|
+
#
|
1429
|
+
# @example Request syntax with placeholder values
|
1430
|
+
#
|
1431
|
+
# resp = client.create_cidr_collection({
|
1432
|
+
# name: "CollectionName", # required
|
1433
|
+
# caller_reference: "CidrNonce", # required
|
1434
|
+
# })
|
1435
|
+
#
|
1436
|
+
# @example Response structure
|
1437
|
+
#
|
1438
|
+
# resp.collection.arn #=> String
|
1439
|
+
# resp.collection.id #=> String
|
1440
|
+
# resp.collection.name #=> String
|
1441
|
+
# resp.collection.version #=> Integer
|
1442
|
+
# resp.location #=> String
|
1443
|
+
#
|
1444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateCidrCollection AWS API Documentation
|
1445
|
+
#
|
1446
|
+
# @overload create_cidr_collection(params = {})
|
1447
|
+
# @param [Hash] params ({})
|
1448
|
+
def create_cidr_collection(params = {}, options = {})
|
1449
|
+
req = build_request(:create_cidr_collection, params)
|
1450
|
+
req.send_request(options)
|
1451
|
+
end
|
1452
|
+
|
1309
1453
|
# Creates a new health check.
|
1310
1454
|
#
|
1311
1455
|
# For information about adding health checks to resource record sets,
|
@@ -1468,8 +1612,8 @@ module Aws::Route53
|
|
1468
1612
|
# vice versa. Instead, you must create a new hosted zone with the same
|
1469
1613
|
# name and create new resource record sets.
|
1470
1614
|
#
|
1471
|
-
# For more information about charges for hosted zones, see [Amazon
|
1472
|
-
# 53 Pricing][1].
|
1615
|
+
# For more information about charges for hosted zones, see [Amazon
|
1616
|
+
# Route 53 Pricing][1].
|
1473
1617
|
#
|
1474
1618
|
# Note the following:
|
1475
1619
|
#
|
@@ -1478,7 +1622,7 @@ module Aws::Route53
|
|
1478
1622
|
#
|
1479
1623
|
# * For public hosted zones, Route 53 automatically creates a default
|
1480
1624
|
# SOA record and four NS records for the zone. For more information
|
1481
|
-
# about SOA and NS records, see [NS and SOA Records that Route
|
1625
|
+
# about SOA and NS records, see [NS and SOA Records that Route 53
|
1482
1626
|
# Creates for a Hosted Zone][2] in the *Amazon Route 53 Developer
|
1483
1627
|
# Guide*.
|
1484
1628
|
#
|
@@ -1486,37 +1630,56 @@ module Aws::Route53
|
|
1486
1630
|
# zones, you can optionally associate a reusable delegation set with
|
1487
1631
|
# the hosted zone. See the `DelegationSetId` element.
|
1488
1632
|
#
|
1489
|
-
# * If your domain is registered with a registrar other than Route
|
1633
|
+
# * If your domain is registered with a registrar other than Route 53,
|
1490
1634
|
# you must update the name servers with your registrar to make Route
|
1491
1635
|
# 53 the DNS service for the domain. For more information, see
|
1492
|
-
# [Migrating DNS Service for an Existing Domain to Amazon Route
|
1636
|
+
# [Migrating DNS Service for an Existing Domain to Amazon Route 53][3]
|
1493
1637
|
# in the *Amazon Route 53 Developer Guide*.
|
1494
1638
|
#
|
1495
1639
|
# When you submit a `CreateHostedZone` request, the initial status of
|
1496
1640
|
# the hosted zone is `PENDING`. For public hosted zones, this means that
|
1497
|
-
# the NS and SOA records are not yet available on all Route
|
1641
|
+
# the NS and SOA records are not yet available on all Route 53 DNS
|
1498
1642
|
# servers. When the NS and SOA records are available, the status of the
|
1499
1643
|
# zone changes to `INSYNC`.
|
1500
1644
|
#
|
1501
1645
|
# The `CreateHostedZone` request requires the caller to have an
|
1502
1646
|
# `ec2:DescribeVpcs` permission.
|
1503
1647
|
#
|
1648
|
+
# <note markdown="1"> When creating private hosted zones, the Amazon VPC must belong to the
|
1649
|
+
# same partition where the hosted zone is created. A partition is a
|
1650
|
+
# group of Amazon Web Services Regions. Each Amazon Web Services account
|
1651
|
+
# is scoped to one partition.
|
1652
|
+
#
|
1653
|
+
# The following are the supported partitions:
|
1654
|
+
#
|
1655
|
+
# * `aws` - Amazon Web Services Regions
|
1656
|
+
#
|
1657
|
+
# * `aws-cn` - China Regions
|
1658
|
+
#
|
1659
|
+
# * `aws-us-gov` - Amazon Web Services GovCloud (US) Region
|
1660
|
+
#
|
1661
|
+
# For more information, see [Access Management][4] in the *Amazon Web
|
1662
|
+
# Services General Reference*.
|
1663
|
+
#
|
1664
|
+
# </note>
|
1665
|
+
#
|
1504
1666
|
#
|
1505
1667
|
#
|
1506
1668
|
# [1]: http://aws.amazon.com/route53/pricing/
|
1507
1669
|
# [2]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html
|
1508
1670
|
# [3]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html
|
1671
|
+
# [4]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1509
1672
|
#
|
1510
1673
|
# @option params [required, String] :name
|
1511
1674
|
# The name of the domain. Specify a fully qualified domain name, for
|
1512
|
-
# example, *www.example.com*. The trailing dot is optional; Amazon
|
1513
|
-
# 53 assumes that the domain name is fully qualified. This means
|
1514
|
-
# Route
|
1675
|
+
# example, *www.example.com*. The trailing dot is optional; Amazon
|
1676
|
+
# Route 53 assumes that the domain name is fully qualified. This means
|
1677
|
+
# that Route 53 treats *www.example.com* (without a trailing dot) and
|
1515
1678
|
# *www.example.com.* (with a trailing dot) as identical.
|
1516
1679
|
#
|
1517
1680
|
# If you're creating a public hosted zone, this is the name you have
|
1518
1681
|
# registered with your DNS registrar. If your domain name is registered
|
1519
|
-
# with a registrar other than Route
|
1682
|
+
# with a registrar other than Route 53, change the name servers for your
|
1520
1683
|
# domain to the set of `NameServers` that `CreateHostedZone` returns in
|
1521
1684
|
# `DelegationSet`.
|
1522
1685
|
#
|
@@ -1555,7 +1718,7 @@ module Aws::Route53
|
|
1555
1718
|
#
|
1556
1719
|
# @option params [String] :delegation_set_id
|
1557
1720
|
# If you want to associate a reusable delegation set with this hosted
|
1558
|
-
# zone, the ID that Amazon Route
|
1721
|
+
# zone, the ID that Amazon Route 53 assigned to the reusable delegation
|
1559
1722
|
# set when you created it. For more information about reusable
|
1560
1723
|
# delegation sets, see [CreateReusableDelegationSet][1].
|
1561
1724
|
#
|
@@ -1790,6 +1953,23 @@ module Aws::Route53
|
|
1790
1953
|
#
|
1791
1954
|
# `arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*`
|
1792
1955
|
#
|
1956
|
+
# To avoid the confused deputy problem, a security issue where an
|
1957
|
+
# entity without a permission for an action can coerce a
|
1958
|
+
# more-privileged entity to perform it, you can optionally limit
|
1959
|
+
# the permissions that a service has to a resource in a
|
1960
|
+
# resource-based policy by supplying the following values:
|
1961
|
+
#
|
1962
|
+
# * For `aws:SourceArn`, supply the hosted zone ARN used in
|
1963
|
+
# creating the query logging configuration. For example,
|
1964
|
+
# `aws:SourceArn: arn:aws:route53:::hostedzone/hosted zone ID`.
|
1965
|
+
#
|
1966
|
+
# * For `aws:SourceAccount`, supply the account ID for the account
|
1967
|
+
# that creates the query logging configuration. For example,
|
1968
|
+
# `aws:SourceAccount:111111111111`.
|
1969
|
+
#
|
1970
|
+
# For more information, see [The confused deputy problem][1] in
|
1971
|
+
# the *Amazon Web Services IAM User Guide*.
|
1972
|
+
#
|
1793
1973
|
# <note markdown="1"> You can't use the CloudWatch console to create or edit a
|
1794
1974
|
# resource policy. You must use the CloudWatch API, one of the
|
1795
1975
|
# Amazon Web Services SDKs, or the CLI.
|
@@ -1817,7 +1997,7 @@ module Aws::Route53
|
|
1817
1997
|
# corresponds with the International Air Transport Association airport
|
1818
1998
|
# code for an airport near the edge location. (These abbreviations
|
1819
1999
|
# might change in the future.) For a list of edge locations, see "The
|
1820
|
-
# Route 53 Global Network" on the [Route 53 Product Details][
|
2000
|
+
# Route 53 Global Network" on the [Route 53 Product Details][2] page.
|
1821
2001
|
#
|
1822
2002
|
# Queries That Are Logged
|
1823
2003
|
#
|
@@ -1832,32 +2012,33 @@ module Aws::Route53
|
|
1832
2012
|
# information about only one query out of every several thousand
|
1833
2013
|
# queries that are submitted to DNS. For more information about how
|
1834
2014
|
# DNS works, see [Routing Internet Traffic to Your Website or Web
|
1835
|
-
# Application][
|
2015
|
+
# Application][3] in the *Amazon Route 53 Developer Guide*.
|
1836
2016
|
#
|
1837
2017
|
# Log File Format
|
1838
2018
|
#
|
1839
2019
|
# : For a list of the values in each query log and the format of each
|
1840
|
-
# value, see [Logging DNS Queries][
|
2020
|
+
# value, see [Logging DNS Queries][4] in the *Amazon Route 53
|
1841
2021
|
# Developer Guide*.
|
1842
2022
|
#
|
1843
2023
|
# Pricing
|
1844
2024
|
#
|
1845
2025
|
# : For information about charges for query logs, see [Amazon CloudWatch
|
1846
|
-
# Pricing][
|
2026
|
+
# Pricing][5].
|
1847
2027
|
#
|
1848
2028
|
# How to Stop Logging
|
1849
2029
|
#
|
1850
2030
|
# : If you want Route 53 to stop sending query logs to CloudWatch Logs,
|
1851
2031
|
# delete the query logging configuration. For more information, see
|
1852
|
-
# [DeleteQueryLoggingConfig][
|
2032
|
+
# [DeleteQueryLoggingConfig][6].
|
1853
2033
|
#
|
1854
2034
|
#
|
1855
2035
|
#
|
1856
|
-
# [1]:
|
1857
|
-
# [2]:
|
1858
|
-
# [3]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/
|
1859
|
-
# [4]:
|
1860
|
-
# [5]:
|
2036
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/confused-deputy.html
|
2037
|
+
# [2]: http://aws.amazon.com/route53/details/
|
2038
|
+
# [3]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html
|
2039
|
+
# [4]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
|
2040
|
+
# [5]: http://aws.amazon.com/cloudwatch/pricing/
|
2041
|
+
# [6]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteQueryLoggingConfig.html
|
1861
2042
|
#
|
1862
2043
|
# @option params [required, String] :hosted_zone_id
|
1863
2044
|
# The ID of the hosted zone that you want to log queries for. You can
|
@@ -2272,6 +2453,29 @@ module Aws::Route53
|
|
2272
2453
|
req.send_request(options)
|
2273
2454
|
end
|
2274
2455
|
|
2456
|
+
# Deletes a CIDR collection in the current Amazon Web Services account.
|
2457
|
+
# The collection must be empty before it can be deleted.
|
2458
|
+
#
|
2459
|
+
# @option params [required, String] :id
|
2460
|
+
# The UUID of the collection to delete.
|
2461
|
+
#
|
2462
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2463
|
+
#
|
2464
|
+
# @example Request syntax with placeholder values
|
2465
|
+
#
|
2466
|
+
# resp = client.delete_cidr_collection({
|
2467
|
+
# id: "UUID", # required
|
2468
|
+
# })
|
2469
|
+
#
|
2470
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteCidrCollection AWS API Documentation
|
2471
|
+
#
|
2472
|
+
# @overload delete_cidr_collection(params = {})
|
2473
|
+
# @param [Hash] params ({})
|
2474
|
+
def delete_cidr_collection(params = {}, options = {})
|
2475
|
+
req = build_request(:delete_cidr_collection, params)
|
2476
|
+
req.send_request(options)
|
2477
|
+
end
|
2478
|
+
|
2275
2479
|
# Deletes a health check.
|
2276
2480
|
#
|
2277
2481
|
# Amazon Route 53 does not prevent you from deleting a health check even
|
@@ -2318,7 +2522,7 @@ module Aws::Route53
|
|
2318
2522
|
#
|
2319
2523
|
# If the hosted zone was created by another service, such as Cloud Map,
|
2320
2524
|
# see [Deleting Public Hosted Zones That Were Created by Another
|
2321
|
-
# Service][1] in the *Amazon Route
|
2525
|
+
# Service][1] in the *Amazon Route 53 Developer Guide* for information
|
2322
2526
|
# about how to delete it. (The process is the same for public and
|
2323
2527
|
# private hosted zones that were created by another service.)
|
2324
2528
|
#
|
@@ -2339,9 +2543,9 @@ module Aws::Route53
|
|
2339
2543
|
# If you want to avoid the monthly charge for the hosted zone, you can
|
2340
2544
|
# transfer DNS service for the domain to a free DNS service. When you
|
2341
2545
|
# transfer DNS service, you have to update the name servers for the
|
2342
|
-
# domain registration. If the domain is registered with Route
|
2546
|
+
# domain registration. If the domain is registered with Route 53, see
|
2343
2547
|
# [UpdateDomainNameservers][2] for information about how to replace
|
2344
|
-
# Route
|
2548
|
+
# Route 53 name servers with name servers for the new DNS service. If
|
2345
2549
|
# the domain is registered with another registrar, use the method
|
2346
2550
|
# provided by the registrar to update name servers for the domain
|
2347
2551
|
# registration. For more information, perform an internet search on
|
@@ -2351,7 +2555,7 @@ module Aws::Route53
|
|
2351
2555
|
# record and NS resource record sets. If the hosted zone contains other
|
2352
2556
|
# resource record sets, you must delete them before you can delete the
|
2353
2557
|
# hosted zone. If you try to delete a hosted zone that contains other
|
2354
|
-
# resource record sets, the request fails, and Route
|
2558
|
+
# resource record sets, the request fails, and Route 53 returns a
|
2355
2559
|
# `HostedZoneNotEmpty` error. For information about deleting records
|
2356
2560
|
# from your hosted zone, see [ChangeResourceRecordSets][3].
|
2357
2561
|
#
|
@@ -2689,9 +2893,27 @@ module Aws::Route53
|
|
2689
2893
|
# `DisassociateVPCFromHostedZone`. If the hosted zone has a value for
|
2690
2894
|
# `OwningService`, you can't use `DisassociateVPCFromHostedZone`.
|
2691
2895
|
#
|
2896
|
+
# <note markdown="1"> When revoking access, the hosted zone and the Amazon VPC must belong
|
2897
|
+
# to the same partition. A partition is a group of Amazon Web Services
|
2898
|
+
# Regions. Each Amazon Web Services account is scoped to one partition.
|
2899
|
+
#
|
2900
|
+
# The following are the supported partitions:
|
2901
|
+
#
|
2902
|
+
# * `aws` - Amazon Web Services Regions
|
2903
|
+
#
|
2904
|
+
# * `aws-cn` - China Regions
|
2905
|
+
#
|
2906
|
+
# * `aws-us-gov` - Amazon Web Services GovCloud (US) Region
|
2907
|
+
#
|
2908
|
+
# For more information, see [Access Management][2] in the *Amazon Web
|
2909
|
+
# Services General Reference*.
|
2910
|
+
#
|
2911
|
+
# </note>
|
2912
|
+
#
|
2692
2913
|
#
|
2693
2914
|
#
|
2694
2915
|
# [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListHostedZonesByVPC.html
|
2916
|
+
# [2]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2695
2917
|
#
|
2696
2918
|
# @option params [required, String] :hosted_zone_id
|
2697
2919
|
# The ID of the private hosted zone that you want to disassociate a VPC
|
@@ -2855,7 +3077,7 @@ module Aws::Route53
|
|
2855
3077
|
# @example Request syntax with placeholder values
|
2856
3078
|
#
|
2857
3079
|
# resp = client.get_change({
|
2858
|
-
# id: "
|
3080
|
+
# id: "ChangeId", # required
|
2859
3081
|
# })
|
2860
3082
|
#
|
2861
3083
|
# @example Response structure
|
@@ -3601,6 +3823,145 @@ module Aws::Route53
|
|
3601
3823
|
req.send_request(options)
|
3602
3824
|
end
|
3603
3825
|
|
3826
|
+
# Returns a paginated list of location objects and their CIDR blocks.
|
3827
|
+
#
|
3828
|
+
# @option params [required, String] :collection_id
|
3829
|
+
# The UUID of the CIDR collection.
|
3830
|
+
#
|
3831
|
+
# @option params [String] :location_name
|
3832
|
+
# The name of the CIDR collection location.
|
3833
|
+
#
|
3834
|
+
# @option params [String] :next_token
|
3835
|
+
# An opaque pagination token to indicate where the service is to begin
|
3836
|
+
# enumerating results.
|
3837
|
+
#
|
3838
|
+
# @option params [String] :max_results
|
3839
|
+
# Maximum number of results you want returned.
|
3840
|
+
#
|
3841
|
+
# @return [Types::ListCidrBlocksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3842
|
+
#
|
3843
|
+
# * {Types::ListCidrBlocksResponse#next_token #next_token} => String
|
3844
|
+
# * {Types::ListCidrBlocksResponse#cidr_blocks #cidr_blocks} => Array<Types::CidrBlockSummary>
|
3845
|
+
#
|
3846
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3847
|
+
#
|
3848
|
+
# @example Request syntax with placeholder values
|
3849
|
+
#
|
3850
|
+
# resp = client.list_cidr_blocks({
|
3851
|
+
# collection_id: "UUID", # required
|
3852
|
+
# location_name: "CidrLocationNameDefaultNotAllowed",
|
3853
|
+
# next_token: "PaginationToken",
|
3854
|
+
# max_results: "MaxResults",
|
3855
|
+
# })
|
3856
|
+
#
|
3857
|
+
# @example Response structure
|
3858
|
+
#
|
3859
|
+
# resp.next_token #=> String
|
3860
|
+
# resp.cidr_blocks #=> Array
|
3861
|
+
# resp.cidr_blocks[0].cidr_block #=> String
|
3862
|
+
# resp.cidr_blocks[0].location_name #=> String
|
3863
|
+
#
|
3864
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrBlocks AWS API Documentation
|
3865
|
+
#
|
3866
|
+
# @overload list_cidr_blocks(params = {})
|
3867
|
+
# @param [Hash] params ({})
|
3868
|
+
def list_cidr_blocks(params = {}, options = {})
|
3869
|
+
req = build_request(:list_cidr_blocks, params)
|
3870
|
+
req.send_request(options)
|
3871
|
+
end
|
3872
|
+
|
3873
|
+
# Returns a paginated list of CIDR collections in the Amazon Web
|
3874
|
+
# Services account (metadata only).
|
3875
|
+
#
|
3876
|
+
# @option params [String] :next_token
|
3877
|
+
# An opaque pagination token to indicate where the service is to begin
|
3878
|
+
# enumerating results.
|
3879
|
+
#
|
3880
|
+
# If no value is provided, the listing of results starts from the
|
3881
|
+
# beginning.
|
3882
|
+
#
|
3883
|
+
# @option params [String] :max_results
|
3884
|
+
# The maximum number of CIDR collections to return in the response.
|
3885
|
+
#
|
3886
|
+
# @return [Types::ListCidrCollectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3887
|
+
#
|
3888
|
+
# * {Types::ListCidrCollectionsResponse#next_token #next_token} => String
|
3889
|
+
# * {Types::ListCidrCollectionsResponse#cidr_collections #cidr_collections} => Array<Types::CollectionSummary>
|
3890
|
+
#
|
3891
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3892
|
+
#
|
3893
|
+
# @example Request syntax with placeholder values
|
3894
|
+
#
|
3895
|
+
# resp = client.list_cidr_collections({
|
3896
|
+
# next_token: "PaginationToken",
|
3897
|
+
# max_results: "MaxResults",
|
3898
|
+
# })
|
3899
|
+
#
|
3900
|
+
# @example Response structure
|
3901
|
+
#
|
3902
|
+
# resp.next_token #=> String
|
3903
|
+
# resp.cidr_collections #=> Array
|
3904
|
+
# resp.cidr_collections[0].arn #=> String
|
3905
|
+
# resp.cidr_collections[0].id #=> String
|
3906
|
+
# resp.cidr_collections[0].name #=> String
|
3907
|
+
# resp.cidr_collections[0].version #=> Integer
|
3908
|
+
#
|
3909
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrCollections AWS API Documentation
|
3910
|
+
#
|
3911
|
+
# @overload list_cidr_collections(params = {})
|
3912
|
+
# @param [Hash] params ({})
|
3913
|
+
def list_cidr_collections(params = {}, options = {})
|
3914
|
+
req = build_request(:list_cidr_collections, params)
|
3915
|
+
req.send_request(options)
|
3916
|
+
end
|
3917
|
+
|
3918
|
+
# Returns a paginated list of CIDR locations for the given collection
|
3919
|
+
# (metadata only, does not include CIDR blocks).
|
3920
|
+
#
|
3921
|
+
# @option params [required, String] :collection_id
|
3922
|
+
# The CIDR collection ID.
|
3923
|
+
#
|
3924
|
+
# @option params [String] :next_token
|
3925
|
+
# An opaque pagination token to indicate where the service is to begin
|
3926
|
+
# enumerating results.
|
3927
|
+
#
|
3928
|
+
# If no value is provided, the listing of results starts from the
|
3929
|
+
# beginning.
|
3930
|
+
#
|
3931
|
+
# @option params [String] :max_results
|
3932
|
+
# The maximum number of CIDR collection locations to return in the
|
3933
|
+
# response.
|
3934
|
+
#
|
3935
|
+
# @return [Types::ListCidrLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3936
|
+
#
|
3937
|
+
# * {Types::ListCidrLocationsResponse#next_token #next_token} => String
|
3938
|
+
# * {Types::ListCidrLocationsResponse#cidr_locations #cidr_locations} => Array<Types::LocationSummary>
|
3939
|
+
#
|
3940
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3941
|
+
#
|
3942
|
+
# @example Request syntax with placeholder values
|
3943
|
+
#
|
3944
|
+
# resp = client.list_cidr_locations({
|
3945
|
+
# collection_id: "UUID", # required
|
3946
|
+
# next_token: "PaginationToken",
|
3947
|
+
# max_results: "MaxResults",
|
3948
|
+
# })
|
3949
|
+
#
|
3950
|
+
# @example Response structure
|
3951
|
+
#
|
3952
|
+
# resp.next_token #=> String
|
3953
|
+
# resp.cidr_locations #=> Array
|
3954
|
+
# resp.cidr_locations[0].location_name #=> String
|
3955
|
+
#
|
3956
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListCidrLocations AWS API Documentation
|
3957
|
+
#
|
3958
|
+
# @overload list_cidr_locations(params = {})
|
3959
|
+
# @param [Hash] params ({})
|
3960
|
+
def list_cidr_locations(params = {}, options = {})
|
3961
|
+
req = build_request(:list_cidr_locations, params)
|
3962
|
+
req.send_request(options)
|
3963
|
+
end
|
3964
|
+
|
3604
3965
|
# Retrieves a list of supported geographic locations.
|
3605
3966
|
#
|
3606
3967
|
# Countries are listed first, and continents are listed last. If Amazon
|
@@ -4012,6 +4373,28 @@ module Aws::Route53
|
|
4012
4373
|
# hosted zone was created by Amazon Elastic File System (Amazon EFS),
|
4013
4374
|
# the value of `Owner` is `efs.amazonaws.com`.
|
4014
4375
|
#
|
4376
|
+
# <note markdown="1"> When listing private hosted zones, the hosted zone and the Amazon VPC
|
4377
|
+
# must belong to the same partition where the hosted zones were created.
|
4378
|
+
# A partition is a group of Amazon Web Services Regions. Each Amazon Web
|
4379
|
+
# Services account is scoped to one partition.
|
4380
|
+
#
|
4381
|
+
# The following are the supported partitions:
|
4382
|
+
#
|
4383
|
+
# * `aws` - Amazon Web Services Regions
|
4384
|
+
#
|
4385
|
+
# * `aws-cn` - China Regions
|
4386
|
+
#
|
4387
|
+
# * `aws-us-gov` - Amazon Web Services GovCloud (US) Region
|
4388
|
+
#
|
4389
|
+
# For more information, see [Access Management][1] in the *Amazon Web
|
4390
|
+
# Services General Reference*.
|
4391
|
+
#
|
4392
|
+
# </note>
|
4393
|
+
#
|
4394
|
+
#
|
4395
|
+
#
|
4396
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4397
|
+
#
|
4015
4398
|
# @option params [required, String] :vpc_id
|
4016
4399
|
# The ID of the Amazon VPC that you want to list hosted zones for.
|
4017
4400
|
#
|
@@ -4319,6 +4702,8 @@ module Aws::Route53
|
|
4319
4702
|
# resp.resource_record_sets[0].alias_target.evaluate_target_health #=> Boolean
|
4320
4703
|
# resp.resource_record_sets[0].health_check_id #=> String
|
4321
4704
|
# resp.resource_record_sets[0].traffic_policy_instance_id #=> String
|
4705
|
+
# resp.resource_record_sets[0].cidr_routing_config.collection_id #=> String
|
4706
|
+
# resp.resource_record_sets[0].cidr_routing_config.location_name #=> String
|
4322
4707
|
# resp.is_truncated #=> Boolean
|
4323
4708
|
# resp.next_record_name #=> String
|
4324
4709
|
# resp.next_record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
|
@@ -5658,7 +6043,7 @@ module Aws::Route53
|
|
5658
6043
|
params: params,
|
5659
6044
|
config: config)
|
5660
6045
|
context[:gem_name] = 'aws-sdk-route53'
|
5661
|
-
context[:gem_version] = '1.
|
6046
|
+
context[:gem_version] = '1.63.0'
|
5662
6047
|
Seahorse::Client::Request.new(handlers, context)
|
5663
6048
|
end
|
5664
6049
|
|