aws-sdk-route53 1.4.0 → 1.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b0e4bd41767cda2976414541111c0fa3d1afc2d
4
- data.tar.gz: 2f683fe448cc7cabe3cee7f852825b2d3b6884ef
3
+ metadata.gz: 060aa7b1de94aacf54a37168956f70bf87e56606
4
+ data.tar.gz: b019deb7d326bcd8c7335b3bdefe00fe8384d860
5
5
  SHA512:
6
- metadata.gz: d259233ca43f8ff2dc8527a28c0cbbff86f244689f2368037222f91e40662365416816c34c698850c99b621babb7822ae5eebe5d38efa05cefd1024b05083927
7
- data.tar.gz: b3788e5b936983b24d8accbb1f92328ce4562e2c5486f7fd351db77d4b264e4525f951cc75699860d9d724b696c79ef46099e919c59b4c8c3ca0f0fdd4d20611
6
+ metadata.gz: f5980c4b5a632b6f722448f982a2cdab6aebfc200488f4244fc4f7e8153f2fea784128a0124a3e1132d98be6bc2f09404bc0cf856c709ca3f94b7bc01ca7c8f6
7
+ data.tar.gz: 24773de466a2bbeafd88047f8d07a9a564c81f2f3a456db6d163d45ce1084dc6629d808177cac4e42917faba079c6c2065eb9bf2e4ca93313f41d00efeba50ad
@@ -43,6 +43,6 @@ require_relative 'aws-sdk-route53/customizations'
43
43
  # @service
44
44
  module Aws::Route53
45
45
 
46
- GEM_VERSION = '1.4.0'
46
+ GEM_VERSION = '1.5.0'
47
47
 
48
48
  end
@@ -2117,6 +2117,64 @@ module Aws::Route53
2117
2117
  req.send_request(options)
2118
2118
  end
2119
2119
 
2120
+ # Gets the specified limit for the current account, for example, the
2121
+ # maximum number of health checks that you can create using the account.
2122
+ #
2123
+ # For the default limit, see [Limits][1] in the *Amazon Route 53
2124
+ # Developer Guide*. To request a higher limit, [open a case][2].
2125
+ #
2126
+ #
2127
+ #
2128
+ # [1]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html
2129
+ # [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53
2130
+ #
2131
+ # @option params [required, String] :type
2132
+ # The limit that you want to get. Valid values include the following:
2133
+ #
2134
+ # * **MAX\_HEALTH\_CHECKS\_BY\_OWNER**\: The maximum number of health
2135
+ # checks that you can create using the current account.
2136
+ #
2137
+ # * **MAX\_HOSTED\_ZONES\_BY\_OWNER**\: The maximum number of hosted
2138
+ # zones that you can create using the current account.
2139
+ #
2140
+ # * **MAX\_REUSABLE\_DELEGATION\_SETS\_BY\_OWNER**\: The maximum number
2141
+ # of reusable delegation sets that you can create using the current
2142
+ # account.
2143
+ #
2144
+ # * **MAX\_TRAFFIC\_POLICIES\_BY\_OWNER**\: The maximum number of
2145
+ # traffic policies that you can create using the current account.
2146
+ #
2147
+ # * **MAX\_TRAFFIC\_POLICY\_INSTANCES\_BY\_OWNER**\: The maximum number
2148
+ # of traffic policy instances that you can create using the current
2149
+ # account. (Traffic policy instances are referred to as traffic flow
2150
+ # policy records in the Amazon Route 53 console.)
2151
+ #
2152
+ # @return [Types::GetAccountLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2153
+ #
2154
+ # * {Types::GetAccountLimitResponse#limit #limit} => Types::AccountLimit
2155
+ # * {Types::GetAccountLimitResponse#count #count} => Integer
2156
+ #
2157
+ # @example Request syntax with placeholder values
2158
+ #
2159
+ # resp = client.get_account_limit({
2160
+ # type: "MAX_HEALTH_CHECKS_BY_OWNER", # required, accepts MAX_HEALTH_CHECKS_BY_OWNER, MAX_HOSTED_ZONES_BY_OWNER, MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER, MAX_REUSABLE_DELEGATION_SETS_BY_OWNER, MAX_TRAFFIC_POLICIES_BY_OWNER
2161
+ # })
2162
+ #
2163
+ # @example Response structure
2164
+ #
2165
+ # resp.limit.type #=> String, one of "MAX_HEALTH_CHECKS_BY_OWNER", "MAX_HOSTED_ZONES_BY_OWNER", "MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER", "MAX_REUSABLE_DELEGATION_SETS_BY_OWNER", "MAX_TRAFFIC_POLICIES_BY_OWNER"
2166
+ # resp.limit.value #=> Integer
2167
+ # resp.count #=> Integer
2168
+ #
2169
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimit AWS API Documentation
2170
+ #
2171
+ # @overload get_account_limit(params = {})
2172
+ # @param [Hash] params ({})
2173
+ def get_account_limit(params = {}, options = {})
2174
+ req = build_request(:get_account_limit, params)
2175
+ req.send_request(options)
2176
+ end
2177
+
2120
2178
  # Returns the current status of a change batch request. The status is
2121
2179
  # one of the following values:
2122
2180
  #
@@ -2524,6 +2582,56 @@ module Aws::Route53
2524
2582
  req.send_request(options)
2525
2583
  end
2526
2584
 
