aws-sdk-route53 1.41.0 → 1.46.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: 0c956060628ae64255b3973651b8ba84d00603346b675c36effd30a171733f94
4
- data.tar.gz: 2986a0eec260a94db577565a7f364585638aca81f0fdee79c68ad8ded181f0ff
3
+ metadata.gz: 9c6e06fa68478a52afab8cd940d5baa89402716526427ebea6b09472855c12f0
4
+ data.tar.gz: 4dd378c285f72d2f3a29fad474ff6f8192d995b761b4bd3694e36fbbbfb16d15
5
5
  SHA512:
6
- metadata.gz: fc991fd12e8add405e95a06cbe40279e8fd52dc4856bf124cc06242bafe28d86bc0c6055b3e3d1c26885cdb8db10605bc76c29fa2bac02d4afc659be57270ef9
7
- data.tar.gz: eb78213d36aab9a69a4ecea2e43fd868d18ed1c28a7793cb44d279eb155f72d2f9a870cd8d2a6fd31072ea34f8e7cfa0f50f01b8da38ce8bbdb71c3246337b58
6
+ metadata.gz: '0349935e6a1894f107def137ce8a19cbaa880e06ed56435c93cde319c092caf25729f09d4aac271590f43e2b68d908999b9accd2b840a9514835eb0fe9ad0454'
7
+ data.tar.gz: bf3596ce678b22fea2e6ccceed07e3fcc2d9b83614f3755fae8ea9a18471c65336fb581aca6deee1b6627d4080db87492e201608c7713e2de3121a75dc40115e
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -28,7 +29,7 @@ require_relative 'aws-sdk-route53/customizations'
28
29
  # structure.
29
30
  #
30
31
  # route_53 = Aws::Route53::Client.new
31
- # resp = route_53.associate_vpc_with_hosted_zone(params)
32
+ # resp = route_53.activate_key_signing_key(params)
32
33
  #
33
34
  # See {Client} for more information.
34
35
  #
@@ -48,6 +49,6 @@ require_relative 'aws-sdk-route53/customizations'
48
49
  # @!group service
49
50
  module Aws::Route53
50
51
 
51
- GEM_VERSION = '1.41.0'
52
+ GEM_VERSION = '1.46.0'
52
53
 
53
54
  end
@@ -329,32 +329,58 @@ module Aws::Route53
329
329
 
330
330
  # @!group API Operations
331
331
 
332
- # Associates an Amazon VPC with a private hosted zone.
332
+ # Activates a key-signing key (KSK) so that it can be used for signing
333
+ # by DNSSEC. This operation changes the KSK status to `ACTIVE`.
333
334
  #
334
- # <note markdown="1"> To perform the association, the VPC and the private hosted zone must
335
- # already exist. Also, you can't convert a public hosted zone into a
336
- # private hosted zone.
335
+ # @option params [required, String] :hosted_zone_id
336
+ # A unique string used to identify a hosted zone.
337
337
  #
338
- # </note>
338
+ # @option params [required, String] :name
339
+ # A string used to identify a key-signing key (KSK). `Name` can include
340
+ # numbers, letters, and underscores (\_). `Name` must be unique for each
341
+ # key-signing key in the same hosted zone.
339
342
  #
340
- # If you want to associate a VPC that was created by one AWS account
341
- # with a private hosted zone that was created by a different account, do
342
- # one of the following:
343
+ # @return [Types::ActivateKeySigningKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
343
344
  #
344
- # * Use the AWS account that created the private hosted zone to submit a
345
- # [CreateVPCAssociationAuthorization][1] request. Then use the account
346
- # that created the VPC to submit an `AssociateVPCWithHostedZone`
347
- # request.
345
+ # * {Types::ActivateKeySigningKeyResponse#change_info #change_info} => Types::ChangeInfo
346
+ #
347
+ # @example Request syntax with placeholder values
348
+ #
349
+ # resp = client.activate_key_signing_key({
350
+ # hosted_zone_id: "ResourceId", # required
351
+ # name: "SigningKeyName", # required
352
+ # })
353
+ #
354
+ # @example Response structure
355
+ #
356
+ # resp.change_info.id #=> String
357
+ # resp.change_info.status #=> String, one of "PENDING", "INSYNC"
358
+ # resp.change_info.submitted_at #=> Time
359
+ # resp.change_info.comment #=> String
348
360
  #
349
- # * If a subnet in the VPC was shared with another account, you can use
350
- # the account that the subnet was shared with to submit an
351
- # `AssociateVPCWithHostedZone` request. For more information about
352
- # sharing subnets, see [Working with Shared VPCs][2].
361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ActivateKeySigningKey AWS API Documentation
353
362
  #
363
+ # @overload activate_key_signing_key(params = {})
364
+ # @param [Hash] params ({})
365
+ def activate_key_signing_key(params = {}, options = {})
366
+ req = build_request(:activate_key_signing_key, params)
367
+ req.send_request(options)
368
+ end
369
+
370
+ # Associates an Amazon VPC with a private hosted zone.
371
+ #
372
+ # To perform the association, the VPC and the private hosted zone must
373
+ # already exist. You can't convert a public hosted zone into a private
374
+ # hosted zone.
354
375
  #
