aws-sdk-route53 1.148.0 → 1.150.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53/client.rb +207 -1
- data/lib/aws-sdk-route53/client_api.rb +129 -0
- data/lib/aws-sdk-route53/errors.rb +42 -0
- data/lib/aws-sdk-route53/types.rb +292 -0
- data/lib/aws-sdk-route53.rb +1 -1
- data/sig/client.rbs +46 -0
- data/sig/errors.rbs +8 -0
- data/sig/types.rbs +73 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aaccc7cf3dffe45ac8e44132d1717df059c4843fa1613fe5dff002a3b12b5723
|
|
4
|
+
data.tar.gz: 88f18b85dea0871101c71fa878206f9d6ddd00096438f02b9677e56d96c3bfef
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e68934d6de7c1a8969b4079881276c626b9fd1b1841b904ae68e6136ff52c3abbae4c74b5451c81e4dbbd48538ad4db33a8740e7d72d28d67a07674e4cd9a84
|
|
7
|
+
data.tar.gz: fa5d8a870bf14add16cee1e297beb8a9c9d7a82670a1e661eba6241f12b55e5f33acf2a51d6235c64273d08ae4fe6087e700a4082cc9393e27b3cdffdcf2a84f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.150.0 (2026-11-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Amazon Route 53 now supports Record Set Protection, which blocks changes to protected records in a hosted zone.
|
|
8
|
+
|
|
9
|
+
1.149.0 (2026-11-11)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.148.0 (2026-11-10)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.150.0
|
|
@@ -739,6 +739,19 @@ module Aws::Route53
|
|
|
739
739
|
#
|
|
740
740
|
# </note>
|
|
741
741
|
#
|
|
742
|
+
# **Protected Resource Record Sets**
|
|
743
|
+
#
|
|
744
|
+
# If a resource record set protection exists for a name and type, Route
|
|
745
|
+
# 53 rejects any change in the change batch that creates, updates, or
|
|
746
|
+
# deletes a resource record set with that name and type. Because change
|
|
747
|
+
# batches are transactional, Route 53 rejects the entire request and
|
|
748
|
+
# returns an `InvalidChangeBatch` error. Route 53 identifies each
|
|
749
|
+
# protected resource record set in the error message and includes the
|
|
750
|
+
# protection's comment, if any. To make the change, first delete the
|
|
751
|
+
# protection by using `DeleteResourceRecordSetProtections`. To see which
|
|
752
|
+
# resource record sets are protected, use
|
|
753
|
+
# `ListResourceRecordSetProtections`.
|
|
754
|
+
#
|
|
742
755
|
# **Traffic Flow**
|
|
743
756
|
#
|
|
744
757
|
# To create resource record sets for complex routing configurations, use
|
|
@@ -2281,6 +2294,77 @@ module Aws::Route53
|
|
|
2281
2294
|
req.send_request(options)
|
|
2282
2295
|
end
|
|
2283
2296
|
|
|
2297
|
+
# Creates one or more resource record set protections in a hosted zone.
|
|
2298
|
+
# A protection applies to every resource record set in the hosted zone
|
|
2299
|
+
# that has the specified name and type. While a protection exists, Route
|
|
2300
|
+
# 53 rejects any `ChangeResourceRecordSets` request that creates,
|
|
2301
|
+
# updates, or deletes a resource record set with that name and type, and
|
|
2302
|
+
# returns an `InvalidChangeBatch` error. To change a protected resource
|
|
2303
|
+
# record set, first delete its protection by using
|
|
2304
|
+
# `DeleteResourceRecordSetProtections`.
|
|
2305
|
+
#
|
|
2306
|
+
# You can create a protection for a name and type that doesn't have a
|
|
2307
|
+
# resource record set yet. In that case, Route 53 also rejects requests
|
|
2308
|
+
# to create that resource record set.
|
|
2309
|
+
#
|
|
2310
|
+
# You can't delete a hosted zone that has protections. To delete the
|
|
2311
|
+
# hosted zone, first delete all of its protections by using
|
|
2312
|
+
# `DeleteResourceRecordSetProtections`.
|
|
2313
|
+
#
|
|
2314
|
+
# The request is atomic. Route 53 either creates all of the protections
|
|
2315
|
+
# in the request or none of them. If one or more entries fail, the
|
|
2316
|
+
# response is an error that lists the failing entries and the reason
|
|
2317
|
+
# that each one failed. Route 53 checks for invalid entries before it
|
|
2318
|
+
# checks for existing protections, so if any entry is invalid, the error
|
|
2319
|
+
# lists only the invalid entries.
|
|
2320
|
+
#
|
|
2321
|
+
# The error that Route 53 returns depends on the failures:
|
|
2322
|
+
#
|
|
2323
|
+
# * If every entry already has a protection, Route 53 returns a
|
|
2324
|
+
# `ProtectionAlreadyExists` error.
|
|
2325
|
+
#
|
|
2326
|
+
# * For any other combination of failures, Route 53 returns an
|
|
2327
|
+
# `InvalidResourceRecordSetProtectionBatch` error.
|
|
2328
|
+
#
|
|
2329
|
+
# You can specify up to 100 protections in one request. The number of
|
|
2330
|
+
# protections that you can have in a hosted zone is limited by a quota.
|
|
2331
|
+
# If the request would exceed that quota, Route 53 returns a
|
|
2332
|
+
# `LimitsExceeded` error.
|
|
2333
|
+
#
|
|
2334
|
+
# @option params [required, String] :hosted_zone_id
|
|
2335
|
+
# The ID of the hosted zone that contains the resource record sets that
|
|
2336
|
+
# you want to protect.
|
|
2337
|
+
#
|
|
2338
|
+
# @option params [required, Array<Types::ResourceRecordSetProtectionConfig>] :protections
|
|
2339
|
+
# The protections to create. Each entry specifies a resource record set
|
|
2340
|
+
# name and type, and an optional comment. The list must contain at least
|
|
2341
|
+
# one entry and can contain up to 100 entries. Each name and type can
|
|
2342
|
+
# appear only once in the list.
|
|
2343
|
+
#
|
|
2344
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
2345
|
+
#
|
|
2346
|
+
# @example Request syntax with placeholder values
|
|
2347
|
+
#
|
|
2348
|
+
# resp = client.create_resource_record_set_protections({
|
|
2349
|
+
# hosted_zone_id: "ResourceId", # required
|
|
2350
|
+
# protections: [ # required
|
|
2351
|
+
# {
|
|
2352
|
+
# record_name: "DNSName", # required
|
|
2353
|
+
# record_type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS, TLSA, SSHFP, SVCB, HTTPS
|
|
2354
|
+
# comment: "ResourceDescription",
|
|
2355
|
+
# },
|
|
2356
|
+
# ],
|
|
2357
|
+
# })
|
|
2358
|
+
#
|
|
2359
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateResourceRecordSetProtections AWS API Documentation
|
|
2360
|
+
#
|
|
2361
|
+
# @overload create_resource_record_set_protections(params = {})
|
|
2362
|
+
# @param [Hash] params ({})
|
|
2363
|
+
def create_resource_record_set_protections(params = {}, options = {})
|
|
2364
|
+
req = build_request(:create_resource_record_set_protections, params)
|
|
2365
|
+
req.send_request(options)
|
|
2366
|
+
end
|
|
2367
|
+
|
|
2284
2368
|
# Creates a delegation set (a group of four name servers) that can be
|
|
2285
2369
|
# reused by multiple hosted zones that were created by the same Amazon
|
|
2286
2370
|
# Web Services account.
|
|
@@ -2762,6 +2846,11 @@ module Aws::Route53
|
|
|
2762
2846
|
# `HostedZoneNotEmpty` error. For information about deleting records,
|
|
2763
2847
|
# see [ChangeResourceRecordSets][3].
|
|
2764
2848
|
#
|
|
2849
|
+
# You also can't delete a hosted zone that has resource record set
|
|
2850
|
+
# protections. To see the protections in a hosted zone, use
|
|
2851
|
+
# `ListResourceRecordSetProtections`. To delete them, use
|
|
2852
|
+
# `DeleteResourceRecordSetProtections`.
|
|
2853
|
+
#
|
|
2765
2854
|
# To verify that the hosted zone has been deleted, do one of the
|
|
2766
2855
|
# following:
|
|
2767
2856
|
#
|
|
@@ -2885,6 +2974,51 @@ module Aws::Route53
|
|
|
2885
2974
|
req.send_request(options)
|
|
2886
2975
|
end
|
|
2887
2976
|
|
|
2977
|
+
# Deletes one or more resource record set protections from a hosted
|
|
2978
|
+
# zone. After a protection is deleted, you can change the resource
|
|
2979
|
+
# record sets that have that name and type by using
|
|
2980
|
+
# `ChangeResourceRecordSets`.
|
|
2981
|
+
#
|
|
2982
|
+
# The request is atomic. Route 53 either deletes all of the protections
|
|
2983
|
+
# in the request or none of them. If one or more entries fail, for
|
|
2984
|
+
# example because no protection exists for the specified name and type,
|
|
2985
|
+
# Route 53 returns an `InvalidResourceRecordSetProtectionBatch` error
|
|
2986
|
+
# that lists the failing entries and the reason that each one failed.
|
|
2987
|
+
#
|
|
2988
|
+
# You can specify up to 100 protections in one request.
|
|
2989
|
+
#
|
|
2990
|
+
# @option params [required, String] :hosted_zone_id
|
|
2991
|
+
# The ID of the hosted zone that contains the protections that you want
|
|
2992
|
+
# to delete.
|
|
2993
|
+
#
|
|
2994
|
+
# @option params [required, Array<Types::ResourceRecordSetProtectionKey>] :protections
|
|
2995
|
+
# The name and type of each protection to delete. The list must contain
|
|
2996
|
+
# at least one entry and can contain up to 100 entries. Each name and
|
|
2997
|
+
# type can appear only once in the list.
|
|
2998
|
+
#
|
|
2999
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
3000
|
+
#
|
|
3001
|
+
# @example Request syntax with placeholder values
|
|
3002
|
+
#
|
|
3003
|
+
# resp = client.delete_resource_record_set_protections({
|
|
3004
|
+
# hosted_zone_id: "ResourceId", # required
|
|
3005
|
+
# protections: [ # required
|
|
3006
|
+
# {
|
|
3007
|
+
# record_name: "DNSName", # required
|
|
3008
|
+
# record_type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS, TLSA, SSHFP, SVCB, HTTPS
|
|
3009
|
+
# },
|
|
3010
|
+
# ],
|
|
3011
|
+
# })
|
|
3012
|
+
#
|
|
3013
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteResourceRecordSetProtections AWS API Documentation
|
|
3014
|
+
#
|
|
3015
|
+
# @overload delete_resource_record_set_protections(params = {})
|
|
3016
|
+
# @param [Hash] params ({})
|
|
3017
|
+
def delete_resource_record_set_protections(params = {}, options = {})
|
|
3018
|
+
req = build_request(:delete_resource_record_set_protections, params)
|
|
3019
|
+
req.send_request(options)
|
|
3020
|
+
end
|
|
3021
|
+
|
|
2888
3022
|
# Deletes a reusable delegation set.
|
|
2889
3023
|
#
|
|
2890
3024
|
# You can delete a reusable delegation set only if it isn't associated
|
|
@@ -4761,6 +4895,78 @@ module Aws::Route53
|
|
|
4761
4895
|
req.send_request(options)
|
|
4762
4896
|
end
|
|
4763
4897
|
|
|
4898
|
+
# Lists the resource record set protections in a hosted zone. We
|
|
4899
|
+
# recommend using pagination to ensure that the operation returns
|
|
4900
|
+
# quickly and successfully.
|
|
4901
|
+
#
|
|
4902
|
+
# If the response includes a `NextToken` element, there are more
|
|
4903
|
+
# protections to list. To get the next page of results, submit another
|
|
4904
|
+
# request and specify the value of `NextToken` in the `NextToken`
|
|
4905
|
+
# parameter.
|
|
4906
|
+
#
|
|
4907
|
+
# @option params [required, String] :hosted_zone_id
|
|
4908
|
+
# The ID of the hosted zone that contains the protections that you want
|
|
4909
|
+
# to list.
|
|
4910
|
+
#
|
|
4911
|
+
# @option params [String] :start_record_name
|
|
4912
|
+
# The first resource record set name that you want Route 53 to list
|
|
4913
|
+
# protections for. If you don't specify a value, the list starts with
|
|
4914
|
+
# the first protection in the hosted zone.
|
|
4915
|
+
#
|
|
4916
|
+
# If you specify `NextToken`, Route 53 ignores `StartRecordName`.
|
|
4917
|
+
#
|
|
4918
|
+
# @option params [String] :start_record_type
|
|
4919
|
+
# The first resource record set type, within the name specified by
|
|
4920
|
+
# `StartRecordName`, that you want Route 53 to list protections for. If
|
|
4921
|
+
# you specify `StartRecordType`, you must also specify
|
|
4922
|
+
# `StartRecordName`.
|
|
4923
|
+
#
|
|
4924
|
+
# If you specify `NextToken`, Route 53 ignores `StartRecordType`.
|
|
4925
|
+
#
|
|
4926
|
+
# @option params [String] :max_results
|
|
4927
|
+
# The maximum number of protections that you want Route 53 to return in
|
|
4928
|
+
# this response. If you don't specify a value, or if you specify a
|
|
4929
|
+
# value greater than 300, Route 53 returns up to 300 protections.
|
|
4930
|
+
#
|
|
4931
|
+
# @option params [String] :next_token
|
|
4932
|
+
# If the response to a previous `ListResourceRecordSetProtections`
|
|
4933
|
+
# request included a `NextToken` element, specify that value here to get
|
|
4934
|
+
# the next page of results.
|
|
4935
|
+
#
|
|
4936
|
+
# @return [Types::ListResourceRecordSetProtectionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4937
|
+
#
|
|
4938
|
+
# * {Types::ListResourceRecordSetProtectionsResponse#resource_record_set_protections #resource_record_set_protections} => Array<Types::ResourceRecordSetProtection>
|
|
4939
|
+
# * {Types::ListResourceRecordSetProtectionsResponse#next_token #next_token} => String
|
|
4940
|
+
#
|
|
4941
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
4942
|
+
#
|
|
4943
|
+
# @example Request syntax with placeholder values
|
|
4944
|
+
#
|
|
4945
|
+
# resp = client.list_resource_record_set_protections({
|
|
4946
|
+
# hosted_zone_id: "ResourceId", # required
|
|
4947
|
+
# start_record_name: "DNSName",
|
|
4948
|
+
# start_record_type: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA, DS, TLSA, SSHFP, SVCB, HTTPS
|
|
4949
|
+
# max_results: "MaxResults",
|
|
4950
|
+
# next_token: "PaginationToken",
|
|
4951
|
+
# })
|
|
4952
|
+
#
|
|
4953
|
+
# @example Response structure
|
|
4954
|
+
#
|
|
4955
|
+
# resp.resource_record_set_protections #=> Array
|
|
4956
|
+
# resp.resource_record_set_protections[0].record_name #=> String
|
|
4957
|
+
# resp.resource_record_set_protections[0].record_type #=> String, one of "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA", "DS", "TLSA", "SSHFP", "SVCB", "HTTPS"
|
|
4958
|
+
# resp.resource_record_set_protections[0].comment #=> String
|
|
4959
|
+
# resp.next_token #=> String
|
|
4960
|
+
#
|
|
4961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetProtections AWS API Documentation
|
|
4962
|
+
#
|
|
4963
|
+
# @overload list_resource_record_set_protections(params = {})
|
|
4964
|
+
# @param [Hash] params ({})
|
|
4965
|
+
def list_resource_record_set_protections(params = {}, options = {})
|
|
4966
|
+
req = build_request(:list_resource_record_set_protections, params)
|
|
4967
|
+
req.send_request(options)
|
|
4968
|
+
end
|
|
4969
|
+
|
|
4764
4970
|
# Lists the resource record sets in a specified hosted zone.
|
|
4765
4971
|
#
|
|
4766
4972
|
# `ListResourceRecordSets` returns up to 300 resource record sets at a
|
|
@@ -6344,7 +6550,7 @@ module Aws::Route53
|
|
|
6344
6550
|
tracer: tracer
|
|
6345
6551
|
)
|
|
6346
6552
|
context[:gem_name] = 'aws-sdk-route53'
|
|
6347
|
-
context[:gem_version] = '1.
|
|
6553
|
+
context[:gem_version] = '1.150.0'
|
|
6348
6554
|
Seahorse::Client::Request.new(handlers, context)
|
|
6349
6555
|
end
|
|
6350
6556
|
|
|
@@ -84,6 +84,8 @@ module Aws::Route53
|
|
|
84
84
|
CreateKeySigningKeyResponse = Shapes::StructureShape.new(name: 'CreateKeySigningKeyResponse')
|
|
85
85
|
CreateQueryLoggingConfigRequest = Shapes::StructureShape.new(name: 'CreateQueryLoggingConfigRequest')
|
|
86
86
|
CreateQueryLoggingConfigResponse = Shapes::StructureShape.new(name: 'CreateQueryLoggingConfigResponse')
|
|
87
|
+
CreateResourceRecordSetProtectionsRequest = Shapes::StructureShape.new(name: 'CreateResourceRecordSetProtectionsRequest')
|
|
88
|
+
CreateResourceRecordSetProtectionsResponse = Shapes::StructureShape.new(name: 'CreateResourceRecordSetProtectionsResponse')
|
|
87
89
|
CreateReusableDelegationSetRequest = Shapes::StructureShape.new(name: 'CreateReusableDelegationSetRequest')
|
|
88
90
|
CreateReusableDelegationSetResponse = Shapes::StructureShape.new(name: 'CreateReusableDelegationSetResponse')
|
|
89
91
|
CreateTrafficPolicyInstanceRequest = Shapes::StructureShape.new(name: 'CreateTrafficPolicyInstanceRequest')
|
|
@@ -118,6 +120,8 @@ module Aws::Route53
|
|
|
118
120
|
DeleteKeySigningKeyResponse = Shapes::StructureShape.new(name: 'DeleteKeySigningKeyResponse')
|
|
119
121
|
DeleteQueryLoggingConfigRequest = Shapes::StructureShape.new(name: 'DeleteQueryLoggingConfigRequest')
|
|
120
122
|
DeleteQueryLoggingConfigResponse = Shapes::StructureShape.new(name: 'DeleteQueryLoggingConfigResponse')
|
|
123
|
+
DeleteResourceRecordSetProtectionsRequest = Shapes::StructureShape.new(name: 'DeleteResourceRecordSetProtectionsRequest')
|
|
124
|
+
DeleteResourceRecordSetProtectionsResponse = Shapes::StructureShape.new(name: 'DeleteResourceRecordSetProtectionsResponse')
|
|
121
125
|
DeleteReusableDelegationSetRequest = Shapes::StructureShape.new(name: 'DeleteReusableDelegationSetRequest')
|
|
122
126
|
DeleteReusableDelegationSetResponse = Shapes::StructureShape.new(name: 'DeleteReusableDelegationSetResponse')
|
|
123
127
|
DeleteTrafficPolicyInstanceRequest = Shapes::StructureShape.new(name: 'DeleteTrafficPolicyInstanceRequest')
|
|
@@ -238,6 +242,7 @@ module Aws::Route53
|
|
|
238
242
|
InvalidKeySigningKeyName = Shapes::StructureShape.new(name: 'InvalidKeySigningKeyName')
|
|
239
243
|
InvalidKeySigningKeyStatus = Shapes::StructureShape.new(name: 'InvalidKeySigningKeyStatus')
|
|
240
244
|
InvalidPaginationToken = Shapes::StructureShape.new(name: 'InvalidPaginationToken')
|
|
245
|
+
InvalidResourceRecordSetProtectionBatch = Shapes::StructureShape.new(name: 'InvalidResourceRecordSetProtectionBatch')
|
|
241
246
|
InvalidSigningStatus = Shapes::StructureShape.new(name: 'InvalidSigningStatus')
|
|
242
247
|
InvalidTrafficPolicyDocument = Shapes::StructureShape.new(name: 'InvalidTrafficPolicyDocument')
|
|
243
248
|
InvalidVPCId = Shapes::StructureShape.new(name: 'InvalidVPCId')
|
|
@@ -272,6 +277,8 @@ module Aws::Route53
|
|
|
272
277
|
ListHostedZonesResponse = Shapes::StructureShape.new(name: 'ListHostedZonesResponse')
|
|
273
278
|
ListQueryLoggingConfigsRequest = Shapes::StructureShape.new(name: 'ListQueryLoggingConfigsRequest')
|
|
274
279
|
ListQueryLoggingConfigsResponse = Shapes::StructureShape.new(name: 'ListQueryLoggingConfigsResponse')
|
|
280
|
+
ListResourceRecordSetProtectionsRequest = Shapes::StructureShape.new(name: 'ListResourceRecordSetProtectionsRequest')
|
|
281
|
+
ListResourceRecordSetProtectionsResponse = Shapes::StructureShape.new(name: 'ListResourceRecordSetProtectionsResponse')
|
|
275
282
|
ListResourceRecordSetsRequest = Shapes::StructureShape.new(name: 'ListResourceRecordSetsRequest')
|
|
276
283
|
ListResourceRecordSetsResponse = Shapes::StructureShape.new(name: 'ListResourceRecordSetsResponse')
|
|
277
284
|
ListReusableDelegationSetsRequest = Shapes::StructureShape.new(name: 'ListReusableDelegationSetsRequest')
|
|
@@ -323,6 +330,10 @@ module Aws::Route53
|
|
|
323
330
|
Period = Shapes::IntegerShape.new(name: 'Period')
|
|
324
331
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
|
325
332
|
PriorRequestNotComplete = Shapes::StructureShape.new(name: 'PriorRequestNotComplete')
|
|
333
|
+
ProtectionAlreadyExists = Shapes::StructureShape.new(name: 'ProtectionAlreadyExists')
|
|
334
|
+
ProtectionError = Shapes::StructureShape.new(name: 'ProtectionError')
|
|
335
|
+
ProtectionErrorCode = Shapes::StringShape.new(name: 'ProtectionErrorCode')
|
|
336
|
+
ProtectionErrors = Shapes::ListShape.new(name: 'ProtectionErrors')
|
|
326
337
|
PublicZoneVPCAssociation = Shapes::StructureShape.new(name: 'PublicZoneVPCAssociation')
|
|
327
338
|
QueryLoggingConfig = Shapes::StructureShape.new(name: 'QueryLoggingConfig')
|
|
328
339
|
QueryLoggingConfigAlreadyExists = Shapes::StructureShape.new(name: 'QueryLoggingConfigAlreadyExists')
|
|
@@ -343,6 +354,12 @@ module Aws::Route53
|
|
|
343
354
|
ResourceRecordSetFailover = Shapes::StringShape.new(name: 'ResourceRecordSetFailover')
|
|
344
355
|
ResourceRecordSetIdentifier = Shapes::StringShape.new(name: 'ResourceRecordSetIdentifier')
|
|
345
356
|
ResourceRecordSetMultiValueAnswer = Shapes::BooleanShape.new(name: 'ResourceRecordSetMultiValueAnswer')
|
|
357
|
+
ResourceRecordSetProtection = Shapes::StructureShape.new(name: 'ResourceRecordSetProtection')
|
|
358
|
+
ResourceRecordSetProtectionConfig = Shapes::StructureShape.new(name: 'ResourceRecordSetProtectionConfig')
|
|
359
|
+
ResourceRecordSetProtectionConfigBatch = Shapes::ListShape.new(name: 'ResourceRecordSetProtectionConfigBatch')
|
|
360
|
+
ResourceRecordSetProtectionKey = Shapes::StructureShape.new(name: 'ResourceRecordSetProtectionKey')
|
|
361
|
+
ResourceRecordSetProtectionKeyBatch = Shapes::ListShape.new(name: 'ResourceRecordSetProtectionKeyBatch')
|
|
362
|
+
ResourceRecordSetProtections = Shapes::ListShape.new(name: 'ResourceRecordSetProtections')
|
|
346
363
|
ResourceRecordSetRegion = Shapes::StringShape.new(name: 'ResourceRecordSetRegion')
|
|
347
364
|
ResourceRecordSetWeight = Shapes::IntegerShape.new(name: 'ResourceRecordSetWeight')
|
|
348
365
|
ResourceRecordSets = Shapes::ListShape.new(name: 'ResourceRecordSets')
|
|
@@ -614,6 +631,12 @@ module Aws::Route53
|
|
|
614
631
|
CreateQueryLoggingConfigResponse.add_member(:location, Shapes::ShapeRef.new(shape: ResourceURI, required: true, location: "header", location_name: "Location"))
|
|
615
632
|
CreateQueryLoggingConfigResponse.struct_class = Types::CreateQueryLoggingConfigResponse
|
|
616
633
|
|
|
634
|
+
CreateResourceRecordSetProtectionsRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
|
635
|
+
CreateResourceRecordSetProtectionsRequest.add_member(:protections, Shapes::ShapeRef.new(shape: ResourceRecordSetProtectionConfigBatch, required: true, location_name: "Protections"))
|
|
636
|
+
CreateResourceRecordSetProtectionsRequest.struct_class = Types::CreateResourceRecordSetProtectionsRequest
|
|
637
|
+
|
|
638
|
+
CreateResourceRecordSetProtectionsResponse.struct_class = Types::CreateResourceRecordSetProtectionsResponse
|
|
639
|
+
|
|
617
640
|
CreateReusableDelegationSetRequest.add_member(:caller_reference, Shapes::ShapeRef.new(shape: Nonce, required: true, location_name: "CallerReference"))
|
|
618
641
|
CreateReusableDelegationSetRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, location_name: "HostedZoneId"))
|
|
619
642
|
CreateReusableDelegationSetRequest.struct_class = Types::CreateReusableDelegationSetRequest
|
|
@@ -725,6 +748,12 @@ module Aws::Route53
|
|
|
725
748
|
|
|
726
749
|
DeleteQueryLoggingConfigResponse.struct_class = Types::DeleteQueryLoggingConfigResponse
|
|
727
750
|
|
|
751
|
+
DeleteResourceRecordSetProtectionsRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
|
752
|
+
DeleteResourceRecordSetProtectionsRequest.add_member(:protections, Shapes::ShapeRef.new(shape: ResourceRecordSetProtectionKeyBatch, required: true, location_name: "Protections"))
|
|
753
|
+
DeleteResourceRecordSetProtectionsRequest.struct_class = Types::DeleteResourceRecordSetProtectionsRequest
|
|
754
|
+
|
|
755
|
+
DeleteResourceRecordSetProtectionsResponse.struct_class = Types::DeleteResourceRecordSetProtectionsResponse
|
|
756
|
+
|
|
728
757
|
DeleteReusableDelegationSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
|
729
758
|
DeleteReusableDelegationSetRequest.struct_class = Types::DeleteReusableDelegationSetRequest
|
|
730
759
|
|
|
@@ -1042,6 +1071,10 @@ module Aws::Route53
|
|
|
1042
1071
|
InvalidPaginationToken.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1043
1072
|
InvalidPaginationToken.struct_class = Types::InvalidPaginationToken
|
|
1044
1073
|
|
|
1074
|
+
InvalidResourceRecordSetProtectionBatch.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1075
|
+
InvalidResourceRecordSetProtectionBatch.add_member(:errors, Shapes::ShapeRef.new(shape: ProtectionErrors, required: true, location_name: "Errors"))
|
|
1076
|
+
InvalidResourceRecordSetProtectionBatch.struct_class = Types::InvalidResourceRecordSetProtectionBatch
|
|
1077
|
+
|
|
1045
1078
|
InvalidSigningStatus.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1046
1079
|
InvalidSigningStatus.struct_class = Types::InvalidSigningStatus
|
|
1047
1080
|
|
|
@@ -1192,6 +1225,17 @@ module Aws::Route53
|
|
|
1192
1225
|
ListQueryLoggingConfigsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
1193
1226
|
ListQueryLoggingConfigsResponse.struct_class = Types::ListQueryLoggingConfigsResponse
|
|
1194
1227
|
|
|
1228
|
+
ListResourceRecordSetProtectionsRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
|
1229
|
+
ListResourceRecordSetProtectionsRequest.add_member(:start_record_name, Shapes::ShapeRef.new(shape: DNSName, location: "querystring", location_name: "name"))
|
|
1230
|
+
ListResourceRecordSetProtectionsRequest.add_member(:start_record_type, Shapes::ShapeRef.new(shape: RRType, location: "querystring", location_name: "type"))
|
|
1231
|
+
ListResourceRecordSetProtectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxresults"))
|
|
1232
|
+
ListResourceRecordSetProtectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nexttoken"))
|
|
1233
|
+
ListResourceRecordSetProtectionsRequest.struct_class = Types::ListResourceRecordSetProtectionsRequest
|
|
1234
|
+
|
|
1235
|
+
ListResourceRecordSetProtectionsResponse.add_member(:resource_record_set_protections, Shapes::ShapeRef.new(shape: ResourceRecordSetProtections, required: true, location_name: "ResourceRecordSetProtections"))
|
|
1236
|
+
ListResourceRecordSetProtectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
|
1237
|
+
ListResourceRecordSetProtectionsResponse.struct_class = Types::ListResourceRecordSetProtectionsResponse
|
|
1238
|
+
|
|
1195
1239
|
ListResourceRecordSetsRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
|
|
1196
1240
|
ListResourceRecordSetsRequest.add_member(:start_record_name, Shapes::ShapeRef.new(shape: DNSName, location: "querystring", location_name: "name"))
|
|
1197
1241
|
ListResourceRecordSetsRequest.add_member(:start_record_type, Shapes::ShapeRef.new(shape: RRType, location: "querystring", location_name: "type"))
|
|
@@ -1353,6 +1397,18 @@ module Aws::Route53
|
|
|
1353
1397
|
PriorRequestNotComplete.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1354
1398
|
PriorRequestNotComplete.struct_class = Types::PriorRequestNotComplete
|
|
1355
1399
|
|
|
1400
|
+
ProtectionAlreadyExists.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
|
|
1401
|
+
ProtectionAlreadyExists.add_member(:errors, Shapes::ShapeRef.new(shape: ProtectionErrors, required: true, location_name: "Errors"))
|
|
1402
|
+
ProtectionAlreadyExists.struct_class = Types::ProtectionAlreadyExists
|
|
1403
|
+
|
|
1404
|
+
ProtectionError.add_member(:record_name, Shapes::ShapeRef.new(shape: DNSName, required: true, location_name: "RecordName"))
|
|
1405
|
+
ProtectionError.add_member(:record_type, Shapes::ShapeRef.new(shape: RRType, required: true, location_name: "RecordType"))
|
|
1406
|
+
ProtectionError.add_member(:code, Shapes::ShapeRef.new(shape: ProtectionErrorCode, required: true, location_name: "Code"))
|
|
1407
|
+
ProtectionError.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "Message"))
|
|
1408
|
+
ProtectionError.struct_class = Types::ProtectionError
|
|
1409
|
+
|
|
1410
|
+
ProtectionErrors.member = Shapes::ShapeRef.new(shape: ProtectionError, location_name: "ProtectionError")
|
|
1411
|
+
|
|
1356
1412
|
PublicZoneVPCAssociation.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
|
1357
1413
|
PublicZoneVPCAssociation.struct_class = Types::PublicZoneVPCAssociation
|
|
1358
1414
|
|
|
@@ -1390,6 +1446,26 @@ module Aws::Route53
|
|
|
1390
1446
|
ResourceRecordSet.add_member(:geo_proximity_location, Shapes::ShapeRef.new(shape: GeoProximityLocation, location_name: "GeoProximityLocation"))
|
|
1391
1447
|
ResourceRecordSet.struct_class = Types::ResourceRecordSet
|
|
1392
1448
|
|
|
1449
|
+
ResourceRecordSetProtection.add_member(:record_name, Shapes::ShapeRef.new(shape: DNSName, required: true, location_name: "RecordName"))
|
|
1450
|
+
ResourceRecordSetProtection.add_member(:record_type, Shapes::ShapeRef.new(shape: RRType, required: true, location_name: "RecordType"))
|
|
1451
|
+
ResourceRecordSetProtection.add_member(:comment, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Comment"))
|
|
1452
|
+
ResourceRecordSetProtection.struct_class = Types::ResourceRecordSetProtection
|
|
1453
|
+
|
|
1454
|
+
ResourceRecordSetProtectionConfig.add_member(:record_name, Shapes::ShapeRef.new(shape: DNSName, required: true, location_name: "RecordName"))
|
|
1455
|
+
ResourceRecordSetProtectionConfig.add_member(:record_type, Shapes::ShapeRef.new(shape: RRType, required: true, location_name: "RecordType"))
|
|
1456
|
+
ResourceRecordSetProtectionConfig.add_member(:comment, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Comment"))
|
|
1457
|
+
ResourceRecordSetProtectionConfig.struct_class = Types::ResourceRecordSetProtectionConfig
|
|
1458
|
+
|
|
1459
|
+
ResourceRecordSetProtectionConfigBatch.member = Shapes::ShapeRef.new(shape: ResourceRecordSetProtectionConfig, location_name: "ResourceRecordSetProtectionConfig")
|
|
1460
|
+
|
|
1461
|
+
ResourceRecordSetProtectionKey.add_member(:record_name, Shapes::ShapeRef.new(shape: DNSName, required: true, location_name: "RecordName"))
|
|
1462
|
+
ResourceRecordSetProtectionKey.add_member(:record_type, Shapes::ShapeRef.new(shape: RRType, required: true, location_name: "RecordType"))
|
|
1463
|
+
ResourceRecordSetProtectionKey.struct_class = Types::ResourceRecordSetProtectionKey
|
|
1464
|
+
|
|
1465
|
+
ResourceRecordSetProtectionKeyBatch.member = Shapes::ShapeRef.new(shape: ResourceRecordSetProtectionKey, location_name: "ResourceRecordSetProtectionKey")
|
|
1466
|
+
|
|
1467
|
+
ResourceRecordSetProtections.member = Shapes::ShapeRef.new(shape: ResourceRecordSetProtection, location_name: "ResourceRecordSetProtection")
|
|
1468
|
+
|
|
1393
1469
|
ResourceRecordSets.member = Shapes::ShapeRef.new(shape: ResourceRecordSet, location_name: "ResourceRecordSet")
|
|
1394
1470
|
|
|
1395
1471
|
ResourceRecords.member = Shapes::ShapeRef.new(shape: ResourceRecord, location_name: "ResourceRecord")
|
|
@@ -1771,6 +1847,25 @@ module Aws::Route53
|
|
|
1771
1847
|
o.errors << Shapes::ShapeRef.new(shape: InsufficientCloudWatchLogsResourcePolicy)
|
|
1772
1848
|
end)
|
|
1773
1849
|
|
|
1850
|
+
api.add_operation(:create_resource_record_set_protections, Seahorse::Model::Operation.new.tap do |o|
|
|
1851
|
+
o.name = "CreateResourceRecordSetProtections"
|
|
1852
|
+
o.http_method = "POST"
|
|
1853
|
+
o.http_request_uri = "/2013-04-01/hostedzone/{Id}/rrsetprotection"
|
|
1854
|
+
o.input = Shapes::ShapeRef.new(shape: CreateResourceRecordSetProtectionsRequest,
|
|
1855
|
+
location_name: "CreateResourceRecordSetProtectionsRequest",
|
|
1856
|
+
metadata: {
|
|
1857
|
+
"xmlNamespace" => {"uri" => "https://route53.amazonaws.com/doc/2013-04-01/"}
|
|
1858
|
+
}
|
|
1859
|
+
)
|
|
1860
|
+
o.output = Shapes::ShapeRef.new(shape: CreateResourceRecordSetProtectionsResponse)
|
|
1861
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
|
1862
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceRecordSetProtectionBatch)
|
|
1863
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchHostedZone)
|
|
1864
|
+
o.errors << Shapes::ShapeRef.new(shape: ProtectionAlreadyExists)
|
|
1865
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitsExceeded)
|
|
1866
|
+
o.errors << Shapes::ShapeRef.new(shape: PriorRequestNotComplete)
|
|
1867
|
+
end)
|
|
1868
|
+
|
|
1774
1869
|
api.add_operation(:create_reusable_delegation_set, Seahorse::Model::Operation.new.tap do |o|
|
|
1775
1870
|
o.name = "CreateReusableDelegationSet"
|
|
1776
1871
|
o.http_method = "POST"
|
|
@@ -1938,6 +2033,23 @@ module Aws::Route53
|
|
|
1938
2033
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
|
1939
2034
|
end)
|
|
1940
2035
|
|
|
2036
|
+
api.add_operation(:delete_resource_record_set_protections, Seahorse::Model::Operation.new.tap do |o|
|
|
2037
|
+
o.name = "DeleteResourceRecordSetProtections"
|
|
2038
|
+
o.http_method = "POST"
|
|
2039
|
+
o.http_request_uri = "/2013-04-01/hostedzone/{Id}/rrsetprotection/delete"
|
|
2040
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteResourceRecordSetProtectionsRequest,
|
|
2041
|
+
location_name: "DeleteResourceRecordSetProtectionsRequest",
|
|
2042
|
+
metadata: {
|
|
2043
|
+
"xmlNamespace" => {"uri" => "https://route53.amazonaws.com/doc/2013-04-01/"}
|
|
2044
|
+
}
|
|
2045
|
+
)
|
|
2046
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteResourceRecordSetProtectionsResponse)
|
|
2047
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
|
2048
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidResourceRecordSetProtectionBatch)
|
|
2049
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchHostedZone)
|
|
2050
|
+
o.errors << Shapes::ShapeRef.new(shape: PriorRequestNotComplete)
|
|
2051
|
+
end)
|
|
2052
|
+
|
|
1941
2053
|
api.add_operation(:delete_reusable_delegation_set, Seahorse::Model::Operation.new.tap do |o|
|
|
1942
2054
|
o.name = "DeleteReusableDelegationSet"
|
|
1943
2055
|
o.http_method = "DELETE"
|
|
@@ -2347,6 +2459,23 @@ module Aws::Route53
|
|
|
2347
2459
|
)
|
|
2348
2460
|
end)
|
|
2349
2461
|
|
|
2462
|
+
api.add_operation(:list_resource_record_set_protections, Seahorse::Model::Operation.new.tap do |o|
|
|
2463
|
+
o.name = "ListResourceRecordSetProtections"
|
|
2464
|
+
o.http_method = "GET"
|
|
2465
|
+
o.http_request_uri = "/2013-04-01/hostedzone/{Id}/rrsetprotection"
|
|
2466
|
+
o.input = Shapes::ShapeRef.new(shape: ListResourceRecordSetProtectionsRequest)
|
|
2467
|
+
o.output = Shapes::ShapeRef.new(shape: ListResourceRecordSetProtectionsResponse)
|
|
2468
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
|
|
2469
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchHostedZone)
|
|
2470
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationToken)
|
|
2471
|
+
o[:pager] = Aws::Pager.new(
|
|
2472
|
+
limit_key: "max_results",
|
|
2473
|
+
tokens: {
|
|
2474
|
+
"next_token" => "next_token"
|
|
2475
|
+
}
|
|
2476
|
+
)
|
|
2477
|
+
end)
|
|
2478
|
+
|
|
2350
2479
|
api.add_operation(:list_resource_record_sets, Seahorse::Model::Operation.new.tap do |o|
|
|
2351
2480
|
o.name = "ListResourceRecordSets"
|
|
2352
2481
|
o.http_method = "GET"
|
|
@@ -58,6 +58,7 @@ module Aws::Route53
|
|
|
58
58
|
# * {InvalidKeySigningKeyName}
|
|
59
59
|
# * {InvalidKeySigningKeyStatus}
|
|
60
60
|
# * {InvalidPaginationToken}
|
|
61
|
+
# * {InvalidResourceRecordSetProtectionBatch}
|
|
61
62
|
# * {InvalidSigningStatus}
|
|
62
63
|
# * {InvalidTrafficPolicyDocument}
|
|
63
64
|
# * {InvalidVPCId}
|
|
@@ -81,6 +82,7 @@ module Aws::Route53
|
|
|
81
82
|
# * {NoSuchTrafficPolicyInstance}
|
|
82
83
|
# * {NotAuthorizedException}
|
|
83
84
|
# * {PriorRequestNotComplete}
|
|
85
|
+
# * {ProtectionAlreadyExists}
|
|
84
86
|
# * {PublicZoneVPCAssociation}
|
|
85
87
|
# * {QueryLoggingConfigAlreadyExists}
|
|
86
88
|
# * {ThrottlingException}
|
|
@@ -573,6 +575,26 @@ module Aws::Route53
|
|
|
573
575
|
end
|
|
574
576
|
end
|
|
575
577
|
|
|
578
|
+
class InvalidResourceRecordSetProtectionBatch < ServiceError
|
|
579
|
+
|
|
580
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
581
|
+
# @param [String] message
|
|
582
|
+
# @param [Aws::Route53::Types::InvalidResourceRecordSetProtectionBatch] data
|
|
583
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
584
|
+
super(context, message, data)
|
|
585
|
+
end
|
|
586
|
+
|
|
587
|
+
# @return [String]
|
|
588
|
+
def message
|
|
589
|
+
@message || @data[:message]
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
# @return [String]
|
|
593
|
+
def errors
|
|
594
|
+
@data[:errors]
|
|
595
|
+
end
|
|
596
|
+
end
|
|
597
|
+
|
|
576
598
|
class InvalidSigningStatus < ServiceError
|
|
577
599
|
|
|
578
600
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -918,6 +940,26 @@ module Aws::Route53
|
|
|
918
940
|
end
|
|
919
941
|
end
|
|
920
942
|
|
|
943
|
+
class ProtectionAlreadyExists < ServiceError
|
|
944
|
+
|
|
945
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
946
|
+
# @param [String] message
|
|
947
|
+
# @param [Aws::Route53::Types::ProtectionAlreadyExists] data
|
|
948
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
949
|
+
super(context, message, data)
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
# @return [String]
|
|
953
|
+
def message
|
|
954
|
+
@message || @data[:message]
|
|
955
|
+
end
|
|
956
|
+
|
|
957
|
+
# @return [String]
|
|
958
|
+
def errors
|
|
959
|
+
@data[:errors]
|
|
960
|
+
end
|
|
961
|
+
end
|
|
962
|
+
|
|
921
963
|
class PublicZoneVPCAssociation < ServiceError
|
|
922
964
|
|
|
923
965
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -1570,6 +1570,31 @@ module Aws::Route53
|
|
|
1570
1570
|
include Aws::Structure
|
|
1571
1571
|
end
|
|
1572
1572
|
|
|
1573
|
+
# @!attribute [rw] hosted_zone_id
|
|
1574
|
+
# The ID of the hosted zone that contains the resource record sets
|
|
1575
|
+
# that you want to protect.
|
|
1576
|
+
# @return [String]
|
|
1577
|
+
#
|
|
1578
|
+
# @!attribute [rw] protections
|
|
1579
|
+
# The protections to create. Each entry specifies a resource record
|
|
1580
|
+
# set name and type, and an optional comment. The list must contain at
|
|
1581
|
+
# least one entry and can contain up to 100 entries. Each name and
|
|
1582
|
+
# type can appear only once in the list.
|
|
1583
|
+
# @return [Array<Types::ResourceRecordSetProtectionConfig>]
|
|
1584
|
+
#
|
|
1585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateResourceRecordSetProtectionsRequest AWS API Documentation
|
|
1586
|
+
#
|
|
1587
|
+
class CreateResourceRecordSetProtectionsRequest < Struct.new(
|
|
1588
|
+
:hosted_zone_id,
|
|
1589
|
+
:protections)
|
|
1590
|
+
SENSITIVE = []
|
|
1591
|
+
include Aws::Structure
|
|
1592
|
+
end
|
|
1593
|
+
|
|
1594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/CreateResourceRecordSetProtectionsResponse AWS API Documentation
|
|
1595
|
+
#
|
|
1596
|
+
class CreateResourceRecordSetProtectionsResponse < Aws::EmptyStructure; end
|
|
1597
|
+
|
|
1573
1598
|
# @!attribute [rw] caller_reference
|
|
1574
1599
|
# A unique string that identifies the request, and that allows you to
|
|
1575
1600
|
# retry failed `CreateReusableDelegationSet` requests without the risk
|
|
@@ -2130,6 +2155,30 @@ module Aws::Route53
|
|
|
2130
2155
|
#
|
|
2131
2156
|
class DeleteQueryLoggingConfigResponse < Aws::EmptyStructure; end
|
|
2132
2157
|
|
|
2158
|
+
# @!attribute [rw] hosted_zone_id
|
|
2159
|
+
# The ID of the hosted zone that contains the protections that you
|
|
2160
|
+
# want to delete.
|
|
2161
|
+
# @return [String]
|
|
2162
|
+
#
|
|
2163
|
+
# @!attribute [rw] protections
|
|
2164
|
+
# The name and type of each protection to delete. The list must
|
|
2165
|
+
# contain at least one entry and can contain up to 100 entries. Each
|
|
2166
|
+
# name and type can appear only once in the list.
|
|
2167
|
+
# @return [Array<Types::ResourceRecordSetProtectionKey>]
|
|
2168
|
+
#
|
|
2169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteResourceRecordSetProtectionsRequest AWS API Documentation
|
|
2170
|
+
#
|
|
2171
|
+
class DeleteResourceRecordSetProtectionsRequest < Struct.new(
|
|
2172
|
+
:hosted_zone_id,
|
|
2173
|
+
:protections)
|
|
2174
|
+
SENSITIVE = []
|
|
2175
|
+
include Aws::Structure
|
|
2176
|
+
end
|
|
2177
|
+
|
|
2178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/DeleteResourceRecordSetProtectionsResponse AWS API Documentation
|
|
2179
|
+
#
|
|
2180
|
+
class DeleteResourceRecordSetProtectionsResponse < Aws::EmptyStructure; end
|
|
2181
|
+
|
|
2133
2182
|
# A request to delete a reusable delegation set.
|
|
2134
2183
|
#
|
|
2135
2184
|
# @!attribute [rw] id
|
|
@@ -4085,6 +4134,11 @@ module Aws::Route53
|
|
|
4085
4134
|
# more error messages. Each error message indicates one error in the
|
|
4086
4135
|
# change batch.
|
|
4087
4136
|
#
|
|
4137
|
+
# Route 53 also returns this error when the change batch creates,
|
|
4138
|
+
# updates, or deletes a resource record set whose name and type have a
|
|
4139
|
+
# resource record set protection. To make the change, first delete the
|
|
4140
|
+
# protection by using `DeleteResourceRecordSetProtections`.
|
|
4141
|
+
#
|
|
4088
4142
|
# @!attribute [rw] messages
|
|
4089
4143
|
# @return [Array<String>]
|
|
4090
4144
|
#
|
|
@@ -4181,6 +4235,30 @@ module Aws::Route53
|
|
|
4181
4235
|
include Aws::Structure
|
|
4182
4236
|
end
|
|
4183
4237
|
|
|
4238
|
+
# One or more entries in the request couldn't be processed, so Route 53
|
|
4239
|
+
# didn't create or delete any of the protections in the request. The
|
|
4240
|
+
# `Errors` element lists the failing entries and the reason that each
|
|
4241
|
+
# one failed.
|
|
4242
|
+
#
|
|
4243
|
+
# @!attribute [rw] message
|
|
4244
|
+
# A message that explains why Route 53 couldn't process the
|
|
4245
|
+
# `CreateResourceRecordSetProtections` or
|
|
4246
|
+
# `DeleteResourceRecordSetProtections` request.
|
|
4247
|
+
# @return [String]
|
|
4248
|
+
#
|
|
4249
|
+
# @!attribute [rw] errors
|
|
4250
|
+
# The entries that failed, with the reason that each one failed.
|
|
4251
|
+
# @return [Array<Types::ProtectionError>]
|
|
4252
|
+
#
|
|
4253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/InvalidResourceRecordSetProtectionBatch AWS API Documentation
|
|
4254
|
+
#
|
|
4255
|
+
class InvalidResourceRecordSetProtectionBatch < Struct.new(
|
|
4256
|
+
:message,
|
|
4257
|
+
:errors)
|
|
4258
|
+
SENSITIVE = []
|
|
4259
|
+
include Aws::Structure
|
|
4260
|
+
end
|
|
4261
|
+
|
|
4184
4262
|
# Your hosted zone status isn't valid for this operation. In the hosted
|
|
4185
4263
|
# zone, change the status to enable `DNSSEC` or disable `DNSSEC`.
|
|
4186
4264
|
#
|
|
@@ -5225,6 +5303,73 @@ module Aws::Route53
|
|
|
5225
5303
|
include Aws::Structure
|
|
5226
5304
|
end
|
|
5227
5305
|
|
|
5306
|
+
# @!attribute [rw] hosted_zone_id
|
|
5307
|
+
# The ID of the hosted zone that contains the protections that you
|
|
5308
|
+
# want to list.
|
|
5309
|
+
# @return [String]
|
|
5310
|
+
#
|
|
5311
|
+
# @!attribute [rw] start_record_name
|
|
5312
|
+
# The first resource record set name that you want Route 53 to list
|
|
5313
|
+
# protections for. If you don't specify a value, the list starts with
|
|
5314
|
+
# the first protection in the hosted zone.
|
|
5315
|
+
#
|
|
5316
|
+
# If you specify `NextToken`, Route 53 ignores `StartRecordName`.
|
|
5317
|
+
# @return [String]
|
|
5318
|
+
#
|
|
5319
|
+
# @!attribute [rw] start_record_type
|
|
5320
|
+
# The first resource record set type, within the name specified by
|
|
5321
|
+
# `StartRecordName`, that you want Route 53 to list protections for.
|
|
5322
|
+
# If you specify `StartRecordType`, you must also specify
|
|
5323
|
+
# `StartRecordName`.
|
|
5324
|
+
#
|
|
5325
|
+
# If you specify `NextToken`, Route 53 ignores `StartRecordType`.
|
|
5326
|
+
# @return [String]
|
|
5327
|
+
#
|
|
5328
|
+
# @!attribute [rw] max_results
|
|
5329
|
+
# The maximum number of protections that you want Route 53 to return
|
|
5330
|
+
# in this response. If you don't specify a value, or if you specify a
|
|
5331
|
+
# value greater than 300, Route 53 returns up to 300 protections.
|
|
5332
|
+
# @return [String]
|
|
5333
|
+
#
|
|
5334
|
+
# @!attribute [rw] next_token
|
|
5335
|
+
# If the response to a previous `ListResourceRecordSetProtections`
|
|
5336
|
+
# request included a `NextToken` element, specify that value here to
|
|
5337
|
+
# get the next page of results.
|
|
5338
|
+
# @return [String]
|
|
5339
|
+
#
|
|
5340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetProtectionsRequest AWS API Documentation
|
|
5341
|
+
#
|
|
5342
|
+
class ListResourceRecordSetProtectionsRequest < Struct.new(
|
|
5343
|
+
:hosted_zone_id,
|
|
5344
|
+
:start_record_name,
|
|
5345
|
+
:start_record_type,
|
|
5346
|
+
:max_results,
|
|
5347
|
+
:next_token)
|
|
5348
|
+
SENSITIVE = []
|
|
5349
|
+
include Aws::Structure
|
|
5350
|
+
end
|
|
5351
|
+
|
|
5352
|
+
# @!attribute [rw] resource_record_set_protections
|
|
5353
|
+
# The protections in the hosted zone. The list is empty if the hosted
|
|
5354
|
+
# zone has no protections.
|
|
5355
|
+
# @return [Array<Types::ResourceRecordSetProtection>]
|
|
5356
|
+
#
|
|
5357
|
+
# @!attribute [rw] next_token
|
|
5358
|
+
# If there are more protections to list, a token that you can specify
|
|
5359
|
+
# in the `NextToken` parameter of another request to get the next page
|
|
5360
|
+
# of results. If there are no more protections to list, the response
|
|
5361
|
+
# doesn't include `NextToken`.
|
|
5362
|
+
# @return [String]
|
|
5363
|
+
#
|
|
5364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ListResourceRecordSetProtectionsResponse AWS API Documentation
|
|
5365
|
+
#
|
|
5366
|
+
class ListResourceRecordSetProtectionsResponse < Struct.new(
|
|
5367
|
+
:resource_record_set_protections,
|
|
5368
|
+
:next_token)
|
|
5369
|
+
SENSITIVE = []
|
|
5370
|
+
include Aws::Structure
|
|
5371
|
+
end
|
|
5372
|
+
|
|
5228
5373
|
# A request for the resource record sets that are associated with a
|
|
5229
5374
|
# specified hosted zone.
|
|
5230
5375
|
#
|
|
@@ -6305,6 +6450,71 @@ module Aws::Route53
|
|
|
6305
6450
|
include Aws::Structure
|
|
6306
6451
|
end
|
|
6307
6452
|
|
|
6453
|
+
# A protection already exists for every name and type in the request, so
|
|
6454
|
+
# Route 53 didn't create any protections. The `Errors` element lists
|
|
6455
|
+
# each entry.
|
|
6456
|
+
#
|
|
6457
|
+
# @!attribute [rw] message
|
|
6458
|
+
# A message that explains that a protection already exists for every
|
|
6459
|
+
# name and type in the `CreateResourceRecordSetProtections` request.
|
|
6460
|
+
# @return [String]
|
|
6461
|
+
#
|
|
6462
|
+
# @!attribute [rw] errors
|
|
6463
|
+
# The entries that already have a protection.
|
|
6464
|
+
# @return [Array<Types::ProtectionError>]
|
|
6465
|
+
#
|
|
6466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ProtectionAlreadyExists AWS API Documentation
|
|
6467
|
+
#
|
|
6468
|
+
class ProtectionAlreadyExists < Struct.new(
|
|
6469
|
+
:message,
|
|
6470
|
+
:errors)
|
|
6471
|
+
SENSITIVE = []
|
|
6472
|
+
include Aws::Structure
|
|
6473
|
+
end
|
|
6474
|
+
|
|
6475
|
+
# Describes one entry in a `CreateResourceRecordSetProtections` or
|
|
6476
|
+
# `DeleteResourceRecordSetProtections` request that Route 53 couldn't
|
|
6477
|
+
# process.
|
|
6478
|
+
#
|
|
6479
|
+
# @!attribute [rw] record_name
|
|
6480
|
+
# The name in the failing entry.
|
|
6481
|
+
# @return [String]
|
|
6482
|
+
#
|
|
6483
|
+
# @!attribute [rw] record_type
|
|
6484
|
+
# The record type in the failing entry.
|
|
6485
|
+
# @return [String]
|
|
6486
|
+
#
|
|
6487
|
+
# @!attribute [rw] code
|
|
6488
|
+
# The reason that the entry failed. Valid values include the
|
|
6489
|
+
# following:
|
|
6490
|
+
#
|
|
6491
|
+
# * `InvalidInput` means that the entry isn't valid. For example, the
|
|
6492
|
+
# name isn't a valid DNS name, the name isn't in the hosted zone,
|
|
6493
|
+
# the record type can't be protected, or the same name and type
|
|
6494
|
+
# appear more than once in the request.
|
|
6495
|
+
#
|
|
6496
|
+
# * `ProtectionAlreadyExists` means that a protection already exists
|
|
6497
|
+
# for the name and type.
|
|
6498
|
+
#
|
|
6499
|
+
# * `ProtectionNotFound` means that no protection exists for the name
|
|
6500
|
+
# and type.
|
|
6501
|
+
# @return [String]
|
|
6502
|
+
#
|
|
6503
|
+
# @!attribute [rw] message
|
|
6504
|
+
# A message that explains why Route 53 couldn't process the entry.
|
|
6505
|
+
# @return [String]
|
|
6506
|
+
#
|
|
6507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ProtectionError AWS API Documentation
|
|
6508
|
+
#
|
|
6509
|
+
class ProtectionError < Struct.new(
|
|
6510
|
+
:record_name,
|
|
6511
|
+
:record_type,
|
|
6512
|
+
:code,
|
|
6513
|
+
:message)
|
|
6514
|
+
SENSITIVE = []
|
|
6515
|
+
include Aws::Structure
|
|
6516
|
+
end
|
|
6517
|
+
|
|
6308
6518
|
# You're trying to associate a VPC with a public hosted zone. Amazon
|
|
6309
6519
|
# Route 53 doesn't support associating a VPC with a public hosted zone.
|
|
6310
6520
|
#
|
|
@@ -6958,6 +7168,88 @@ module Aws::Route53
|
|
|
6958
7168
|
include Aws::Structure
|
|
6959
7169
|
end
|
|
6960
7170
|
|
|
7171
|
+
# A protection for the resource record sets in a hosted zone that have
|
|
7172
|
+
# the specified name and type. While the protection exists, Route 53
|
|
7173
|
+
# rejects `ChangeResourceRecordSets` requests that create, update, or
|
|
7174
|
+
# delete those resource record sets.
|
|
7175
|
+
#
|
|
7176
|
+
# @!attribute [rw] record_name
|
|
7177
|
+
# The name of the protected resource record sets.
|
|
7178
|
+
# @return [String]
|
|
7179
|
+
#
|
|
7180
|
+
# @!attribute [rw] record_type
|
|
7181
|
+
# The DNS record type of the protected resource record sets.
|
|
7182
|
+
# @return [String]
|
|
7183
|
+
#
|
|
7184
|
+
# @!attribute [rw] comment
|
|
7185
|
+
# The comment that was specified when the protection was created, if
|
|
7186
|
+
# any.
|
|
7187
|
+
# @return [String]
|
|
7188
|
+
#
|
|
7189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSetProtection AWS API Documentation
|
|
7190
|
+
#
|
|
7191
|
+
class ResourceRecordSetProtection < Struct.new(
|
|
7192
|
+
:record_name,
|
|
7193
|
+
:record_type,
|
|
7194
|
+
:comment)
|
|
7195
|
+
SENSITIVE = []
|
|
7196
|
+
include Aws::Structure
|
|
7197
|
+
end
|
|
7198
|
+
|
|
7199
|
+
# A protection to create for the resource record sets in a hosted zone
|
|
7200
|
+
# that have the specified name and type.
|
|
7201
|
+
#
|
|
7202
|
+
# @!attribute [rw] record_name
|
|
7203
|
+
# The name of the resource record sets to protect, for example,
|
|
7204
|
+
# `www.example.com`. The name must be the name of the hosted zone or a
|
|
7205
|
+
# subdomain of it.
|
|
7206
|
+
# @return [String]
|
|
7207
|
+
#
|
|
7208
|
+
# @!attribute [rw] record_type
|
|
7209
|
+
# The DNS record type of the resource record sets to protect. You
|
|
7210
|
+
# can't protect records of type `DNAME` or of the DNSSEC record types
|
|
7211
|
+
# that Route 53 manages.
|
|
7212
|
+
# @return [String]
|
|
7213
|
+
#
|
|
7214
|
+
# @!attribute [rw] comment
|
|
7215
|
+
# An optional comment about the protection, for example, the reason
|
|
7216
|
+
# that the resource record sets are protected. The comment can be up
|
|
7217
|
+
# to 256 characters long. If you don't specify a comment, the
|
|
7218
|
+
# protection doesn't have a comment. When Route 53 rejects a
|
|
7219
|
+
# `ChangeResourceRecordSets` request because of this protection, the
|
|
7220
|
+
# error message includes the comment, so don't include sensitive
|
|
7221
|
+
# information.
|
|
7222
|
+
# @return [String]
|
|
7223
|
+
#
|
|
7224
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSetProtectionConfig AWS API Documentation
|
|
7225
|
+
#
|
|
7226
|
+
class ResourceRecordSetProtectionConfig < Struct.new(
|
|
7227
|
+
:record_name,
|
|
7228
|
+
:record_type,
|
|
7229
|
+
:comment)
|
|
7230
|
+
SENSITIVE = []
|
|
7231
|
+
include Aws::Structure
|
|
7232
|
+
end
|
|
7233
|
+
|
|
7234
|
+
# The name and type that identify a resource record set protection.
|
|
7235
|
+
#
|
|
7236
|
+
# @!attribute [rw] record_name
|
|
7237
|
+
# The name of the protected resource record sets.
|
|
7238
|
+
# @return [String]
|
|
7239
|
+
#
|
|
7240
|
+
# @!attribute [rw] record_type
|
|
7241
|
+
# The DNS record type of the protected resource record sets.
|
|
7242
|
+
# @return [String]
|
|
7243
|
+
#
|
|
7244
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ResourceRecordSetProtectionKey AWS API Documentation
|
|
7245
|
+
#
|
|
7246
|
+
class ResourceRecordSetProtectionKey < Struct.new(
|
|
7247
|
+
:record_name,
|
|
7248
|
+
:record_type)
|
|
7249
|
+
SENSITIVE = []
|
|
7250
|
+
include Aws::Structure
|
|
7251
|
+
end
|
|
7252
|
+
|
|
6961
7253
|
# A complex type containing a resource and its associated tags.
|
|
6962
7254
|
#
|
|
6963
7255
|
# @!attribute [rw] resource_type
|
data/lib/aws-sdk-route53.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -296,6 +296,22 @@ module Aws
|
|
|
296
296
|
) -> _CreateQueryLoggingConfigResponseSuccess
|
|
297
297
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateQueryLoggingConfigResponseSuccess
|
|
298
298
|
|
|
299
|
+
interface _CreateResourceRecordSetProtectionsResponseSuccess
|
|
300
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateResourceRecordSetProtectionsResponse]
|
|
301
|
+
end
|
|
302
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53/Client.html#create_resource_record_set_protections-instance_method
|
|
303
|
+
def create_resource_record_set_protections: (
|
|
304
|
+
hosted_zone_id: ::String,
|
|
305
|
+
protections: Array[
|
|
306
|
+
{
|
|
307
|
+
record_name: ::String,
|
|
308
|
+
record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS"),
|
|
309
|
+
comment: ::String?
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
) -> _CreateResourceRecordSetProtectionsResponseSuccess
|
|
313
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateResourceRecordSetProtectionsResponseSuccess
|
|
314
|
+
|
|
299
315
|
interface _CreateReusableDelegationSetResponseSuccess
|
|
300
316
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateReusableDelegationSetResponse]
|
|
301
317
|
def delegation_set: () -> Types::DelegationSet
|
|
@@ -423,6 +439,21 @@ module Aws
|
|
|
423
439
|
) -> _DeleteQueryLoggingConfigResponseSuccess
|
|
424
440
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteQueryLoggingConfigResponseSuccess
|
|
425
441
|
|
|
442
|
+
interface _DeleteResourceRecordSetProtectionsResponseSuccess
|
|
443
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteResourceRecordSetProtectionsResponse]
|
|
444
|
+
end
|
|
445
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53/Client.html#delete_resource_record_set_protections-instance_method
|
|
446
|
+
def delete_resource_record_set_protections: (
|
|
447
|
+
hosted_zone_id: ::String,
|
|
448
|
+
protections: Array[
|
|
449
|
+
{
|
|
450
|
+
record_name: ::String,
|
|
451
|
+
record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS")
|
|
452
|
+
}
|
|
453
|
+
]
|
|
454
|
+
) -> _DeleteResourceRecordSetProtectionsResponseSuccess
|
|
455
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteResourceRecordSetProtectionsResponseSuccess
|
|
456
|
+
|
|
426
457
|
interface _DeleteReusableDelegationSetResponseSuccess
|
|
427
458
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteReusableDelegationSetResponse]
|
|
428
459
|
end
|
|
@@ -821,6 +852,21 @@ module Aws
|
|
|
821
852
|
) -> _ListQueryLoggingConfigsResponseSuccess
|
|
822
853
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListQueryLoggingConfigsResponseSuccess
|
|
823
854
|
|
|
855
|
+
interface _ListResourceRecordSetProtectionsResponseSuccess
|
|
856
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceRecordSetProtectionsResponse]
|
|
857
|
+
def resource_record_set_protections: () -> ::Array[Types::ResourceRecordSetProtection]
|
|
858
|
+
def next_token: () -> ::String
|
|
859
|
+
end
|
|
860
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53/Client.html#list_resource_record_set_protections-instance_method
|
|
861
|
+
def list_resource_record_set_protections: (
|
|
862
|
+
hosted_zone_id: ::String,
|
|
863
|
+
?start_record_name: ::String,
|
|
864
|
+
?start_record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS"),
|
|
865
|
+
?max_results: ::String,
|
|
866
|
+
?next_token: ::String
|
|
867
|
+
) -> _ListResourceRecordSetProtectionsResponseSuccess
|
|
868
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceRecordSetProtectionsResponseSuccess
|
|
869
|
+
|
|
824
870
|
interface _ListResourceRecordSetsResponseSuccess
|
|
825
871
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceRecordSetsResponse]
|
|
826
872
|
def resource_record_sets: () -> ::Array[Types::ResourceRecordSet]
|
data/sig/errors.rbs
CHANGED
|
@@ -105,6 +105,10 @@ module Aws
|
|
|
105
105
|
class InvalidPaginationToken < ServiceError
|
|
106
106
|
def message: () -> ::String
|
|
107
107
|
end
|
|
108
|
+
class InvalidResourceRecordSetProtectionBatch < ServiceError
|
|
109
|
+
def message: () -> ::String
|
|
110
|
+
def errors: () -> ::String
|
|
111
|
+
end
|
|
108
112
|
class InvalidSigningStatus < ServiceError
|
|
109
113
|
def message: () -> ::String
|
|
110
114
|
end
|
|
@@ -174,6 +178,10 @@ module Aws
|
|
|
174
178
|
class PriorRequestNotComplete < ServiceError
|
|
175
179
|
def message: () -> ::String
|
|
176
180
|
end
|
|
181
|
+
class ProtectionAlreadyExists < ServiceError
|
|
182
|
+
def message: () -> ::String
|
|
183
|
+
def errors: () -> ::String
|
|
184
|
+
end
|
|
177
185
|
class PublicZoneVPCAssociation < ServiceError
|
|
178
186
|
def message: () -> ::String
|
|
179
187
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -262,6 +262,15 @@ module Aws::Route53
|
|
|
262
262
|
SENSITIVE: []
|
|
263
263
|
end
|
|
264
264
|
|
|
265
|
+
class CreateResourceRecordSetProtectionsRequest
|
|
266
|
+
attr_accessor hosted_zone_id: ::String
|
|
267
|
+
attr_accessor protections: ::Array[Types::ResourceRecordSetProtectionConfig]
|
|
268
|
+
SENSITIVE: []
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
class CreateResourceRecordSetProtectionsResponse < Aws::EmptyStructure
|
|
272
|
+
end
|
|
273
|
+
|
|
265
274
|
class CreateReusableDelegationSetRequest
|
|
266
275
|
attr_accessor caller_reference: ::String
|
|
267
276
|
attr_accessor hosted_zone_id: ::String
|
|
@@ -426,6 +435,15 @@ module Aws::Route53
|
|
|
426
435
|
class DeleteQueryLoggingConfigResponse < Aws::EmptyStructure
|
|
427
436
|
end
|
|
428
437
|
|
|
438
|
+
class DeleteResourceRecordSetProtectionsRequest
|
|
439
|
+
attr_accessor hosted_zone_id: ::String
|
|
440
|
+
attr_accessor protections: ::Array[Types::ResourceRecordSetProtectionKey]
|
|
441
|
+
SENSITIVE: []
|
|
442
|
+
end
|
|
443
|
+
|
|
444
|
+
class DeleteResourceRecordSetProtectionsResponse < Aws::EmptyStructure
|
|
445
|
+
end
|
|
446
|
+
|
|
429
447
|
class DeleteReusableDelegationSetRequest
|
|
430
448
|
attr_accessor id: ::String
|
|
431
449
|
SENSITIVE: []
|
|
@@ -883,6 +901,12 @@ module Aws::Route53
|
|
|
883
901
|
SENSITIVE: []
|
|
884
902
|
end
|
|
885
903
|
|
|
904
|
+
class InvalidResourceRecordSetProtectionBatch
|
|
905
|
+
attr_accessor message: ::String
|
|
906
|
+
attr_accessor errors: ::Array[Types::ProtectionError]
|
|
907
|
+
SENSITIVE: []
|
|
908
|
+
end
|
|
909
|
+
|
|
886
910
|
class InvalidSigningStatus
|
|
887
911
|
attr_accessor message: ::String
|
|
888
912
|
SENSITIVE: []
|
|
@@ -1089,6 +1113,21 @@ module Aws::Route53
|
|
|
1089
1113
|
SENSITIVE: []
|
|
1090
1114
|
end
|
|
1091
1115
|
|
|
1116
|
+
class ListResourceRecordSetProtectionsRequest
|
|
1117
|
+
attr_accessor hosted_zone_id: ::String
|
|
1118
|
+
attr_accessor start_record_name: ::String
|
|
1119
|
+
attr_accessor start_record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS")
|
|
1120
|
+
attr_accessor max_results: ::String
|
|
1121
|
+
attr_accessor next_token: ::String
|
|
1122
|
+
SENSITIVE: []
|
|
1123
|
+
end
|
|
1124
|
+
|
|
1125
|
+
class ListResourceRecordSetProtectionsResponse
|
|
1126
|
+
attr_accessor resource_record_set_protections: ::Array[Types::ResourceRecordSetProtection]
|
|
1127
|
+
attr_accessor next_token: ::String
|
|
1128
|
+
SENSITIVE: []
|
|
1129
|
+
end
|
|
1130
|
+
|
|
1092
1131
|
class ListResourceRecordSetsRequest
|
|
1093
1132
|
attr_accessor hosted_zone_id: ::String
|
|
1094
1133
|
attr_accessor start_record_name: ::String
|
|
@@ -1318,6 +1357,20 @@ module Aws::Route53
|
|
|
1318
1357
|
SENSITIVE: []
|
|
1319
1358
|
end
|
|
1320
1359
|
|
|
1360
|
+
class ProtectionAlreadyExists
|
|
1361
|
+
attr_accessor message: ::String
|
|
1362
|
+
attr_accessor errors: ::Array[Types::ProtectionError]
|
|
1363
|
+
SENSITIVE: []
|
|
1364
|
+
end
|
|
1365
|
+
|
|
1366
|
+
class ProtectionError
|
|
1367
|
+
attr_accessor record_name: ::String
|
|
1368
|
+
attr_accessor record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS")
|
|
1369
|
+
attr_accessor code: ::String
|
|
1370
|
+
attr_accessor message: ::String
|
|
1371
|
+
SENSITIVE: []
|
|
1372
|
+
end
|
|
1373
|
+
|
|
1321
1374
|
class PublicZoneVPCAssociation
|
|
1322
1375
|
attr_accessor message: ::String
|
|
1323
1376
|
SENSITIVE: []
|
|
@@ -1359,6 +1412,26 @@ module Aws::Route53
|
|
|
1359
1412
|
SENSITIVE: []
|
|
1360
1413
|
end
|
|
1361
1414
|
|
|
1415
|
+
class ResourceRecordSetProtection
|
|
1416
|
+
attr_accessor record_name: ::String
|
|
1417
|
+
attr_accessor record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS")
|
|
1418
|
+
attr_accessor comment: ::String
|
|
1419
|
+
SENSITIVE: []
|
|
1420
|
+
end
|
|
1421
|
+
|
|
1422
|
+
class ResourceRecordSetProtectionConfig
|
|
1423
|
+
attr_accessor record_name: ::String
|
|
1424
|
+
attr_accessor record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS")
|
|
1425
|
+
attr_accessor comment: ::String
|
|
1426
|
+
SENSITIVE: []
|
|
1427
|
+
end
|
|
1428
|
+
|
|
1429
|
+
class ResourceRecordSetProtectionKey
|
|
1430
|
+
attr_accessor record_name: ::String
|
|
1431
|
+
attr_accessor record_type: ("SOA" | "A" | "TXT" | "NS" | "CNAME" | "MX" | "NAPTR" | "PTR" | "SRV" | "SPF" | "AAAA" | "CAA" | "DS" | "TLSA" | "SSHFP" | "SVCB" | "HTTPS")
|
|
1432
|
+
SENSITIVE: []
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1362
1435
|
class ResourceTagSet
|
|
1363
1436
|
attr_accessor resource_type: ("healthcheck" | "hostedzone")
|
|
1364
1437
|
attr_accessor resource_id: ::String
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-route53
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.150.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.268.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.268.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|