2585
+ # Gets the specified limit for a specified hosted zone, for example, the
2586
+ # maximum number of records that you can create in the hosted zone.
2587
+ #
2588
+ # For the default limit, see [Limits][1] in the *Amazon Route 53
2589
+ # Developer Guide*. To request a higher limit, [open a case][2].
2590
+ #
2591
+ #
2592
+ #
2593
+ # [1]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html
2594
+ # [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53
2595
+ #
2596
+ # @option params [required, String] :type
2597
+ # The limit that you want to get. Valid values include the following:
2598
+ #
2599
+ # * **MAX\_RRSETS\_BY\_ZONE**\: The maximum number of records that you
2600
+ # can create in the specified hosted zone.
2601
+ #
2602
+ # * **MAX\_VPCS\_ASSOCIATED\_BY\_TYPE**\: The maximum number of Amazon
2603
+ # VPCs that you can associate with the specified private hosted zone.
2604
+ #
2605
+ # @option params [required, String] :hosted_zone_id
2606
+ # The ID of the hosted zone that you want to get a limit for.
2607
+ #
2608
+ # @return [Types::GetHostedZoneLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2609
+ #
2610
+ # * {Types::GetHostedZoneLimitResponse#limit #limit} => Types::HostedZoneLimit
2611
+ # * {Types::GetHostedZoneLimitResponse#count #count} => Integer
2612
+ #
2613
+ # @example Request syntax with placeholder values
2614
+ #
2615
+ # resp = client.get_hosted_zone_limit({
2616
+ # type: "MAX_RRSETS_BY_ZONE", # required, accepts MAX_RRSETS_BY_ZONE, MAX_VPCS_ASSOCIATED_BY_ZONE
2617
+ # hosted_zone_id: "ResourceId", # required
2618
+ # })
2619
+ #
2620
+ # @example Response structure
2621
+ #
2622
+ # resp.limit.type #=> String, one of "MAX_RRSETS_BY_ZONE", "MAX_VPCS_ASSOCIATED_BY_ZONE"
2623
+ # resp.limit.value #=> Integer
2624
+ # resp.count #=> Integer
2625
+ #
2626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimit AWS API Documentation
2627
+ #
2628
+ # @overload get_hosted_zone_limit(params = {})
2629
+ # @param [Hash] params ({})
2630
+ def get_hosted_zone_limit(params = {}, options = {})
2631
+ req = build_request(:get_hosted_zone_limit, params)
2632
+ req.send_request(options)
2633
+ end
2634
+
2527
2635
  # Gets information about a specified configuration for DNS query
2528
2636
  # logging.
2529
2637
  #
@@ -2597,6 +2705,52 @@ module Aws::Route53
2597
2705
  req.send_request(options)
2598
2706
  end
2599
2707
 
2708
+ # Gets the maximum number of hosted zones that you can associate with
2709
+ # the specified reusable delegation set.
2710
+ #
2711
+ # For the default limit, see [Limits][1] in the *Amazon Route 53
2712
+ # Developer Guide*. To request a higher limit, [open a case][2].
2713
+ #
2714
+ #
2715
+ #
2716
+ # [1]: http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html
2717
+ # [2]: https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase&limitType=service-code-route53
2718
+ #
2719
+ # @option params [required, String] :type
2720
+ # Specify `MAX_ZONES_BY_REUSABLE_DELEGATION_SET` to get the maximum
2721
+ # number of hosted zones that you can associate with the specified
2722
+ # reusable delegation set.
2723
+ #
2724
+ # @option params [required, String] :delegation_set_id
2725
+ # The ID of the delegation set that you want to get the limit for.
2726
+ #
2727
+ # @return [Types::GetReusableDelegationSetLimitResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2728
+ #
2729
+ # * {Types::GetReusableDelegationSetLimitResponse#limit #limit} => Types::ReusableDelegationSetLimit
2730
+ # * {Types::GetReusableDelegationSetLimitResponse#count #count} => Integer
2731
+ #
2732
+ # @example Request syntax with placeholder values
2733
+ #
2734
+ # resp = client.get_reusable_delegation_set_limit({
2735
+ # type: "MAX_ZONES_BY_REUSABLE_DELEGATION_SET", # required, accepts MAX_ZONES_BY_REUSABLE_DELEGATION_SET
2736
+ # delegation_set_id: "ResourceId", # required
2737
+ # })
2738
+ #
2739
+ # @example Response structure
2740
+ #
2741
+ # resp.limit.type #=> String, one of "MAX_ZONES_BY_REUSABLE_DELEGATION_SET"
2742
+ # resp.limit.value #=> Integer
2743
+ # resp.count #=> Integer
2744
+ #
2745
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimit AWS API Documentation
2746
+ #
2747
+ # @overload get_reusable_delegation_set_limit(params = {})
2748
+ # @param [Hash] params ({})
2749
+ def get_reusable_delegation_set_limit(params = {}, options = {})
2750
+ req = build_request(:get_reusable_delegation_set_limit, params)
2751
+ req.send_request(options)
2752
+ end
2753
+
2600
2754
  # Gets information about a specific traffic policy version.
2601
2755
  #
2602
2756
  # @option params [required, String] :id
@@ -4590,7 +4744,7 @@ module Aws::Route53
4590
4744
  params: params,
4591
4745
  config: config)
4592
4746
  context[:gem_name] = 'aws-sdk-route53'
4593
- context[:gem_version] = '1.4.0'
4747
+ context[:gem_version] = '1.5.0'
4594
4748
  Seahorse::Client::Request.new(handlers, context)
4595
4749
  end
4596
4750
 
@@ -11,6 +11,8 @@ module Aws::Route53
11
11
 
12
12
  include Seahorse::Model
13
13
 
14
+ AccountLimit = Shapes::StructureShape.new(name: 'AccountLimit')
15
+ AccountLimitType = Shapes::StringShape.new(name: 'AccountLimitType')
14
16
  AlarmIdentifier = Shapes::StructureShape.new(name: 'AlarmIdentifier')