376
+ # <note markdown="1"> If you want to associate a VPC that was created by using one AWS
377
+ # account with a private hosted zone that was created by using a
378
+ # different account, the AWS account that created the private hosted
379
+ # zone must first submit a `CreateVPCAssociationAuthorization` request.
380
+ # Then the account that created the VPC must submit an
381
+ # `AssociateVPCWithHostedZone` request.
355
382
  #
356
- # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateVPCAssociationAuthorization.html
357
- # [2]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-sharing.html
383
+ # </note>
358
384
  #
359
385
  # @option params [required, String] :hosted_zone_id
360
386
  # The ID of the private hosted zone that you want to associate an Amazon
@@ -1130,7 +1156,7 @@ module Aws::Route53
1130
1156
  # action: "CREATE", # required, accepts CREATE, DELETE, UPSERT
1131
1157
  # resource_record_set: { # required
1132
1158
  # name: "DNSName", # required
1133
- # type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
1159
+ # type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS
1134
1160
  # set_identifier: "ResourceRecordSetIdentifier",
1135
1161
  # weight: 1,
1136
1162
  # region: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-northeast-3, eu-north-1, sa-east-1, cn-north-1, cn-northwest-1, ap-east-1, me-south-1, ap-south-1, af-south-1, eu-south-1
@@ -1565,6 +1591,119 @@ module Aws::Route53
1565
1591
  req.send_request(options)
1566
1592
  end
1567
1593
 
1594
+ # Creates a new key-signing key (KSK) associated with a hosted zone. You
1595
+ # can only have two KSKs per hosted zone.
1596
+ #
1597
+ # @option params [required, String] :caller_reference
1598
+ # A unique string that identifies the request.
1599
+ #
1600
+ # @option params [required, String] :hosted_zone_id
1601
+ # The unique string (ID) used to identify a hosted zone.
1602
+ #
1603
+ # @option params [required, String] :key_management_service_arn
1604
+ # The Amazon resource name (ARN) for a customer managed customer master
1605
+ # key (CMK) in AWS Key Management Service (AWS KMS). The
1606
+ # `KeyManagementServiceArn` must be unique for each key-signing key
1607
+ # (KSK) in a single hosted zone. To see an example of
1608
+ # `KeyManagementServiceArn` that grants the correct permissions for
1609
+ # DNSSEC, scroll down to **Example**.
1610
+ #
1611
+ # You must configure the customer managed CMK as follows:
1612
+ #
1613
+ # Status
1614
+ #
1615
+ # : Enabled
1616
+ #
1617
+ # Key spec
1618
+ #
1619
+ # : ECC\_NIST\_P256
1620
+ #
1621
+ # Key usage
1622
+ #
1623
+ # : Sign and verify
1624
+ #
1625
+ # Key policy
1626
+ #
1627
+ # : The key policy must give permission for the following actions:
1628
+ #
1629
+ # * DescribeKey
1630
+ #
1631
+ # * GetPublicKey
1632
+ #
1633
+ # * Sign
1634
+ #
1635
+ # The key policy must also include the Amazon Route 53 service in the
1636
+ # principal for your account. Specify the following:
1637
+ #
1638
+ # * `"Service": "api-service.dnssec.route53.aws.internal"`
1639
+ #
1640
+ # ^
1641
+ #
1642
+ # For more information about working with a customer managed CMK in AWS
1643
+ # KMS, see [AWS Key Management Service concepts][1].
1644
+ #
1645
+ #
1646
+ #
1647
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html
1648
+ #
1649
+ # @option params [required, String] :name
1650
+ # A string used to identify a key-signing key (KSK). `Name` can include
1651
+ # numbers, letters, and underscores (\_). `Name` must be unique for each
1652
+ # key-signing key in the same hosted zone.
1653
+ #
1654
+ # @option params [required, String] :status
1655
+ # A string specifying the initial status of the key-signing key (KSK).
1656
+ # You can set the value to `ACTIVE` or `INACTIVE`.
1657
+ #
1658
+ # @return [Types::CreateKeySigningKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1659
+ #
1660
+ # * {Types::CreateKeySigningKeyResponse#change_info #change_info} => Types::ChangeInfo
1661
+ # * {Types::CreateKeySigningKeyResponse#key_signing_key #key_signing_key} => Types::KeySigningKey
1662
+ # * {Types::CreateKeySigningKeyResponse#location #location} => String
1663
+ #
1664
+ # @example Request syntax with placeholder values
1665
+ #
1666
+ # resp = client.create_key_signing_key({
1667
+ # caller_reference: "Nonce", # required
1668
+ # hosted_zone_id: "ResourceId", # required
1669
+ # key_management_service_arn: "SigningKeyString", # required
1670
+ # name: "SigningKeyName", # required
1671
+ # status: "SigningKeyStatus", # required
1672
+ # })
1673
+ #
1674
+ # @example Response structure
1675
+ #
1676
+ # resp.change_info.id #=> String
1677
+ # resp.change_info.status #=> String, one of "PENDING", "INSYNC"
1678
+ # resp.change_info.submitted_at #=> Time
1679
+ # resp.change_info.comment #=> String
1680
+ # resp.key_signing_key.name #=> String
1681
+ # resp.key_signing_key.kms_arn #=> String
1682
+ # resp.key_signing_key.flag #=> Integer
1683
+ # resp.key_signing_key.signing_algorithm_mnemonic #=> String
1684
+ # resp.key_signing_key.signing_algorithm_type #=> Integer
1685
+ # resp.key_signing_key.digest_algorithm_mnemonic #=> String
1686
+ # resp.key_signing_key.digest_algorithm_type #=> Integer
1687
+ # resp.key_signing_key.key_tag #=> Integer
1688
+ # resp.key_signing_key.digest_value #=> String
1689
+ # resp.key_signing_key.public_key #=> String
1690
+ # resp.key_signing_key.ds_record #=> String
1691
+ # resp.key_signing_key.dnskey_record #=> String
1692
+ # resp.key_signing_key.status #=> String
1693
+ # resp.key_signing_key.status_message #=> String
1694
+ # resp.key_signing_key.created_date #=> Time
1695
+ # resp.key_signing_key.last_modified_date #=> Time
1696
+ # resp.location #=> String
1697
+ #
1698
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateKeySigningKey AWS API Documentation
1699
+ #
1700
+ # @overload create_key_signing_key(params = {})
1701
+ # @param [Hash] params ({})
1702
+ def create_key_signing_key(params = {}, options = {})
1703
+ req = build_request(:create_key_signing_key, params)
1704
+ req.send_request(options)
1705
+ end
1706
+
1568
1707
  # Creates a configuration for DNS query logging. After you create a
