aws-sdk-route53 1.62.0 → 1.63.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1fe73a5e9df5d0dbca4f6d8b19ae0d3a9f48bbf7a34189dd4621da6e5162c08b
4
- data.tar.gz: 599e9075330bb10e3c851e92eac34b030c00ca9e0dd82cef599a283e2191a343
3
+ metadata.gz: 62a3dce7e918b83c2b215a46b9a31bb52baf22c9c43df7a35d6380f540e3e32e
4
+ data.tar.gz: bcd3bb0d90434ff255d3b49c6c3205ae7ac20d4c6946b58df4fa7c9a058f0f58
5
5
  SHA512:
6
- metadata.gz: bfc21205e576f8dd43877f2d6dbb822c2fe32a495a957d579fe46285b24b580273b56a52e2de73f7b85f15776705a8cea54f98a7eb9dbc4aa6585842237af886
7
- data.tar.gz: d7631d4697a520a75f911cf1459bce207f219becb1c6d05b8820df6facf4044331767e5a49add3b7dab57878e0e7f316b9e1f92dd22207d56f216c639feb7a77
6
+ metadata.gz: abefdc4b054af2cbcfe5b7b4ef8667679dd10773fe9000eb343e0fd1ed98a8bb4f9d2f938705b56caec4475223805439968c6ef327a250cd18cab0ff0c7f5e91
7
+ data.tar.gz: 209a87f182be5343ef5d38f6bc311862b45d85bec4bf85696175dc985979081cca21f507137076c3bef3ab162660e4d70ca4cf38243e5e1a50f553a05136326e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.63.0 (2022-06-01)
5
+ ------------------
6
+
7
+ * Feature - Add new APIs to support Route 53 IP Based Routing
8
+
4
9
  1.62.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.62.0
1
+ 1.63.0
@@ -496,6 +496,82 @@ module Aws::Route53
496
496
  req.send_request(options)
497
497
  end
498
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
+
499
575
  # Creates, changes, or deletes a resource record set, which contains
500
576
  # authoritative DNS information for a specified domain name or subdomain
501
577
  # name. For example, you can use `ChangeResourceRecordSets` to create a
@@ -1224,6 +1300,10 @@ module Aws::Route53
1224
1300
  # },
1225
1301
  # health_check_id: "HealthCheckId",
1226
1302
  # traffic_policy_instance_id: "TrafficPolicyInstanceId",
1303
+ # cidr_routing_config: {
1304
+ # collection_id: "UUID", # required
1305
+ # location_name: "CidrLocationNameDefaultAllowed", # required
1306
+ # },
1227
1307
  # },
1228
1308
  # },
1229
1309
  # ],
@@ -1330,6 +1410,46 @@ module Aws::Route53
1330
1410
  req.send_request(options)
1331
1411
  end
1332
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
+
1333
1453
  # Creates a new health check.
1334
1454
  #
1335
1455
  # For information about adding health checks to resource record sets,
@@ -1492,8 +1612,8 @@ module Aws::Route53
1492
1612
  # vice versa. Instead, you must create a new hosted zone with the same
1493
1613
  # name and create new resource record sets.
1494
1614
  #
1495
- # For more information about charges for hosted zones, see [Amazon Route
1496
- # 53 Pricing][1].
1615
+ # For more information about charges for hosted zones, see [Amazon
1616
+ # Route 53 Pricing][1].
1497
1617
  #
1498
1618
  # Note the following:
1499
1619
  #
@@ -1502,7 +1622,7 @@ module Aws::Route53
1502
1622
  #
1503
1623
  # * For public hosted zones, Route 53 automatically creates a default
1504
1624
  # SOA record and four NS records for the zone. For more information
1505
- # 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
1506
1626
  # Creates for a Hosted Zone][2] in the *Amazon Route 53 Developer
1507
1627
  # Guide*.
1508
1628
  #
@@ -1510,15 +1630,15 @@ module Aws::Route53
1510
1630
  # zones, you can optionally associate a reusable delegation set with
1511
1631
  # the hosted zone. See the `DelegationSetId` element.
1512
1632
  #
1513
- # * 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,
1514
1634
  # you must update the name servers with your registrar to make Route
1515
1635
  # 53 the DNS service for the domain. For more information, see
1516
- # [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]
1517
1637
  # in the *Amazon Route 53 Developer Guide*.
1518
1638
  #
1519
1639
  # When you submit a `CreateHostedZone` request, the initial status of
1520
1640
  # the hosted zone is `PENDING`. For public hosted zones, this means that
1521
- # 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
1522
1642
  # servers. When the NS and SOA records are available, the status of the
1523
1643
  # zone changes to `INSYNC`.
1524
1644
  #
@@ -1552,14 +1672,14 @@ module Aws::Route53
1552
1672
  #