15
17
  AlarmName = Shapes::StringShape.new(name: 'AlarmName')
16
18
  AliasHealthEnabled = Shapes::BooleanShape.new(name: 'AliasHealthEnabled')
@@ -98,6 +100,8 @@ module Aws::Route53
98
100
  GeoLocationDetailsList = Shapes::ListShape.new(name: 'GeoLocationDetailsList')
99
101
  GeoLocationSubdivisionCode = Shapes::StringShape.new(name: 'GeoLocationSubdivisionCode')
100
102
  GeoLocationSubdivisionName = Shapes::StringShape.new(name: 'GeoLocationSubdivisionName')
103
+ GetAccountLimitRequest = Shapes::StructureShape.new(name: 'GetAccountLimitRequest')
104
+ GetAccountLimitResponse = Shapes::StructureShape.new(name: 'GetAccountLimitResponse')
101
105
  GetChangeRequest = Shapes::StructureShape.new(name: 'GetChangeRequest')
102
106
  GetChangeResponse = Shapes::StructureShape.new(name: 'GetChangeResponse')
103
107
  GetCheckerIpRangesRequest = Shapes::StructureShape.new(name: 'GetCheckerIpRangesRequest')
@@ -114,10 +118,14 @@ module Aws::Route53
114
118
  GetHealthCheckStatusResponse = Shapes::StructureShape.new(name: 'GetHealthCheckStatusResponse')
115
119
  GetHostedZoneCountRequest = Shapes::StructureShape.new(name: 'GetHostedZoneCountRequest')
116
120
  GetHostedZoneCountResponse = Shapes::StructureShape.new(name: 'GetHostedZoneCountResponse')
121
+ GetHostedZoneLimitRequest = Shapes::StructureShape.new(name: 'GetHostedZoneLimitRequest')
122
+ GetHostedZoneLimitResponse = Shapes::StructureShape.new(name: 'GetHostedZoneLimitResponse')
117
123
  GetHostedZoneRequest = Shapes::StructureShape.new(name: 'GetHostedZoneRequest')
118
124
  GetHostedZoneResponse = Shapes::StructureShape.new(name: 'GetHostedZoneResponse')
119
125
  GetQueryLoggingConfigRequest = Shapes::StructureShape.new(name: 'GetQueryLoggingConfigRequest')
120
126
  GetQueryLoggingConfigResponse = Shapes::StructureShape.new(name: 'GetQueryLoggingConfigResponse')
127
+ GetReusableDelegationSetLimitRequest = Shapes::StructureShape.new(name: 'GetReusableDelegationSetLimitRequest')
128
+ GetReusableDelegationSetLimitResponse = Shapes::StructureShape.new(name: 'GetReusableDelegationSetLimitResponse')
121
129
  GetReusableDelegationSetRequest = Shapes::StructureShape.new(name: 'GetReusableDelegationSetRequest')
122
130
  GetReusableDelegationSetResponse = Shapes::StructureShape.new(name: 'GetReusableDelegationSetResponse')
123
131
  GetTrafficPolicyInstanceCountRequest = Shapes::StructureShape.new(name: 'GetTrafficPolicyInstanceCountRequest')
@@ -146,8 +154,11 @@ module Aws::Route53
146
154
  HostedZoneAlreadyExists = Shapes::StructureShape.new(name: 'HostedZoneAlreadyExists')
147
155
  HostedZoneConfig = Shapes::StructureShape.new(name: 'HostedZoneConfig')
148
156
  HostedZoneCount = Shapes::IntegerShape.new(name: 'HostedZoneCount')
157
+ HostedZoneLimit = Shapes::StructureShape.new(name: 'HostedZoneLimit')
158
+ HostedZoneLimitType = Shapes::StringShape.new(name: 'HostedZoneLimitType')
149
159
  HostedZoneNotEmpty = Shapes::StructureShape.new(name: 'HostedZoneNotEmpty')
150
160
  HostedZoneNotFound = Shapes::StructureShape.new(name: 'HostedZoneNotFound')
161
+ HostedZoneNotPrivate = Shapes::StructureShape.new(name: 'HostedZoneNotPrivate')
151
162
  HostedZoneRRSetCount = Shapes::IntegerShape.new(name: 'HostedZoneRRSetCount')
152
163
  HostedZones = Shapes::ListShape.new(name: 'HostedZones')
153
164
  IPAddress = Shapes::StringShape.new(name: 'IPAddress')
@@ -165,6 +176,7 @@ module Aws::Route53
165
176
  Inverted = Shapes::BooleanShape.new(name: 'Inverted')
166
177
  IsPrivateZone = Shapes::BooleanShape.new(name: 'IsPrivateZone')
167
178
  LastVPCAssociation = Shapes::StructureShape.new(name: 'LastVPCAssociation')
179
+ LimitValue = Shapes::IntegerShape.new(name: 'LimitValue')
168
180
  LimitsExceeded = Shapes::StructureShape.new(name: 'LimitsExceeded')
169
181
  LinkedService = Shapes::StructureShape.new(name: 'LinkedService')
170
182
  ListGeoLocationsRequest = Shapes::StructureShape.new(name: 'ListGeoLocationsRequest')
@@ -248,6 +260,8 @@ module Aws::Route53
248
260
  ResourceTagSet = Shapes::StructureShape.new(name: 'ResourceTagSet')
249
261
  ResourceTagSetList = Shapes::ListShape.new(name: 'ResourceTagSetList')
250
262
  ResourceURI = Shapes::StringShape.new(name: 'ResourceURI')