1569
1708
  # query logging configuration, Amazon Route 53 begins to publish log
1570
1709
  # data to an Amazon CloudWatch Logs log group.
@@ -1874,7 +2013,7 @@ module Aws::Route53
1874
2013
  # resp.traffic_policy.id #=> String
1875
2014
  # resp.traffic_policy.version #=> Integer
1876
2015
  # resp.traffic_policy.name #=> String
1877
- # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
2016
+ # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
1878
2017
  # resp.traffic_policy.document #=> String
1879
2018
  # resp.traffic_policy.comment #=> String
1880
2019
  # resp.location #=> String
@@ -1944,7 +2083,7 @@ module Aws::Route53
1944
2083
  # resp.traffic_policy_instance.message #=> String
1945
2084
  # resp.traffic_policy_instance.traffic_policy_id #=> String
1946
2085
  # resp.traffic_policy_instance.traffic_policy_version #=> Integer
1947
- # resp.traffic_policy_instance.traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
2086
+ # resp.traffic_policy_instance.traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
1948
2087
  # resp.location #=> String
1949
2088
  #
1950
2089
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateTrafficPolicyInstance AWS API Documentation
@@ -2001,7 +2140,7 @@ module Aws::Route53
2001
2140
  # resp.traffic_policy.id #=> String
2002
2141
  # resp.traffic_policy.version #=> Integer
2003
2142
  # resp.traffic_policy.name #=> String
2004
- # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
2143
+ # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
2005
2144
  # resp.traffic_policy.document #=> String
2006
2145
  # resp.traffic_policy.comment #=> String
2007
2146
  # resp.location #=> String
@@ -2067,6 +2206,43 @@ module Aws::Route53
2067
2206
  req.send_request(options)
2068
2207
  end
2069
2208
 
2209
+ # Deactivates a key-signing key (KSK) so that it will not be used for
2210
+ # signing by DNSSEC. This operation changes the KSK status to
2211
+ # `INACTIVE`.
2212
+ #
2213
+ # @option params [required, String] :hosted_zone_id
2214
+ # A unique string used to identify a hosted zone.
2215
+ #
2216
+ # @option params [required, String] :name
2217
+ # A string used to identify a key-signing key (KSK).
2218
+ #
2219
+ # @return [Types::DeactivateKeySigningKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2220
+ #
2221
+ # * {Types::DeactivateKeySigningKeyResponse#change_info #change_info} => Types::ChangeInfo
2222
+ #
2223
+ # @example Request syntax with placeholder values
2224
+ #
2225
+ # resp = client.deactivate_key_signing_key({
2226
+ # hosted_zone_id: "ResourceId", # required
2227
+ # name: "SigningKeyName", # required
2228
+ # })
2229
+ #
2230
+ # @example Response structure
2231
+ #
2232
+ # resp.change_info.id #=> String
2233
+ # resp.change_info.status #=> String, one of "PENDING", "INSYNC"
2234
+ # resp.change_info.submitted_at #=> Time
2235
+ # resp.change_info.comment #=> String
2236
+ #
2237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeactivateKeySigningKey AWS API Documentation
2238
+ #
2239
+ # @overload deactivate_key_signing_key(params = {})
2240
+ # @param [Hash] params ({})
2241
+ def deactivate_key_signing_key(params = {}, options = {})
2242
+ req = build_request(:deactivate_key_signing_key, params)
2243
+ req.send_request(options)
2244
+ end
2245
+
2070
2246
  # Deletes a health check.
