aws-sdk-route53 1.61.0 → 1.64.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,6 +27,7 @@ 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'
31
32
  require 'aws-sdk-core/plugins/recursion_detection.rb'
32
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
@@ -76,6 +77,7 @@ module Aws::Route53
76
77
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
77
78
  add_plugin(Aws::Plugins::TransferEncoding)
78
79
  add_plugin(Aws::Plugins::HttpChecksum)
80
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
79
81
  add_plugin(Aws::Plugins::DefaultsMode)
80
82
  add_plugin(Aws::Plugins::RecursionDetection)
81
83
  add_plugin(Aws::Plugins::SignatureV4)
@@ -404,6 +406,27 @@ module Aws::Route53
404
406
  #
405
407
  # </note>
406
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
+ #
407
430
  # @option params [required, String] :hosted_zone_id
408
431
  # The ID of the private hosted zone that you want to associate an Amazon
409
432
  # VPC with.
@@ -473,6 +496,82 @@ module Aws::Route53
473
496
  req.send_request(options)
474
497
  end
475
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
+
476
575
  # Creates, changes, or deletes a resource record set, which contains
477
576
  # authoritative DNS information for a specified domain name or subdomain
478
577
  # name. For example, you can use `ChangeResourceRecordSets` to create a
@@ -533,9 +632,8 @@ module Aws::Route53
533
632
  # * `DELETE`\: Deletes an existing resource record set that has the
534
633
  # specified values.
535
634
  #
536
- # * `UPSERT`\: If a resource record set does not already exist, Amazon
537
- # Web Services creates it. If a resource set does exist, Route 53
538
- # 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.
539
637
  #
540
638
  # **Syntaxes for Creating, Updating, and Deleting Resource Record Sets**
541
639
  #
@@ -1202,6 +1300,10 @@ module Aws::Route53
1202
1300
  # },
1203
1301
  # health_check_id: "HealthCheckId",
1204
1302
  # traffic_policy_instance_id: "TrafficPolicyInstanceId",
1303
+ # cidr_routing_config: {
1304
+ # collection_id: "UUID", # required
1305
+ # location_name: "CidrLocationNameDefaultAllowed", # required
1306
+ # },
1205
1307
  # },
1206
1308
  # },
1207
1309
  # ],
@@ -1308,6 +1410,46 @@ module Aws::Route53
1308
1410
  req.send_request(options)
1309
1411
  end
1310
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
+
1311
1453
  # Creates a new health check.
1312
1454
  #
1313
1455
  # For information about adding health checks to resource record sets,
@@ -1470,8 +1612,8 @@ module Aws::Route53
1470
1612
  # vice versa. Instead, you must create a new hosted zone with the same
1471
1613
  # name and create new resource record sets.
1472
1614
  #
1473
- # For more information about charges for hosted zones, see [Amazon Route
1474
- # 53 Pricing][1].
1615
+ # For more information about charges for hosted zones, see [Amazon
1616
+ # Route 53 Pricing][1].
1475
1617
  #
1476
1618
  # Note the following:
1477
1619
  #
@@ -1480,7 +1622,7 @@ module Aws::Route53
1480
1622
  #
1481
1623
  # * For public hosted zones, Route 53 automatically creates a default
1482
1624
  # SOA record and four NS records for the zone. For more information
1483
- # about SOA and NS records, see [NS and SOA Records that Route 53
1625
+ # about SOA and NS records, see [NS and SOA Records that Route 53
1484
1626
  # Creates for a Hosted Zone][2] in the *Amazon Route 53 Developer
1485
1627
  # Guide*.
1486
1628
  #
@@ -1488,37 +1630,56 @@ module Aws::Route53
1488
1630
  # zones, you can optionally associate a reusable delegation set with
1489
1631
  # the hosted zone. See the `DelegationSetId` element.
1490
1632
  #
1491
- # * If your domain is registered with a registrar other than Route 53,
1633
+ # * If your domain is registered with a registrar other than Route 53,
1492
1634
  # you must update the name servers with your registrar to make Route
1493
1635
  # 53 the DNS service for the domain. For more information, see
1494
- # [Migrating DNS Service for an Existing Domain to Amazon Route 53][3]
1636
+ # [Migrating DNS Service for an Existing Domain to Amazon Route 53][3]
1495
1637
  # in the *Amazon Route 53 Developer Guide*.
1496
1638
  #
1497
1639
  # When you submit a `CreateHostedZone` request, the initial status of
1498
1640
  # the hosted zone is `PENDING`. For public hosted zones, this means that
1499
- # the NS and SOA records are not yet available on all Route 53 DNS
1641
+ # the NS and SOA records are not yet available on all Route 53 DNS
1500
1642
  # servers. When the NS and SOA records are available, the status of the