263
+ ReusableDelegationSetLimit = Shapes::StructureShape.new(name: 'ReusableDelegationSetLimit')
264
+ ReusableDelegationSetLimitType = Shapes::StringShape.new(name: 'ReusableDelegationSetLimitType')
251
265
  SearchString = Shapes::StringShape.new(name: 'SearchString')
252
266
  ServicePrincipal = Shapes::StringShape.new(name: 'ServicePrincipal')
253
267
  Statistic = Shapes::StringShape.new(name: 'Statistic')
@@ -300,6 +314,7 @@ module Aws::Route53
300
314
  UpdateTrafficPolicyCommentResponse = Shapes::StructureShape.new(name: 'UpdateTrafficPolicyCommentResponse')
301
315
  UpdateTrafficPolicyInstanceRequest = Shapes::StructureShape.new(name: 'UpdateTrafficPolicyInstanceRequest')
302
316
  UpdateTrafficPolicyInstanceResponse = Shapes::StructureShape.new(name: 'UpdateTrafficPolicyInstanceResponse')
317
+ UsageCount = Shapes::IntegerShape.new(name: 'UsageCount')
303
318
  VPC = Shapes::StructureShape.new(name: 'VPC')
304
319
  VPCAssociationAuthorizationNotFound = Shapes::StructureShape.new(name: 'VPCAssociationAuthorizationNotFound')
305
320
  VPCAssociationNotFound = Shapes::StructureShape.new(name: 'VPCAssociationNotFound')
@@ -307,6 +322,10 @@ module Aws::Route53
307
322
  VPCRegion = Shapes::StringShape.new(name: 'VPCRegion')
308
323
  VPCs = Shapes::ListShape.new(name: 'VPCs')
309
324
 
325
+ AccountLimit.add_member(:type, Shapes::ShapeRef.new(shape: AccountLimitType, required: true, location_name: "Type"))
326
+ AccountLimit.add_member(:value, Shapes::ShapeRef.new(shape: LimitValue, required: true, location_name: "Value"))
327
+ AccountLimit.struct_class = Types::AccountLimit
328
+
310
329
  AlarmIdentifier.add_member(:region, Shapes::ShapeRef.new(shape: CloudWatchRegion, required: true, location_name: "Region"))
311
330
  AlarmIdentifier.add_member(:name, Shapes::ShapeRef.new(shape: AlarmName, required: true, location_name: "Name"))
312
331
  AlarmIdentifier.struct_class = Types::AlarmIdentifier
@@ -522,6 +541,13 @@ module Aws::Route53
522
541
 
523
542
  GeoLocationDetailsList.member = Shapes::ShapeRef.new(shape: GeoLocationDetails, location_name: "GeoLocationDetails")
524
543
 
544
+ GetAccountLimitRequest.add_member(:type, Shapes::ShapeRef.new(shape: AccountLimitType, required: true, location: "uri", location_name: "Type"))
545
+ GetAccountLimitRequest.struct_class = Types::GetAccountLimitRequest
546
+
547
+ GetAccountLimitResponse.add_member(:limit, Shapes::ShapeRef.new(shape: AccountLimit, required: true, location_name: "Limit"))
548
+ GetAccountLimitResponse.add_member(:count, Shapes::ShapeRef.new(shape: UsageCount, required: true, location_name: "Count"))
549
+ GetAccountLimitResponse.struct_class = Types::GetAccountLimitResponse
550
+
525
551
  GetChangeRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
526
552
  GetChangeRequest.struct_class = Types::GetChangeRequest
527
553
 
@@ -569,6 +595,14 @@ module Aws::Route53
569
595
  GetHostedZoneCountResponse.add_member(:hosted_zone_count, Shapes::ShapeRef.new(shape: HostedZoneCount, required: true, location_name: "HostedZoneCount"))
570
596
  GetHostedZoneCountResponse.struct_class = Types::GetHostedZoneCountResponse
571
597
 