2071
2247
  #
2072
2248
  # Amazon Route 53 does not prevent you from deleting a health check even
@@ -2194,6 +2370,43 @@ module Aws::Route53
2194
2370
  req.send_request(options)
2195
2371
  end
2196
2372
 
2373
+ # Deletes a key-signing key (KSK). Before you can delete a KSK, you must
2374
+ # deactivate it. The KSK must be deactived before you can delete it
2375
+ # regardless of whether the hosted zone is enabled for DNSSEC signing.
2376
+ #
2377
+ # @option params [required, String] :hosted_zone_id
2378
+ # A unique string used to identify a hosted zone.
2379
+ #
2380
+ # @option params [required, String] :name
2381
+ # A string used to identify a key-signing key (KSK).
2382
+ #
2383
+ # @return [Types::DeleteKeySigningKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2384
+ #
2385
+ # * {Types::DeleteKeySigningKeyResponse#change_info #change_info} => Types::ChangeInfo
2386
+ #
2387
+ # @example Request syntax with placeholder values
2388
+ #
2389
+ # resp = client.delete_key_signing_key({
2390
+ # hosted_zone_id: "ResourceId", # required
2391
+ # name: "SigningKeyName", # required
2392
+ # })
2393
+ #
2394
+ # @example Response structure
2395
+ #
2396
+ # resp.change_info.id #=> String
2397
+ # resp.change_info.status #=> String, one of "PENDING", "INSYNC"
2398
+ # resp.change_info.submitted_at #=> Time
2399
+ # resp.change_info.comment #=> String
2400
+ #
2401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteKeySigningKey AWS API Documentation
2402
+ #
2403
+ # @overload delete_key_signing_key(params = {})
2404
+ # @param [Hash] params ({})
2405
+ def delete_key_signing_key(params = {}, options = {})
2406
+ req = build_request(:delete_key_signing_key, params)
2407
+ req.send_request(options)
2408
+ end
2409
+
2197
2410
  # Deletes a configuration for DNS query logging. If you delete a
2198
2411
  # configuration, Amazon Route 53 stops sending query logs to CloudWatch
2199
2412
  # Logs. Route 53 doesn't delete any logs that are already in CloudWatch
@@ -2261,6 +2474,24 @@ module Aws::Route53
2261
2474
 
2262
2475
  # Deletes a traffic policy.
2263
2476
  #
2477
+ # When you delete a traffic policy, Route 53 sets a flag on the policy
2478
+ # to indicate that it has been deleted. However, Route 53 never fully
2479
+ # deletes the traffic policy. Note the following:
2480
+ #
2481
+ # * Deleted traffic policies aren't listed if you run
2482
+ # [ListTrafficPolicies][1].
2483
+ #
2484
+ # * There's no way to get a list of deleted policies.
2485
+ #
2486
+ # * If you retain the ID of the policy, you can get information about
2487
+ # the policy, including the traffic policy document, by running
2488
+ # [GetTrafficPolicy][2].
2489
+ #
2490
+ #
2491
+ #
2492
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListTrafficPolicies.html
2493
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetTrafficPolicy.html
2494
+ #
2264
2495
  # @option params [required, String] :id
2265
2496
  # The ID of the traffic policy that you want to delete.
2266
2497
  #
@@ -2361,6 +2592,39 @@ module Aws::Route53
2361
2592
  req.send_request(options)
2362
2593
  end
2363
2594
 
2595
+ # Disables DNSSEC signing in a specific hosted zone. This action does
2596
+ # not deactivate any key-signing keys (KSKs) that are active in the
2597
+ # hosted zone.
2598
+ #
2599
+ # @option params [required, String] :hosted_zone_id
2600
+ # A unique string used to identify a hosted zone.
2601
+ #
2602
+ # @return [Types::DisableHostedZoneDNSSECResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2603
+ #
2604
+ # * {Types::DisableHostedZoneDNSSECResponse#change_info #change_info} => Types::ChangeInfo
2605
+ #
2606
+ # @example Request syntax with placeholder values
2607
+ #
2608
+ # resp = client.disable_hosted_zone_dnssec({
2609
+ # hosted_zone_id: "ResourceId", # required
2610
+ # })
2611
+ #
2612
+ # @example Response structure
2613
+ #
2614
+ # resp.change_info.id #=> String
2615
+ # resp.change_info.status #=> String, one of "PENDING", "INSYNC"
2616
+ # resp.change_info.submitted_at #=> Time
2617
+ # resp.change_info.comment #=> String
2618
+ #
2619
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DisableHostedZoneDNSSEC AWS API Documentation
2620
+ #
2621
+ # @overload disable_hosted_zone_dnssec(params = {})
2622
+ # @param [Hash] params ({})
2623
+ def disable_hosted_zone_dnssec(params = {}, options = {})
2624
+ req = build_request(:disable_hosted_zone_dnssec, params)
2625
+ req.send_request(options)
2626
+ end
2627
+
2364
2628
  # Disassociates an Amazon Virtual Private Cloud (Amazon VPC) from an