1501
1643
  # zone changes to `INSYNC`.
1502
1644
  #
1503
1645
  # The `CreateHostedZone` request requires the caller to have an
1504
1646
  # `ec2:DescribeVpcs` permission.
1505
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
+ #
1506
1666
  #
1507
1667
  #
1508
1668
  # [1]: http://aws.amazon.com/route53/pricing/
1509
1669
  # [2]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html
1510
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
1511
1672
  #
1512
1673
  # @option params [required, String] :name
1513
1674
  # The name of the domain. Specify a fully qualified domain name, for
1514
- # example, *www.example.com*. The trailing dot is optional; Amazon Route
1515
- # 53 assumes that the domain name is fully qualified. This means that
1516
- # Route 53 treats *www.example.com* (without a trailing dot) and
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
1517
1678
  # *www.example.com.* (with a trailing dot) as identical.
1518
1679
  #
1519
1680
  # If you're creating a public hosted zone, this is the name you have
1520
1681
  # registered with your DNS registrar. If your domain name is registered
1521
- # with a registrar other than Route 53, change the name servers for your
1682
+ # with a registrar other than Route 53, change the name servers for your
1522
1683
  # domain to the set of `NameServers` that `CreateHostedZone` returns in
1523
1684
  # `DelegationSet`.
1524
1685
  #
@@ -1557,7 +1718,7 @@ module Aws::Route53
1557
1718
  #
1558
1719
  # @option params [String] :delegation_set_id
1559
1720
  # If you want to associate a reusable delegation set with this hosted
1560
- # zone, the ID that Amazon Route 53 assigned to the reusable delegation
1721
+ # zone, the ID that Amazon Route 53 assigned to the reusable delegation
1561
1722
  # set when you created it. For more information about reusable
1562
1723
  # delegation sets, see [CreateReusableDelegationSet][1].
1563
1724
  #
@@ -1792,6 +1953,23 @@ module Aws::Route53
1792
1953
  #
1793
1954
  # `arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*`
1794
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
+ #
1795
1973
  # <note markdown="1"> You can't use the CloudWatch console to create or edit a
1796
1974
  # resource policy. You must use the CloudWatch API, one of the
1797
1975
  # Amazon Web Services SDKs, or the CLI.
@@ -1819,7 +1997,7 @@ module Aws::Route53
1819
1997
  # corresponds with the International Air Transport Association airport
1820
1998
  # code for an airport near the edge location. (These abbreviations
1821
1999
  # might change in the future.) For a list of edge locations, see "The
1822
- # Route 53 Global Network" on the [Route 53 Product Details][1] page.
2000
+ # Route 53 Global Network" on the [Route 53 Product Details][2] page.
1823
2001
  #
1824
2002
  # Queries That Are Logged
1825
2003
  #
@@ -1834,32 +2012,33 @@ module Aws::Route53
1834
2012
  # information about only one query out of every several thousand
1835
2013
  # queries that are submitted to DNS. For more information about how
1836
2014
  # DNS works, see [Routing Internet Traffic to Your Website or Web
1837
- # Application][2] in the *Amazon Route 53 Developer Guide*.
2015
+ # Application][3] in the *Amazon Route 53 Developer Guide*.
1838
2016
  #
1839
2017
  # Log File Format
1840
2018
  #
1841
2019
  # : For a list of the values in each query log and the format of each
1842
- # value, see [Logging DNS Queries][3] in the *Amazon Route 53
2020
+ # value, see [Logging DNS Queries][4] in the *Amazon Route 53
1843
2021
  # Developer Guide*.
1844
2022
  #
1845
2023
  # Pricing
1846
2024
  #
1847
2025
  # : For information about charges for query logs, see [Amazon CloudWatch
1848
- # Pricing][4].
2026
+ # Pricing][5].
1849
2027
  #
1850
2028
  # How to Stop Logging
1851
2029
  #
1852
2030
  # : If you want Route 53 to stop sending query logs to CloudWatch Logs,
1853
2031
  # delete the query logging configuration. For more information, see
1854
- # [DeleteQueryLoggingConfig][5].
2032
+ # [DeleteQueryLoggingConfig][6].
1855
2033
  #
1856
2034
  #
1857
2035
  #
1858
- # [1]: http://aws.amazon.com/route53/details/
1859
- # [2]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html
1860
- # [3]: https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html
1861
- # [4]: http://aws.amazon.com/cloudwatch/pricing/
1862
- # [5]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteQueryLoggingConfig.html
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
1863
2042
  #
1864
2043
  # @option params [required, String] :hosted_zone_id
1865
2044
  # The ID of the hosted zone that you want to log queries for. You can
@@ -2274,6 +2453,29 @@ module Aws::Route53
2274
2453
  req.send_request(options)