598
+ GetHostedZoneLimitRequest.add_member(:type, Shapes::ShapeRef.new(shape: HostedZoneLimitType, required: true, location: "uri", location_name: "Type"))
599
+ GetHostedZoneLimitRequest.add_member(:hosted_zone_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
600
+ GetHostedZoneLimitRequest.struct_class = Types::GetHostedZoneLimitRequest
601
+
602
+ GetHostedZoneLimitResponse.add_member(:limit, Shapes::ShapeRef.new(shape: HostedZoneLimit, required: true, location_name: "Limit"))
603
+ GetHostedZoneLimitResponse.add_member(:count, Shapes::ShapeRef.new(shape: UsageCount, required: true, location_name: "Count"))
604
+ GetHostedZoneLimitResponse.struct_class = Types::GetHostedZoneLimitResponse
605
+
572
606
  GetHostedZoneRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
573
607
  GetHostedZoneRequest.struct_class = Types::GetHostedZoneRequest
574
608
 
@@ -583,6 +617,14 @@ module Aws::Route53
583
617
  GetQueryLoggingConfigResponse.add_member(:query_logging_config, Shapes::ShapeRef.new(shape: QueryLoggingConfig, required: true, location_name: "QueryLoggingConfig"))
584
618
  GetQueryLoggingConfigResponse.struct_class = Types::GetQueryLoggingConfigResponse
585
619
 
620
+ GetReusableDelegationSetLimitRequest.add_member(:type, Shapes::ShapeRef.new(shape: ReusableDelegationSetLimitType, required: true, location: "uri", location_name: "Type"))
621
+ GetReusableDelegationSetLimitRequest.add_member(:delegation_set_id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
622
+ GetReusableDelegationSetLimitRequest.struct_class = Types::GetReusableDelegationSetLimitRequest
623
+
624
+ GetReusableDelegationSetLimitResponse.add_member(:limit, Shapes::ShapeRef.new(shape: ReusableDelegationSetLimit, required: true, location_name: "Limit"))
625
+ GetReusableDelegationSetLimitResponse.add_member(:count, Shapes::ShapeRef.new(shape: UsageCount, required: true, location_name: "Count"))
626
+ GetReusableDelegationSetLimitResponse.struct_class = Types::GetReusableDelegationSetLimitResponse
627
+
586
628
  GetReusableDelegationSetRequest.add_member(:id, Shapes::ShapeRef.new(shape: ResourceId, required: true, location: "uri", location_name: "Id"))
587
629
  GetReusableDelegationSetRequest.struct_class = Types::GetReusableDelegationSetRequest
588
630
 
@@ -656,6 +698,10 @@ module Aws::Route53
656
698
  HostedZoneConfig.add_member(:private_zone, Shapes::ShapeRef.new(shape: IsPrivateZone, location_name: "PrivateZone"))
657
699
  HostedZoneConfig.struct_class = Types::HostedZoneConfig
658
700
 
701
+ HostedZoneLimit.add_member(:type, Shapes::ShapeRef.new(shape: HostedZoneLimitType, required: true, location_name: "Type"))
702
+ HostedZoneLimit.add_member(:value, Shapes::ShapeRef.new(shape: LimitValue, required: true, location_name: "Value"))
703
+ HostedZoneLimit.struct_class = Types::HostedZoneLimit
704
+
659
705
  HostedZones.member = Shapes::ShapeRef.new(shape: HostedZone, location_name: "HostedZone")
660
706
 
661
707
  LinkedService.add_member(:service_principal, Shapes::ShapeRef.new(shape: ServicePrincipal, location_name: "ServicePrincipal"))
@@ -876,6 +922,10 @@ module Aws::Route53
876
922
 
877
923
  ResourceTagSetList.member = Shapes::ShapeRef.new(shape: ResourceTagSet, location_name: "ResourceTagSet")
878
924
 
925
+ ReusableDelegationSetLimit.add_member(:type, Shapes::ShapeRef.new(shape: ReusableDelegationSetLimitType, required: true, location_name: "Type"))
926
+ ReusableDelegationSetLimit.add_member(:value, Shapes::ShapeRef.new(shape: LimitValue, required: true, location_name: "Value"))
927
+ ReusableDelegationSetLimit.struct_class = Types::ReusableDelegationSetLimit
928
+
879
929
  StatusReport.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
880
930
  StatusReport.add_member(:checked_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "CheckedTime"))
881
931
  StatusReport.struct_class = Types::StatusReport
@@ -1311,6 +1361,15 @@ module Aws::Route53
1311
1361
  o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
1312
1362
  end)
1313
1363
 
1364
+ api.add_operation(:get_account_limit, Seahorse::Model::Operation.new.tap do |o|
1365
+ o.name = "GetAccountLimit"
1366
+ o.http_method = "GET"
1367
+ o.http_request_uri = "/2013-04-01/accountlimit/{Type}"
1368
+ o.input = Shapes::ShapeRef.new(shape: GetAccountLimitRequest)
1369
+ o.output = Shapes::ShapeRef.new(shape: GetAccountLimitResponse)
1370
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
1371
+ end)
1372
+
1314
1373
  api.add_operation(:get_change, Seahorse::Model::Operation.new.tap do |o|
1315
1374
  o.name = "GetChange"
1316
1375
  o.http_method = "GET"
@@ -1397,6 +1456,17 @@ module Aws::Route53
1397
1456
  o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
1398
1457
  end)
1399
1458
 
1459
+ api.add_operation(:get_hosted_zone_limit, Seahorse::Model::Operation.new.tap do |o|
1460
+ o.name = "GetHostedZoneLimit"
1461
+ o.http_method = "GET"
1462
+ o.http_request_uri = "/2013-04-01/hostedzonelimit/{Id}/{Type}"
1463
+ o.input = Shapes::ShapeRef.new(shape: GetHostedZoneLimitRequest)
1464
+ o.output = Shapes::ShapeRef.new(shape: GetHostedZoneLimitResponse)
1465
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchHostedZone)
1466
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
1467
+ o.errors << Shapes::ShapeRef.new(shape: HostedZoneNotPrivate)
1468
+ end)
1469
+
1400
1470
  api.add_operation(:get_query_logging_config, Seahorse::Model::Operation.new.tap do |o|
1401
1471
  o.name = "GetQueryLoggingConfig"
1402
1472
  o.http_method = "GET"
@@ -1418,6 +1488,16 @@ module Aws::Route53
1418
1488
  o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
1419
1489
  end)
1420
1490
 