2365
2629
  # Amazon Route 53 private hosted zone. Note the following:
2366
2630
  #
@@ -2431,6 +2695,37 @@ module Aws::Route53
2431
2695
  req.send_request(options)
2432
2696
  end
2433
2697
 
2698
+ # Enables DNSSEC signing in a specific hosted zone.
2699
+ #
2700
+ # @option params [required, String] :hosted_zone_id
2701
+ # A unique string used to identify a hosted zone.
2702
+ #
2703
+ # @return [Types::EnableHostedZoneDNSSECResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2704
+ #
2705
+ # * {Types::EnableHostedZoneDNSSECResponse#change_info #change_info} => Types::ChangeInfo
2706
+ #
2707
+ # @example Request syntax with placeholder values
2708
+ #
2709
+ # resp = client.enable_hosted_zone_dnssec({
2710
+ # hosted_zone_id: "ResourceId", # required
2711
+ # })
2712
+ #
2713
+ # @example Response structure
2714
+ #
2715
+ # resp.change_info.id #=> String
2716
+ # resp.change_info.status #=> String, one of "PENDING", "INSYNC"
2717
+ # resp.change_info.submitted_at #=> Time
2718
+ # resp.change_info.comment #=> String
2719
+ #
2720
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/EnableHostedZoneDNSSEC AWS API Documentation
2721
+ #
2722
+ # @overload enable_hosted_zone_dnssec(params = {})
2723
+ # @param [Hash] params ({})
2724
+ def enable_hosted_zone_dnssec(params = {}, options = {})
2725
+ req = build_request(:enable_hosted_zone_dnssec, params)
2726
+ req.send_request(options)
2727
+ end
2728
+
2434
2729
  # Gets the specified limit for the current account, for example, the
2435
2730
  # maximum number of health checks that you can create using the account.
2436
2731
  #
@@ -2543,6 +2838,9 @@ module Aws::Route53
2543
2838
  req.send_request(options)
2544
2839
  end
2545
2840
 
2841
+ # Route 53 does not perform authorization for this API because it
2842
+ # retrieves information that is already available to the public.
2843
+ #
2546
2844
  # `GetCheckerIpRanges` still works, but we recommend that you download
2547
2845
  # ip-ranges.json, which includes IP address ranges for all AWS services.
2548
2846
  # For more information, see [IP Address Ranges of Amazon Route 53
@@ -2570,9 +2868,60 @@ module Aws::Route53
2570
2868
  req.send_request(options)
2571
2869
  end
2572
2870
 
2871
+ # Returns information about DNSSEC for a specific hosted zone, including
2872
+ # the key-signing keys (KSKs) in the hosted zone.
2873
+ #
2874
+ # @option params [required, String] :hosted_zone_id
2875
+ # A unique string used to identify a hosted zone.
2876
+ #
2877
+ # @return [Types::GetDNSSECResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2878
+ #
2879
+ # * {Types::GetDNSSECResponse#status #status} => Types::DNSSECStatus
2880
+ # * {Types::GetDNSSECResponse#key_signing_keys #key_signing_keys} => Array&lt;Types::KeySigningKey&gt;
2881
+ #
2882
+ # @example Request syntax with placeholder values
2883
+ #
2884
+ # resp = client.get_dnssec({
2885
+ # hosted_zone_id: "ResourceId", # required
2886
+ # })
2887
+ #
2888
+ # @example Response structure
2889
+ #
2890
+ # resp.status.serve_signature #=> String
2891
+ # resp.status.status_message #=> String
2892
+ # resp.key_signing_keys #=> Array
2893
+ # resp.key_signing_keys[0].name #=> String
2894
+ # resp.key_signing_keys[0].kms_arn #=> String
2895
+ # resp.key_signing_keys[0].flag #=> Integer
2896
+ # resp.key_signing_keys[0].signing_algorithm_mnemonic #=> String
2897
+ # resp.key_signing_keys[0].signing_algorithm_type #=> Integer
2898
+ # resp.key_signing_keys[0].digest_algorithm_mnemonic #=> String
2899
+ # resp.key_signing_keys[0].digest_algorithm_type #=> Integer
2900
+ # resp.key_signing_keys[0].key_tag #=> Integer
2901
+ # resp.key_signing_keys[0].digest_value #=> String
2902
+ # resp.key_signing_keys[0].public_key #=> String
2903
+ # resp.key_signing_keys[0].ds_record #=> String
2904
+ # resp.key_signing_keys[0].dnskey_record #=> String
2905
+ # resp.key_signing_keys[0].status #=> String
2906
+ # resp.key_signing_keys[0].status_message #=> String
2907
+ # resp.key_signing_keys[0].created_date #=> Time
2908
+ # resp.key_signing_keys[0].last_modified_date #=> Time
2909
+ #
2910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetDNSSEC AWS API Documentation
2911
+ #
2912
+ # @overload get_dnssec(params = {})
2913
+ # @param [Hash] params ({})
2914
+ def get_dnssec(params = {}, options = {})
2915
+ req = build_request(:get_dnssec, params)
2916
+ req.send_request(options)
2917
+ end
2918
+
2573
2919
  # Gets information about whether a specified geographic location is