1553
1673
  # @option params [required, String] :name
1554
1674
  # The name of the domain. Specify a fully qualified domain name, for
1555
- # example, *www.example.com*. The trailing dot is optional; Amazon Route
1556
- # 53 assumes that the domain name is fully qualified. This means that
1557
- # 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
1558
1678
  # *www.example.com.* (with a trailing dot) as identical.
1559
1679
  #
1560
1680
  # If you're creating a public hosted zone, this is the name you have
1561
1681
  # registered with your DNS registrar. If your domain name is registered
1562
- # 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
1563
1683
  # domain to the set of `NameServers` that `CreateHostedZone` returns in
1564
1684
  # `DelegationSet`.
1565
1685
  #
@@ -1598,7 +1718,7 @@ module Aws::Route53
1598
1718
  #
1599
1719
  # @option params [String] :delegation_set_id
1600
1720
  # If you want to associate a reusable delegation set with this hosted
1601
- # 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
1602
1722
  # set when you created it. For more information about reusable
1603
1723
  # delegation sets, see [CreateReusableDelegationSet][1].
1604
1724
  #
@@ -2333,6 +2453,29 @@ module Aws::Route53
2333
2453
  req.send_request(options)
2334
2454
  end
2335
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
+
2336
2479
  # Deletes a health check.
2337
2480
  #
2338
2481
  # Amazon Route 53 does not prevent you from deleting a health check even
@@ -2379,7 +2522,7 @@ module Aws::Route53
2379
2522
  #
2380
2523
  # If the hosted zone was created by another service, such as Cloud Map,
2381
2524
  # see [Deleting Public Hosted Zones That Were Created by Another
2382
- # Service][1] in the *Amazon Route 53 Developer Guide* for information
2525
+ # Service][1] in the *Amazon Route 53 Developer Guide* for information
2383
2526
  # about how to delete it. (The process is the same for public and
2384
2527
  # private hosted zones that were created by another service.)
2385
2528
  #
@@ -2400,9 +2543,9 @@ module Aws::Route53
2400
2543
  # If you want to avoid the monthly charge for the hosted zone, you can
2401
2544
  # transfer DNS service for the domain to a free DNS service. When you
2402
2545
  # transfer DNS service, you have to update the name servers for the
2403
- # domain registration. If the domain is registered with Route 53, see
2546
+ # domain registration. If the domain is registered with Route 53, see
2404
2547
  # [UpdateDomainNameservers][2] for information about how to replace
2405
- # 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
2406
2549
  # the domain is registered with another registrar, use the method
2407
2550
  # provided by the registrar to update name servers for the domain
2408
2551
  # registration. For more information, perform an internet search on
@@ -2412,7 +2555,7 @@ module Aws::Route53
2412
2555
  # record and NS resource record sets. If the hosted zone contains other
2413
2556
  # resource record sets, you must delete them before you can delete the
2414
2557
  # hosted zone. If you try to delete a hosted zone that contains other
2415
- # resource record sets, the request fails, and Route 53 returns a
2558
+ # resource record sets, the request fails, and Route 53 returns a
2416
2559
  # `HostedZoneNotEmpty` error. For information about deleting records
2417
2560
  # from your hosted zone, see [ChangeResourceRecordSets][3].
2418
2561
  #
@@ -2934,7 +3077,7 @@ module Aws::Route53
2934
3077
  # @example Request syntax with placeholder values
2935
3078
  #
2936
3079
  # resp = client.get_change({
2937
- # id: "ResourceId", # required
3080
+ # id: "ChangeId", # required
2938
3081
  # })
2939
3082
  #
2940
3083
  # @example Response structure
@@ -3680,6 +3823,145 @@ module Aws::Route53
3680
3823
  req.send_request(options)
3681
3824
  end
3682
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
+
3683
3965
  # Retrieves a list of supported geographic locations.
3684
3966
  #
3685
3967
  # Countries are listed first, and continents are listed last. If Amazon
@@ -4420,6 +4702,8 @@ module Aws::Route53
4420
4702
  # resp.resource_record_sets[0].alias_target.evaluate_target_health #=> Boolean
4421
4703
  # resp.resource_record_sets[0].health_check_id #=> String
4422
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
4423
4707
  # resp.is_truncated #=> Boolean
4424
4708
  # resp.next_record_name #=> String
4425
4709
  # resp.next_record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
@@ -5759,7 +6043,7 @@ module Aws::Route53
5759
6043
  params: params,
5760
6044
  config: config)
5761
6045
  context[:gem_name] = 'aws-sdk-route53'
5762
- context[:gem_version] = '1.62.0'
6046
+ context[:gem_version] = '1.63.0'
5763
6047
  Seahorse::Client::Request.new(handlers, context)
5764
6048
  end
5765
6049