openapi-directory
Version:
Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS
1 lines • 168 kB
JSON
{"openapi":"3.0.0","info":{"version":"2013-04-01","x-release":"v4","title":"Amazon Route 53","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","backgroundColor":"#FFFFFF"},"termsOfService":"https://aws.amazon.com/service-terms/","contact":{"name":"Mike Ralphson","email":"mike.ralphson@gmail.com","url":"https://github.com/mermade/aws2openapi","x-twitter":"PermittedSoc"},"license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/"},"x-providerName":"amazonaws.com","x-serviceName":"route53","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/route53-2013-04-01.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-direct":true}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://aws.amazon.com/route53/"},"x-hasEquivalentPaths":true,"security":[{"hmac":[]}],"paths":{"/2013-04-01/hostedzone/{Id}/associatevpc":{"post":{"operationId":"AssociateVPCWithHostedZone","description":"<p>Associates an Amazon VPC with a private hosted zone. </p> <important> <p>To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.</p> </important> <note> <p>If you want to associate a VPC that was created by using one AWS account with a private hosted zone that was created by using a different account, the AWS account that created the private hosted zone must first submit a <code>CreateVPCAssociationAuthorization</code> request. Then the account that created the VPC must submit an <code>AssociateVPCWithHostedZone</code> request.</p> </note>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AssociateVPCWithHostedZoneResponse"}}}},"480":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"481":{"description":"NotAuthorizedException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NotAuthorizedException"}}}},"482":{"description":"InvalidVPCId","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidVPCId"}}}},"483":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"484":{"description":"PublicZoneVPCAssociation","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/PublicZoneVPCAssociation"}}}},"485":{"description":"ConflictingDomainExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConflictingDomainExists"}}}},"486":{"description":"LimitsExceeded","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/LimitsExceeded"}}}}},"parameters":[{"name":"Id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/AssociateVPCWithHostedZoneRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/2013-04-01/hostedzone/{Id}/rrset/":{"post":{"operationId":"ChangeResourceRecordSets","description":"<p>Creates, changes, or deletes a resource record set, which contains authoritative DNS information for a specified domain name or subdomain name. For example, you can use <code>ChangeResourceRecordSets</code> to create a resource record set that routes traffic for test.example.com to a web server that has an IP address of 192.0.2.44.</p> <p> <b>Change Batches and Transactional Changes</b> </p> <p>The request body must include a document with a <code>ChangeResourceRecordSetsRequest</code> element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. When using the Amazon Route 53 API to change resource record sets, Route 53 either makes all or none of the changes in a change batch request. This ensures that Route 53 never partially implements the intended changes to the resource record sets in a hosted zone. </p> <p>For example, a change batch request that deletes the <code>CNAME</code> record for www.example.com and creates an alias resource record set for www.example.com. Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If either the <code>DELETE</code> or the <code>CREATE</code> action fails, then both changes (plus any other changes in the batch) fail, and the original <code>CNAME</code> record continues to exist.</p> <important> <p>Due to the nature of transactional changes, you can't delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Route 53 returns an <code>InvalidChangeBatch</code> error.</p> </important> <p> <b>Traffic Flow</b> </p> <p>To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Route 53 console or the API actions for traffic policies and traffic policy instances. Save the configuration as a traffic policy, then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. You can roll back the updates if the new configuration isn't performing as expected. For more information, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html\">Using Traffic Flow to Route DNS Traffic</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p> <b>Create, Delete, and Upsert</b> </p> <p>Use <code>ChangeResourceRecordsSetsRequest</code> to perform the following actions:</p> <ul> <li> <p> <code>CREATE</code>: Creates a resource record set that has the specified values.</p> </li> <li> <p> <code>DELETE</code>: Deletes an existing resource record set that has the specified values.</p> </li> <li> <p> <code>UPSERT</code>: If a resource record set does not already exist, AWS creates it. If a resource set does exist, Route 53 updates it with the values in the request. </p> </li> </ul> <p> <b>Syntaxes for Creating, Updating, and Deleting Resource Record Sets</b> </p> <p>The syntax for a request depends on the type of resource record set that you want to create, delete, or update, such as weighted, alias, or failover. The XML elements in your request must appear in the order listed in the syntax. </p> <p>For an example for each type of resource record set, see \"Examples.\"</p> <p>Don't refer to the syntax in the \"Parameter Syntax\" section, which includes all of the elements for every kind of resource record set that you can create, delete, or update by using <code>ChangeResourceRecordSets</code>. </p> <p> <b>Change Propagation to Route 53 DNS Servers</b> </p> <p>When you submit a <code>ChangeResourceRecordSets</code> request, Route 53 propagates your changes to all of the Route 53 authoritative DNS servers. While your changes are propagating, <code>GetChange</code> returns a status of <code>PENDING</code>. When propagation is complete, <code>GetChange</code> returns a status of <code>INSYNC</code>. Changes generally propagate to all Route 53 name servers within 60 seconds. For more information, see <a>GetChange</a>.</p> <p> <b>Limits on ChangeResourceRecordSets Requests</b> </p> <p>For information about the limits on a <code>ChangeResourceRecordSets</code> request, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html\">Limits</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ChangeResourceRecordSetsResponse"}}}},"480":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"481":{"description":"NoSuchHealthCheck","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHealthCheck"}}}},"482":{"description":"InvalidChangeBatch","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidChangeBatch"}}}},"483":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"484":{"description":"PriorRequestNotComplete","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/PriorRequestNotComplete"}}}}},"parameters":[{"name":"Id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ChangeResourceRecordSetsRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/2013-04-01/tags/{ResourceType}/{ResourceId}":{"post":{"operationId":"ChangeTagsForResource","description":"<p>Adds, edits, or deletes tags for a health check or a hosted zone.</p> <p>For information about using tags for cost allocation, see <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ChangeTagsForResourceResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"481":{"description":"NoSuchHealthCheck","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHealthCheck"}}}},"482":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"483":{"description":"PriorRequestNotComplete","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/PriorRequestNotComplete"}}}},"484":{"description":"ThrottlingException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ThrottlingException"}}}}},"parameters":[{"name":"ResourceType","in":"path","required":true,"schema":{"type":"string"}},{"name":"ResourceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ChangeTagsForResourceRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"ListTagsForResource","description":"<p>Lists tags for one health check or hosted zone. </p> <p>For information about using tags for cost allocation, see <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html\">Using Cost Allocation Tags</a> in the <i>AWS Billing and Cost Management User Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListTagsForResourceResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"481":{"description":"NoSuchHealthCheck","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHealthCheck"}}}},"482":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"483":{"description":"PriorRequestNotComplete","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/PriorRequestNotComplete"}}}},"484":{"description":"ThrottlingException","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ThrottlingException"}}}}},"parameters":[{"name":"ResourceType","in":"path","required":true,"schema":{"type":"string"}},{"name":"ResourceId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListTagsForResourceRequest"}}},"required":true}}},"/2013-04-01/healthcheck":{"post":{"operationId":"CreateHealthCheck","description":"<p>Creates a new health check.</p> <p>For information about adding health checks to resource record sets, see <a>ResourceRecordSet$HealthCheckId</a> in <a>ChangeResourceRecordSets</a>. </p> <p> <b>ELB Load Balancers</b> </p> <p>If you're registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to a Route 53 health check.</p> <p> <b>Private Hosted Zones</b> </p> <p>You can associate health checks with failover resource record sets in a private hosted zone. Note the following:</p> <ul> <li> <p>Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC.</p> </li> <li> <p>You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server.</p> </li> <li> <p>You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 <code>StatusCheckFailed</code> metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html\">Amazon CloudWatch User Guide</a>.</p> </li> </ul>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateHealthCheckResponse"}}}},"480":{"description":"TooManyHealthChecks","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyHealthChecks"}}}},"481":{"description":"HealthCheckAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/HealthCheckAlreadyExists"}}}},"482":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateHealthCheckRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"ListHealthChecks","description":"Retrieve a list of the health checks that are associated with the current AWS account. ","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListHealthChecksResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"481":{"description":"IncompatibleVersion","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/IncompatibleVersion"}}}}},"parameters":[{"name":"MaxItems","in":"query","description":"Pagination limit","required":false,"schema":{"type":"string"}},{"name":"Marker","in":"query","description":"Pagination token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListHealthChecksRequest"}}},"required":true}}},"/2013-04-01/hostedzone":{"post":{"operationId":"CreateHostedZone","description":"<p>Creates a new public or private hosted zone. You create records in a public hosted zone to define how you want to route traffic on the internet for a domain, such as example.com, and its subdomains (apex.example.com, acme.example.com). You create records in a private hosted zone to define how you want to route traffic for a domain and its subdomains within one or more Amazon Virtual Private Clouds (Amazon VPCs). </p> <important> <p>You can't convert a public hosted zone to a private hosted zone or vice versa. Instead, you must create a new hosted zone with the same name and create new resource record sets.</p> </important> <p>For more information about charges for hosted zones, see <a href=\"http://aws.amazon.com/route53/pricing/\">Amazon Route 53 Pricing</a>.</p> <p>Note the following:</p> <ul> <li> <p>You can't create a hosted zone for a top-level domain (TLD) such as .com.</p> </li> <li> <p>For public hosted zones, Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. For more information about SOA and NS records, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html\">NS and SOA Records that Route 53 Creates for a Hosted Zone</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> <p>If you want to use the same name servers for multiple public hosted zones, you can optionally associate a reusable delegation set with the hosted zone. See the <code>DelegationSetId</code> element.</p> </li> <li> <p>If your domain is registered with a registrar other than Route 53, you must update the name servers with your registrar to make Route 53 the DNS service for the domain. For more information, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/MigratingDNS.html\">Migrating DNS Service for an Existing Domain to Amazon Route 53</a> in the <i>Amazon Route 53 Developer Guide</i>. </p> </li> </ul> <p>When you submit a <code>CreateHostedZone</code> request, the initial status of the hosted zone is <code>PENDING</code>. For public hosted zones, this means that the NS and SOA records are not yet available on all Route 53 DNS servers. When the NS and SOA records are available, the status of the zone changes to <code>INSYNC</code>.</p>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateHostedZoneResponse"}}}},"480":{"description":"InvalidDomainName","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidDomainName"}}}},"481":{"description":"HostedZoneAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/HostedZoneAlreadyExists"}}}},"482":{"description":"TooManyHostedZones","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyHostedZones"}}}},"483":{"description":"InvalidVPCId","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidVPCId"}}}},"484":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"485":{"description":"DelegationSetNotAvailable","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DelegationSetNotAvailable"}}}},"486":{"description":"ConflictingDomainExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConflictingDomainExists"}}}},"487":{"description":"NoSuchDelegationSet","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchDelegationSet"}}}},"488":{"description":"DelegationSetNotReusable","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DelegationSetNotReusable"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateHostedZoneRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"ListHostedZones","description":"<p>Retrieves a list of the public and private hosted zones that are associated with the current AWS account. The response includes a <code>HostedZones</code> child element for each hosted zone.</p> <p>Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the <code>maxitems</code> parameter to list them in groups of up to 100.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListHostedZonesResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"481":{"description":"NoSuchDelegationSet","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchDelegationSet"}}}},"482":{"description":"DelegationSetNotReusable","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DelegationSetNotReusable"}}}}},"parameters":[{"name":"MaxItems","in":"query","description":"Pagination limit","required":false,"schema":{"type":"string"}},{"name":"Marker","in":"query","description":"Pagination token","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListHostedZonesRequest"}}},"required":true}}},"/2013-04-01/queryloggingconfig":{"post":{"operationId":"CreateQueryLoggingConfig","description":"<p>Creates a configuration for DNS query logging. After you create a query logging configuration, Amazon Route 53 begins to publish log data to an Amazon CloudWatch Logs log group.</p> <p>DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following:</p> <ul> <li> <p>Route 53 edge location that responded to the DNS query</p> </li> <li> <p>Domain or subdomain that was requested</p> </li> <li> <p>DNS record type, such as A or AAAA</p> </li> <li> <p>DNS response code, such as <code>NoError</code> or <code>ServFail</code> </p> </li> </ul> <dl> <dt>Log Group and Resource Policy</dt> <dd> <p>Before you create a query logging configuration, perform the following operations.</p> <note> <p>If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically.</p> </note> <ol> <li> <p>Create a CloudWatch Logs log group, and make note of the ARN, which you specify when you create a query logging configuration. Note the following:</p> <ul> <li> <p>You must create the log group in the us-east-1 region.</p> </li> <li> <p>You must use the same AWS account to create the log group and the hosted zone that you want to configure query logging for.</p> </li> <li> <p>When you create log groups for query logging, we recommend that you use a consistent prefix, for example:</p> <p> <code>/aws/route53/<i>hosted zone name</i> </code> </p> <p>In the next step, you'll create a resource policy, which controls access to one or more log groups and the associated AWS resources, such as Route 53 hosted zones. There's a limit on the number of resource policies that you can create, so we recommend that you use a consistent prefix so you can use the same resource policy for all the log groups that you create for query logging.</p> </li> </ul> </li> <li> <p>Create a CloudWatch Logs resource policy, and give it the permissions that Route 53 needs to create log streams and to send query logs to log streams. For the value of <code>Resource</code>, specify the ARN for the log group that you created in the previous step. To use the same resource policy for all the CloudWatch Logs log groups that you created for query logging configurations, replace the hosted zone name with <code>*</code>, for example:</p> <p> <code>arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*</code> </p> <note> <p>You can't use the CloudWatch console to create or edit a resource policy. You must use the CloudWatch API, one of the AWS SDKs, or the AWS CLI.</p> </note> </li> </ol> </dd> <dt>Log Streams and Edge Locations</dt> <dd> <p>When Route 53 finishes creating the configuration for DNS query logging, it does the following:</p> <ul> <li> <p>Creates a log stream for an edge location the first time that the edge location responds to DNS queries for the specified hosted zone. That log stream is used to log all queries that Route 53 responds to for that edge location.</p> </li> <li> <p>Begins to send query logs to the applicable log stream.</p> </li> </ul> <p>The name of each log stream is in the following format:</p> <p> <code> <i>hosted zone ID</i>/<i>edge location code</i> </code> </p> <p>The edge location code is a three-letter code and an arbitrarily assigned number, for example, DFW3. The three-letter code typically corresponds with the International Air Transport Association airport code for an airport near the edge location. (These abbreviations might change in the future.) For a list of edge locations, see \"The Route 53 Global Network\" on the <a href=\"http://aws.amazon.com/route53/details/\">Route 53 Product Details</a> page.</p> </dd> <dt>Queries That Are Logged</dt> <dd> <p>Query logs contain only the queries that DNS resolvers forward to Route 53. If a DNS resolver has already cached the response to a query (such as the IP address for a load balancer for example.com), the resolver will continue to return the cached response. It doesn't forward another query to Route 53 until the TTL for the corresponding resource record set expires. Depending on how many DNS queries are submitted for a resource record set, and depending on the TTL for that resource record set, query logs might contain information about only one query out of every several thousand queries that are submitted to DNS. For more information about how DNS works, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/welcome-dns-service.html\">Routing Internet Traffic to Your Website or Web Application</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> </dd> <dt>Log File Format</dt> <dd> <p>For a list of the values in each query log and the format of each value, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html\">Logging DNS Queries</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> </dd> <dt>Pricing</dt> <dd> <p>For information about charges for query logs, see <a href=\"http://aws.amazon.com/cloudwatch/pricing/\">Amazon CloudWatch Pricing</a>.</p> </dd> <dt>How to Stop Logging</dt> <dd> <p>If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see <a>DeleteQueryLoggingConfig</a>.</p> </dd> </dl>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateQueryLoggingConfigResponse"}}}},"480":{"description":"ConcurrentModification","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConcurrentModification"}}}},"481":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"482":{"description":"NoSuchCloudWatchLogsLogGroup","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchCloudWatchLogsLogGroup"}}}},"483":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"484":{"description":"QueryLoggingConfigAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/QueryLoggingConfigAlreadyExists"}}}},"485":{"description":"InsufficientCloudWatchLogsResourcePolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InsufficientCloudWatchLogsResourcePolicy"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateQueryLoggingConfigRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"ListQueryLoggingConfigs","description":"<p>Lists the configurations for DNS query logging that are associated with the current AWS account or the configuration that is associated with a specified hosted zone.</p> <p>For more information about DNS query logs, see <a>CreateQueryLoggingConfig</a>. Additional information, including the format of DNS query logs, appears in <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/query-logs.html\">Logging DNS Queries</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListQueryLoggingConfigsResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"481":{"description":"InvalidPaginationToken","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidPaginationToken"}}}},"482":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListQueryLoggingConfigsRequest"}}},"required":true}}},"/2013-04-01/delegationset":{"post":{"operationId":"CreateReusableDelegationSet","description":"<p>Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, <code>CreateReusableDelegationSet</code> marks the delegation set associated with that zone as reusable.</p> <note> <p>You can't associate a reusable delegation set with a private hosted zone.</p> </note> <p>For information about using a reusable delegation set to configure white label name servers, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/white-label-name-servers.html\">Configuring White Label Name Servers</a>.</p> <p>The process for migrating existing hosted zones to use a reusable delegation set is comparable to the process for configuring white label name servers. You need to perform the following steps:</p> <ol> <li> <p>Create a reusable delegation set.</p> </li> <li> <p>Recreate hosted zones, and reduce the TTL to 60 seconds or less.</p> </li> <li> <p>Recreate resource record sets in the new hosted zones.</p> </li> <li> <p>Change the registrar's name servers to use the name servers for the new hosted zones.</p> </li> <li> <p>Monitor traffic for the website or application.</p> </li> <li> <p>Change TTLs back to their original values.</p> </li> </ol> <p>If you want to migrate existing hosted zones to use a reusable delegation set, the existing hosted zones can't use any of the name servers that are assigned to the reusable delegation set. If one or more hosted zones do use one or more name servers that are assigned to the reusable delegation set, you can do one of the following:</p> <ul> <li> <p>For small numbers of hosted zones—up to a few hundred—it's relatively easy to create reusable delegation sets until you get one that has four name servers that don't overlap with any of the name servers in your hosted zones.</p> </li> <li> <p>For larger numbers of hosted zones, the easiest solution is to use more than one reusable delegation set.</p> </li> <li> <p>For larger numbers of hosted zones, you can also migrate hosted zones that have overlapping name servers to hosted zones that don't have overlapping name servers, then migrate the hosted zones again to use the reusable delegation set.</p> </li> </ul>","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateReusableDelegationSetResponse"}}}},"480":{"description":"DelegationSetAlreadyCreated","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DelegationSetAlreadyCreated"}}}},"481":{"description":"LimitsExceeded","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/LimitsExceeded"}}}},"482":{"description":"HostedZoneNotFound","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/HostedZoneNotFound"}}}},"483":{"description":"InvalidArgument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidArgument"}}}},"484":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"485":{"description":"DelegationSetNotAvailable","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DelegationSetNotAvailable"}}}},"486":{"description":"DelegationSetAlreadyReusable","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DelegationSetAlreadyReusable"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateReusableDelegationSetRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"ListReusableDelegationSets","description":"Retrieves a list of the reusable delegation sets that are associated with the current AWS account.","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListReusableDelegationSetsResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListReusableDelegationSetsRequest"}}},"required":true}}},"/2013-04-01/trafficpolicy":{"post":{"operationId":"CreateTrafficPolicy","description":"Creates a traffic policy, which you use to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com).","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTrafficPolicyResponse"}}}},"480":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"481":{"description":"TooManyTrafficPolicies","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyTrafficPolicies"}}}},"482":{"description":"TrafficPolicyAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TrafficPolicyAlreadyExists"}}}},"483":{"description":"InvalidTrafficPolicyDocument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidTrafficPolicyDocument"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTrafficPolicyRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/2013-04-01/trafficpolicyinstance":{"post":{"operationId":"CreateTrafficPolicyInstance","description":"Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, <code>CreateTrafficPolicyInstance</code> associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that <code>CreateTrafficPolicyInstance</code> created.","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTrafficPolicyInstanceResponse"}}}},"480":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"481":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"482":{"description":"TooManyTrafficPolicyInstances","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyTrafficPolicyInstances"}}}},"483":{"description":"NoSuchTrafficPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchTrafficPolicy"}}}},"484":{"description":"TrafficPolicyInstanceAlreadyExists","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TrafficPolicyInstanceAlreadyExists"}}}}},"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTrafficPolicyInstanceRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/2013-04-01/trafficpolicy/{Id}":{"post":{"operationId":"CreateTrafficPolicyVersion","description":"Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy.","responses":{"201":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTrafficPolicyVersionResponse"}}}},"480":{"description":"NoSuchTrafficPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchTrafficPolicy"}}}},"481":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"482":{"description":"TooManyTrafficPolicyVersionsForCurrentPolicy","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyTrafficPolicyVersionsForCurrentPolicy"}}}},"483":{"description":"ConcurrentModification","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConcurrentModification"}}}},"484":{"description":"InvalidTrafficPolicyDocument","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidTrafficPolicyDocument"}}}}},"parameters":[{"name":"Id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateTrafficPolicyVersionRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]},"/2013-04-01/hostedzone/{Id}/authorizevpcassociation":{"post":{"operationId":"CreateVPCAssociationAuthorization","description":"<p>Authorizes the AWS account that created a specified VPC to submit an <code>AssociateVPCWithHostedZone</code> request to associate the VPC with a specified hosted zone that was created by a different account. To submit a <code>CreateVPCAssociationAuthorization</code> request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an <code>AssociateVPCWithHostedZone</code> request.</p> <note> <p>If you want to associate multiple VPCs that you created by using one account with a hosted zone that you created by using a different account, you must submit one authorization request for each VPC.</p> </note>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateVPCAssociationAuthorizationResponse"}}}},"480":{"description":"ConcurrentModification","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ConcurrentModification"}}}},"481":{"description":"TooManyVPCAssociationAuthorizations","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/TooManyVPCAssociationAuthorizations"}}}},"482":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"483":{"description":"InvalidVPCId","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidVPCId"}}}},"484":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}}},"parameters":[{"name":"Id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/CreateVPCAssociationAuthorizationRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"ListVPCAssociationAuthorizations","description":"<p>Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more <code>CreateVPCAssociationAuthorization</code> requests. </p> <p>The response includes a <code>VPCs</code> element with a <code>VPC</code> child element for each VPC that can be associated with the hosted zone.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListVPCAssociationAuthorizationsResponse"}}}},"480":{"description":"NoSuchHostedZone","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHostedZone"}}}},"481":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"482":{"description":"InvalidPaginationToken","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidPaginationToken"}}}}},"parameters":[{"name":"Id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/ListVPCAssociationAuthorizationsRequest"}}},"required":true}}},"/2013-04-01/healthcheck/{HealthCheckId}":{"delete":{"operationId":"DeleteHealthCheck","description":"<p>Deletes a health check.</p> <important> <p>Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html#health-checks-deleting.html\">Replacing and Deleting Health Checks</a> in the <i>Amazon Route 53 Developer Guide</i>.</p> </important>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DeleteHealthCheckResponse"}}}},"480":{"description":"NoSuchHealthCheck","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHealthCheck"}}}},"481":{"description":"HealthCheckInUse","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/HealthCheckInUse"}}}},"482":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}}},"parameters":[{"name":"HealthCheckId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/DeleteHealthCheckRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}],"get":{"operationId":"GetHealthCheck","description":"Gets information about a specified health check.","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/GetHealthCheckResponse"}}}},"480":{"description":"NoSuchHealthCheck","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHealthCheck"}}}},"481":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"482":{"description":"IncompatibleVersion","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/IncompatibleVersion"}}}}},"parameters":[{"name":"HealthCheckId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/GetHealthCheckRequest"}}},"required":true}},"post":{"operationId":"UpdateHealthCheck","description":"<p>Updates an existing health check. Note that some values can't be updated. </p> <p>For more information about updating health checks, see <a href=\"http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html\">Creating, Updating, and Deleting Health Checks</a> in the <i>Amazon Route 53 Developer Guide</i>.</p>","responses":{"200":{"description":"Success","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/UpdateHealthCheckResponse"}}}},"480":{"description":"NoSuchHealthCheck","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/NoSuchHealthCheck"}}}},"481":{"description":"InvalidInput","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/InvalidInput"}}}},"482":{"description":"HealthCheckVersionMismatch","content":{"text/xml":{"schema":{"$ref":"#/components/schemas/HealthCheckVersionMismatch"}}}}},"parameters":[{"name":"HealthCheckId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"text/xml":{"schema":{"$ref":"#/components/schemas/UpdateHealthCheckRequest"}}},"required":true}}},"/2013-04-01/hostedzone/{Id}":{"delete":{"operationId":"DeleteHostedZone","description":"<p>Deletes a hosted zone.</p> <important> <p>If the name servers for the hosted zone are associated with a domain and if you want to make the domain unavailable on the Internet, we recommend that you delete the name servers from the domain to prevent future DNS queries from possibly being misrouted. If the domain is registered with Amazon Route 53, see <code>UpdateDomainNameservers</code>. If the domain is registered with another registrar, use the method provided by the registrar to delete name servers for the domain.</p> <p>Some domain registries don't allow you to remove all of the name servers for a domain. If the registry for your domain requires one or more name servers, we recommend that you delete the hosted zone only if you transfer DNS service to another service provider, and you replace the name servers for the domain with name servers from the new provider.</p> </important> <p>You can delete a hosted zone only if it contains only the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, you must delete them before you can delete the hosted zone. If you try to delete a hosted zone that contains other resource record sets, the request fails, and Route 53 returns a <code>HostedZoneNotEmpty</code> error. For information about deleting records from your hosted zone, see <a>ChangeResourceRecordSets</a>.</p> <p>To verify that the hosted zone has been deleted, do one of the following:</p> <ul> <li> <p>Use the <code>GetHostedZone</code> action to request information about the hosted zone.</p> </li> <li> <p>Use the <code>ListHostedZones</code> action to get a list of