2574
2920
  # supported for Amazon Route 53 geolocation resource record sets.
2575
2921
  #
2922
+ # Route 53 does not perform authorization for this API because it
2923
+ # retrieves information that is already available to the public.
2924
+ #
2576
2925
  # Use the following syntax to determine whether a continent is supported
2577
2926
  # for geolocation:
2578
2927
  #
@@ -2618,17 +2967,16 @@ module Aws::Route53
2618
2967
  # [1]: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
2619
2968
  #
2620
2969
  # @option params [String] :subdivision_code
2621
- # For `SubdivisionCode`, Amazon Route 53 supports only states of the
2622
- # United States. For a list of state abbreviations, see [Appendix B:
2970
+ # The code for the subdivision, such as a particular state within the
2971
+ # United States. For a list of US state abbreviations, see [Appendix B:
2623
2972
  # Two–Letter State and Possession Abbreviations][1] on the United States
2624
- # Postal Service website.
2625
- #
2626
- # If you specify `subdivisioncode`, you must also specify `US` for
2627
- # `CountryCode`.
2973
+ # Postal Service website. For a list of all supported subdivision codes,
2974
+ # use the [ListGeoLocations][2] API.
2628
2975
  #
2629
2976
  #
2630
2977
  #
2631
2978
  # [1]: https://pe.usps.com/text/pub28/28apb.htm
2979
+ # [2]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_ListGeoLocations.html
2632
2980
  #
2633
2981
  # @return [Types::GetGeoLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2634
2982
  #
@@ -3094,6 +3442,13 @@ module Aws::Route53
3094
3442
 
3095
3443
  # Gets information about a specific traffic policy version.
3096
3444
  #
3445
+ # For information about how of deleting a traffic policy affects the
3446
+ # response from `GetTrafficPolicy`, see [DeleteTrafficPolicy][1].
3447
+ #
3448
+ #
3449
+ #
3450
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicy.html
3451
+ #
3097
3452
  # @option params [required, String] :id
3098
3453
  # The ID of the traffic policy that you want to get information about.
3099
3454
  #
@@ -3117,7 +3472,7 @@ module Aws::Route53
3117
3472
  # resp.traffic_policy.id #=> String
3118
3473
  # resp.traffic_policy.version #=> Integer
3119
3474
  # resp.traffic_policy.name #=> String
3120
- # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
3475
+ # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
3121
3476
  # resp.traffic_policy.document #=> String
3122
3477
  # resp.traffic_policy.comment #=> String
3123
3478
  #
@@ -3169,7 +3524,7 @@ module Aws::Route53
3169
3524
  # resp.traffic_policy_instance.message #=> String
3170
3525
  # resp.traffic_policy_instance.traffic_policy_id #=> String
3171
3526
  # resp.traffic_policy_instance.traffic_policy_version #=> Integer
3172
- # resp.traffic_policy_instance.traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
3527
+ # resp.traffic_policy_instance.traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
3173
3528
  #
3174
3529
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetTrafficPolicyInstance AWS API Documentation
3175
3530
  #
@@ -3207,6 +3562,9 @@ module Aws::Route53
3207
3562
  # provinces), the subdivisions for that country are listed in
3208
3563
  # alphabetical order immediately after the corresponding country.
3209
3564
  #
3565
+ # Route 53 does not perform authorization for this API because it
3566
+ # retrieves information that is already available to the public.
3567
+ #
3210
3568
  # For a list of supported geolocation codes, see the [GeoLocation][1]
3211
3569
  # data type.
3212
3570
  #
@@ -3617,8 +3975,8 @@ module Aws::Route53
3617
3975
  # (Optional) The maximum number of hosted zones that you want Amazon
3618
3976
  # Route 53 to return. If the specified VPC is associated with more than
3619
3977
  # `MaxItems` hosted zones, the response includes a `NextToken` element.
3620
- # `NextToken` contains the hosted zone ID of the first hosted zone that
3621
- # Route 53 will return if you submit another request.
3978
+ # `NextToken` contains an encrypted token that identifies the first
3979
+ # hosted zone that Route 53 will return if you submit another request.
3622
3980
  #
3623
3981
  # @option params [String] :next_token
