Skip to content

Commit 490d6f5

Browse files
author
AWS
committed
Amazon Route 53 Update: Adds support for new route53 feature: accelerated recovery.
1 parent 89655bf commit 490d6f5

File tree

2 files changed

+93
-4
lines changed

2 files changed

+93
-4
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Route 53",
4+
"contributor": "",
5+
"description": "Adds support for new route53 feature: accelerated recovery."
6+
}

services/route53/src/main/resources/codegen-resources/service-2.json

Lines changed: 87 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1149,6 +1149,26 @@
11491149
],
11501150
"documentation":"<p>Updates the comment for a specified hosted zone.</p>"
11511151
},
1152+
"UpdateHostedZoneFeatures":{
1153+
"name":"UpdateHostedZoneFeatures",
1154+
"http":{
1155+
"method":"POST",
1156+
"requestUri":"/2013-04-01/hostedzone/{Id}/features"
1157+
},
1158+
"input":{
1159+
"shape":"UpdateHostedZoneFeaturesRequest",
1160+
"locationName":"UpdateHostedZoneFeaturesRequest",
1161+
"xmlNamespace":{"uri":"https://route53.amazonaws.com/doc/2013-04-01/"}
1162+
},
1163+
"output":{"shape":"UpdateHostedZoneFeaturesResponse"},
1164+
"errors":[
1165+
{"shape":"NoSuchHostedZone"},
1166+
{"shape":"InvalidInput"},
1167+
{"shape":"PriorRequestNotComplete"},
1168+
{"shape":"LimitsExceeded"}
1169+
],
1170+
"documentation":"<p>Updates the features configuration for a hosted zone. This operation allows you to enable or disable specific features for your hosted zone, such as accelerated recovery.</p> <p>Accelerated recovery enables you to update DNS records in your public hosted zone even when the us-east-1 region is unavailable.</p>"
1171+
},
11521172
"UpdateTrafficPolicyComment":{
11531173
"name":"UpdateTrafficPolicyComment",
11541174
"http":{
@@ -1203,6 +1223,20 @@
12031223
"max":64,
12041224
"min":1
12051225
},
1226+
"AcceleratedRecoveryEnabled":{"type":"boolean"},
1227+
"AcceleratedRecoveryStatus":{
1228+
"type":"string",
1229+
"enum":[
1230+
"ENABLING",
1231+
"ENABLE_FAILED",
1232+
"ENABLING_HOSTED_ZONE_LOCKED",
1233+
"ENABLED",
1234+
"DISABLING",
1235+
"DISABLE_FAILED",
1236+
"DISABLED",
1237+
"DISABLING_HOSTED_ZONE_LOCKED"
1238+
]
1239+
},
12061240
"AccountLimit":{
12071241
"type":"structure",
12081242
"required":[
@@ -2790,6 +2824,7 @@
27902824
"type":"integer",
27912825
"min":1
27922826
},
2827+
"FailureReason":{"type":"string"},
27932828
"FailureThreshold":{
27942829
"type":"integer",
27952830
"max":10,
@@ -3454,15 +3489,15 @@
34543489
},
34553490
"RequestInterval":{
34563491
"shape":"RequestInterval",
3457-
"documentation":"<p>The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health check request. Each Route 53 health checker makes requests at this interval.</p> <important> <p>You can't change the value of <code>RequestInterval</code> after you create a health check.</p> </important> <p>If you don't specify a value for <code>RequestInterval</code>, the default value is <code>30</code> seconds.</p>"
3492+
"documentation":"<p>The number of seconds between the time that Amazon Route 53 gets a response from your endpoint and the time that it sends the next health check request. Each Route 53 health checker makes requests at this interval.</p> <p> <code>RequestInterval</code> is not supported when you specify a value for <code>Type</code> of <code>RECOVERY_CONTROL</code>.</p> <important> <p>You can't change the value of <code>RequestInterval</code> after you create a health check.</p> </important> <p>If you don't specify a value for <code>RequestInterval</code>, the default value is <code>30</code> seconds.</p>"
34583493
},
34593494
"FailureThreshold":{
34603495
"shape":"FailureThreshold",
3461-
"documentation":"<p>The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see <a href=\"https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html\">How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p>If you don't specify a value for <code>FailureThreshold</code>, the default value is three health checks.</p>"
3496+
"documentation":"<p>The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see <a href=\"https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html\">How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p> <code>FailureThreshold</code> is not supported when you specify a value for <code>Type</code> of <code>RECOVERY_CONTROL</code>.</p> <p>Otherwise, if you don't specify a value for <code>FailureThreshold</code>, the default value is three health checks.</p>"
34623497
},
34633498
"MeasureLatency":{
34643499
"shape":"MeasureLatency",
3465-
"documentation":"<p>Specify whether you want Amazon Route 53 to measure the latency between health checkers in multiple Amazon Web Services regions and your endpoint, and to display CloudWatch latency graphs on the <b>Health Checks</b> page in the Route 53 console.</p> <important> <p>You can't change the value of <code>MeasureLatency</code> after you create a health check.</p> </important>"
3500+
"documentation":"<p>Specify whether you want Amazon Route 53 to measure the latency between health checkers in multiple Amazon Web Services regions and your endpoint, and to display CloudWatch latency graphs on the <b>Health Checks</b> page in the Route 53 console.</p> <p> <code>MeasureLatency</code> is not supported when you specify a value for <code>Type</code> of <code>RECOVERY_CONTROL</code>.</p> <important> <p>You can't change the value of <code>MeasureLatency</code> after you create a health check.</p> </important>"
34663501
},
34673502
"Inverted":{
34683503
"shape":"Inverted",
@@ -3644,6 +3679,10 @@
36443679
"LinkedService":{
36453680
"shape":"LinkedService",
36463681
"documentation":"<p>If the hosted zone was created by another service, the service that created the hosted zone. When a hosted zone is created by another service, you can't edit or delete it using Route 53. </p>"
3682+
},
3683+
"Features":{
3684+
"shape":"HostedZoneFeatures",
3685+
"documentation":"<p>The features configuration for the hosted zone, including accelerated recovery settings and status information.</p>"
36473686
}
36483687
},
36493688
"documentation":"<p>A complex type that contains general information about the hosted zone.</p>"
@@ -3675,6 +3714,30 @@
36753714
"documentation":"<p>A complex type that contains an optional comment about your hosted zone. If you don't want to specify a comment, omit both the <code>HostedZoneConfig</code> and <code>Comment</code> elements.</p>"
36763715
},
36773716
"HostedZoneCount":{"type":"long"},
3717+
"HostedZoneFailureReasons":{
3718+
"type":"structure",
3719+
"members":{
3720+
"AcceleratedRecovery":{
3721+
"shape":"FailureReason",
3722+
"documentation":"<p>The reason why accelerated recovery failed to be enabled or disabled for the hosted zone, if applicable.</p>"
3723+
}
3724+
},
3725+
"documentation":"<p>Contains information about why certain features failed to be enabled or configured for the hosted zone.</p>"
3726+
},
3727+
"HostedZoneFeatures":{
3728+
"type":"structure",
3729+
"members":{
3730+
"AcceleratedRecoveryStatus":{
3731+
"shape":"AcceleratedRecoveryStatus",
3732+
"documentation":"<p>The current status of accelerated recovery for the hosted zone.</p>"
3733+
},
3734+
"FailureReasons":{
3735+
"shape":"HostedZoneFailureReasons",
3736+
"documentation":"<p>Information about any failures that occurred when attempting to enable or configure features for the hosted zone.</p>"
3737+
}
3738+
},
3739+
"documentation":"<p>Represents the features configuration for a hosted zone, including the status of various features and any associated failure reasons.</p>"
3740+
},
36783741
"HostedZoneLimit":{
36793742
"type":"structure",
36803743
"required":[
@@ -6201,7 +6264,7 @@
62016264
},
62026265
"FailureThreshold":{
62036266
"shape":"FailureThreshold",
6204-
"documentation":"<p>The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see <a href=\"https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html\">How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p>If you don't specify a value for <code>FailureThreshold</code>, the default value is three health checks.</p>"
6267+
"documentation":"<p>The number of consecutive health checks that an endpoint must pass or fail for Amazon Route 53 to change the current status of the endpoint from unhealthy to healthy or vice versa. For more information, see <a href=\"https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html\">How Amazon Route 53 Determines Whether an Endpoint Is Healthy</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p>Otherwise, if you don't specify a value for <code>FailureThreshold</code>, the default value is three health checks.</p>"
62056268
},
62066269
"Inverted":{
62076270
"shape":"Inverted",
@@ -6281,6 +6344,26 @@
62816344
},
62826345
"documentation":"<p>A complex type that contains the response to the <code>UpdateHostedZoneComment</code> request.</p>"
62836346
},
6347+
"UpdateHostedZoneFeaturesRequest":{
6348+
"type":"structure",
6349+
"required":["HostedZoneId"],
6350+
"members":{
6351+
"HostedZoneId":{
6352+
"shape":"ResourceId",
6353+
"documentation":"<p>The ID of the hosted zone for which you want to update features. This is the unique identifier for your hosted zone.</p>",
6354+
"location":"uri",
6355+
"locationName":"Id"
6356+
},
6357+
"EnableAcceleratedRecovery":{
6358+
"shape":"AcceleratedRecoveryEnabled",
6359+
"documentation":"<p>Specifies whether to enable accelerated recovery for the hosted zone. Set to <code>true</code> to enable accelerated recovery, or <code>false</code> to disable it.</p>"
6360+
}
6361+
}
6362+
},
6363+
"UpdateHostedZoneFeaturesResponse":{
6364+
"type":"structure",
6365+
"members":{}
6366+
},
62846367
"UpdateTrafficPolicyCommentRequest":{
62856368
"type":"structure",
62866369
"required":[

0 commit comments

Comments
 (0)