2275
2454
  end
2276
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
+
2277
2479
  # Deletes a health check.
2278
2480
  #
2279
2481
  # Amazon Route 53 does not prevent you from deleting a health check even
@@ -2320,7 +2522,7 @@ module Aws::Route53
2320
2522
  #
2321
2523
  # If the hosted zone was created by another service, such as Cloud Map,
2322
2524
  # see [Deleting Public Hosted Zones That Were Created by Another
2323
- # Service][1] in the *Amazon Route 53 Developer Guide* for information
2525
+ # Service][1] in the *Amazon Route 53 Developer Guide* for information
2324
2526
  # about how to delete it. (The process is the same for public and
2325
2527
  # private hosted zones that were created by another service.)
2326
2528
  #
@@ -2341,9 +2543,9 @@ module Aws::Route53
2341
2543
  # If you want to avoid the monthly charge for the hosted zone, you can
2342
2544
  # transfer DNS service for the domain to a free DNS service. When you
2343
2545
  # transfer DNS service, you have to update the name servers for the
2344
- # domain registration. If the domain is registered with Route 53, see
2546
+ # domain registration. If the domain is registered with Route 53, see
2345
2547
  # [UpdateDomainNameservers][2] for information about how to replace
2346
- # Route 53 name servers with name servers for the new DNS service. If
2548
+ # Route 53 name servers with name servers for the new DNS service. If
2347
2549
  # the domain is registered with another registrar, use the method
2348
2550
  # provided by the registrar to update name servers for the domain
2349
2551
  # registration. For more information, perform an internet search on
@@ -2353,7 +2555,7 @@ module Aws::Route53
2353
2555
  # record and NS resource record sets. If the hosted zone contains other
2354
2556
  # resource record sets, you must delete them before you can delete the
2355
2557
  # hosted zone. If you try to delete a hosted zone that contains other
2356
- # resource record sets, the request fails, and Route 53 returns a
2558
+ # resource record sets, the request fails, and Route 53 returns a
2357
2559
  # `HostedZoneNotEmpty` error. For information about deleting records
2358
2560
  # from your hosted zone, see [ChangeResourceRecordSets][3].
2359
2561
  #
@@ -2691,9 +2893,27 @@ module Aws::Route53
2691
2893
  # `DisassociateVPCFromHostedZone`. If the hosted zone has a value for
2692
2894
  # `OwningService`, you can't use `DisassociateVPCFromHostedZone`.
2693
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
+ #
2694
2913
  #
2695
2914
  #
2696
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
2697
2917
  #
2698
2918
  # @option params [required, String] :hosted_zone_id
2699
2919
  # The ID of the private hosted zone that you want to disassociate a VPC
@@ -2857,7 +3077,7 @@ module Aws::Route53
2857
3077
  # @example Request syntax with placeholder values
2858
3078
  #
2859
3079
  # resp = client.get_change({
2860
- # id: "ResourceId", # required
3080
+ # id: "ChangeId", # required
2861
3081
  # })
2862
3082
  #
2863
3083
  # @example Response structure
@@ -3603,6 +3823,145 @@ module Aws::Route53
3603
3823
  req.send_request(options)
3604
3824
  end
3605
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&lt;Types::CidrBlockSummary&gt;
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&lt;Types::CollectionSummary&gt;
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&lt;Types::LocationSummary&gt;
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
+
3606
3965
  # Retrieves a list of supported geographic locations.
3607
3966
  #
3608
3967
  # Countries are listed first, and continents are listed last. If Amazon
@@ -4014,6 +4373,28 @@ module Aws::Route53
4014
4373
  # hosted zone was created by Amazon Elastic File System (Amazon EFS),
4015
4374
  # the value of `Owner` is `efs.amazonaws.com`.
4016
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
+ #
4017
4398
  # @option params [required, String] :vpc_id
4018
4399
  # The ID of the Amazon VPC that you want to list hosted zones for.
4019
4400
  #
@@ -4321,6 +4702,8 @@ module Aws::Route53
4321
4702
  # resp.resource_record_sets[0].alias_target.evaluate_target_health #=> Boolean
4322
4703
  # resp.resource_record_sets[0].health_check_id #=> String
4323
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
4324
4707
  # resp.is_truncated #=> Boolean
4325
4708
  # resp.next_record_name #=> String
4326
4709
  # resp.next_record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
@@ -5660,7 +6043,7 @@ module Aws::Route53
5660
6043
  params: params,
5661
6044
  config: config)
5662
6045
  context[:gem_name] = 'aws-sdk-route53'
5663
- context[:gem_version] = '1.61.0'
6046
+ context[:gem_version] = '1.64.0'
5664
6047
  Seahorse::Client::Request.new(handlers, context)
5665
6048
  end
5666
6049