3624
3982
  # If the previous response included a `NextToken` element, the specified
@@ -3887,7 +4245,7 @@ module Aws::Route53
3887
4245
  # resp = client.list_resource_record_sets({
3888
4246
  # hosted_zone_id: "ResourceId", # required
3889
4247
  # start_record_name: "DNSName",
3890
- # start_record_type: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
4248
+ # start_record_type: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS
3891
4249
  # start_record_identifier: "ResourceRecordSetIdentifier",
3892
4250
  # max_items: 1,
3893
4251
  # })
@@ -3896,7 +4254,7 @@ module Aws::Route53
3896
4254
  #
3897
4255
  # resp.resource_record_sets #=> Array
3898
4256
  # resp.resource_record_sets[0].name #=> String
3899
- # resp.resource_record_sets[0].type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4257
+ # resp.resource_record_sets[0].type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
3900
4258
  # resp.resource_record_sets[0].set_identifier #=> String
3901
4259
  # resp.resource_record_sets[0].weight #=> Integer
3902
4260
  # resp.resource_record_sets[0].region #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "ca-central-1", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-northeast-3", "eu-north-1", "sa-east-1", "cn-north-1", "cn-northwest-1", "ap-east-1", "me-south-1", "ap-south-1", "af-south-1", "eu-south-1"
@@ -3915,7 +4273,7 @@ module Aws::Route53
3915
4273
  # resp.resource_record_sets[0].traffic_policy_instance_id #=> String
3916
4274
  # resp.is_truncated #=> Boolean
3917
4275
  # resp.next_record_name #=> String
3918
- # resp.next_record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4276
+ # resp.next_record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
3919
4277
  # resp.next_record_identifier #=> String
3920
4278
  # resp.max_items #=> Integer
3921
4279
  #
@@ -4087,6 +4445,13 @@ module Aws::Route53
4087
4445
  # that is associated with the current AWS account. Policies are listed
4088
4446
  # in the order that they were created in.
4089
4447
  #
4448
+ # For information about how of deleting a traffic policy affects the
4449
+ # response from `ListTrafficPolicies`, see [DeleteTrafficPolicy][1].
4450
+ #
4451
+ #
4452
+ #
4453
+ # [1]: https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicy.html
4454
+ #
4090
4455
  # @option params [String] :traffic_policy_id_marker
4091
4456
  # (Conditional) For your first request to `ListTrafficPolicies`, don't
4092
4457
  # include the `TrafficPolicyIdMarker` parameter.
@@ -4125,7 +4490,7 @@ module Aws::Route53
4125
4490
  # resp.traffic_policy_summaries #=> Array
4126
4491
  # resp.traffic_policy_summaries[0].id #=> String
4127
4492
  # resp.traffic_policy_summaries[0].name #=> String
4128
- # resp.traffic_policy_summaries[0].type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4493
+ # resp.traffic_policy_summaries[0].type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4129
4494
  # resp.traffic_policy_summaries[0].latest_version #=> Integer
4130
4495
  # resp.traffic_policy_summaries[0].traffic_policy_count #=> Integer
4131
4496
  # resp.is_truncated #=> Boolean
@@ -4214,7 +4579,7 @@ module Aws::Route53
4214
4579
  # resp = client.list_traffic_policy_instances({
4215
4580
  # hosted_zone_id_marker: "ResourceId",
4216
4581
  # traffic_policy_instance_name_marker: "DNSName",
4217
- # traffic_policy_instance_type_marker: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
4582
+ # traffic_policy_instance_type_marker: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS
4218
4583
  # max_items: 1,
4219
4584
  # })
4220
4585
  #
@@ -4229,10 +4594,10 @@ module Aws::Route53
4229
4594
  # resp.traffic_policy_instances[0].message #=> String
4230
4595
  # resp.traffic_policy_instances[0].traffic_policy_id #=> String
4231
4596
  # resp.traffic_policy_instances[0].traffic_policy_version #=> Integer
4232
- # resp.traffic_policy_instances[0].traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4597
+ # resp.traffic_policy_instances[0].traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4233
4598
  # resp.hosted_zone_id_marker #=> String
4234
4599
  # resp.traffic_policy_instance_name_marker #=> String
4235
- # resp.traffic_policy_instance_type_marker #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4600
+ # resp.traffic_policy_instance_type_marker #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4236
4601
  # resp.is_truncated #=> Boolean
4237
4602
  # resp.max_items #=> Integer
4238
4603
  #
@@ -4311,7 +4676,7 @@ module Aws::Route53
4311
4676
  # resp = client.list_traffic_policy_instances_by_hosted_zone({
4312
4677
  # hosted_zone_id: "ResourceId", # required
4313
4678
  # traffic_policy_instance_name_marker: "DNSName",
4314
- # traffic_policy_instance_type_marker: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
4679
+ # traffic_policy_instance_type_marker: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS
4315
4680
  # max_items: 1,
4316
4681
  # })
4317
4682
  #