1491
+ api.add_operation(:get_reusable_delegation_set_limit, Seahorse::Model::Operation.new.tap do |o|
1492
+ o.name = "GetReusableDelegationSetLimit"
1493
+ o.http_method = "GET"
1494
+ o.http_request_uri = "/2013-04-01/reusabledelegationsetlimit/{Id}/{Type}"
1495
+ o.input = Shapes::ShapeRef.new(shape: GetReusableDelegationSetLimitRequest)
1496
+ o.output = Shapes::ShapeRef.new(shape: GetReusableDelegationSetLimitResponse)
1497
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInput)
1498
+ o.errors << Shapes::ShapeRef.new(shape: NoSuchDelegationSet)
1499
+ end)
1500
+
1421
1501
  api.add_operation(:get_traffic_policy, Seahorse::Model::Operation.new.tap do |o|
1422
1502
  o.name = "GetTrafficPolicy"
1423
1503
  o.http_method = "GET"
@@ -8,6 +8,44 @@
8
8
  module Aws::Route53
9
9
  module Types
10
10
 
11
+ # A complex type that contains the type of limit that you specified in
12
+ # the request and the current value for that limit.
13
+ #
14
+ # @!attribute [rw] type
15
+ # The limit that you requested. Valid values include the following:
16
+ #
17
+ # * **MAX\_HEALTH\_CHECKS\_BY\_OWNER**\: The maximum number of health
18
+ # checks that you can create using the current account.
19
+ #
20
+ # * **MAX\_HOSTED\_ZONES\_BY\_OWNER**\: The maximum number of hosted
21
+ # zones that you can create using the current account.
22
+ #
23
+ # * **MAX\_REUSABLE\_DELEGATION\_SETS\_BY\_OWNER**\: The maximum
24
+ # number of reusable delegation sets that you can create using the
25
+ # current account.
26
+ #
27
+ # * **MAX\_TRAFFIC\_POLICIES\_BY\_OWNER**\: The maximum number of
28
+ # traffic policies that you can create using the current account.
29
+ #
30
+ # * **MAX\_TRAFFIC\_POLICY\_INSTANCES\_BY\_OWNER**\: The maximum
31
+ # number of traffic policy instances that you can create using the
32
+ # current account. (Traffic policy instances are referred to as
33
+ # traffic flow policy records in the Amazon Route 53 console.)
34
+ # @return [String]
35
+ #
36
+ # @!attribute [rw] value
37
+ # The current value for the limit that is specified by
38
+ # AccountLimit$Type.
39
+ # @return [Integer]
40
+ #
41
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/AccountLimit AWS API Documentation
42
+ #
43
+ class AccountLimit < Struct.new(
44
+ :type,
45
+ :value)
46
+ include Aws::Structure
47
+ end
48
+
11
49
  # A complex type that identifies the CloudWatch alarm that you want
12
50
  # Amazon Route 53 health checkers to use to determine whether this
13
51
  # health check is healthy.
@@ -119,23 +157,26 @@ module Aws::Route53
119
157
  # **Description** tab.
120
158
  #
121
159
  # * **Elastic Load Balancing API**\: Use `DescribeLoadBalancers` to
122
- # get the value of `CanonicalHostedZoneNameId`. For more
123
- # information, see the applicable guide:
160
+ # get the applicable value. For more information, see the
161
+ # applicable guide:
124
162
  #
125
- # * Classic Load Balancers: [DescribeLoadBalancers][3]
163
+ # * Classic Load Balancers: Use [DescribeLoadBalancers][3] to get
164
+ # the value of `CanonicalHostedZoneNameId`.
126
165
  #
127
- # * Application and Network Load Balancers:
128
- # [DescribeLoadBalancers][4]
166
+ # * Application and Network Load Balancers: Use
167
+ # [DescribeLoadBalancers][4] to get the value of
168
+ # `CanonicalHostedZoneId`.
129
169
  #
130
- # * **AWS CLI**\: Use `describe-load-balancers` to get the value of
131
- # `CanonicalHostedZoneNameID` (for Classic Load Balancers) or
132
- # `CanonicalHostedZoneNameID` (for Application and Network Load
133
- # Balancers). For more information, see the applicable guide:
170
+ # * **AWS CLI**\: Use `describe-load-balancers` to get the
171
+ # applicable value. For more information, see the applicable
172
+ # guide:
134
173
  #
135
- # * Classic Load Balancers: [describe-load-balancers][5]
174
+ # * Classic Load Balancers: Use [describe-load-balancers][5] to
175
+ # get the value of `CanonicalHostedZoneNameId`.
136
176
  #
137
- # * Application and Network Load Balancers:
138
- # [describe-load-balancers][6]
177
+ # * Application and Network Load Balancers: Use
178
+ # [describe-load-balancers][6] to get the value of
179
+ # `CanonicalHostedZoneId`.
139
180
  #
140
181
  # An Amazon S3 bucket configured as a static website
141
182
  #
@@ -442,43 +483,6 @@ module Aws::Route53
442
483
  # * `UPSERT`\: If a resource record set doesn't already exist, Amazon
443
484
  # Route 53 creates it. If a resource record set does exist, Amazon
444
485
  # Route 53 updates it with the values in the request.
445
- #
446
- # The values that you need to include in the request depend on the
447
- # type of resource record set that you're creating, deleting, or
448
- # updating:
449
- #
450
- # **Basic resource record sets (excluding alias, failover,
451
- # geolocation, latency, and weighted resource record sets)**
452
- #
453
- # * `Name`
454
- #
455
- # * `Type`
456
- #
457
- # * `TTL`
458
- #
459
- # **Failover, geolocation, latency, or weighted resource record sets
460
- # (excluding alias resource record sets)**
461
- #
462
- # * `Name`
463
- #
464
- # * `Type`
465
- #
466
- # * `TTL`
467
- #
468
- # * `SetIdentifier`
469
- #
470
- # **Alias resource record sets (including failover alias, geolocation
471
- # alias, latency alias, and weighted alias resource record sets)**
472
- #
473
- # * `Name`
474
- #
475
- # * `Type`
476
- #
477
- # * `AliasTarget` (includes `DNSName`, `EvaluateTargetHealth`, and
478
- # `HostedZoneId`)
479
- #
480
- # * `SetIdentifier` (for failover, geolocation, latency, and weighted
481
- # resource record sets)
482
486
  # @return [String]
483
487
  #
484
488
  # @!attribute [rw] resource_record_set
@@ -1750,6 +1754,70 @@ module Aws::Route53
1750
1754
  include Aws::Structure
1751
1755
  end
1752
1756
 
1757
+ # A complex type that contains information about the request to create a
1758
+ # hosted zone.
1759
+ #
1760
+ # @note When making an API call, you may pass GetAccountLimitRequest
1761
+ # data as a hash:
1762
+ #
1763
+ # {
1764
+ # type: "MAX_HEALTH_CHECKS_BY_OWNER", # required, accepts MAX_HEALTH_CHECKS_BY_OWNER, MAX_HOSTED_ZONES_BY_OWNER, MAX_TRAFFIC_POLICY_INSTANCES_BY_OWNER, MAX_REUSABLE_DELEGATION_SETS_BY_OWNER, MAX_TRAFFIC_POLICIES_BY_OWNER
1765
+ # }
1766
+ #
1767
+ # @!attribute [rw] type
1768
+ # The limit that you want to get. Valid values include the following:
1769
+ #
1770
+ # * **MAX\_HEALTH\_CHECKS\_BY\_OWNER**\: The maximum number of health
1771
+ # checks that you can create using the current account.
1772
+ #
1773
+ # * **MAX\_HOSTED\_ZONES\_BY\_OWNER**\: The maximum number of hosted
1774
+ # zones that you can create using the current account.
1775
+ #
1776
+ # * **MAX\_REUSABLE\_DELEGATION\_SETS\_BY\_OWNER**\: The maximum
1777
+ # number of reusable delegation sets that you can create using the
1778
+ # current account.
1779
+ #
1780
+ # * **MAX\_TRAFFIC\_POLICIES\_BY\_OWNER**\: The maximum number of
1781
+ # traffic policies that you can create using the current account.
1782
+ #
1783
+ # * **MAX\_TRAFFIC\_POLICY\_INSTANCES\_BY\_OWNER**\: The maximum
1784
+ # number of traffic policy instances that you can create using the
1785
+ # current account. (Traffic policy instances are referred to as
1786
+ # traffic flow policy records in the Amazon Route 53 console.)
1787
+ # @return [String]
1788
+ #
1789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitRequest AWS API Documentation
1790
+ #
1791
+ class GetAccountLimitRequest < Struct.new(
1792
+ :type)
1793
+ include Aws::Structure
1794
+ end
1795
+
1796
+ # A complex type that contains the requested limit.
1797
+ #
1798
+ # @!attribute [rw] limit
1799
+ # The current setting for the specified limit. For example, if you
1800
+ # specified `MAX_HEALTH_CHECKS_BY_OWNER` for the value of `Type` in
1801
+ # the request, the value of `Limit` is the maximum number of health
1802
+ # checks that you can create using the current account.
1803
+ # @return [Types::AccountLimit]
1804
+ #
1805
+ # @!attribute [rw] count
1806
+ # The current number of entities that you have created of the
1807
+ # specified type. For example, if you specified
1808
+ # `MAX_HEALTH_CHECKS_BY_OWNER` for the value of `Type` in the request,
1809
+ # the value of `Count` is the current number of health checks that you
1810
+ # have created using the current account.
1811
+ # @return [Integer]
1812
+ #
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetAccountLimitResponse AWS API Documentation
1814
+ #
1815
+ class GetAccountLimitResponse < Struct.new(
1816
+ :limit,
1817
+ :count)
1818
+ include Aws::Structure
1819
+ end
1820
+
1753
1821
  # The input for a GetChange request.
1754
1822
  #
1755
1823
  # @note When making an API call, you may pass GetChangeRequest
@@ -2044,6 +2112,65 @@ module Aws::Route53
2044
2112
  include Aws::Structure
2045
2113
  end
2046
2114
 
2115
+ # A complex type that contains information about the request to create a
2116
+ # hosted zone.
2117
+ #
2118
+ # @note When making an API call, you may pass GetHostedZoneLimitRequest
2119
+ # data as a hash:
2120
+ #
2121
+ # {
2122
+ # type: "MAX_RRSETS_BY_ZONE", # required, accepts MAX_RRSETS_BY_ZONE, MAX_VPCS_ASSOCIATED_BY_ZONE
2123
+ # hosted_zone_id: "ResourceId", # required
2124
+ # }
2125
+ #
2126
+ # @!attribute [rw] type
2127
+ # The limit that you want to get. Valid values include the following:
2128
+ #
2129
+ # * **MAX\_RRSETS\_BY\_ZONE**\: The maximum number of records that you
2130
+ # can create in the specified hosted zone.
2131
+ #
2132
+ # * **MAX\_VPCS\_ASSOCIATED\_BY\_TYPE**\: The maximum number of Amazon
2133
+ # VPCs that you can associate with the specified private hosted
2134
+ # zone.
2135
+ # @return [String]
2136
+ #
2137
+ # @!attribute [rw] hosted_zone_id
2138
+ # The ID of the hosted zone that you want to get a limit for.
2139
+ # @return [String]
2140
+ #
2141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitRequest AWS API Documentation
2142
+ #
2143
+ class GetHostedZoneLimitRequest < Struct.new(
2144
+ :type,
2145
+ :hosted_zone_id)
2146
+ include Aws::Structure
2147
+ end
2148
+
2149
+ # A complex type that contains the requested limit.
2150
+ #
2151
+ # @!attribute [rw] limit
2152
+ # The current setting for the specified limit. For example, if you
2153
+ # specified `MAX_RRSETS_BY_ZONE` for the value of `Type` in the
2154
+ # request, the value of `Limit` is the maximum number of records that
2155
+ # you can create in the specified hosted zone.
2156
+ # @return [Types::HostedZoneLimit]
2157
+ #
2158
+ # @!attribute [rw] count
2159
+ # The current number of entities that you have created of the
2160
+ # specified type. For example, if you specified `MAX_RRSETS_BY_ZONE`
2161
+ # for the value of `Type` in the request, the value of `Count` is the
2162
+ # current number of records that you have created in the specified
2163
+ # hosted zone.
2164
+ # @return [Integer]
2165
+ #
2166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetHostedZoneLimitResponse AWS API Documentation
2167
+ #
2168
+ class GetHostedZoneLimitResponse < Struct.new(
2169
+ :limit,
2170
+ :count)
2171
+ include Aws::Structure
2172
+ end
2173
+
2047
2174
  # A request to get information about a specified hosted zone.
2048
2175
  #
2049
2176
  # @note When making an API call, you may pass GetHostedZoneRequest
@@ -2121,6 +2248,55 @@ module Aws::Route53
2121
2248
  include Aws::Structure
2122
2249
  end
2123
2250
 
2251
+ # A complex type that contains information about the request to create a
2252
+ # hosted zone.
2253
+ #
2254
+ # @note When making an API call, you may pass GetReusableDelegationSetLimitRequest
2255
+ # data as a hash:
2256
+ #
2257
+ # {
2258
+ # type: "MAX_ZONES_BY_REUSABLE_DELEGATION_SET", # required, accepts MAX_ZONES_BY_REUSABLE_DELEGATION_SET
2259
+ # delegation_set_id: "ResourceId", # required
2260
+ # }
2261
+ #
2262
+ # @!attribute [rw] type
2263
+ # Specify `MAX_ZONES_BY_REUSABLE_DELEGATION_SET` to get the maximum
2264
+ # number of hosted zones that you can associate with the specified
2265
+ # reusable delegation set.
2266
+ # @return [String]
2267
+ #
2268
+ # @!attribute [rw] delegation_set_id
2269
+ # The ID of the delegation set that you want to get the limit for.
2270
+ # @return [String]
2271
+ #
2272
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitRequest AWS API Documentation
2273
+ #
2274
+ class GetReusableDelegationSetLimitRequest < Struct.new(
2275
+ :type,
2276
+ :delegation_set_id)
2277
+ include Aws::Structure
2278
+ end
2279
+
2280
+ # A complex type that contains the requested limit.
2281
+ #
2282
+ # @!attribute [rw] limit
2283
+ # The current setting for the limit on hosted zones that you can
2284
+ # associate with the specified reusable delegation set.
2285
+ # @return [Types::ReusableDelegationSetLimit]
2286
+ #
2287
+ # @!attribute [rw] count
2288
+ # The current number of hosted zones that you can associate with the
2289
+ # specified reusable delegation set.
2290
+ # @return [Integer]
2291
+ #
2292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/GetReusableDelegationSetLimitResponse AWS API Documentation
2293
+ #
2294
+ class GetReusableDelegationSetLimitResponse < Struct.new(
2295
+ :limit,
2296
+ :count)
2297
+ include Aws::Structure
2298
+ end
2299
+
2124
2300
  # A request to get information about a specified reusable delegation
2125
2301
  # set.
2126
2302
  #
@@ -2792,6 +2968,32 @@ module Aws::Route53
2792
2968
  include Aws::Structure
2793
2969
  end
2794
2970
 
2971
+ # A complex type that contains the type of limit that you specified in
2972
+ # the request and the current value for that limit.
2973
+ #
2974
+ # @!attribute [rw] type
2975
+ # The limit that you requested. Valid values include the following:
2976
+ #
2977
+ # * **MAX\_RRSETS\_BY\_ZONE**\: The maximum number of records that you
2978
+ # can create in the specified hosted zone.
2979
+ #
2980
+ # * **MAX\_VPCS\_ASSOCIATED\_BY\_TYPE**\: The maximum number of Amazon
2981
+ # VPCs that you can associate with the specified private hosted
2982
+ # zone.
2983
+ # @return [String]
2984
+ #
2985
+ # @!attribute [rw] value
2986
+ # The current value for the limit that is specified by `Type`.
2987
+ # @return [Integer]
2988
+ #
2989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/HostedZoneLimit AWS API Documentation
2990
+ #
2991
+ class HostedZoneLimit < Struct.new(
2992
+ :type,
2993
+ :value)
2994
+ include Aws::Structure
2995
+ end
2996
+
2795
2997
  # If a health check or hosted zone was created by another service,
2796
2998
  # `LinkedService` is a complex type that describes the service that
2797
2999
  # created the resource. When a resource is created by another service,
@@ -4863,6 +5065,29 @@ module Aws::Route53
4863
5065
  include Aws::Structure
4864
5066
  end
4865
5067
 
5068
+ # A complex type that contains the type of limit that you specified in
5069
+ # the request and the current value for that limit.
5070
+ #
5071
+ # @!attribute [rw] type
5072
+ # The limit that you requested:
5073
+ # `MAX_ZONES_BY_REUSABLE_DELEGATION_SET`, the maximum number of hosted
5074
+ # zones that you can associate with the specified reusable delegation
5075
+ # set.
5076
+ # @return [String]
5077
+ #
5078
+ # @!attribute [rw] value
5079
+ # The current value for the `MAX_ZONES_BY_REUSABLE_DELEGATION_SET`
5080
+ # limit.
5081
+ # @return [Integer]
5082
+ #
5083
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-2013-04-01/ReusableDelegationSetLimit AWS API Documentation
5084
+ #
5085
+ class ReusableDelegationSetLimit < Struct.new(
5086
+ :type,
5087
+ :value)
5088
+ include Aws::Structure
5089
+ end
5090
+
4866
5091
  # A complex type that contains the status that one Amazon Route 53
4867
5092
  # health checker reports and the time of the health check.
4868
5093
  #
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-route53
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-15 00:00:00.000000000 Z
11
+ date: 2017-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core