@@ -4326,9 +4691,9 @@ module Aws::Route53
4326
4691
  # resp.traffic_policy_instances[0].message #=> String
4327
4692
  # resp.traffic_policy_instances[0].traffic_policy_id #=> String
4328
4693
  # resp.traffic_policy_instances[0].traffic_policy_version #=> Integer
4329
- # resp.traffic_policy_instances[0].traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4694
+ # resp.traffic_policy_instances[0].traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4330
4695
  # resp.traffic_policy_instance_name_marker #=> String
4331
- # resp.traffic_policy_instance_type_marker #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4696
+ # resp.traffic_policy_instance_type_marker #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4332
4697
  # resp.is_truncated #=> Boolean
4333
4698
  # resp.max_items #=> Integer
4334
4699
  #
@@ -4433,7 +4798,7 @@ module Aws::Route53
4433
4798
  # traffic_policy_version: 1, # required
4434
4799
  # hosted_zone_id_marker: "ResourceId",
4435
4800
  # traffic_policy_instance_name_marker: "DNSName",
4436
- # traffic_policy_instance_type_marker: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
4801
+ # traffic_policy_instance_type_marker: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS
4437
4802
  # max_items: 1,
4438
4803
  # })
4439
4804
  #
@@ -4448,10 +4813,10 @@ module Aws::Route53
4448
4813
  # resp.traffic_policy_instances[0].message #=> String
4449
4814
  # resp.traffic_policy_instances[0].traffic_policy_id #=> String
4450
4815
  # resp.traffic_policy_instances[0].traffic_policy_version #=> Integer
4451
- # resp.traffic_policy_instances[0].traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4816
+ # resp.traffic_policy_instances[0].traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4452
4817
  # resp.hosted_zone_id_marker #=> String
4453
4818
  # resp.traffic_policy_instance_name_marker #=> String
4454
- # resp.traffic_policy_instance_type_marker #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4819
+ # resp.traffic_policy_instance_type_marker #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4455
4820
  # resp.is_truncated #=> Boolean
4456
4821
  # resp.max_items #=> Integer
4457
4822
  #
@@ -4514,7 +4879,7 @@ module Aws::Route53
4514
4879
  # resp.traffic_policies[0].id #=> String
4515
4880
  # resp.traffic_policies[0].version #=> Integer
4516
4881
  # resp.traffic_policies[0].name #=> String
4517
- # resp.traffic_policies[0].type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
4882
+ # resp.traffic_policies[0].type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4518
4883
  # resp.traffic_policies[0].document #=> String
4519
4884
  # resp.traffic_policies[0].comment #=> String
4520
4885
  # resp.is_truncated #=> Boolean
@@ -4641,7 +5006,7 @@ module Aws::Route53
4641
5006
  # resp = client.test_dns_answer({
4642
5007
  # hosted_zone_id: "ResourceId", # required
4643
5008
  # record_name: "DNSName", # required
4644
- # record_type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
5009
+ # record_type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS
4645
5010
  # resolver_ip: "IPAddress",
4646
5011
  # edns0_client_subnet_ip: "IPAddress",
4647
5012
  # edns0_client_subnet_mask: "SubnetMask",
@@ -4651,7 +5016,7 @@ module Aws::Route53
4651
5016
  #
4652
5017
  # resp.nameserver #=> String
4653
5018
  # resp.record_name #=> String
4654
- # resp.record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
5019
+ # resp.record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
4655
5020
  # resp.record_data #=> Array
4656
5021
  # resp.record_data[0] #=> String
4657
5022
  # resp.response_code #=> String
@@ -5147,7 +5512,7 @@ module Aws::Route53
5147
5512
  # resp.traffic_policy.id #=> String
5148
5513
  # resp.traffic_policy.version #=> Integer
5149
5514
  # resp.traffic_policy.name #=> String
5150
- # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
5515
+ # resp.traffic_policy.type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
5151
5516
  # resp.traffic_policy.document #=> String
5152
5517
  # resp.traffic_policy.comment #=> String
5153
5518
  #
@@ -5220,7 +5585,7 @@ module Aws::Route53
5220
5585
  # resp.traffic_policy_instance.message #=> String
5221
5586
  # resp.traffic_policy_instance.traffic_policy_id #=> String
5222
5587
  # resp.traffic_policy_instance.traffic_policy_version #=> Integer
5223
- # resp.traffic_policy_instance.traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"
5588
+ # resp.traffic_policy_instance.traffic_policy_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS"
5224
5589
  #
5225
5590
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/UpdateTrafficPolicyInstance AWS API Documentation
5226
5591
  #
@@ -5244,7 +5609,7 @@ module Aws::Route53
5244
5609
  params: params,
5245
5610
  config: config)
5246
5611
  context[:gem_name] = 'aws-sdk-route53'
5247
- context[:gem_version] = '1.41.0'
5612
+ context[:gem_version] = '1.46.0'
5248
5613
  Seahorse::Client::Request.new(handlers, context)
5249
5614
  end
5250
5615