From f0a9929761c26e57f5c70b458de514e7499fe4ec Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 28 Mar 2021 22:50:52 +0200 Subject: Add support for Route 53 API. * aws/api/route53-2013-04-01.normal.json: New API file. * Makefile.am (JSON_SOURCES): Add it. * aws/base.scm (aws-operation): Pass xml-namespace to requester. * aws/request.scm (request-xml-string): New procedure. (make-operation->request): Accept xml-namespace key. [host]: Use globalEndpoint if provided. [request-parameters]: Use request-xml-string for rest-xml protocol. * aws/serialize.scm (aws-value->sxml): New procedure. * language/aws/spec.scm (compile-operation): Pass xml-namespace to aws-operation. --- aws/api/route53-2013-04-01.normal.json | 5258 ++++++++++++++++++++++++++++++++ aws/base.scm | 6 +- aws/request.scm | 45 +- aws/serialize.scm | 36 +- 4 files changed, 5333 insertions(+), 12 deletions(-) create mode 100644 aws/api/route53-2013-04-01.normal.json (limited to 'aws') diff --git a/aws/api/route53-2013-04-01.normal.json b/aws/api/route53-2013-04-01.normal.json new file mode 100644 index 0000000..00c764f --- /dev/null +++ b/aws/api/route53-2013-04-01.normal.json @@ -0,0 +1,5258 @@ +{ + "version": "2.0", + "metadata": { + "apiVersion": "2013-04-01", + "endpointPrefix": "route53", + "globalEndpoint": "route53.amazonaws.com", + "protocol": "rest-xml", + "serviceAbbreviation": "Route 53", + "serviceFullName": "Amazon Route 53", + "serviceId": "Route 53", + "signatureVersion": "v4", + "uid": "route53-2013-04-01" + }, + "operations": { + "AssociateVPCWithHostedZone": { + "name": "AssociateVPCWithHostedZone", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc" + }, + "input": { + "shape": "AssociateVPCWithHostedZoneRequest", + "locationName": "AssociateVPCWithHostedZoneRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "AssociateVPCWithHostedZoneResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "NotAuthorizedException" + }, + { + "shape": "InvalidVPCId" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "PublicZoneVPCAssociation" + }, + { + "shape": "ConflictingDomainExists" + }, + { + "shape": "LimitsExceeded" + } + ], + "documentation": "

Associates an Amazon VPC with a private hosted zone.

To perform the association, the VPC and the private hosted zone must already exist. Also, you can't convert a public hosted zone into a private hosted zone.

If you want to associate a VPC that was created by one AWS account with a private hosted zone that was created by a different account, do one of the following:

" + }, + "ChangeResourceRecordSets": { + "name": "ChangeResourceRecordSets", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone/{Id}/rrset/" + }, + "input": { + "shape": "ChangeResourceRecordSetsRequest", + "locationName": "ChangeResourceRecordSetsRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "ChangeResourceRecordSetsResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "InvalidChangeBatch" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "PriorRequestNotComplete" + } + ], + "documentation": "

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 ChangeResourceRecordSets 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.

Deleting Resource Record Sets

To delete a resource record set, you must specify all the same values that you specified when you created it.

Change Batches and Transactional Changes

The request body must include a document with a ChangeResourceRecordSetsRequest element. The request body contains a list of change items, known as a change batch. Change batches are considered transactional changes. Route 53 validates the changes in the request and then either makes all or none of the changes in the change batch request. This ensures that DNS routing isn't adversely affected by partial changes to the resource record sets in a hosted zone.

For example, suppose a change batch request contains two changes: it deletes the CNAME resource record set for www.example.com and creates an alias resource record set for www.example.com. If validation for both records succeeds, Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If validation for either the DELETE or the CREATE action fails, then the request is canceled, and the original CNAME record continues to exist.

If you try to delete the same resource record set more than once in a single change batch, Route 53 returns an InvalidChangeBatch error.

Traffic Flow

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 Using Traffic Flow to Route DNS Traffic in the Amazon Route 53 Developer Guide.

Create, Delete, and Upsert

Use ChangeResourceRecordsSetsRequest to perform the following actions:

Syntaxes for Creating, Updating, and Deleting Resource Record Sets

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.

For an example for each type of resource record set, see \"Examples.\"

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 ChangeResourceRecordSets.

Change Propagation to Route 53 DNS Servers

When you submit a ChangeResourceRecordSets request, Route 53 propagates your changes to all of the Route 53 authoritative DNS servers. While your changes are propagating, GetChange returns a status of PENDING. When propagation is complete, GetChange returns a status of INSYNC. Changes generally propagate to all Route 53 name servers within 60 seconds. For more information, see GetChange.

Limits on ChangeResourceRecordSets Requests

For information about the limits on a ChangeResourceRecordSets request, see Limits in the Amazon Route 53 Developer Guide.

" + }, + "ChangeTagsForResource": { + "name": "ChangeTagsForResource", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" + }, + "input": { + "shape": "ChangeTagsForResourceRequest", + "locationName": "ChangeTagsForResourceRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "ChangeTagsForResourceResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "PriorRequestNotComplete" + }, + { + "shape": "ThrottlingException" + } + ], + "documentation": "

Adds, edits, or deletes tags for a health check or a hosted zone.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

" + }, + "CreateHealthCheck": { + "name": "CreateHealthCheck", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/healthcheck", + "responseCode": 201 + }, + "input": { + "shape": "CreateHealthCheckRequest", + "locationName": "CreateHealthCheckRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateHealthCheckResponse" + }, + "errors": [ + { + "shape": "TooManyHealthChecks" + }, + { + "shape": "HealthCheckAlreadyExists" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Creates a new health check.

For information about adding health checks to resource record sets, see HealthCheckId in ChangeResourceRecordSets.

ELB Load Balancers

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.

Private Hosted Zones

You can associate health checks with failover resource record sets in a private hosted zone. Note the following:

" + }, + "CreateHostedZone": { + "name": "CreateHostedZone", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone", + "responseCode": 201 + }, + "input": { + "shape": "CreateHostedZoneRequest", + "locationName": "CreateHostedZoneRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateHostedZoneResponse" + }, + "errors": [ + { + "shape": "InvalidDomainName" + }, + { + "shape": "HostedZoneAlreadyExists" + }, + { + "shape": "TooManyHostedZones" + }, + { + "shape": "InvalidVPCId" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "DelegationSetNotAvailable" + }, + { + "shape": "ConflictingDomainExists" + }, + { + "shape": "NoSuchDelegationSet" + }, + { + "shape": "DelegationSetNotReusable" + } + ], + "documentation": "

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).

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.

For more information about charges for hosted zones, see Amazon Route 53 Pricing.

Note the following:

When you submit a CreateHostedZone request, the initial status of the hosted zone is PENDING. 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 INSYNC.

" + }, + "CreateQueryLoggingConfig": { + "name": "CreateQueryLoggingConfig", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/queryloggingconfig", + "responseCode": 201 + }, + "input": { + "shape": "CreateQueryLoggingConfigRequest", + "locationName": "CreateQueryLoggingConfigRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateQueryLoggingConfigResponse" + }, + "errors": [ + { + "shape": "ConcurrentModification" + }, + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "NoSuchCloudWatchLogsLogGroup" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "QueryLoggingConfigAlreadyExists" + }, + { + "shape": "InsufficientCloudWatchLogsResourcePolicy" + } + ], + "documentation": "

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.

DNS query logs contain information about the queries that Route 53 receives for a specified public hosted zone, such as the following:

Log Group and Resource Policy

Before you create a query logging configuration, perform the following operations.

If you create a query logging configuration using the Route 53 console, Route 53 performs these operations automatically.

  1. 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:

    • You must create the log group in the us-east-1 region.

    • You must use the same AWS account to create the log group and the hosted zone that you want to configure query logging for.

    • When you create log groups for query logging, we recommend that you use a consistent prefix, for example:

      /aws/route53/hosted zone name

      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.

  2. 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 Resource, 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 *, for example:

    arn:aws:logs:us-east-1:123412341234:log-group:/aws/route53/*

    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.

Log Streams and Edge Locations

When Route 53 finishes creating the configuration for DNS query logging, it does the following:

  • 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.

  • Begins to send query logs to the applicable log stream.

The name of each log stream is in the following format:

hosted zone ID/edge location code

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 Route 53 Product Details page.

Queries That Are Logged

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 Routing Internet Traffic to Your Website or Web Application in the Amazon Route 53 Developer Guide.

Log File Format

For a list of the values in each query log and the format of each value, see Logging DNS Queries in the Amazon Route 53 Developer Guide.

Pricing

For information about charges for query logs, see Amazon CloudWatch Pricing.

How to Stop Logging

If you want Route 53 to stop sending query logs to CloudWatch Logs, delete the query logging configuration. For more information, see DeleteQueryLoggingConfig.

" + }, + "CreateReusableDelegationSet": { + "name": "CreateReusableDelegationSet", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/delegationset", + "responseCode": 201 + }, + "input": { + "shape": "CreateReusableDelegationSetRequest", + "locationName": "CreateReusableDelegationSetRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateReusableDelegationSetResponse" + }, + "errors": [ + { + "shape": "DelegationSetAlreadyCreated" + }, + { + "shape": "LimitsExceeded" + }, + { + "shape": "HostedZoneNotFound" + }, + { + "shape": "InvalidArgument" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "DelegationSetNotAvailable" + }, + { + "shape": "DelegationSetAlreadyReusable" + } + ], + "documentation": "

Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones that were created by the same AWS account.

You can also create a reusable delegation set that uses the four name servers that are associated with an existing hosted zone. Specify the hosted zone ID in the CreateReusableDelegationSet request.

You can't associate a reusable delegation set with a private hosted zone.

For information about using a reusable delegation set to configure white label name servers, see Configuring White Label Name Servers.

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:

  1. Create a reusable delegation set.

  2. Recreate hosted zones, and reduce the TTL to 60 seconds or less.

  3. Recreate resource record sets in the new hosted zones.

  4. Change the registrar's name servers to use the name servers for the new hosted zones.

  5. Monitor traffic for the website or application.

  6. Change TTLs back to their original values.

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:

" + }, + "CreateTrafficPolicy": { + "name": "CreateTrafficPolicy", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/trafficpolicy", + "responseCode": 201 + }, + "input": { + "shape": "CreateTrafficPolicyRequest", + "locationName": "CreateTrafficPolicyRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateTrafficPolicyResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "TooManyTrafficPolicies" + }, + { + "shape": "TrafficPolicyAlreadyExists" + }, + { + "shape": "InvalidTrafficPolicyDocument" + } + ], + "documentation": "

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).

" + }, + "CreateTrafficPolicyInstance": { + "name": "CreateTrafficPolicyInstance", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/trafficpolicyinstance", + "responseCode": 201 + }, + "input": { + "shape": "CreateTrafficPolicyInstanceRequest", + "locationName": "CreateTrafficPolicyInstanceRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateTrafficPolicyInstanceResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "TooManyTrafficPolicyInstances" + }, + { + "shape": "NoSuchTrafficPolicy" + }, + { + "shape": "TrafficPolicyInstanceAlreadyExists" + } + ], + "documentation": "

Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition, CreateTrafficPolicyInstance 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 CreateTrafficPolicyInstance created.

" + }, + "CreateTrafficPolicyVersion": { + "name": "CreateTrafficPolicyVersion", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/trafficpolicy/{Id}", + "responseCode": 201 + }, + "input": { + "shape": "CreateTrafficPolicyVersionRequest", + "locationName": "CreateTrafficPolicyVersionRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateTrafficPolicyVersionResponse" + }, + "errors": [ + { + "shape": "NoSuchTrafficPolicy" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "TooManyTrafficPolicyVersionsForCurrentPolicy" + }, + { + "shape": "ConcurrentModification" + }, + { + "shape": "InvalidTrafficPolicyDocument" + } + ], + "documentation": "

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.

" + }, + "CreateVPCAssociationAuthorization": { + "name": "CreateVPCAssociationAuthorization", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation" + }, + "input": { + "shape": "CreateVPCAssociationAuthorizationRequest", + "locationName": "CreateVPCAssociationAuthorizationRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "CreateVPCAssociationAuthorizationResponse" + }, + "errors": [ + { + "shape": "ConcurrentModification" + }, + { + "shape": "TooManyVPCAssociationAuthorizations" + }, + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidVPCId" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Authorizes the AWS account that created a specified VPC to submit an AssociateVPCWithHostedZone request to associate the VPC with a specified hosted zone that was created by a different account. To submit a CreateVPCAssociationAuthorization 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 AssociateVPCWithHostedZone request.

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.

" + }, + "DeleteHealthCheck": { + "name": "DeleteHealthCheck", + "http": { + "method": "DELETE", + "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" + }, + "input": { + "shape": "DeleteHealthCheckRequest" + }, + "output": { + "shape": "DeleteHealthCheckResponse" + }, + "errors": [ + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "HealthCheckInUse" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Deletes a health check.

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 Replacing and Deleting Health Checks in the Amazon Route 53 Developer Guide.

If you're using AWS Cloud Map and you configured Cloud Map to create a Route 53 health check when you register an instance, you can't use the Route 53 DeleteHealthCheck command to delete the health check. The health check is deleted automatically when you deregister the instance; there can be a delay of several hours before the health check is deleted from Route 53.

" + }, + "DeleteHostedZone": { + "name": "DeleteHostedZone", + "http": { + "method": "DELETE", + "requestUri": "/2013-04-01/hostedzone/{Id}" + }, + "input": { + "shape": "DeleteHostedZoneRequest" + }, + "output": { + "shape": "DeleteHostedZoneResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "HostedZoneNotEmpty" + }, + { + "shape": "PriorRequestNotComplete" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "InvalidDomainName" + } + ], + "documentation": "

Deletes a hosted zone.

If the hosted zone was created by another service, such as AWS Cloud Map, see Deleting Public Hosted Zones That Were Created by Another Service in the Amazon Route 53 Developer Guide for information about how to delete it. (The process is the same for public and private hosted zones that were created by another service.)

If you want to keep your domain registration but you want to stop routing internet traffic to your website or web application, we recommend that you delete resource record sets in the hosted zone instead of deleting the hosted zone.

If you delete a hosted zone, you can't undelete it. You must create a new hosted zone and update the name servers for your domain registration, which can require up to 48 hours to take effect. (If you delegated responsibility for a subdomain to a hosted zone and you delete the child hosted zone, you must update the name servers in the parent hosted zone.) In addition, if you delete a hosted zone, someone could hijack the domain and route traffic to their own resources using your domain name.

If you want to avoid the monthly charge for the hosted zone, you can transfer DNS service for the domain to a free DNS service. When you transfer DNS service, you have to update the name servers for the domain registration. If the domain is registered with Route 53, see UpdateDomainNameservers for information about how to replace Route 53 name servers with name servers for the new DNS service. If the domain is registered with another registrar, use the method provided by the registrar to update name servers for the domain registration. For more information, perform an internet search on \"free DNS service.\"

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 HostedZoneNotEmpty error. For information about deleting records from your hosted zone, see ChangeResourceRecordSets.

To verify that the hosted zone has been deleted, do one of the following:

" + }, + "DeleteQueryLoggingConfig": { + "name": "DeleteQueryLoggingConfig", + "http": { + "method": "DELETE", + "requestUri": "/2013-04-01/queryloggingconfig/{Id}" + }, + "input": { + "shape": "DeleteQueryLoggingConfigRequest" + }, + "output": { + "shape": "DeleteQueryLoggingConfigResponse" + }, + "errors": [ + { + "shape": "ConcurrentModification" + }, + { + "shape": "NoSuchQueryLoggingConfig" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Deletes a configuration for DNS query logging. If you delete a configuration, Amazon Route 53 stops sending query logs to CloudWatch Logs. Route 53 doesn't delete any logs that are already in CloudWatch Logs.

For more information about DNS query logs, see CreateQueryLoggingConfig.

" + }, + "DeleteReusableDelegationSet": { + "name": "DeleteReusableDelegationSet", + "http": { + "method": "DELETE", + "requestUri": "/2013-04-01/delegationset/{Id}" + }, + "input": { + "shape": "DeleteReusableDelegationSetRequest" + }, + "output": { + "shape": "DeleteReusableDelegationSetResponse" + }, + "errors": [ + { + "shape": "NoSuchDelegationSet" + }, + { + "shape": "DelegationSetInUse" + }, + { + "shape": "DelegationSetNotReusable" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Deletes a reusable delegation set.

You can delete a reusable delegation set only if it isn't associated with any hosted zones.

To verify that the reusable delegation set is not associated with any hosted zones, submit a GetReusableDelegationSet request and specify the ID of the reusable delegation set that you want to delete.

" + }, + "DeleteTrafficPolicy": { + "name": "DeleteTrafficPolicy", + "http": { + "method": "DELETE", + "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" + }, + "input": { + "shape": "DeleteTrafficPolicyRequest" + }, + "output": { + "shape": "DeleteTrafficPolicyResponse" + }, + "errors": [ + { + "shape": "NoSuchTrafficPolicy" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "TrafficPolicyInUse" + }, + { + "shape": "ConcurrentModification" + } + ], + "documentation": "

Deletes a traffic policy.

" + }, + "DeleteTrafficPolicyInstance": { + "name": "DeleteTrafficPolicyInstance", + "http": { + "method": "DELETE", + "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" + }, + "input": { + "shape": "DeleteTrafficPolicyInstanceRequest" + }, + "output": { + "shape": "DeleteTrafficPolicyInstanceResponse" + }, + "errors": [ + { + "shape": "NoSuchTrafficPolicyInstance" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "PriorRequestNotComplete" + } + ], + "documentation": "

Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.

In the Route 53 console, traffic policy instances are known as policy records.

" + }, + "DeleteVPCAssociationAuthorization": { + "name": "DeleteVPCAssociationAuthorization", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone/{Id}/deauthorizevpcassociation" + }, + "input": { + "shape": "DeleteVPCAssociationAuthorizationRequest", + "locationName": "DeleteVPCAssociationAuthorizationRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "DeleteVPCAssociationAuthorizationResponse" + }, + "errors": [ + { + "shape": "ConcurrentModification" + }, + { + "shape": "VPCAssociationAuthorizationNotFound" + }, + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidVPCId" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Removes authorization to submit an AssociateVPCWithHostedZone request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a DeleteVPCAssociationAuthorization request.

Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, DeleteVPCAssociationAuthorization won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use DisassociateVPCFromHostedZone.

" + }, + "DisassociateVPCFromHostedZone": { + "name": "DisassociateVPCFromHostedZone", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc" + }, + "input": { + "shape": "DisassociateVPCFromHostedZoneRequest", + "locationName": "DisassociateVPCFromHostedZoneRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "DisassociateVPCFromHostedZoneResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidVPCId" + }, + { + "shape": "VPCAssociationNotFound" + }, + { + "shape": "LastVPCAssociation" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Disassociates a VPC from a Amazon Route 53 private hosted zone. Note the following:

" + }, + "GetAccountLimit": { + "name": "GetAccountLimit", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/accountlimit/{Type}" + }, + "input": { + "shape": "GetAccountLimitRequest" + }, + "output": { + "shape": "GetAccountLimitResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets the specified limit for the current account, for example, the maximum number of health checks that you can create using the account.

For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case.

You can also view account limits in AWS Trusted Advisor. Sign in to the AWS Management Console and open the Trusted Advisor console at https://console.aws.amazon.com/trustedadvisor/. Then choose Service limits in the navigation pane.

" + }, + "GetChange": { + "name": "GetChange", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/change/{Id}" + }, + "input": { + "shape": "GetChangeRequest" + }, + "output": { + "shape": "GetChangeResponse" + }, + "errors": [ + { + "shape": "NoSuchChange" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Returns the current status of a change batch request. The status is one of the following values:

" + }, + "GetCheckerIpRanges": { + "name": "GetCheckerIpRanges", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/checkeripranges" + }, + "input": { + "shape": "GetCheckerIpRangesRequest" + }, + "output": { + "shape": "GetCheckerIpRangesResponse" + }, + "documentation": "

GetCheckerIpRanges still works, but we recommend that you download ip-ranges.json, which includes IP address ranges for all AWS services. For more information, see IP Address Ranges of Amazon Route 53 Servers in the Amazon Route 53 Developer Guide.

" + }, + "GetGeoLocation": { + "name": "GetGeoLocation", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/geolocation" + }, + "input": { + "shape": "GetGeoLocationRequest" + }, + "output": { + "shape": "GetGeoLocationResponse" + }, + "errors": [ + { + "shape": "NoSuchGeoLocation" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.

Use the following syntax to determine whether a continent is supported for geolocation:

GET /2013-04-01/geolocation?continentcode=two-letter abbreviation for a continent

Use the following syntax to determine whether a country is supported for geolocation:

GET /2013-04-01/geolocation?countrycode=two-character country code

Use the following syntax to determine whether a subdivision of a country is supported for geolocation:

GET /2013-04-01/geolocation?countrycode=two-character country code&subdivisioncode=subdivision code

" + }, + "GetHealthCheck": { + "name": "GetHealthCheck", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" + }, + "input": { + "shape": "GetHealthCheckRequest" + }, + "output": { + "shape": "GetHealthCheckResponse" + }, + "errors": [ + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "IncompatibleVersion" + } + ], + "documentation": "

Gets information about a specified health check.

" + }, + "GetHealthCheckCount": { + "name": "GetHealthCheckCount", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/healthcheckcount" + }, + "input": { + "shape": "GetHealthCheckCountRequest" + }, + "output": { + "shape": "GetHealthCheckCountResponse" + }, + "documentation": "

Retrieves the number of health checks that are associated with the current AWS account.

" + }, + "GetHealthCheckLastFailureReason": { + "name": "GetHealthCheckLastFailureReason", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason" + }, + "input": { + "shape": "GetHealthCheckLastFailureReasonRequest" + }, + "output": { + "shape": "GetHealthCheckLastFailureReasonResponse" + }, + "errors": [ + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets the reason that a specified health check failed most recently.

" + }, + "GetHealthCheckStatus": { + "name": "GetHealthCheckStatus", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/status" + }, + "input": { + "shape": "GetHealthCheckStatusRequest" + }, + "output": { + "shape": "GetHealthCheckStatusResponse" + }, + "errors": [ + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets status of a specified health check.

" + }, + "GetHostedZone": { + "name": "GetHostedZone", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzone/{Id}" + }, + "input": { + "shape": "GetHostedZoneRequest" + }, + "output": { + "shape": "GetHostedZoneResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets information about a specified hosted zone including the four name servers assigned to the hosted zone.

" + }, + "GetHostedZoneCount": { + "name": "GetHostedZoneCount", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzonecount" + }, + "input": { + "shape": "GetHostedZoneCountRequest" + }, + "output": { + "shape": "GetHostedZoneCountResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + } + ], + "documentation": "

Retrieves the number of hosted zones that are associated with the current AWS account.

" + }, + "GetHostedZoneLimit": { + "name": "GetHostedZoneLimit", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzonelimit/{Id}/{Type}" + }, + "input": { + "shape": "GetHostedZoneLimitRequest" + }, + "output": { + "shape": "GetHostedZoneLimitResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "HostedZoneNotPrivate" + } + ], + "documentation": "

Gets the specified limit for a specified hosted zone, for example, the maximum number of records that you can create in the hosted zone.

For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case.

" + }, + "GetQueryLoggingConfig": { + "name": "GetQueryLoggingConfig", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/queryloggingconfig/{Id}" + }, + "input": { + "shape": "GetQueryLoggingConfigRequest" + }, + "output": { + "shape": "GetQueryLoggingConfigResponse" + }, + "errors": [ + { + "shape": "NoSuchQueryLoggingConfig" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets information about a specified configuration for DNS query logging.

For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS Queries.

" + }, + "GetReusableDelegationSet": { + "name": "GetReusableDelegationSet", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/delegationset/{Id}" + }, + "input": { + "shape": "GetReusableDelegationSetRequest" + }, + "output": { + "shape": "GetReusableDelegationSetResponse" + }, + "errors": [ + { + "shape": "NoSuchDelegationSet" + }, + { + "shape": "DelegationSetNotReusable" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Retrieves information about a specified reusable delegation set, including the four name servers that are assigned to the delegation set.

" + }, + "GetReusableDelegationSetLimit": { + "name": "GetReusableDelegationSetLimit", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/reusabledelegationsetlimit/{Id}/{Type}" + }, + "input": { + "shape": "GetReusableDelegationSetLimitRequest" + }, + "output": { + "shape": "GetReusableDelegationSetLimitResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchDelegationSet" + } + ], + "documentation": "

Gets the maximum number of hosted zones that you can associate with the specified reusable delegation set.

For the default limit, see Limits in the Amazon Route 53 Developer Guide. To request a higher limit, open a case.

" + }, + "GetTrafficPolicy": { + "name": "GetTrafficPolicy", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" + }, + "input": { + "shape": "GetTrafficPolicyRequest" + }, + "output": { + "shape": "GetTrafficPolicyResponse" + }, + "errors": [ + { + "shape": "NoSuchTrafficPolicy" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets information about a specific traffic policy version.

" + }, + "GetTrafficPolicyInstance": { + "name": "GetTrafficPolicyInstance", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" + }, + "input": { + "shape": "GetTrafficPolicyInstanceRequest" + }, + "output": { + "shape": "GetTrafficPolicyInstanceResponse" + }, + "errors": [ + { + "shape": "NoSuchTrafficPolicyInstance" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets information about a specified traffic policy instance.

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

In the Route 53 console, traffic policy instances are known as policy records.

" + }, + "GetTrafficPolicyInstanceCount": { + "name": "GetTrafficPolicyInstanceCount", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicyinstancecount" + }, + "input": { + "shape": "GetTrafficPolicyInstanceCountRequest" + }, + "output": { + "shape": "GetTrafficPolicyInstanceCountResponse" + }, + "documentation": "

Gets the number of traffic policy instances that are associated with the current AWS account.

" + }, + "ListGeoLocations": { + "name": "ListGeoLocations", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/geolocations" + }, + "input": { + "shape": "ListGeoLocationsRequest" + }, + "output": { + "shape": "ListGeoLocationsResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + } + ], + "documentation": "

Retrieves a list of supported geographic locations.

Countries are listed first, and continents are listed last. If Amazon Route 53 supports subdivisions for a country (for example, states or provinces), the subdivisions for that country are listed in alphabetical order immediately after the corresponding country.

For a list of supported geolocation codes, see the GeoLocation data type.

" + }, + "ListHealthChecks": { + "name": "ListHealthChecks", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/healthcheck" + }, + "input": { + "shape": "ListHealthChecksRequest" + }, + "output": { + "shape": "ListHealthChecksResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "IncompatibleVersion" + } + ], + "documentation": "

Retrieve a list of the health checks that are associated with the current AWS account.

" + }, + "ListHostedZones": { + "name": "ListHostedZones", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzone" + }, + "input": { + "shape": "ListHostedZonesRequest" + }, + "output": { + "shape": "ListHostedZonesResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchDelegationSet" + }, + { + "shape": "DelegationSetNotReusable" + } + ], + "documentation": "

Retrieves a list of the public and private hosted zones that are associated with the current AWS account. The response includes a HostedZones child element for each hosted zone.

Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of hosted zones, you can use the maxitems parameter to list them in groups of up to 100.

" + }, + "ListHostedZonesByName": { + "name": "ListHostedZonesByName", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzonesbyname" + }, + "input": { + "shape": "ListHostedZonesByNameRequest" + }, + "output": { + "shape": "ListHostedZonesByNameResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "InvalidDomainName" + } + ], + "documentation": "

Retrieves a list of your hosted zones in lexicographic order. The response includes a HostedZones child element for each hosted zone created by the current AWS account.

ListHostedZonesByName sorts hosted zones by name with the labels reversed. For example:

com.example.www.

Note the trailing dot, which can change the sort order in some circumstances.

If the domain name includes escape characters or Punycode, ListHostedZonesByName alphabetizes the domain name using the escaped or Punycoded value, which is the format that Amazon Route 53 saves in its database. For example, to create a hosted zone for exämple.com, you specify ex\\344mple.com for the domain name. ListHostedZonesByName alphabetizes it as:

com.ex\\344mple.

The labels are reversed and alphabetized using the escaped value. For more information about valid domain name formats, including internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.

Route 53 returns up to 100 items in each response. If you have a lot of hosted zones, use the MaxItems parameter to list them in groups of up to 100. The response includes values that help navigate from one group of MaxItems hosted zones to the next:

" + }, + "ListQueryLoggingConfigs": { + "name": "ListQueryLoggingConfigs", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/queryloggingconfig" + }, + "input": { + "shape": "ListQueryLoggingConfigsRequest" + }, + "output": { + "shape": "ListQueryLoggingConfigsResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "InvalidPaginationToken" + }, + { + "shape": "NoSuchHostedZone" + } + ], + "documentation": "

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.

For more information about DNS query logs, see CreateQueryLoggingConfig. Additional information, including the format of DNS query logs, appears in Logging DNS Queries in the Amazon Route 53 Developer Guide.

" + }, + "ListResourceRecordSets": { + "name": "ListResourceRecordSets", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzone/{Id}/rrset" + }, + "input": { + "shape": "ListResourceRecordSetsRequest" + }, + "output": { + "shape": "ListResourceRecordSetsResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Lists the resource record sets in a specified hosted zone.

ListResourceRecordSets returns up to 100 resource record sets at a time in ASCII order, beginning at a position specified by the name and type elements.

Sort order

ListResourceRecordSets sorts results first by DNS name with the labels reversed, for example:

com.example.www.

Note the trailing dot, which can change the sort order when the record name contains characters that appear before . (decimal 46) in the ASCII table. These characters include the following: ! \" # $ % & ' ( ) * + , -

When multiple records have the same DNS name, ListResourceRecordSets sorts results by the record type.

Specifying where to start listing records

You can use the name and type elements to specify the resource record set that the list begins with:

If you do not specify Name or Type

The results begin with the first resource record set that the hosted zone contains.

If you specify Name but not Type

The results begin with the first resource record set in the list whose name is greater than or equal to Name.

If you specify Type but not Name

Amazon Route 53 returns the InvalidInput error.

If you specify both Name and Type

The results begin with the first resource record set in the list whose name is greater than or equal to Name, and whose type is greater than or equal to Type.

Resource record sets that are PENDING

This action returns the most current version of the records. This includes records that are PENDING, and that are not yet available on all Route 53 DNS servers.

Changing resource record sets

To ensure that you get an accurate listing of the resource record sets for a hosted zone at a point in time, do not submit a ChangeResourceRecordSets request while you're paging through the results of a ListResourceRecordSets request. If you do, some pages may display results without the latest changes while other pages display results with the latest changes.

Displaying the next page of results

If a ListResourceRecordSets command returns more than one page of results, the value of IsTruncated is true. To display the next page of results, get the values of NextRecordName, NextRecordType, and NextRecordIdentifier (if any) from the response. Then submit another ListResourceRecordSets request, and specify those values for StartRecordName, StartRecordType, and StartRecordIdentifier.

" + }, + "ListReusableDelegationSets": { + "name": "ListReusableDelegationSets", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/delegationset" + }, + "input": { + "shape": "ListReusableDelegationSetsRequest" + }, + "output": { + "shape": "ListReusableDelegationSetsResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + } + ], + "documentation": "

Retrieves a list of the reusable delegation sets that are associated with the current AWS account.

" + }, + "ListTagsForResource": { + "name": "ListTagsForResource", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/tags/{ResourceType}/{ResourceId}" + }, + "input": { + "shape": "ListTagsForResourceRequest" + }, + "output": { + "shape": "ListTagsForResourceResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "PriorRequestNotComplete" + }, + { + "shape": "ThrottlingException" + } + ], + "documentation": "

Lists tags for one health check or hosted zone.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

" + }, + "ListTagsForResources": { + "name": "ListTagsForResources", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/tags/{ResourceType}" + }, + "input": { + "shape": "ListTagsForResourcesRequest", + "locationName": "ListTagsForResourcesRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "ListTagsForResourcesResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "PriorRequestNotComplete" + }, + { + "shape": "ThrottlingException" + } + ], + "documentation": "

Lists tags for up to 10 health checks or hosted zones.

For information about using tags for cost allocation, see Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide.

" + }, + "ListTrafficPolicies": { + "name": "ListTrafficPolicies", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicies" + }, + "input": { + "shape": "ListTrafficPoliciesRequest" + }, + "output": { + "shape": "ListTrafficPoliciesResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets information about the latest version for every traffic policy that is associated with the current AWS account. Policies are listed in the order that they were created in.

" + }, + "ListTrafficPolicyInstances": { + "name": "ListTrafficPolicyInstances", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicyinstances" + }, + "input": { + "shape": "ListTrafficPolicyInstancesRequest" + }, + "output": { + "shape": "ListTrafficPolicyInstancesResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchTrafficPolicyInstance" + } + ], + "documentation": "

Gets information about the traffic policy instances that you created by using the current AWS account.

After you submit an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100.

" + }, + "ListTrafficPolicyInstancesByHostedZone": { + "name": "ListTrafficPolicyInstancesByHostedZone", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicyinstances/hostedzone" + }, + "input": { + "shape": "ListTrafficPolicyInstancesByHostedZoneRequest" + }, + "output": { + "shape": "ListTrafficPolicyInstancesByHostedZoneResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchTrafficPolicyInstance" + }, + { + "shape": "NoSuchHostedZone" + } + ], + "documentation": "

Gets information about the traffic policy instances that you created in a specified hosted zone.

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100.

" + }, + "ListTrafficPolicyInstancesByPolicy": { + "name": "ListTrafficPolicyInstancesByPolicy", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicyinstances/trafficpolicy" + }, + "input": { + "shape": "ListTrafficPolicyInstancesByPolicyRequest" + }, + "output": { + "shape": "ListTrafficPolicyInstancesByPolicyResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchTrafficPolicyInstance" + }, + { + "shape": "NoSuchTrafficPolicy" + } + ], + "documentation": "

Gets information about the traffic policy instances that you created by using a specify traffic policy version.

After you submit a CreateTrafficPolicyInstance or an UpdateTrafficPolicyInstance request, there's a brief delay while Amazon Route 53 creates the resource record sets that are specified in the traffic policy definition. For more information, see the State response element.

Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policy instances, you can use the MaxItems parameter to list them in groups of up to 100.

" + }, + "ListTrafficPolicyVersions": { + "name": "ListTrafficPolicyVersions", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/trafficpolicies/{Id}/versions" + }, + "input": { + "shape": "ListTrafficPolicyVersionsRequest" + }, + "output": { + "shape": "ListTrafficPolicyVersionsResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchTrafficPolicy" + } + ], + "documentation": "

Gets information about all of the versions for a specified traffic policy.

Traffic policy versions are listed in numerical order by VersionNumber.

" + }, + "ListVPCAssociationAuthorizations": { + "name": "ListVPCAssociationAuthorizations", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/hostedzone/{Id}/authorizevpcassociation" + }, + "input": { + "shape": "ListVPCAssociationAuthorizationsRequest" + }, + "output": { + "shape": "ListVPCAssociationAuthorizationsResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "InvalidPaginationToken" + } + ], + "documentation": "

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 CreateVPCAssociationAuthorization requests.

The response includes a VPCs element with a VPC child element for each VPC that can be associated with the hosted zone.

" + }, + "TestDNSAnswer": { + "name": "TestDNSAnswer", + "http": { + "method": "GET", + "requestUri": "/2013-04-01/testdnsanswer" + }, + "input": { + "shape": "TestDNSAnswerRequest" + }, + "output": { + "shape": "TestDNSAnswerResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify the IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask.

" + }, + "UpdateHealthCheck": { + "name": "UpdateHealthCheck", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/healthcheck/{HealthCheckId}" + }, + "input": { + "shape": "UpdateHealthCheckRequest", + "locationName": "UpdateHealthCheckRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "UpdateHealthCheckResponse" + }, + "errors": [ + { + "shape": "NoSuchHealthCheck" + }, + { + "shape": "InvalidInput" + }, + { + "shape": "HealthCheckVersionMismatch" + } + ], + "documentation": "

Updates an existing health check. Note that some values can't be updated.

For more information about updating health checks, see Creating, Updating, and Deleting Health Checks in the Amazon Route 53 Developer Guide.

" + }, + "UpdateHostedZoneComment": { + "name": "UpdateHostedZoneComment", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/hostedzone/{Id}" + }, + "input": { + "shape": "UpdateHostedZoneCommentRequest", + "locationName": "UpdateHostedZoneCommentRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "UpdateHostedZoneCommentResponse" + }, + "errors": [ + { + "shape": "NoSuchHostedZone" + }, + { + "shape": "InvalidInput" + } + ], + "documentation": "

Updates the comment for a specified hosted zone.

" + }, + "UpdateTrafficPolicyComment": { + "name": "UpdateTrafficPolicyComment", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/trafficpolicy/{Id}/{Version}" + }, + "input": { + "shape": "UpdateTrafficPolicyCommentRequest", + "locationName": "UpdateTrafficPolicyCommentRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "UpdateTrafficPolicyCommentResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchTrafficPolicy" + }, + { + "shape": "ConcurrentModification" + } + ], + "documentation": "

Updates the comment for a specified traffic policy version.

" + }, + "UpdateTrafficPolicyInstance": { + "name": "UpdateTrafficPolicyInstance", + "http": { + "method": "POST", + "requestUri": "/2013-04-01/trafficpolicyinstance/{Id}" + }, + "input": { + "shape": "UpdateTrafficPolicyInstanceRequest", + "locationName": "UpdateTrafficPolicyInstanceRequest", + "xmlNamespace": { + "uri": "https://route53.amazonaws.com/doc/2013-04-01/" + } + }, + "output": { + "shape": "UpdateTrafficPolicyInstanceResponse" + }, + "errors": [ + { + "shape": "InvalidInput" + }, + { + "shape": "NoSuchTrafficPolicy" + }, + { + "shape": "NoSuchTrafficPolicyInstance" + }, + { + "shape": "PriorRequestNotComplete" + }, + { + "shape": "ConflictingTypes" + } + ], + "documentation": "

Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.

When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name (such as example.com) while it replaces one group of resource record sets with another. Route 53 performs the following operations:

  1. Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how significant the differences are between the existing resource record sets and the new resource record sets.

  2. When all of the new resource record sets have been created, Route 53 starts to respond to DNS queries for the root resource record set name (such as example.com) by using the new resource record sets.

  3. Route 53 deletes the old group of resource record sets that are associated with the root resource record set name.

" + } + }, + "shapes": { + "AccountLimit": { + "type": "structure", + "required": [ + "Type", + "Value" + ], + "members": { + "Type": { + "shape": "AccountLimitType", + "documentation": "

The limit that you requested. Valid values include the following:

" + }, + "Value": { + "shape": "LimitValue", + "documentation": "

The current value for the limit that is specified by Type.

" + } + }, + "documentation": "

A complex type that contains the type of limit that you specified in the request and the current value for that limit.

" + }, + "AccountLimitType": { + "type": "string", + "enum": [ + "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" + ] + }, + "AlarmIdentifier": { + "type": "structure", + "required": [ + "Region", + "Name" + ], + "members": { + "Region": { + "shape": "CloudWatchRegion", + "documentation": "

For the CloudWatch alarm that you want Route 53 health checkers to use to determine whether this health check is healthy, the region that the alarm was created in.

For the current list of CloudWatch regions, see Amazon CloudWatch in the AWS Service Endpoints chapter of the Amazon Web Services General Reference.

" + }, + "Name": { + "shape": "AlarmName", + "documentation": "

The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy.

Route 53 supports CloudWatch alarms with the following features:

" + } + }, + "documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy.

" + }, + "AlarmName": { + "type": "string", + "max": 256, + "min": 1 + }, + "AliasHealthEnabled": { + "type": "boolean" + }, + "AliasTarget": { + "type": "structure", + "required": [ + "HostedZoneId", + "DNSName", + "EvaluateTargetHealth" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

Alias resource records sets only: The value used depends on where you want to route traffic:

Amazon API Gateway custom regional APIs and edge-optimized APIs

Specify the hosted zone ID for your API. You can get the applicable value using the AWS CLI command get-domain-names:

  • For regional APIs, specify the value of regionalHostedZoneId.

  • For edge-optimized APIs, specify the value of distributionHostedZoneId.

Amazon Virtual Private Cloud interface VPC endpoint

Specify the hosted zone ID for your interface endpoint. You can get the value of HostedZoneId using the AWS CLI command describe-vpc-endpoints.

CloudFront distribution

Specify Z2FDTNDATAQYW2.

Alias resource record sets for CloudFront can't be created in a private zone.

Elastic Beanstalk environment

Specify the hosted zone ID for the region that you created the environment in. The environment must have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see AWS Elastic Beanstalk in the \"AWS Service Endpoints\" chapter of the Amazon Web Services General Reference.

ELB load balancer

Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID:

  • Service Endpoints table in the \"Elastic Load Balancing Endpoints and Quotas\" topic in the Amazon Web Services General Reference: Use the value that corresponds with the region that you created your load balancer in. Note that there are separate columns for Application and Classic Load Balancers and for Network Load Balancers.

  • AWS Management Console: Go to the Amazon EC2 page, choose Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted zone field on the Description tab.

  • Elastic Load Balancing API: Use DescribeLoadBalancers to get the applicable value. For more information, see the applicable guide:

  • AWS CLI: Use describe-load-balancers to get the applicable value. For more information, see the applicable guide:

AWS Global Accelerator accelerator

Specify Z2BJ6XQ5FK7U4H.

An Amazon S3 bucket configured as a static website

Specify the hosted zone ID for the region that you created the bucket in. For more information about valid values, see the table Amazon S3 Website Endpoints in the Amazon Web Services General Reference.

Another Route 53 resource record set in your hosted zone

Specify the hosted zone ID of your hosted zone. (An alias resource record set can't reference a resource record set in a different hosted zone.)

" + }, + "DNSName": { + "shape": "DNSName", + "documentation": "

Alias resource record sets only: The value that you specify depends on where you want to route queries:

Amazon API Gateway custom regional APIs and edge-optimized APIs

Specify the applicable domain name for your API. You can get the applicable value using the AWS CLI command get-domain-names:

  • For regional APIs, specify the value of regionalDomainName.

  • For edge-optimized APIs, specify the value of distributionDomainName. This is the name of the associated CloudFront distribution, such as da1b2c3d4e5.cloudfront.net.

The name of the record that you're creating must match a custom domain name for your API, such as api.example.com.

Amazon Virtual Private Cloud interface VPC endpoint

Enter the API endpoint for the interface endpoint, such as vpce-123456789abcdef01-example-us-east-1a.elasticloadbalancing.us-east-1.vpce.amazonaws.com. For edge-optimized APIs, this is the domain name for the corresponding CloudFront distribution. You can get the value of DnsName using the AWS CLI command describe-vpc-endpoints.

CloudFront distribution

Specify the domain name that CloudFront assigned when you created your distribution.

Your CloudFront distribution must include an alternate domain name that matches the name of the resource record set. For example, if the name of the resource record set is acme.example.com, your CloudFront distribution must include acme.example.com as one of the alternate domain names. For more information, see Using Alternate Domain Names (CNAMEs) in the Amazon CloudFront Developer Guide.

You can't create a resource record set in a private hosted zone to route traffic to a CloudFront distribution.

For failover alias records, you can't specify a CloudFront distribution for both the primary and secondary records. A distribution must include an alternate domain name that matches the name of the record. However, the primary and secondary records have the same name, and you can't include the same alternate domain name in more than one distribution.

Elastic Beanstalk environment

If the domain name for your Elastic Beanstalk environment includes the region that you deployed the environment in, you can create an alias record that routes traffic to the environment. For example, the domain name my-environment.us-west-2.elasticbeanstalk.com is a regionalized domain name.

For environments that were created before early 2016, the domain name doesn't include the region. To route traffic to these environments, you must create a CNAME record instead of an alias record. Note that you can't create a CNAME record for the root domain name. For example, if your domain name is example.com, you can create a record that routes traffic for acme.example.com to your Elastic Beanstalk environment, but you can't create a record that routes traffic for example.com to your Elastic Beanstalk environment.

For Elastic Beanstalk environments that have regionalized subdomains, specify the CNAME attribute for the environment. You can use the following methods to get the value of the CNAME attribute:

  • AWS Management Console: For information about how to get the value by using the console, see Using Custom Domains with AWS Elastic Beanstalk in the AWS Elastic Beanstalk Developer Guide.

  • Elastic Beanstalk API: Use the DescribeEnvironments action to get the value of the CNAME attribute. For more information, see DescribeEnvironments in the AWS Elastic Beanstalk API Reference.

  • AWS CLI: Use the describe-environments command to get the value of the CNAME attribute. For more information, see describe-environments in the AWS CLI Command Reference.

ELB load balancer

Specify the DNS name that is associated with the load balancer. Get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI.

  • AWS Management Console: Go to the EC2 page, choose Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS name field.

    If you're routing traffic to a Classic Load Balancer, get the value that begins with dualstack. If you're routing traffic to another type of load balancer, get the value that applies to the record type, A or AAAA.

  • Elastic Load Balancing API: Use DescribeLoadBalancers to get the value of DNSName. For more information, see the applicable guide:

  • AWS CLI: Use describe-load-balancers to get the value of DNSName. For more information, see the applicable guide:

AWS Global Accelerator accelerator

Specify the DNS name for your accelerator:

Amazon S3 bucket that is configured as a static website

Specify the domain name of the Amazon S3 website endpoint that you created the bucket in, for example, s3-website.us-east-2.amazonaws.com. For more information about valid values, see the table Amazon S3 Website Endpoints in the Amazon Web Services General Reference. For more information about using S3 buckets for websites, see Getting Started with Amazon Route 53 in the Amazon Route 53 Developer Guide.

Another Route 53 resource record set

Specify the value of the Name element for a resource record set in the current hosted zone.

If you're creating an alias record that has the same name as the hosted zone (known as the zone apex), you can't specify the domain name for a record for which the value of Type is CNAME. This is because the alias record must have the same type as the record that you're routing traffic to, and creating a CNAME record for the zone apex isn't supported even for an alias record.

" + }, + "EvaluateTargetHealth": { + "shape": "AliasHealthEnabled", + "documentation": "

Applies only to alias, failover alias, geolocation alias, latency alias, and weighted alias resource record sets: When EvaluateTargetHealth is true, an alias resource record set inherits the health of the referenced AWS resource, such as an ELB load balancer or another resource record set in the hosted zone.

Note the following:

CloudFront distributions

You can't set EvaluateTargetHealth to true when the alias target is a CloudFront distribution.

Elastic Beanstalk environments that have regionalized subdomains

If you specify an Elastic Beanstalk environment in DNSName and the environment contains an ELB load balancer, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. (An environment automatically contains an ELB load balancer if it includes more than one Amazon EC2 instance.) If you set EvaluateTargetHealth to true and either no Amazon EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other available resources that are healthy, if any.

If the environment contains a single Amazon EC2 instance, there are no special requirements.

ELB load balancers

Health checking behavior depends on the type of load balancer:

  • Classic Load Balancers: If you specify an ELB Classic Load Balancer in DNSName, Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If you set EvaluateTargetHealth to true and either no EC2 instances are healthy or the load balancer itself is unhealthy, Route 53 routes queries to other resources.

  • Application and Network Load Balancers: If you specify an ELB Application or Network Load Balancer and you set EvaluateTargetHealth to true, Route 53 routes queries to the load balancer based on the health of the target groups that are associated with the load balancer:

    • For an Application or Network Load Balancer to be considered healthy, every target group that contains targets must contain at least one healthy target. If any target group contains only unhealthy targets, the load balancer is considered unhealthy, and Route 53 routes queries to other resources.

    • A target group that has no registered targets is considered unhealthy.

When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they're not Route 53 health checks, but they perform a similar function. Do not create Route 53 health checks for the EC2 instances that you register with an ELB load balancer.

S3 buckets

There are no special requirements for setting EvaluateTargetHealth to true when the alias target is an S3 bucket.

Other records in the same hosted zone

If the AWS resource that you specify in DNSName is a record or a group of records (for example, a group of weighted records) but is not another alias record, we recommend that you associate a health check with all of the records in the alias target. For more information, see What Happens When You Omit Health Checks? in the Amazon Route 53 Developer Guide.

For more information and examples, see Amazon Route 53 Health Checks and DNS Failover in the Amazon Route 53 Developer Guide.

" + } + }, + "documentation": "

Alias resource record sets only: Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.

When creating resource record sets for a private hosted zone, note the following:

" + }, + "AssociateVPCComment": { + "type": "string" + }, + "AssociateVPCWithHostedZoneRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "VPC" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the private hosted zone that you want to associate an Amazon VPC with.

Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.

", + "location": "uri", + "locationName": "Id" + }, + "VPC": { + "shape": "VPC", + "documentation": "

A complex type that contains information about the VPC that you want to associate with a private hosted zone.

" + }, + "Comment": { + "shape": "AssociateVPCComment", + "documentation": "

Optional: A comment about the association request.

" + } + }, + "documentation": "

A complex type that contains information about the request to associate a VPC with a private hosted zone.

" + }, + "AssociateVPCWithHostedZoneResponse": { + "type": "structure", + "required": [ + "ChangeInfo" + ], + "members": { + "ChangeInfo": { + "shape": "ChangeInfo", + "documentation": "

A complex type that describes the changes made to your hosted zone.

" + } + }, + "documentation": "

A complex type that contains the response information for the AssociateVPCWithHostedZone request.

" + }, + "Change": { + "type": "structure", + "required": [ + "Action", + "ResourceRecordSet" + ], + "members": { + "Action": { + "shape": "ChangeAction", + "documentation": "

The action to perform:

" + }, + "ResourceRecordSet": { + "shape": "ResourceRecordSet", + "documentation": "

Information about the resource record set to create, delete, or update.

" + } + }, + "documentation": "

The information for each resource record set that you want to change.

" + }, + "ChangeAction": { + "type": "string", + "enum": [ + "CREATE", + "DELETE", + "UPSERT" + ] + }, + "ChangeBatch": { + "type": "structure", + "required": [ + "Changes" + ], + "members": { + "Comment": { + "shape": "ResourceDescription", + "documentation": "

Optional: Any comments you want to include about a change batch request.

" + }, + "Changes": { + "shape": "Changes", + "documentation": "

Information about the changes to make to the record sets.

" + } + }, + "documentation": "

The information for a change request.

" + }, + "ChangeInfo": { + "type": "structure", + "required": [ + "Id", + "Status", + "SubmittedAt" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID of the request.

" + }, + "Status": { + "shape": "ChangeStatus", + "documentation": "

The current state of the request. PENDING indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.

" + }, + "SubmittedAt": { + "shape": "TimeStamp", + "documentation": "

The date and time that the change request was submitted in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC.

" + }, + "Comment": { + "shape": "ResourceDescription", + "documentation": "

A complex type that describes change information about changes made to your hosted zone.

This element contains an ID that you use when performing a GetChange action to get detailed information about the change.

" + } + }, + "documentation": "

A complex type that describes change information about changes made to your hosted zone.

" + }, + "ChangeResourceRecordSetsRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "ChangeBatch" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that contains the resource record sets that you want to change.

", + "location": "uri", + "locationName": "Id" + }, + "ChangeBatch": { + "shape": "ChangeBatch", + "documentation": "

A complex type that contains an optional comment and the Changes element.

" + } + }, + "documentation": "

A complex type that contains change information for the resource record set.

" + }, + "ChangeResourceRecordSetsResponse": { + "type": "structure", + "required": [ + "ChangeInfo" + ], + "members": { + "ChangeInfo": { + "shape": "ChangeInfo", + "documentation": "

A complex type that contains information about changes made to your hosted zone.

This element contains an ID that you use when performing a GetChange action to get detailed information about the change.

" + } + }, + "documentation": "

A complex type containing the response for the request.

" + }, + "ChangeStatus": { + "type": "string", + "enum": [ + "PENDING", + "INSYNC" + ] + }, + "ChangeTagsForResourceRequest": { + "type": "structure", + "required": [ + "ResourceType", + "ResourceId" + ], + "members": { + "ResourceType": { + "shape": "TagResourceType", + "documentation": "

The type of the resource.

", + "location": "uri", + "locationName": "ResourceType" + }, + "ResourceId": { + "shape": "TagResourceId", + "documentation": "

The ID of the resource for which you want to add, change, or delete tags.

", + "location": "uri", + "locationName": "ResourceId" + }, + "AddTags": { + "shape": "TagList", + "documentation": "

A complex type that contains a list of the tags that you want to add to the specified health check or hosted zone and/or the tags that you want to edit Value for.

You can add a maximum of 10 tags to a health check or a hosted zone.

" + }, + "RemoveTagKeys": { + "shape": "TagKeyList", + "documentation": "

A complex type that contains a list of the tags that you want to delete from the specified health check or hosted zone. You can specify up to 10 keys.

" + } + }, + "documentation": "

A complex type that contains information about the tags that you want to add, edit, or delete.

" + }, + "ChangeTagsForResourceResponse": { + "type": "structure", + "members": {}, + "documentation": "

Empty response for the request.

" + }, + "Changes": { + "type": "list", + "member": { + "shape": "Change", + "locationName": "Change" + }, + "min": 1 + }, + "CheckerIpRanges": { + "type": "list", + "member": { + "shape": "IPAddressCidr" + } + }, + "ChildHealthCheckList": { + "type": "list", + "member": { + "shape": "HealthCheckId", + "locationName": "ChildHealthCheck" + }, + "max": 256 + }, + "CloudWatchAlarmConfiguration": { + "type": "structure", + "required": [ + "EvaluationPeriods", + "Threshold", + "ComparisonOperator", + "Period", + "MetricName", + "Namespace", + "Statistic" + ], + "members": { + "EvaluationPeriods": { + "shape": "EvaluationPeriods", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold.

" + }, + "Threshold": { + "shape": "Threshold", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the value the metric is compared with.

" + }, + "ComparisonOperator": { + "shape": "ComparisonOperator", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison.

" + }, + "Period": { + "shape": "Period", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds.

" + }, + "MetricName": { + "shape": "MetricName", + "documentation": "

The name of the CloudWatch metric that the alarm is associated with.

" + }, + "Namespace": { + "shape": "Namespace", + "documentation": "

The namespace of the metric that the alarm is associated with. For more information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.

" + }, + "Statistic": { + "shape": "Statistic", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric.

" + }, + "Dimensions": { + "shape": "DimensionList", + "documentation": "

For the metric that the CloudWatch alarm is associated with, a complex type that contains information about the dimensions for the metric. For information, see Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference in the Amazon CloudWatch User Guide.

" + } + }, + "documentation": "

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

" + }, + "CloudWatchLogsLogGroupArn": { + "type": "string" + }, + "CloudWatchRegion": { + "type": "string", + "enum": [ + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2", + "ca-central-1", + "eu-central-1", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "ap-east-1", + "me-south-1", + "ap-south-1", + "ap-southeast-1", + "ap-southeast-2", + "ap-northeast-1", + "ap-northeast-2", + "ap-northeast-3", + "eu-north-1", + "sa-east-1", + "cn-northwest-1", + "cn-north-1", + "af-south-1", + "eu-south-1", + "us-gov-west-1", + "us-gov-east-1", + "us-iso-east-1", + "us-isob-east-1" + ], + "max": 64, + "min": 1 + }, + "ComparisonOperator": { + "type": "string", + "enum": [ + "GreaterThanOrEqualToThreshold", + "GreaterThanThreshold", + "LessThanThreshold", + "LessThanOrEqualToThreshold" + ] + }, + "CreateHealthCheckRequest": { + "type": "structure", + "required": [ + "CallerReference", + "HealthCheckConfig" + ], + "members": { + "CallerReference": { + "shape": "HealthCheckNonce", + "documentation": "

A unique string that identifies the request and that allows you to retry a failed CreateHealthCheck request without the risk of creating two identical health checks:

" + }, + "HealthCheckConfig": { + "shape": "HealthCheckConfig", + "documentation": "

A complex type that contains settings for a new health check.

" + } + }, + "documentation": "

A complex type that contains the health check request information.

" + }, + "CreateHealthCheckResponse": { + "type": "structure", + "required": [ + "HealthCheck", + "Location" + ], + "members": { + "HealthCheck": { + "shape": "HealthCheck", + "documentation": "

A complex type that contains identifying information about the health check.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

The unique URL representing the new health check.

", + "location": "header", + "locationName": "Location" + } + }, + "documentation": "

A complex type containing the response information for the new health check.

" + }, + "CreateHostedZoneRequest": { + "type": "structure", + "required": [ + "Name", + "CallerReference" + ], + "members": { + "Name": { + "shape": "DNSName", + "documentation": "

The name of the domain. Specify a fully qualified domain name, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

If you're creating a public hosted zone, this is the name you have registered with your DNS registrar. If your domain name is registered with a registrar other than Route 53, change the name servers for your domain to the set of NameServers that CreateHostedZone returns in DelegationSet.

" + }, + "VPC": { + "shape": "VPC", + "documentation": "

(Private hosted zones only) A complex type that contains information about the Amazon VPC that you're associating with this hosted zone.

You can specify only one Amazon VPC when you create a private hosted zone. To associate additional Amazon VPCs with the hosted zone, use AssociateVPCWithHostedZone after you create a hosted zone.

" + }, + "CallerReference": { + "shape": "Nonce", + "documentation": "

A unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without the risk of executing the operation twice. You must use a unique CallerReference string every time you submit a CreateHostedZone request. CallerReference can be any unique string, for example, a date/time stamp.

" + }, + "HostedZoneConfig": { + "shape": "HostedZoneConfig", + "documentation": "

(Optional) A complex type that contains the following optional values:

If you don't specify a comment or the PrivateZone element, omit HostedZoneConfig and the other elements.

" + }, + "DelegationSetId": { + "shape": "ResourceId", + "documentation": "

If you want to associate a reusable delegation set with this hosted zone, the ID that Amazon Route 53 assigned to the reusable delegation set when you created it. For more information about reusable delegation sets, see CreateReusableDelegationSet.

" + } + }, + "documentation": "

A complex type that contains information about the request to create a public or private hosted zone.

" + }, + "CreateHostedZoneResponse": { + "type": "structure", + "required": [ + "HostedZone", + "ChangeInfo", + "DelegationSet", + "Location" + ], + "members": { + "HostedZone": { + "shape": "HostedZone", + "documentation": "

A complex type that contains general information about the hosted zone.

" + }, + "ChangeInfo": { + "shape": "ChangeInfo", + "documentation": "

A complex type that contains information about the CreateHostedZone request.

" + }, + "DelegationSet": { + "shape": "DelegationSet", + "documentation": "

A complex type that describes the name servers for this hosted zone.

" + }, + "VPC": { + "shape": "VPC", + "documentation": "

A complex type that contains information about an Amazon VPC that you associated with this hosted zone.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

The unique URL representing the new hosted zone.

", + "location": "header", + "locationName": "Location" + } + }, + "documentation": "

A complex type containing the response information for the hosted zone.

" + }, + "CreateQueryLoggingConfigRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "CloudWatchLogsLogGroupArn" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you want to log queries for. You can log queries only for public hosted zones.

" + }, + "CloudWatchLogsLogGroupArn": { + "shape": "CloudWatchLogsLogGroupArn", + "documentation": "

The Amazon Resource Name (ARN) for the log group that you want to Amazon Route 53 to send query logs to. This is the format of the ARN:

arn:aws:logs:region:account-id:log-group:log_group_name

To get the ARN for a log group, you can use the CloudWatch console, the DescribeLogGroups API action, the describe-log-groups command, or the applicable command in one of the AWS SDKs.

" + } + } + }, + "CreateQueryLoggingConfigResponse": { + "type": "structure", + "required": [ + "QueryLoggingConfig", + "Location" + ], + "members": { + "QueryLoggingConfig": { + "shape": "QueryLoggingConfig", + "documentation": "

A complex type that contains the ID for a query logging configuration, the ID of the hosted zone that you want to log queries for, and the ARN for the log group that you want Amazon Route 53 to send query logs to.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

The unique URL representing the new query logging configuration.

", + "location": "header", + "locationName": "Location" + } + } + }, + "CreateReusableDelegationSetRequest": { + "type": "structure", + "required": [ + "CallerReference" + ], + "members": { + "CallerReference": { + "shape": "Nonce", + "documentation": "

A unique string that identifies the request, and that allows you to retry failed CreateReusableDelegationSet requests without the risk of executing the operation twice. You must use a unique CallerReference string every time you submit a CreateReusableDelegationSet request. CallerReference can be any unique string, for example a date/time stamp.

" + }, + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone.

" + } + } + }, + "CreateReusableDelegationSetResponse": { + "type": "structure", + "required": [ + "DelegationSet", + "Location" + ], + "members": { + "DelegationSet": { + "shape": "DelegationSet", + "documentation": "

A complex type that contains name server information.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

The unique URL representing the new reusable delegation set.

", + "location": "header", + "locationName": "Location" + } + } + }, + "CreateTrafficPolicyInstanceRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "Name", + "TTL", + "TrafficPolicyId", + "TrafficPolicyVersion" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you want Amazon Route 53 to create resource record sets in by using the configuration in a traffic policy.

" + }, + "Name": { + "shape": "DNSName", + "documentation": "

The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Route 53 creates for this traffic policy instance.

" + }, + "TTL": { + "shape": "TTL", + "documentation": "

(Optional) The TTL that you want Amazon Route 53 to assign to all of the resource record sets that it creates in the specified hosted zone.

" + }, + "TrafficPolicyId": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

" + }, + "TrafficPolicyVersion": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone.

" + } + }, + "documentation": "

A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy.

" + }, + "CreateTrafficPolicyInstanceResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstance", + "Location" + ], + "members": { + "TrafficPolicyInstance": { + "shape": "TrafficPolicyInstance", + "documentation": "

A complex type that contains settings for the new traffic policy instance.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

A unique URL that represents a new traffic policy instance.

", + "location": "header", + "locationName": "Location" + } + }, + "documentation": "

A complex type that contains the response information for the CreateTrafficPolicyInstance request.

" + }, + "CreateTrafficPolicyRequest": { + "type": "structure", + "required": [ + "Name", + "Document" + ], + "members": { + "Name": { + "shape": "TrafficPolicyName", + "documentation": "

The name of the traffic policy.

" + }, + "Document": { + "shape": "TrafficPolicyDocument", + "documentation": "

The definition of this traffic policy in JSON format. For more information, see Traffic Policy Document Format.

" + }, + "Comment": { + "shape": "TrafficPolicyComment", + "documentation": "

(Optional) Any comments that you want to include about the traffic policy.

" + } + }, + "documentation": "

A complex type that contains information about the traffic policy that you want to create.

" + }, + "CreateTrafficPolicyResponse": { + "type": "structure", + "required": [ + "TrafficPolicy", + "Location" + ], + "members": { + "TrafficPolicy": { + "shape": "TrafficPolicy", + "documentation": "

A complex type that contains settings for the new traffic policy.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

A unique URL that represents a new traffic policy.

", + "location": "header", + "locationName": "Location" + } + }, + "documentation": "

A complex type that contains the response information for the CreateTrafficPolicy request.

" + }, + "CreateTrafficPolicyVersionRequest": { + "type": "structure", + "required": [ + "Id", + "Document" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy for which you want to create a new version.

", + "location": "uri", + "locationName": "Id" + }, + "Document": { + "shape": "TrafficPolicyDocument", + "documentation": "

The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy.

" + }, + "Comment": { + "shape": "TrafficPolicyComment", + "documentation": "

The comment that you specified in the CreateTrafficPolicyVersion request, if any.

" + } + }, + "documentation": "

A complex type that contains information about the traffic policy that you want to create a new version for.

" + }, + "CreateTrafficPolicyVersionResponse": { + "type": "structure", + "required": [ + "TrafficPolicy", + "Location" + ], + "members": { + "TrafficPolicy": { + "shape": "TrafficPolicy", + "documentation": "

A complex type that contains settings for the new version of the traffic policy.

" + }, + "Location": { + "shape": "ResourceURI", + "documentation": "

A unique URL that represents a new traffic policy version.

", + "location": "header", + "locationName": "Location" + } + }, + "documentation": "

A complex type that contains the response information for the CreateTrafficPolicyVersion request.

" + }, + "CreateVPCAssociationAuthorizationRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "VPC" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the private hosted zone that you want to authorize associating a VPC with.

", + "location": "uri", + "locationName": "Id" + }, + "VPC": { + "shape": "VPC", + "documentation": "

A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.

" + } + }, + "documentation": "

A complex type that contains information about the request to authorize associating a VPC with your private hosted zone. Authorization is only required when a private hosted zone and a VPC were created by using different accounts.

" + }, + "CreateVPCAssociationAuthorizationResponse": { + "type": "structure", + "required": [ + "HostedZoneId", + "VPC" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you authorized associating a VPC with.

" + }, + "VPC": { + "shape": "VPC", + "documentation": "

The VPC that you authorized associating with a hosted zone.

" + } + }, + "documentation": "

A complex type that contains the response information from a CreateVPCAssociationAuthorization request.

" + }, + "DNSName": { + "type": "string", + "max": 1024 + }, + "DNSRCode": { + "type": "string" + }, + "DelegationSet": { + "type": "structure", + "required": [ + "NameServers" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID that Amazon Route 53 assigns to a reusable delegation set.

" + }, + "CallerReference": { + "shape": "Nonce", + "documentation": "

The value that you specified for CallerReference when you created the reusable delegation set.

" + }, + "NameServers": { + "shape": "DelegationSetNameServers", + "documentation": "

A complex type that contains a list of the authoritative name servers for a hosted zone or for a reusable delegation set.

" + } + }, + "documentation": "

A complex type that lists the name servers in a delegation set, as well as the CallerReference and the ID for the delegation set.

" + }, + "DelegationSetNameServers": { + "type": "list", + "member": { + "shape": "DNSName", + "locationName": "NameServer" + }, + "min": 1 + }, + "DelegationSets": { + "type": "list", + "member": { + "shape": "DelegationSet", + "locationName": "DelegationSet" + } + }, + "DeleteHealthCheckRequest": { + "type": "structure", + "required": [ + "HealthCheckId" + ], + "members": { + "HealthCheckId": { + "shape": "HealthCheckId", + "documentation": "

The ID of the health check that you want to delete.

", + "location": "uri", + "locationName": "HealthCheckId" + } + }, + "documentation": "

This action deletes a health check.

" + }, + "DeleteHealthCheckResponse": { + "type": "structure", + "members": {}, + "documentation": "

An empty element.

" + }, + "DeleteHostedZoneRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone you want to delete.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A request to delete a hosted zone.

" + }, + "DeleteHostedZoneResponse": { + "type": "structure", + "required": [ + "ChangeInfo" + ], + "members": { + "ChangeInfo": { + "shape": "ChangeInfo", + "documentation": "

A complex type that contains the ID, the status, and the date and time of a request to delete a hosted zone.

" + } + }, + "documentation": "

A complex type that contains the response to a DeleteHostedZone request.

" + }, + "DeleteQueryLoggingConfigRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "QueryLoggingConfigId", + "documentation": "

The ID of the configuration that you want to delete.

", + "location": "uri", + "locationName": "Id" + } + } + }, + "DeleteQueryLoggingConfigResponse": { + "type": "structure", + "members": {} + }, + "DeleteReusableDelegationSetRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID of the reusable delegation set that you want to delete.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A request to delete a reusable delegation set.

" + }, + "DeleteReusableDelegationSetResponse": { + "type": "structure", + "members": {}, + "documentation": "

An empty element.

" + }, + "DeleteTrafficPolicyInstanceRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "TrafficPolicyInstanceId", + "documentation": "

The ID of the traffic policy instance that you want to delete.

When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A request to delete a specified traffic policy instance.

" + }, + "DeleteTrafficPolicyInstanceResponse": { + "type": "structure", + "members": {}, + "documentation": "

An empty element.

" + }, + "DeleteTrafficPolicyRequest": { + "type": "structure", + "required": [ + "Id", + "Version" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy that you want to delete.

", + "location": "uri", + "locationName": "Id" + }, + "Version": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version number of the traffic policy that you want to delete.

", + "location": "uri", + "locationName": "Version" + } + }, + "documentation": "

A request to delete a specified traffic policy version.

" + }, + "DeleteTrafficPolicyResponse": { + "type": "structure", + "members": {}, + "documentation": "

An empty element.

" + }, + "DeleteVPCAssociationAuthorizationRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "VPC" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.

", + "location": "uri", + "locationName": "Id" + }, + "VPC": { + "shape": "VPC", + "documentation": "

When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.

" + } + }, + "documentation": "

A complex type that contains information about the request to remove authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account.

" + }, + "DeleteVPCAssociationAuthorizationResponse": { + "type": "structure", + "members": {}, + "documentation": "

Empty response for the request.

" + }, + "Dimension": { + "type": "structure", + "required": [ + "Name", + "Value" + ], + "members": { + "Name": { + "shape": "DimensionField", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the name of one dimension.

" + }, + "Value": { + "shape": "DimensionField", + "documentation": "

For the metric that the CloudWatch alarm is associated with, the value of one dimension.

" + } + }, + "documentation": "

For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.

" + }, + "DimensionField": { + "type": "string", + "max": 255, + "min": 1 + }, + "DimensionList": { + "type": "list", + "member": { + "shape": "Dimension", + "locationName": "Dimension" + }, + "max": 10 + }, + "Disabled": { + "type": "boolean" + }, + "DisassociateVPCComment": { + "type": "string" + }, + "DisassociateVPCFromHostedZoneRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "VPC" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the private hosted zone that you want to disassociate a VPC from.

", + "location": "uri", + "locationName": "Id" + }, + "VPC": { + "shape": "VPC", + "documentation": "

A complex type that contains information about the VPC that you're disassociating from the specified hosted zone.

" + }, + "Comment": { + "shape": "DisassociateVPCComment", + "documentation": "

Optional: A comment about the disassociation request.

" + } + }, + "documentation": "

A complex type that contains information about the VPC that you want to disassociate from a specified private hosted zone.

" + }, + "DisassociateVPCFromHostedZoneResponse": { + "type": "structure", + "required": [ + "ChangeInfo" + ], + "members": { + "ChangeInfo": { + "shape": "ChangeInfo", + "documentation": "

A complex type that describes the changes made to the specified private hosted zone.

" + } + }, + "documentation": "

A complex type that contains the response information for the disassociate request.

" + }, + "EnableSNI": { + "type": "boolean" + }, + "EvaluationPeriods": { + "type": "integer", + "min": 1 + }, + "FailureThreshold": { + "type": "integer", + "max": 10, + "min": 1 + }, + "FullyQualifiedDomainName": { + "type": "string", + "max": 255 + }, + "GeoLocation": { + "type": "structure", + "members": { + "ContinentCode": { + "shape": "GeoLocationContinentCode", + "documentation": "

The two-letter code for the continent.

Amazon Route 53 supports the following continent codes:

Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

" + }, + "CountryCode": { + "shape": "GeoLocationCountryCode", + "documentation": "

For geolocation resource record sets, the two-letter code for a country.

Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.

" + }, + "SubdivisionCode": { + "shape": "GeoLocationSubdivisionCode", + "documentation": "

For geolocation resource record sets, the two-letter code for a state of the United States. Route 53 doesn't support any other values for SubdivisionCode. For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website.

If you specify subdivisioncode, you must also specify US for CountryCode.

" + } + }, + "documentation": "

A complex type that contains information about a geographic location.

" + }, + "GeoLocationContinentCode": { + "type": "string", + "max": 2, + "min": 2 + }, + "GeoLocationContinentName": { + "type": "string", + "max": 32, + "min": 1 + }, + "GeoLocationCountryCode": { + "type": "string", + "max": 2, + "min": 1 + }, + "GeoLocationCountryName": { + "type": "string", + "max": 64, + "min": 1 + }, + "GeoLocationDetails": { + "type": "structure", + "members": { + "ContinentCode": { + "shape": "GeoLocationContinentCode", + "documentation": "

The two-letter code for the continent.

" + }, + "ContinentName": { + "shape": "GeoLocationContinentName", + "documentation": "

The full name of the continent.

" + }, + "CountryCode": { + "shape": "GeoLocationCountryCode", + "documentation": "

The two-letter code for the country.

" + }, + "CountryName": { + "shape": "GeoLocationCountryName", + "documentation": "

The name of the country.

" + }, + "SubdivisionCode": { + "shape": "GeoLocationSubdivisionCode", + "documentation": "

The code for the subdivision. Route 53 currently supports only states in the United States.

" + }, + "SubdivisionName": { + "shape": "GeoLocationSubdivisionName", + "documentation": "

The full name of the subdivision. Route 53 currently supports only states in the United States.

" + } + }, + "documentation": "

A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.

" + }, + "GeoLocationDetailsList": { + "type": "list", + "member": { + "shape": "GeoLocationDetails", + "locationName": "GeoLocationDetails" + } + }, + "GeoLocationSubdivisionCode": { + "type": "string", + "max": 3, + "min": 1 + }, + "GeoLocationSubdivisionName": { + "type": "string", + "max": 64, + "min": 1 + }, + "GetAccountLimitRequest": { + "type": "structure", + "required": [ + "Type" + ], + "members": { + "Type": { + "shape": "AccountLimitType", + "documentation": "

The limit that you want to get. Valid values include the following:

", + "location": "uri", + "locationName": "Type" + } + }, + "documentation": "

A complex type that contains information about the request to create a hosted zone.

" + }, + "GetAccountLimitResponse": { + "type": "structure", + "required": [ + "Limit", + "Count" + ], + "members": { + "Limit": { + "shape": "AccountLimit", + "documentation": "

The current setting for the specified limit. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Limit is the maximum number of health checks that you can create using the current account.

" + }, + "Count": { + "shape": "UsageCount", + "documentation": "

The current number of entities that you have created of the specified type. For example, if you specified MAX_HEALTH_CHECKS_BY_OWNER for the value of Type in the request, the value of Count is the current number of health checks that you have created using the current account.

" + } + }, + "documentation": "

A complex type that contains the requested limit.

" + }, + "GetChangeRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID of the change batch request. The value that you specify here is the value that ChangeResourceRecordSets returned in the Id element when you submitted the request.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

The input for a GetChange request.

" + }, + "GetChangeResponse": { + "type": "structure", + "required": [ + "ChangeInfo" + ], + "members": { + "ChangeInfo": { + "shape": "ChangeInfo", + "documentation": "

A complex type that contains information about the specified change batch.

" + } + }, + "documentation": "

A complex type that contains the ChangeInfo element.

" + }, + "GetCheckerIpRangesRequest": { + "type": "structure", + "members": {}, + "documentation": "

Empty request.

" + }, + "GetCheckerIpRangesResponse": { + "type": "structure", + "required": [ + "CheckerIpRanges" + ], + "members": { + "CheckerIpRanges": { + "shape": "CheckerIpRanges", + "documentation": "

A complex type that contains sorted list of IP ranges in CIDR format for Amazon Route 53 health checkers.

" + } + }, + "documentation": "

A complex type that contains the CheckerIpRanges element.

" + }, + "GetGeoLocationRequest": { + "type": "structure", + "members": { + "ContinentCode": { + "shape": "GeoLocationContinentCode", + "documentation": "

For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:

", + "location": "querystring", + "locationName": "continentcode" + }, + "CountryCode": { + "shape": "GeoLocationCountryCode", + "documentation": "

Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.

", + "location": "querystring", + "locationName": "countrycode" + }, + "SubdivisionCode": { + "shape": "GeoLocationSubdivisionCode", + "documentation": "

For SubdivisionCode, Amazon Route 53 supports only states of the United States. For a list of state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website.

If you specify subdivisioncode, you must also specify US for CountryCode.

", + "location": "querystring", + "locationName": "subdivisioncode" + } + }, + "documentation": "

A request for information about whether a specified geographic location is supported for Amazon Route 53 geolocation resource record sets.

" + }, + "GetGeoLocationResponse": { + "type": "structure", + "required": [ + "GeoLocationDetails" + ], + "members": { + "GeoLocationDetails": { + "shape": "GeoLocationDetails", + "documentation": "

A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code.

" + } + }, + "documentation": "

A complex type that contains the response information for the specified geolocation code.

" + }, + "GetHealthCheckCountRequest": { + "type": "structure", + "members": {}, + "documentation": "

A request for the number of health checks that are associated with the current AWS account.

" + }, + "GetHealthCheckCountResponse": { + "type": "structure", + "required": [ + "HealthCheckCount" + ], + "members": { + "HealthCheckCount": { + "shape": "HealthCheckCount", + "documentation": "

The number of health checks associated with the current AWS account.

" + } + }, + "documentation": "

A complex type that contains the response to a GetHealthCheckCount request.

" + }, + "GetHealthCheckLastFailureReasonRequest": { + "type": "structure", + "required": [ + "HealthCheckId" + ], + "members": { + "HealthCheckId": { + "shape": "HealthCheckId", + "documentation": "

The ID for the health check for which you want the last failure reason. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckLastFailureReason for a calculated health check.

", + "location": "uri", + "locationName": "HealthCheckId" + } + }, + "documentation": "

A request for the reason that a health check failed most recently.

" + }, + "GetHealthCheckLastFailureReasonResponse": { + "type": "structure", + "required": [ + "HealthCheckObservations" + ], + "members": { + "HealthCheckObservations": { + "shape": "HealthCheckObservations", + "documentation": "

A list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.

" + } + }, + "documentation": "

A complex type that contains the response to a GetHealthCheckLastFailureReason request.

" + }, + "GetHealthCheckRequest": { + "type": "structure", + "required": [ + "HealthCheckId" + ], + "members": { + "HealthCheckId": { + "shape": "HealthCheckId", + "documentation": "

The identifier that Amazon Route 53 assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

", + "location": "uri", + "locationName": "HealthCheckId" + } + }, + "documentation": "

A request to get information about a specified health check.

" + }, + "GetHealthCheckResponse": { + "type": "structure", + "required": [ + "HealthCheck" + ], + "members": { + "HealthCheck": { + "shape": "HealthCheck", + "documentation": "

A complex type that contains information about one health check that is associated with the current AWS account.

" + } + }, + "documentation": "

A complex type that contains the response to a GetHealthCheck request.

" + }, + "GetHealthCheckStatusRequest": { + "type": "structure", + "required": [ + "HealthCheckId" + ], + "members": { + "HealthCheckId": { + "shape": "HealthCheckId", + "documentation": "

The ID for the health check that you want the current status for. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

If you want to check the status of a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckStatus to get the status of a calculated health check.

", + "location": "uri", + "locationName": "HealthCheckId" + } + }, + "documentation": "

A request to get the status for a health check.

" + }, + "GetHealthCheckStatusResponse": { + "type": "structure", + "required": [ + "HealthCheckObservations" + ], + "members": { + "HealthCheckObservations": { + "shape": "HealthCheckObservations", + "documentation": "

A list that contains one HealthCheckObservation element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint.

" + } + }, + "documentation": "

A complex type that contains the response to a GetHealthCheck request.

" + }, + "GetHostedZoneCountRequest": { + "type": "structure", + "members": {}, + "documentation": "

A request to retrieve a count of all the hosted zones that are associated with the current AWS account.

" + }, + "GetHostedZoneCountResponse": { + "type": "structure", + "required": [ + "HostedZoneCount" + ], + "members": { + "HostedZoneCount": { + "shape": "HostedZoneCount", + "documentation": "

The total number of public and private hosted zones that are associated with the current AWS account.

" + } + }, + "documentation": "

A complex type that contains the response to a GetHostedZoneCount request.

" + }, + "GetHostedZoneLimitRequest": { + "type": "structure", + "required": [ + "Type", + "HostedZoneId" + ], + "members": { + "Type": { + "shape": "HostedZoneLimitType", + "documentation": "

The limit that you want to get. Valid values include the following:

", + "location": "uri", + "locationName": "Type" + }, + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you want to get a limit for.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A complex type that contains information about the request to create a hosted zone.

" + }, + "GetHostedZoneLimitResponse": { + "type": "structure", + "required": [ + "Limit", + "Count" + ], + "members": { + "Limit": { + "shape": "HostedZoneLimit", + "documentation": "

The current setting for the specified limit. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Limit is the maximum number of records that you can create in the specified hosted zone.

" + }, + "Count": { + "shape": "UsageCount", + "documentation": "

The current number of entities that you have created of the specified type. For example, if you specified MAX_RRSETS_BY_ZONE for the value of Type in the request, the value of Count is the current number of records that you have created in the specified hosted zone.

" + } + }, + "documentation": "

A complex type that contains the requested limit.

" + }, + "GetHostedZoneRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you want to get information about.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A request to get information about a specified hosted zone.

" + }, + "GetHostedZoneResponse": { + "type": "structure", + "required": [ + "HostedZone" + ], + "members": { + "HostedZone": { + "shape": "HostedZone", + "documentation": "

A complex type that contains general information about the specified hosted zone.

" + }, + "DelegationSet": { + "shape": "DelegationSet", + "documentation": "

A complex type that lists the Amazon Route 53 name servers for the specified hosted zone.

" + }, + "VPCs": { + "shape": "VPCs", + "documentation": "

A complex type that contains information about the VPCs that are associated with the specified hosted zone.

" + } + }, + "documentation": "

A complex type that contain the response to a GetHostedZone request.

" + }, + "GetQueryLoggingConfigRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "QueryLoggingConfigId", + "documentation": "

The ID of the configuration for DNS query logging that you want to get information about.

", + "location": "uri", + "locationName": "Id" + } + } + }, + "GetQueryLoggingConfigResponse": { + "type": "structure", + "required": [ + "QueryLoggingConfig" + ], + "members": { + "QueryLoggingConfig": { + "shape": "QueryLoggingConfig", + "documentation": "

A complex type that contains information about the query logging configuration that you specified in a GetQueryLoggingConfig request.

" + } + } + }, + "GetReusableDelegationSetLimitRequest": { + "type": "structure", + "required": [ + "Type", + "DelegationSetId" + ], + "members": { + "Type": { + "shape": "ReusableDelegationSetLimitType", + "documentation": "

Specify MAX_ZONES_BY_REUSABLE_DELEGATION_SET to get the maximum number of hosted zones that you can associate with the specified reusable delegation set.

", + "location": "uri", + "locationName": "Type" + }, + "DelegationSetId": { + "shape": "ResourceId", + "documentation": "

The ID of the delegation set that you want to get the limit for.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A complex type that contains information about the request to create a hosted zone.

" + }, + "GetReusableDelegationSetLimitResponse": { + "type": "structure", + "required": [ + "Limit", + "Count" + ], + "members": { + "Limit": { + "shape": "ReusableDelegationSetLimit", + "documentation": "

The current setting for the limit on hosted zones that you can associate with the specified reusable delegation set.

" + }, + "Count": { + "shape": "UsageCount", + "documentation": "

The current number of hosted zones that you can associate with the specified reusable delegation set.

" + } + }, + "documentation": "

A complex type that contains the requested limit.

" + }, + "GetReusableDelegationSetRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID of the reusable delegation set that you want to get a list of name servers for.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

A request to get information about a specified reusable delegation set.

" + }, + "GetReusableDelegationSetResponse": { + "type": "structure", + "required": [ + "DelegationSet" + ], + "members": { + "DelegationSet": { + "shape": "DelegationSet", + "documentation": "

A complex type that contains information about the reusable delegation set.

" + } + }, + "documentation": "

A complex type that contains the response to the GetReusableDelegationSet request.

" + }, + "GetTrafficPolicyInstanceCountRequest": { + "type": "structure", + "members": {}, + "documentation": "

Request to get the number of traffic policy instances that are associated with the current AWS account.

" + }, + "GetTrafficPolicyInstanceCountResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstanceCount" + ], + "members": { + "TrafficPolicyInstanceCount": { + "shape": "TrafficPolicyInstanceCount", + "documentation": "

The number of traffic policy instances that are associated with the current AWS account.

" + } + }, + "documentation": "

A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.

" + }, + "GetTrafficPolicyInstanceRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "TrafficPolicyInstanceId", + "documentation": "

The ID of the traffic policy instance that you want to get information about.

", + "location": "uri", + "locationName": "Id" + } + }, + "documentation": "

Gets information about a specified traffic policy instance.

" + }, + "GetTrafficPolicyInstanceResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstance" + ], + "members": { + "TrafficPolicyInstance": { + "shape": "TrafficPolicyInstance", + "documentation": "

A complex type that contains settings for the traffic policy instance.

" + } + }, + "documentation": "

A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.

" + }, + "GetTrafficPolicyRequest": { + "type": "structure", + "required": [ + "Id", + "Version" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy that you want to get information about.

", + "location": "uri", + "locationName": "Id" + }, + "Version": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version number of the traffic policy that you want to get information about.

", + "location": "uri", + "locationName": "Version" + } + }, + "documentation": "

Gets information about a specific traffic policy version.

" + }, + "GetTrafficPolicyResponse": { + "type": "structure", + "required": [ + "TrafficPolicy" + ], + "members": { + "TrafficPolicy": { + "shape": "TrafficPolicy", + "documentation": "

A complex type that contains settings for the specified traffic policy.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "HealthCheck": { + "type": "structure", + "required": [ + "Id", + "CallerReference", + "HealthCheckConfig", + "HealthCheckVersion" + ], + "members": { + "Id": { + "shape": "HealthCheckId", + "documentation": "

The identifier that Amazon Route 53assigned to the health check when you created it. When you add or update a resource record set, you use this value to specify which health check to use. The value can be up to 64 characters long.

" + }, + "CallerReference": { + "shape": "HealthCheckNonce", + "documentation": "

A unique string that you specified when you created the health check.

" + }, + "LinkedService": { + "shape": "LinkedService", + "documentation": "

If the health check was created by another service, the service that created the health check. When a health check is created by another service, you can't edit or delete it using Amazon Route 53.

" + }, + "HealthCheckConfig": { + "shape": "HealthCheckConfig", + "documentation": "

A complex type that contains detailed information about one health check.

" + }, + "HealthCheckVersion": { + "shape": "HealthCheckVersion", + "documentation": "

The version of the health check. You can optionally pass this value in a call to UpdateHealthCheck to prevent overwriting another change to the health check.

" + }, + "CloudWatchAlarmConfiguration": { + "shape": "CloudWatchAlarmConfiguration", + "documentation": "

A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check.

" + } + }, + "documentation": "

A complex type that contains information about one health check that is associated with the current AWS account.

" + }, + "HealthCheckConfig": { + "type": "structure", + "required": [ + "Type" + ], + "members": { + "IPAddress": { + "shape": "IPAddress", + "documentation": "

The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for IPAddress, Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName at the interval that you specify in RequestInterval. Using an IP address returned by DNS, Route 53 then checks the health of the endpoint.

Use one of the following formats for the value of IPAddress:

If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for IPAddress. This ensures that the IP address of your instance will never change.

For more information, see FullyQualifiedDomainName.

Constraints: Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents:

When the value of Type is CALCULATED or CLOUDWATCH_METRIC, omit IPAddress.

" + }, + "Port": { + "shape": "Port", + "documentation": "

The port on the endpoint that you want Amazon Route 53 to perform health checks on.

Don't specify a value for Port when you specify a value for Type of CLOUDWATCH_METRIC or CALCULATED.

" + }, + "Type": { + "shape": "HealthCheckType", + "documentation": "

The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy.

You can't change the value of Type after you create a health check.

You can create the following types of health checks:

For more information, see How Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.

" + }, + "ResourcePath": { + "shape": "ResourcePath", + "documentation": "

The path, if any, that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example, the file /docs/route53-health-check.html. You can also include query string parameters, for example, /welcome.html?language=jp&login=y.

" + }, + "FullyQualifiedDomainName": { + "shape": "FullyQualifiedDomainName", + "documentation": "

Amazon Route 53 behavior depends on whether you specify a value for IPAddress.

If you specify a value for IPAddress:

Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName in the Host header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Route 53 to perform health checks.

When Route 53 checks the health of an endpoint, here is how it constructs the Host header:

If you don't specify a value for FullyQualifiedDomainName, Route 53 substitutes the value of IPAddress in the Host header in each of the preceding cases.

If you don't specify a value for IPAddress :

Route 53 sends a DNS request to the domain that you specify for FullyQualifiedDomainName at the interval that you specify for RequestInterval. Using an IPv4 address that DNS returns, Route 53 then checks the health of the endpoint.

If you don't specify a value for IPAddress, Route 53 uses only IPv4 to send health checks to the endpoint. If there's no resource record set with a type of A for the name that you specify for FullyQualifiedDomainName, the health check fails with a \"DNS resolution failed\" error.

If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by FullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com).

In this configuration, if you create a health check for which the value of FullyQualifiedDomainName matches the name of the resource record sets and you then associate the health check with those resource record sets, health check results will be unpredictable.

In addition, if the value that you specify for Type is HTTP, HTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH, Route 53 passes the value of FullyQualifiedDomainName in the Host header, as it does when you specify a value for IPAddress. If the value of Type is TCP, Route 53 doesn't pass a Host header.

" + }, + "SearchString": { + "shape": "SearchString", + "documentation": "

If the value of Type is HTTP_STR_MATCH or HTTPS_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Route 53 considers the resource healthy.

Route 53 considers case when searching for SearchString in the response body.

" + }, + "RequestInterval": { + "shape": "RequestInterval", + "documentation": "

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.

You can't change the value of RequestInterval after you create a health check.

If you don't specify a value for RequestInterval, the default value is 30 seconds.

" + }, + "FailureThreshold": { + "shape": "FailureThreshold", + "documentation": "

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 How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.

If you don't specify a value for FailureThreshold, the default value is three health checks.

" + }, + "MeasureLatency": { + "shape": "MeasureLatency", + "documentation": "

Specify whether you want Amazon Route 53 to measure the latency between health checkers in multiple AWS regions and your endpoint, and to display CloudWatch latency graphs on the Health Checks page in the Route 53 console.

You can't change the value of MeasureLatency after you create a health check.

" + }, + "Inverted": { + "shape": "Inverted", + "documentation": "

Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy.

" + }, + "Disabled": { + "shape": "Disabled", + "documentation": "

Stops Route 53 from performing health checks. When you disable a health check, here's what happens:

After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of Inverted.

Charges for a health check still apply when the health check is disabled. For more information, see Amazon Route 53 Pricing.

" + }, + "HealthThreshold": { + "shape": "HealthThreshold", + "documentation": "

The number of child health checks that are associated with a CALCULATED health check that Amazon Route 53 must consider healthy for the CALCULATED health check to be considered healthy. To specify the child health checks that you want to associate with a CALCULATED health check, use the ChildHealthChecks element.

Note the following:

" + }, + "ChildHealthChecks": { + "shape": "ChildHealthCheckList", + "documentation": "

(CALCULATED Health Checks Only) A complex type that contains one ChildHealthCheck element for each health check that you want to associate with a CALCULATED health check.

" + }, + "EnableSNI": { + "shape": "EnableSNI", + "documentation": "

Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello message during TLS negotiation. This allows the endpoint to respond to HTTPS health check requests with the applicable SSL/TLS certificate.

Some endpoints require that HTTPS requests include the host name in the client_hello message. If you don't enable SNI, the status of the health check will be SSL alert handshake_failure. A health check can also have that status for other reasons. If SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid.

The SSL/TLS certificate on your endpoint includes a domain name in the Common Name field and possibly several more in the Subject Alternative Names field. One of the domain names in the certificate should match the value that you specify for FullyQualifiedDomainName. If the endpoint responds to the client_hello message with a certificate that does not include the domain name that you specified in FullyQualifiedDomainName, a health checker will retry the handshake. In the second attempt, the health checker will omit FullyQualifiedDomainName from the client_hello message.

" + }, + "Regions": { + "shape": "HealthCheckRegionList", + "documentation": "

A complex type that contains one Region element for each region from which you want Amazon Route 53 health checkers to check the specified endpoint.

If you don't specify any regions, Route 53 health checkers automatically performs checks from all of the regions that are listed under Valid Values.

If you update a health check to remove a region that has been performing health checks, Route 53 will briefly continue to perform checks from that region to ensure that some health checkers are always checking the endpoint (for example, if you replace three regions with four different regions).

" + }, + "AlarmIdentifier": { + "shape": "AlarmIdentifier", + "documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy.

" + }, + "InsufficientDataHealthStatus": { + "shape": "InsufficientDataHealthStatus", + "documentation": "

When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check:

" + } + }, + "documentation": "

A complex type that contains information about the health check.

" + }, + "HealthCheckCount": { + "type": "long" + }, + "HealthCheckId": { + "type": "string", + "max": 64 + }, + "HealthCheckNonce": { + "type": "string", + "max": 64, + "min": 1 + }, + "HealthCheckObservation": { + "type": "structure", + "members": { + "Region": { + "shape": "HealthCheckRegion", + "documentation": "

The region of the Amazon Route 53 health checker that provided the status in StatusReport.

" + }, + "IPAddress": { + "shape": "IPAddress", + "documentation": "

The IP address of the Amazon Route 53 health checker that provided the failure reason in StatusReport.

" + }, + "StatusReport": { + "shape": "StatusReport", + "documentation": "

A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker and the time of the failed health check.

" + } + }, + "documentation": "

A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker.

" + }, + "HealthCheckObservations": { + "type": "list", + "member": { + "shape": "HealthCheckObservation", + "locationName": "HealthCheckObservation" + } + }, + "HealthCheckRegion": { + "type": "string", + "enum": [ + "us-east-1", + "us-west-1", + "us-west-2", + "eu-west-1", + "ap-southeast-1", + "ap-southeast-2", + "ap-northeast-1", + "sa-east-1" + ], + "max": 64, + "min": 1 + }, + "HealthCheckRegionList": { + "type": "list", + "member": { + "shape": "HealthCheckRegion", + "locationName": "Region" + }, + "max": 64, + "min": 3 + }, + "HealthCheckType": { + "type": "string", + "enum": [ + "HTTP", + "HTTPS", + "HTTP_STR_MATCH", + "HTTPS_STR_MATCH", + "TCP", + "CALCULATED", + "CLOUDWATCH_METRIC" + ] + }, + "HealthCheckVersion": { + "type": "long", + "min": 1 + }, + "HealthChecks": { + "type": "list", + "member": { + "shape": "HealthCheck", + "locationName": "HealthCheck" + } + }, + "HealthThreshold": { + "type": "integer", + "max": 256, + "min": 0 + }, + "HostedZone": { + "type": "structure", + "required": [ + "Id", + "Name", + "CallerReference" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID that Amazon Route 53 assigned to the hosted zone when you created it.

" + }, + "Name": { + "shape": "DNSName", + "documentation": "

The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see CreateHostedZone.

" + }, + "CallerReference": { + "shape": "Nonce", + "documentation": "

The value that you specified for CallerReference when you created the hosted zone.

" + }, + "Config": { + "shape": "HostedZoneConfig", + "documentation": "

A complex type that includes the Comment and PrivateZone elements. If you omitted the HostedZoneConfig and Comment elements from the request, the Config and Comment elements don't appear in the response.

" + }, + "ResourceRecordSetCount": { + "shape": "HostedZoneRRSetCount", + "documentation": "

The number of resource record sets in the hosted zone.

" + }, + "LinkedService": { + "shape": "LinkedService", + "documentation": "

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.

" + } + }, + "documentation": "

A complex type that contains general information about the hosted zone.

" + }, + "HostedZoneConfig": { + "type": "structure", + "members": { + "Comment": { + "shape": "ResourceDescription", + "documentation": "

Any comments that you want to include about the hosted zone.

" + }, + "PrivateZone": { + "shape": "IsPrivateZone", + "documentation": "

A value that indicates whether this is a private hosted zone.

" + } + }, + "documentation": "

A complex type that contains an optional comment about your hosted zone. If you don't want to specify a comment, omit both the HostedZoneConfig and Comment elements.

" + }, + "HostedZoneCount": { + "type": "long" + }, + "HostedZoneLimit": { + "type": "structure", + "required": [ + "Type", + "Value" + ], + "members": { + "Type": { + "shape": "HostedZoneLimitType", + "documentation": "

The limit that you requested. Valid values include the following:

" + }, + "Value": { + "shape": "LimitValue", + "documentation": "

The current value for the limit that is specified by Type.

" + } + }, + "documentation": "

A complex type that contains the type of limit that you specified in the request and the current value for that limit.

" + }, + "HostedZoneLimitType": { + "type": "string", + "enum": [ + "MAX_RRSETS_BY_ZONE", + "MAX_VPCS_ASSOCIATED_BY_ZONE" + ] + }, + "HostedZoneRRSetCount": { + "type": "long" + }, + "HostedZones": { + "type": "list", + "member": { + "shape": "HostedZone", + "locationName": "HostedZone" + } + }, + "IPAddress": { + "type": "string", + "max": 45, + "pattern": "(^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$)" + }, + "IPAddressCidr": { + "type": "string" + }, + "InsufficientDataHealthStatus": { + "type": "string", + "enum": [ + "Healthy", + "Unhealthy", + "LastKnownStatus" + ] + }, + "Inverted": { + "type": "boolean" + }, + "IsPrivateZone": { + "type": "boolean" + }, + "LimitValue": { + "type": "long", + "min": 1 + }, + "LinkedService": { + "type": "structure", + "members": { + "ServicePrincipal": { + "shape": "ServicePrincipal", + "documentation": "

If the health check or hosted zone was created by another service, the service that created the resource. When a resource is created by another service, you can't edit or delete it using Amazon Route 53.

" + }, + "Description": { + "shape": "ResourceDescription", + "documentation": "

If the health check or hosted zone was created by another service, an optional description that can be provided by the other service. When a resource is created by another service, you can't edit or delete it using Amazon Route 53.

" + } + }, + "documentation": "

If a health check or hosted zone was created by another service, LinkedService is a complex type that describes the service that created the resource. When a resource is created by another service, you can't edit or delete it using Amazon Route 53.

" + }, + "ListGeoLocationsRequest": { + "type": "structure", + "members": { + "StartContinentCode": { + "shape": "GeoLocationContinentCode", + "documentation": "

The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextContinentCode from the previous response has a value, enter that value in startcontinentcode to return the next page of results.

Include startcontinentcode only if you want to list continents. Don't include startcontinentcode when you're listing countries or countries with their subdivisions.

", + "location": "querystring", + "locationName": "startcontinentcode" + }, + "StartCountryCode": { + "shape": "GeoLocationCountryCode", + "documentation": "

The code for the country with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextCountryCode from the previous response has a value, enter that value in startcountrycode to return the next page of results.

", + "location": "querystring", + "locationName": "startcountrycode" + }, + "StartSubdivisionCode": { + "shape": "GeoLocationSubdivisionCode", + "documentation": "

The code for the state of the United States with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Route 53 has already returned a page or more of results, if IsTruncated is true, and if NextSubdivisionCode from the previous response has a value, enter that value in startsubdivisioncode to return the next page of results.

To list subdivisions (U.S. states), you must include both startcountrycode and startsubdivisioncode.

", + "location": "querystring", + "locationName": "startsubdivisioncode" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

(Optional) The maximum number of geolocations to be included in the response body for this request. If more than maxitems geolocations remain to be listed, then the value of the IsTruncated element in the response is true.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A request to get a list of geographic locations that Amazon Route 53 supports for geolocation resource record sets.

" + }, + "ListGeoLocationsResponse": { + "type": "structure", + "required": [ + "GeoLocationDetailsList", + "IsTruncated", + "MaxItems" + ], + "members": { + "GeoLocationDetailsList": { + "shape": "GeoLocationDetailsList", + "documentation": "

A complex type that contains one GeoLocationDetails element for each location that Amazon Route 53 supports for geolocation.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A value that indicates whether more locations remain to be listed after the last location in this response. If so, the value of IsTruncated is true. To get more values, submit another request and include the values of NextContinentCode, NextCountryCode, and NextSubdivisionCode in the startcontinentcode, startcountrycode, and startsubdivisioncode, as applicable.

" + }, + "NextContinentCode": { + "shape": "GeoLocationContinentCode", + "documentation": "

If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextContinentCode in the startcontinentcode parameter in another ListGeoLocations request.

" + }, + "NextCountryCode": { + "shape": "GeoLocationCountryCode", + "documentation": "

If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextCountryCode in the startcountrycode parameter in another ListGeoLocations request.

" + }, + "NextSubdivisionCode": { + "shape": "GeoLocationSubdivisionCode", + "documentation": "

If IsTruncated is true, you can make a follow-up request to display more locations. Enter the value of NextSubdivisionCode in the startsubdivisioncode parameter in another ListGeoLocations request.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for MaxItems in the request.

" + } + }, + "documentation": "

A complex type containing the response information for the request.

" + }, + "ListHealthChecksRequest": { + "type": "structure", + "members": { + "Marker": { + "shape": "PageMarker", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more health checks. To get another group, submit another ListHealthChecks request.

For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first health check that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more health checks to get.

", + "location": "querystring", + "locationName": "marker" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of health checks that you want ListHealthChecks to return in response to the current request. Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Route 53 returns only the first 100 health checks.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A request to retrieve a list of the health checks that are associated with the current AWS account.

" + }, + "ListHealthChecksResponse": { + "type": "structure", + "required": [ + "HealthChecks", + "Marker", + "IsTruncated", + "MaxItems" + ], + "members": { + "HealthChecks": { + "shape": "HealthChecks", + "documentation": "

A complex type that contains one HealthCheck element for each health check that is associated with the current AWS account.

" + }, + "Marker": { + "shape": "PageMarker", + "documentation": "

For the second and subsequent calls to ListHealthChecks, Marker is the value that you specified for the marker parameter in the previous request.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more health checks to be listed. If the response was truncated, you can get the next group of health checks by submitting another ListHealthChecks request and specifying the value of NextMarker in the marker parameter.

" + }, + "NextMarker": { + "shape": "PageMarker", + "documentation": "

If IsTruncated is true, the value of NextMarker identifies the first health check that Amazon Route 53 returns if you submit another ListHealthChecks request and specify the value of NextMarker in the marker parameter.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the maxitems parameter in the call to ListHealthChecks that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response to a ListHealthChecks request.

" + }, + "ListHostedZonesByNameRequest": { + "type": "structure", + "members": { + "DNSName": { + "shape": "DNSName", + "documentation": "

(Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the dnsname parameter, Amazon Route 53 returns all of the hosted zones that were created by the current AWS account, in ASCII order. For subsequent requests, include both dnsname and hostedzoneid parameters. For dnsname, specify the value of NextDNSName from the previous response.

", + "location": "querystring", + "locationName": "dnsname" + }, + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

(Optional) For your first request to ListHostedZonesByName, do not include the hostedzoneid parameter.

If you have more hosted zones than the value of maxitems, ListHostedZonesByName returns only the first maxitems hosted zones. To get the next group of maxitems hosted zones, submit another request to ListHostedZonesByName and include both dnsname and hostedzoneid parameters. For the value of hostedzoneid, specify the value of the NextHostedZoneId element from the previous response.

", + "location": "querystring", + "locationName": "hostedzoneid" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of hosted zones to be included in the response body for this request. If you have more than maxitems hosted zones, then the value of the IsTruncated element in the response is true, and the values of NextDNSName and NextHostedZoneId specify the first hosted zone in the next group of maxitems hosted zones.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

Retrieves a list of the public and private hosted zones that are associated with the current AWS account in ASCII order by domain name.

" + }, + "ListHostedZonesByNameResponse": { + "type": "structure", + "required": [ + "HostedZones", + "IsTruncated", + "MaxItems" + ], + "members": { + "HostedZones": { + "shape": "HostedZones", + "documentation": "

A complex type that contains general information about the hosted zone.

" + }, + "DNSName": { + "shape": "DNSName", + "documentation": "

For the second and subsequent calls to ListHostedZonesByName, DNSName is the value that you specified for the dnsname parameter in the request that produced the current response.

" + }, + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID that Amazon Route 53 assigned to the hosted zone when you created it.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more hosted zones to be listed. If the response was truncated, you can get the next group of maxitems hosted zones by calling ListHostedZonesByName again and specifying the values of NextDNSName and NextHostedZoneId elements in the dnsname and hostedzoneid parameters.

" + }, + "NextDNSName": { + "shape": "DNSName", + "documentation": "

If IsTruncated is true, the value of NextDNSName is the name of the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively.

This element is present only if IsTruncated is true.

" + }, + "NextHostedZoneId": { + "shape": "ResourceId", + "documentation": "

If IsTruncated is true, the value of NextHostedZoneId identifies the first hosted zone in the next group of maxitems hosted zones. Call ListHostedZonesByName again and specify the value of NextDNSName and NextHostedZoneId in the dnsname and hostedzoneid parameters, respectively.

This element is present only if IsTruncated is true.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the maxitems parameter in the call to ListHostedZonesByName that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "ListHostedZonesRequest": { + "type": "structure", + "members": { + "Marker": { + "shape": "PageMarker", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more hosted zones. To get more hosted zones, submit another ListHostedZones request.

For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first hosted zone that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more hosted zones to get.

", + "location": "querystring", + "locationName": "marker" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

(Optional) The maximum number of hosted zones that you want Amazon Route 53 to return. If you have more than maxitems hosted zones, the value of IsTruncated in the response is true, and the value of NextMarker is the hosted zone ID of the first hosted zone that Route 53 will return if you submit another request.

", + "location": "querystring", + "locationName": "maxitems" + }, + "DelegationSetId": { + "shape": "ResourceId", + "documentation": "

If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.

", + "location": "querystring", + "locationName": "delegationsetid" + } + }, + "documentation": "

A request to retrieve a list of the public and private hosted zones that are associated with the current AWS account.

" + }, + "ListHostedZonesResponse": { + "type": "structure", + "required": [ + "HostedZones", + "Marker", + "IsTruncated", + "MaxItems" + ], + "members": { + "HostedZones": { + "shape": "HostedZones", + "documentation": "

A complex type that contains general information about the hosted zone.

" + }, + "Marker": { + "shape": "PageMarker", + "documentation": "

For the second and subsequent calls to ListHostedZones, Marker is the value that you specified for the marker parameter in the request that produced the current response.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag indicating whether there are more hosted zones to be listed. If the response was truncated, you can get more hosted zones by submitting another ListHostedZones request and specifying the value of NextMarker in the marker parameter.

" + }, + "NextMarker": { + "shape": "PageMarker", + "documentation": "

If IsTruncated is true, the value of NextMarker identifies the first hosted zone in the next group of hosted zones. Submit another ListHostedZones request, and specify the value of NextMarker from the response in the marker parameter.

This element is present only if IsTruncated is true.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the maxitems parameter in the call to ListHostedZones that produced the current response.

" + } + } + }, + "ListQueryLoggingConfigsRequest": { + "type": "structure", + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

(Optional) If you want to list the query logging configuration that is associated with a hosted zone, specify the ID in HostedZoneId.

If you don't specify a hosted zone ID, ListQueryLoggingConfigs returns all of the configurations that are associated with the current AWS account.

", + "location": "querystring", + "locationName": "hostedzoneid" + }, + "NextToken": { + "shape": "PaginationToken", + "documentation": "

(Optional) If the current AWS account has more than MaxResults query logging configurations, use NextToken to get the second and subsequent pages of results.

For the first ListQueryLoggingConfigs request, omit this value.

For the second and subsequent requests, get the value of NextToken from the previous response and specify that value for NextToken in the request.

", + "location": "querystring", + "locationName": "nexttoken" + }, + "MaxResults": { + "shape": "MaxResults", + "documentation": "

(Optional) The maximum number of query logging configurations that you want Amazon Route 53 to return in response to the current request. If the current AWS account has more than MaxResults configurations, use the value of NextToken in the response to get the next page of results.

If you don't specify a value for MaxResults, Route 53 returns up to 100 configurations.

", + "location": "querystring", + "locationName": "maxresults" + } + } + }, + "ListQueryLoggingConfigsResponse": { + "type": "structure", + "required": [ + "QueryLoggingConfigs" + ], + "members": { + "QueryLoggingConfigs": { + "shape": "QueryLoggingConfigs", + "documentation": "

An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current AWS account.

" + }, + "NextToken": { + "shape": "PaginationToken", + "documentation": "

If a response includes the last of the query logging configurations that are associated with the current AWS account, NextToken doesn't appear in the response.

If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

" + } + } + }, + "ListResourceRecordSetsRequest": { + "type": "structure", + "required": [ + "HostedZoneId" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that contains the resource record sets that you want to list.

", + "location": "uri", + "locationName": "Id" + }, + "StartRecordName": { + "shape": "DNSName", + "documentation": "

The first name in the lexicographic ordering of resource record sets that you want to list. If the specified record name doesn't exist, the results begin with the first resource record set that has a name greater than the value of name.

", + "location": "querystring", + "locationName": "name" + }, + "StartRecordType": { + "shape": "RRType", + "documentation": "

The type of resource record set to begin the record listing from.

Valid values for basic resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT

Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT

Values for alias resource record sets:

Constraint: Specifying type without specifying name returns an InvalidInput error.

", + "location": "querystring", + "locationName": "type" + }, + "StartRecordIdentifier": { + "shape": "ResourceRecordSetIdentifier", + "documentation": "

Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

", + "location": "querystring", + "locationName": "identifier" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems resource record sets, the value of the IsTruncated element in the response is true, and the values of the NextRecordName and NextRecordType elements in the response identify the first resource record set in the next group of maxitems resource record sets.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A request for the resource record sets that are associated with a specified hosted zone.

" + }, + "ListResourceRecordSetsResponse": { + "type": "structure", + "required": [ + "ResourceRecordSets", + "IsTruncated", + "MaxItems" + ], + "members": { + "ResourceRecordSets": { + "shape": "ResourceRecordSets", + "documentation": "

Information about multiple resource record sets.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether more resource record sets remain to be listed. If your results were truncated, you can make a follow-up pagination request by using the NextRecordName element.

" + }, + "NextRecordName": { + "shape": "DNSName", + "documentation": "

If the results were truncated, the name of the next record in the list.

This element is present only if IsTruncated is true.

" + }, + "NextRecordType": { + "shape": "RRType", + "documentation": "

If the results were truncated, the type of the next record in the list.

This element is present only if IsTruncated is true.

" + }, + "NextRecordIdentifier": { + "shape": "ResourceRecordSetIdentifier", + "documentation": "

Resource record sets that have a routing policy other than simple: If results were truncated for a given DNS name and type, the value of SetIdentifier for the next resource record set that has the current DNS name and type.

For information about routing policies, see Choosing a Routing Policy in the Amazon Route 53 Developer Guide.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of records you requested.

" + } + }, + "documentation": "

A complex type that contains list information for the resource record set.

" + }, + "ListReusableDelegationSetsRequest": { + "type": "structure", + "members": { + "Marker": { + "shape": "PageMarker", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more reusable delegation sets. To get another group, submit another ListReusableDelegationSets request.

For the value of marker, specify the value of NextMarker from the previous response, which is the ID of the first reusable delegation set that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more reusable delegation sets to get.

", + "location": "querystring", + "locationName": "marker" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The number of reusable delegation sets that you want Amazon Route 53 to return in the response to this request. If you specify a value greater than 100, Route 53 returns only the first 100 reusable delegation sets.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A request to get a list of the reusable delegation sets that are associated with the current AWS account.

" + }, + "ListReusableDelegationSetsResponse": { + "type": "structure", + "required": [ + "DelegationSets", + "Marker", + "IsTruncated", + "MaxItems" + ], + "members": { + "DelegationSets": { + "shape": "DelegationSets", + "documentation": "

A complex type that contains one DelegationSet element for each reusable delegation set that was created by the current AWS account.

" + }, + "Marker": { + "shape": "PageMarker", + "documentation": "

For the second and subsequent calls to ListReusableDelegationSets, Marker is the value that you specified for the marker parameter in the request that produced the current response.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more reusable delegation sets to be listed.

" + }, + "NextMarker": { + "shape": "PageMarker", + "documentation": "

If IsTruncated is true, the value of NextMarker identifies the next reusable delegation set that Amazon Route 53 will return if you submit another ListReusableDelegationSets request and specify the value of NextMarker in the marker parameter.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the maxitems parameter in the call to ListReusableDelegationSets that produced the current response.

" + } + }, + "documentation": "

A complex type that contains information about the reusable delegation sets that are associated with the current AWS account.

" + }, + "ListTagsForResourceRequest": { + "type": "structure", + "required": [ + "ResourceType", + "ResourceId" + ], + "members": { + "ResourceType": { + "shape": "TagResourceType", + "documentation": "

The type of the resource.

", + "location": "uri", + "locationName": "ResourceType" + }, + "ResourceId": { + "shape": "TagResourceId", + "documentation": "

The ID of the resource for which you want to retrieve tags.

", + "location": "uri", + "locationName": "ResourceId" + } + }, + "documentation": "

A complex type containing information about a request for a list of the tags that are associated with an individual resource.

" + }, + "ListTagsForResourceResponse": { + "type": "structure", + "required": [ + "ResourceTagSet" + ], + "members": { + "ResourceTagSet": { + "shape": "ResourceTagSet", + "documentation": "

A ResourceTagSet containing tags associated with the specified resource.

" + } + }, + "documentation": "

A complex type that contains information about the health checks or hosted zones for which you want to list tags.

" + }, + "ListTagsForResourcesRequest": { + "type": "structure", + "required": [ + "ResourceType", + "ResourceIds" + ], + "members": { + "ResourceType": { + "shape": "TagResourceType", + "documentation": "

The type of the resources.

", + "location": "uri", + "locationName": "ResourceType" + }, + "ResourceIds": { + "shape": "TagResourceIdList", + "documentation": "

A complex type that contains the ResourceId element for each resource for which you want to get a list of tags.

" + } + }, + "documentation": "

A complex type that contains information about the health checks or hosted zones for which you want to list tags.

" + }, + "ListTagsForResourcesResponse": { + "type": "structure", + "required": [ + "ResourceTagSets" + ], + "members": { + "ResourceTagSets": { + "shape": "ResourceTagSetList", + "documentation": "

A list of ResourceTagSets containing tags associated with the specified resources.

" + } + }, + "documentation": "

A complex type containing tags for the specified resources.

" + }, + "ListTrafficPoliciesRequest": { + "type": "structure", + "members": { + "TrafficPolicyIdMarker": { + "shape": "TrafficPolicyId", + "documentation": "

(Conditional) For your first request to ListTrafficPolicies, don't include the TrafficPolicyIdMarker parameter.

If you have more traffic policies than the value of MaxItems, ListTrafficPolicies returns only the first MaxItems traffic policies. To get the next group of policies, submit another request to ListTrafficPolicies. For the value of TrafficPolicyIdMarker, specify the value of TrafficPolicyIdMarker that was returned in the previous response.

", + "location": "querystring", + "locationName": "trafficpolicyid" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

(Optional) The maximum number of traffic policies that you want Amazon Route 53 to return in response to this request. If you have more than MaxItems traffic policies, the value of IsTruncated in the response is true, and the value of TrafficPolicyIdMarker is the ID of the first traffic policy that Route 53 will return if you submit another request.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A complex type that contains the information about the request to list the traffic policies that are associated with the current AWS account.

" + }, + "ListTrafficPoliciesResponse": { + "type": "structure", + "required": [ + "TrafficPolicySummaries", + "IsTruncated", + "TrafficPolicyIdMarker", + "MaxItems" + ], + "members": { + "TrafficPolicySummaries": { + "shape": "TrafficPolicySummaries", + "documentation": "

A list that contains one TrafficPolicySummary element for each traffic policy that was created by the current AWS account.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicies request and specifying the value of TrafficPolicyIdMarker in the TrafficPolicyIdMarker request parameter.

" + }, + "TrafficPolicyIdMarker": { + "shape": "TrafficPolicyId", + "documentation": "

If the value of IsTruncated is true, TrafficPolicyIdMarker is the ID of the first traffic policy in the next group of MaxItems traffic policies.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the MaxItems parameter in the ListTrafficPolicies request that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "ListTrafficPolicyInstancesByHostedZoneRequest": { + "type": "structure", + "required": [ + "HostedZoneId" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you want to list traffic policy instances for.

", + "location": "querystring", + "locationName": "id" + }, + "TrafficPolicyInstanceNameMarker": { + "shape": "DNSName", + "documentation": "

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "trafficpolicyinstancename" + }, + "TrafficPolicyInstanceTypeMarker": { + "shape": "RRType", + "documentation": "

If the value of IsTruncated in the previous response is true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "trafficpolicyinstancetype" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A request for the traffic policy instances that you created in a specified hosted zone.

" + }, + "ListTrafficPolicyInstancesByHostedZoneResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstances", + "IsTruncated", + "MaxItems" + ], + "members": { + "TrafficPolicyInstances": { + "shape": "TrafficPolicyInstances", + "documentation": "

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

" + }, + "TrafficPolicyInstanceNameMarker": { + "shape": "DNSName", + "documentation": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of traffic policy instances.

" + }, + "TrafficPolicyInstanceTypeMarker": { + "shape": "RRType", + "documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of traffic policy instances.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by submitting another ListTrafficPolicyInstancesByHostedZone request and specifying the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the MaxItems parameter in the ListTrafficPolicyInstancesByHostedZone request that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "ListTrafficPolicyInstancesByPolicyRequest": { + "type": "structure", + "required": [ + "TrafficPolicyId", + "TrafficPolicyVersion" + ], + "members": { + "TrafficPolicyId": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy for which you want to list traffic policy instances.

", + "location": "querystring", + "locationName": "id" + }, + "TrafficPolicyVersion": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by TrafficPolicyId.

", + "location": "querystring", + "locationName": "version" + }, + "HostedZoneIdMarker": { + "shape": "ResourceId", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of hostedzoneid, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "hostedzoneid" + }, + "TrafficPolicyInstanceNameMarker": { + "shape": "DNSName", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "trafficpolicyinstancename" + }, + "TrafficPolicyInstanceTypeMarker": { + "shape": "RRType", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstancesByPolicy request.

For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the name of the first traffic policy instance that Amazon Route 53 will return if you submit another request.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "trafficpolicyinstancetype" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of traffic policy instances to be included in the response body for this request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance that Amazon Route 53 will return if you submit another request.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A complex type that contains the information about the request to list your traffic policy instances.

" + }, + "ListTrafficPolicyInstancesByPolicyResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstances", + "IsTruncated", + "MaxItems" + ], + "members": { + "TrafficPolicyInstances": { + "shape": "TrafficPolicyInstances", + "documentation": "

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

" + }, + "HostedZoneIdMarker": { + "shape": "ResourceId", + "documentation": "

If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance in the next group of traffic policy instances.

" + }, + "TrafficPolicyInstanceNameMarker": { + "shape": "DNSName", + "documentation": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance in the next group of MaxItems traffic policy instances.

" + }, + "TrafficPolicyInstanceTypeMarker": { + "shape": "RRType", + "documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of MaxItems traffic policy instances.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get the next group of traffic policy instances by calling ListTrafficPolicyInstancesByPolicy again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker elements in the corresponding request parameters.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstancesByPolicy that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "ListTrafficPolicyInstancesRequest": { + "type": "structure", + "members": { + "HostedZoneIdMarker": { + "shape": "ResourceId", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of HostedZoneId, specify the value of HostedZoneIdMarker from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "hostedzoneid" + }, + "TrafficPolicyInstanceNameMarker": { + "shape": "DNSName", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancename, specify the value of TrafficPolicyInstanceNameMarker from the previous response, which is the name of the first traffic policy instance in the next group of traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "trafficpolicyinstancename" + }, + "TrafficPolicyInstanceTypeMarker": { + "shape": "RRType", + "documentation": "

If the value of IsTruncated in the previous response was true, you have more traffic policy instances. To get more traffic policy instances, submit another ListTrafficPolicyInstances request. For the value of trafficpolicyinstancetype, specify the value of TrafficPolicyInstanceTypeMarker from the previous response, which is the type of the first traffic policy instance in the next group of traffic policy instances.

If the value of IsTruncated in the previous response was false, there are no more traffic policy instances to get.

", + "location": "querystring", + "locationName": "trafficpolicyinstancetype" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of traffic policy instances that you want Amazon Route 53 to return in response to a ListTrafficPolicyInstances request. If you have more than MaxItems traffic policy instances, the value of the IsTruncated element in the response is true, and the values of HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker represent the first traffic policy instance in the next group of MaxItems traffic policy instances.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A request to get information about the traffic policy instances that you created by using the current AWS account.

" + }, + "ListTrafficPolicyInstancesResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstances", + "IsTruncated", + "MaxItems" + ], + "members": { + "TrafficPolicyInstances": { + "shape": "TrafficPolicyInstances", + "documentation": "

A list that contains one TrafficPolicyInstance element for each traffic policy instance that matches the elements in the request.

" + }, + "HostedZoneIdMarker": { + "shape": "ResourceId", + "documentation": "

If IsTruncated is true, HostedZoneIdMarker is the ID of the hosted zone of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

" + }, + "TrafficPolicyInstanceNameMarker": { + "shape": "DNSName", + "documentation": "

If IsTruncated is true, TrafficPolicyInstanceNameMarker is the name of the first traffic policy instance that Route 53 will return if you submit another ListTrafficPolicyInstances request.

" + }, + "TrafficPolicyInstanceTypeMarker": { + "shape": "RRType", + "documentation": "

If IsTruncated is true, TrafficPolicyInstanceTypeMarker is the DNS type of the resource record sets that are associated with the first traffic policy instance that Amazon Route 53 will return if you submit another ListTrafficPolicyInstances request.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more traffic policy instances to be listed. If the response was truncated, you can get more traffic policy instances by calling ListTrafficPolicyInstances again and specifying the values of the HostedZoneIdMarker, TrafficPolicyInstanceNameMarker, and TrafficPolicyInstanceTypeMarker in the corresponding request parameters.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the MaxItems parameter in the call to ListTrafficPolicyInstances that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "ListTrafficPolicyVersionsRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

Specify the value of Id of the traffic policy for which you want to list all versions.

", + "location": "uri", + "locationName": "Id" + }, + "TrafficPolicyVersionMarker": { + "shape": "TrafficPolicyVersionMarker", + "documentation": "

For your first request to ListTrafficPolicyVersions, don't include the TrafficPolicyVersionMarker parameter.

If you have more traffic policy versions than the value of MaxItems, ListTrafficPolicyVersions returns only the first group of MaxItems versions. To get more traffic policy versions, submit another ListTrafficPolicyVersions request. For the value of TrafficPolicyVersionMarker, specify the value of TrafficPolicyVersionMarker in the previous response.

", + "location": "querystring", + "locationName": "trafficpolicyversion" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than MaxItems versions, the value of IsTruncated in the response is true, and the value of the TrafficPolicyVersionMarker element is the ID of the first version that Route 53 will return if you submit another request.

", + "location": "querystring", + "locationName": "maxitems" + } + }, + "documentation": "

A complex type that contains the information about the request to list your traffic policies.

" + }, + "ListTrafficPolicyVersionsResponse": { + "type": "structure", + "required": [ + "TrafficPolicies", + "IsTruncated", + "TrafficPolicyVersionMarker", + "MaxItems" + ], + "members": { + "TrafficPolicies": { + "shape": "TrafficPolicies", + "documentation": "

A list that contains one TrafficPolicy element for each traffic policy version that is associated with the specified traffic policy.

" + }, + "IsTruncated": { + "shape": "PageTruncated", + "documentation": "

A flag that indicates whether there are more traffic policies to be listed. If the response was truncated, you can get the next group of traffic policies by submitting another ListTrafficPolicyVersions request and specifying the value of NextMarker in the marker parameter.

" + }, + "TrafficPolicyVersionMarker": { + "shape": "TrafficPolicyVersionMarker", + "documentation": "

If IsTruncated is true, the value of TrafficPolicyVersionMarker identifies the first traffic policy that Amazon Route 53 will return if you submit another request. Call ListTrafficPolicyVersions again and specify the value of TrafficPolicyVersionMarker in the TrafficPolicyVersionMarker request parameter.

This element is present only if IsTruncated is true.

" + }, + "MaxItems": { + "shape": "PageMaxItems", + "documentation": "

The value that you specified for the maxitems parameter in the ListTrafficPolicyVersions request that produced the current response.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "ListVPCAssociationAuthorizationsRequest": { + "type": "structure", + "required": [ + "HostedZoneId" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.

", + "location": "uri", + "locationName": "Id" + }, + "NextToken": { + "shape": "PaginationToken", + "documentation": "

Optional: If a response includes a NextToken element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of NextToken from the response in the nexttoken parameter in another ListVPCAssociationAuthorizations request.

", + "location": "querystring", + "locationName": "nexttoken" + }, + "MaxResults": { + "shape": "MaxResults", + "documentation": "

Optional: An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return. If you don't specify a value for MaxResults, Route 53 returns up to 50 VPCs per page.

", + "location": "querystring", + "locationName": "maxresults" + } + }, + "documentation": "

A complex type that contains information about that can be associated with your hosted zone.

" + }, + "ListVPCAssociationAuthorizationsResponse": { + "type": "structure", + "required": [ + "HostedZoneId", + "VPCs" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you can associate the listed VPCs with.

" + }, + "NextToken": { + "shape": "PaginationToken", + "documentation": "

When the response includes a NextToken element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another ListVPCAssociationAuthorizations request, and include the value of the NextToken element from the response in the nexttoken request parameter.

" + }, + "VPCs": { + "shape": "VPCs", + "documentation": "

The list of VPCs that are authorized to be associated with the specified hosted zone.

" + } + }, + "documentation": "

A complex type that contains the response information for the request.

" + }, + "MaxResults": { + "type": "string" + }, + "MeasureLatency": { + "type": "boolean" + }, + "Message": { + "type": "string", + "max": 1024 + }, + "MetricName": { + "type": "string", + "max": 255, + "min": 1 + }, + "Nameserver": { + "type": "string", + "max": 255, + "min": 0 + }, + "Namespace": { + "type": "string", + "max": 255, + "min": 1 + }, + "Nonce": { + "type": "string", + "max": 128, + "min": 1 + }, + "PageMarker": { + "type": "string", + "max": 64 + }, + "PageMaxItems": { + "type": "string" + }, + "PageTruncated": { + "type": "boolean" + }, + "PaginationToken": { + "type": "string", + "max": 256 + }, + "Period": { + "type": "integer", + "min": 60 + }, + "Port": { + "type": "integer", + "max": 65535, + "min": 1 + }, + "QueryLoggingConfig": { + "type": "structure", + "required": [ + "Id", + "HostedZoneId", + "CloudWatchLogsLogGroupArn" + ], + "members": { + "Id": { + "shape": "QueryLoggingConfigId", + "documentation": "

The ID for a configuration for DNS query logging.

" + }, + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that CloudWatch Logs is logging queries for.

" + }, + "CloudWatchLogsLogGroupArn": { + "shape": "CloudWatchLogsLogGroupArn", + "documentation": "

The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.

" + } + }, + "documentation": "

A complex type that contains information about a configuration for DNS query logging.

" + }, + "QueryLoggingConfigId": { + "type": "string", + "max": 36, + "min": 1 + }, + "QueryLoggingConfigs": { + "type": "list", + "member": { + "shape": "QueryLoggingConfig", + "locationName": "QueryLoggingConfig" + } + }, + "RData": { + "type": "string", + "max": 4000 + }, + "RRType": { + "type": "string", + "enum": [ + "SOA", + "A", + "TXT", + "NS", + "CNAME", + "MX", + "NAPTR", + "PTR", + "SRV", + "SPF", + "AAAA", + "CAA" + ] + }, + "RecordData": { + "type": "list", + "member": { + "shape": "RecordDataEntry", + "locationName": "RecordDataEntry" + } + }, + "RecordDataEntry": { + "type": "string", + "documentation": "

A value that Amazon Route 53 returned for this resource record set. A RecordDataEntry element is one of the following:

", + "max": 512, + "min": 0 + }, + "RequestInterval": { + "type": "integer", + "max": 30, + "min": 10 + }, + "ResettableElementName": { + "type": "string", + "enum": [ + "FullyQualifiedDomainName", + "Regions", + "ResourcePath", + "ChildHealthChecks" + ], + "max": 64, + "min": 1 + }, + "ResettableElementNameList": { + "type": "list", + "member": { + "shape": "ResettableElementName", + "locationName": "ResettableElementName" + }, + "max": 64 + }, + "ResourceDescription": { + "type": "string", + "max": 256 + }, + "ResourceId": { + "type": "string", + "max": 32 + }, + "ResourcePath": { + "type": "string", + "max": 255 + }, + "ResourceRecord": { + "type": "structure", + "required": [ + "Value" + ], + "members": { + "Value": { + "shape": "RData", + "documentation": "

The current or new DNS record value, not to exceed 4,000 characters. In the case of a DELETE action, if the current value does not match the actual value, an error is returned. For descriptions about how to format Value for different record types, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.

You can specify more than one value for all record types except CNAME and SOA.

If you're creating an alias resource record set, omit Value.

" + } + }, + "documentation": "

Information specific to the resource record.

If you're creating an alias resource record set, omit ResourceRecord.

" + }, + "ResourceRecordSet": { + "type": "structure", + "required": [ + "Name", + "Type" + ], + "members": { + "Name": { + "shape": "DNSName", + "documentation": "

For ChangeResourceRecordSets requests, the name of the record that you want to create, update, or delete. For ListResourceRecordSets responses, the name of a record in the specified hosted zone.

ChangeResourceRecordSets Only

Enter a fully qualified domain name, for example, www.example.com. You can optionally include a trailing dot. If you omit the trailing dot, Amazon Route 53 assumes that the domain name that you specify is fully qualified. This means that Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.

For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format in the Amazon Route 53 Developer Guide.

You can use the asterisk (*) wildcard to replace the leftmost label in a domain name, for example, *.example.com. Note the following:

You can use the * wildcard as the leftmost label in a domain name, for example, *.example.com. You can't use an * for one of the middle labels, for example, marketing.*.example.com. In addition, the * must replace the entire label; for example, you can't specify prod*.example.com.

" + }, + "Type": { + "shape": "RRType", + "documentation": "

The DNS record type. For information about different record types and how data is encoded for them, see Supported DNS Resource Record Types in the Amazon Route 53 Developer Guide.

Valid values for basic resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT

Values for weighted, latency, geolocation, and failover resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT. When creating a group of weighted, latency, geolocation, or failover resource record sets, specify the same value for all of the resource record sets in the group.

Valid values for multivalue answer resource record sets: A | AAAA | MX | NAPTR | PTR | SPF | SRV | TXT

SPF records were formerly used to verify the identity of the sender of email messages. However, we no longer recommend that you create resource record sets for which the value of Type is SPF. RFC 7208, Sender Policy Framework (SPF) for Authorizing Use of Domains in Email, Version 1, has been updated to say, \"...[I]ts existence and mechanism defined in [RFC4408] have led to some interoperability issues. Accordingly, its use is no longer appropriate for SPF version 1; implementations are not to use it.\" In RFC 7208, see section 14.1, The SPF DNS Record Type.

Values for alias resource record sets:

" + }, + "SetIdentifier": { + "shape": "ResourceRecordSetIdentifier", + "documentation": "

Resource record sets that have a routing policy other than simple: An identifier that differentiates among multiple resource record sets that have the same combination of name and type, such as multiple weighted resource record sets named acme.example.com that have a type of A. In a group of resource record sets that have the same name and type, the value of SetIdentifier must be unique for each resource record set.

For information about routing policies, see Choosing a Routing Policy in the Amazon Route 53 Developer Guide.

" + }, + "Weight": { + "shape": "ResourceRecordSetWeight", + "documentation": "

Weighted resource record sets only: Among resource record sets that have the same combination of DNS name and type, a value that determines the proportion of DNS queries that Amazon Route 53 responds to using the current resource record set. Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Route 53 then responds to queries based on the ratio of a resource's weight to the total. Note the following:

" + }, + "Region": { + "shape": "ResourceRecordSetRegion", + "documentation": "

Latency-based resource record sets only: The Amazon EC2 Region where you created the resource that this resource record set refers to. The resource typically is an AWS resource, such as an EC2 instance or an ELB load balancer, and is referred to by an IP address or a DNS domain name, depending on the record type.

Although creating latency and latency alias resource record sets in a private hosted zone is allowed, it's not supported.

When Amazon Route 53 receives a DNS query for a domain name and type for which you have created latency resource record sets, Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 Region. Route 53 then returns the value that is associated with the selected resource record set.

Note the following:

" + }, + "GeoLocation": { + "shape": "GeoLocation", + "documentation": "

Geolocation resource record sets only: A complex type that lets you control how Amazon Route 53 responds to DNS queries based on the geographic origin of the query. For example, if you want all queries from Africa to be routed to a web server with an IP address of 192.0.2.111, create a resource record set with a Type of A and a ContinentCode of AF.

Although creating geolocation and geolocation alias resource record sets in a private hosted zone is allowed, it's not supported.

If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource.

You can't create two geolocation resource record sets that specify the same geographic location.

The value * in the CountryCode element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the Name and Type elements.

Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of CountryCode is *. Two groups of queries are routed to the resource that you specify in this record: queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a * resource record set, Route 53 returns a \"no answer\" response for queries from those locations.

You can't create non-geolocation resource record sets that have the same values for the Name and Type elements as geolocation resource record sets.

" + }, + "Failover": { + "shape": "ResourceRecordSetFailover", + "documentation": "

Failover resource record sets only: To configure failover, you add the Failover element to two resource record sets. For one resource record set, you specify PRIMARY as the value for Failover; for the other resource record set, you specify SECONDARY. In addition, you include the HealthCheckId element and specify the health check that you want Amazon Route 53 to perform for each resource record set.

Except where noted, the following failover behaviors assume that you have included the HealthCheckId element in both resource record sets:

You can't create non-failover resource record sets that have the same values for the Name and Type elements as failover resource record sets.

For failover alias resource record sets, you must also include the EvaluateTargetHealth element and set the value to true.

For more information about configuring failover for Route 53, see the following topics in the Amazon Route 53 Developer Guide:

" + }, + "MultiValueAnswer": { + "shape": "ResourceRecordSetMultiValueAnswer", + "documentation": "

Multivalue answer resource record sets only: To route traffic approximately randomly to multiple resources, such as web servers, create one multivalue answer record for each resource and specify true for MultiValueAnswer. Note the following:

You can't create multivalue answer alias records.

" + }, + "TTL": { + "shape": "TTL", + "documentation": "

The resource record cache time to live (TTL), in seconds. Note the following:

" + }, + "ResourceRecords": { + "shape": "ResourceRecords", + "documentation": "

Information about the resource records to act upon.

If you're creating an alias resource record set, omit ResourceRecords.

" + }, + "AliasTarget": { + "shape": "AliasTarget", + "documentation": "

Alias resource record sets only: Information about the AWS resource, such as a CloudFront distribution or an Amazon S3 bucket, that you want to route traffic to.

If you're creating resource records sets for a private hosted zone, note the following:

" + }, + "HealthCheckId": { + "shape": "HealthCheckId", + "documentation": "

If you want Amazon Route 53 to return this resource record set in response to a DNS query only when the status of a health check is healthy, include the HealthCheckId element and specify the ID of the applicable health check.

Route 53 determines whether a resource record set is healthy based on one of the following:

Route 53 doesn't check the health of the endpoint that is specified in the resource record set, for example, the endpoint specified by the IP address in the Value element. When you add a HealthCheckId element to a resource record set, Route 53 checks the health of the endpoint that you specified in the health check.

For more information, see the following topics in the Amazon Route 53 Developer Guide:

When to Specify HealthCheckId

Specifying a value for HealthCheckId is useful only when Route 53 is choosing between two or more resource record sets to respond to a DNS query, and you want Route 53 to base the choice in part on the status of a health check. Configuring health checks makes sense only in the following configurations:

Geolocation Routing

For geolocation resource record sets, if an endpoint is unhealthy, Route 53 looks for a resource record set for the larger, associated geographic region. For example, suppose you have resource record sets for a state in the United States, for the entire United States, for North America, and a resource record set that has * for CountryCode is *, which applies to all locations. If the endpoint for the state resource record set is unhealthy, Route 53 checks for healthy resource record sets in the following order until it finds a resource record set for which the endpoint is healthy:

Specifying the Health Check Endpoint by Domain Name

If your health checks specify the endpoint only by domain name, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com).

Health check results will be unpredictable if you do the following:

" + }, + "TrafficPolicyInstanceId": { + "shape": "TrafficPolicyInstanceId", + "documentation": "

When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set. TrafficPolicyInstanceId is the ID of the traffic policy instance that Route 53 created this resource record set for.

To delete the resource record set that is associated with a traffic policy instance, use DeleteTrafficPolicyInstance. Route 53 will delete the resource record set automatically. If you delete the resource record set by using ChangeResourceRecordSets, Route 53 doesn't automatically delete the traffic policy instance, and you'll continue to be charged for it even though it's no longer in use.

" + } + }, + "documentation": "

Information about the resource record set to create or delete.

" + }, + "ResourceRecordSetFailover": { + "type": "string", + "enum": [ + "PRIMARY", + "SECONDARY" + ] + }, + "ResourceRecordSetIdentifier": { + "type": "string", + "max": 128, + "min": 1 + }, + "ResourceRecordSetMultiValueAnswer": { + "type": "boolean" + }, + "ResourceRecordSetRegion": { + "type": "string", + "enum": [ + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2", + "ca-central-1", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "eu-central-1", + "ap-southeast-1", + "ap-southeast-2", + "ap-northeast-1", + "ap-northeast-2", + "ap-northeast-3", + "eu-north-1", + "sa-east-1", + "cn-north-1", + "cn-northwest-1", + "ap-east-1", + "me-south-1", + "ap-south-1", + "af-south-1", + "eu-south-1" + ], + "max": 64, + "min": 1 + }, + "ResourceRecordSetWeight": { + "type": "long", + "max": 255, + "min": 0 + }, + "ResourceRecordSets": { + "type": "list", + "member": { + "shape": "ResourceRecordSet", + "locationName": "ResourceRecordSet" + } + }, + "ResourceRecords": { + "type": "list", + "member": { + "shape": "ResourceRecord", + "locationName": "ResourceRecord" + }, + "min": 1 + }, + "ResourceTagSet": { + "type": "structure", + "members": { + "ResourceType": { + "shape": "TagResourceType", + "documentation": "

The type of the resource.

" + }, + "ResourceId": { + "shape": "TagResourceId", + "documentation": "

The ID for the specified resource.

" + }, + "Tags": { + "shape": "TagList", + "documentation": "

The tags associated with the specified resource.

" + } + }, + "documentation": "

A complex type containing a resource and its associated tags.

" + }, + "ResourceTagSetList": { + "type": "list", + "member": { + "shape": "ResourceTagSet", + "locationName": "ResourceTagSet" + } + }, + "ResourceURI": { + "type": "string", + "max": 1024 + }, + "ReusableDelegationSetLimit": { + "type": "structure", + "required": [ + "Type", + "Value" + ], + "members": { + "Type": { + "shape": "ReusableDelegationSetLimitType", + "documentation": "

The limit that you requested: MAX_ZONES_BY_REUSABLE_DELEGATION_SET, the maximum number of hosted zones that you can associate with the specified reusable delegation set.

" + }, + "Value": { + "shape": "LimitValue", + "documentation": "

The current value for the MAX_ZONES_BY_REUSABLE_DELEGATION_SET limit.

" + } + }, + "documentation": "

A complex type that contains the type of limit that you specified in the request and the current value for that limit.

" + }, + "ReusableDelegationSetLimitType": { + "type": "string", + "enum": [ + "MAX_ZONES_BY_REUSABLE_DELEGATION_SET" + ] + }, + "SearchString": { + "type": "string", + "max": 255 + }, + "ServicePrincipal": { + "type": "string", + "max": 128 + }, + "Statistic": { + "type": "string", + "enum": [ + "Average", + "Sum", + "SampleCount", + "Maximum", + "Minimum" + ] + }, + "Status": { + "type": "string" + }, + "StatusReport": { + "type": "structure", + "members": { + "Status": { + "shape": "Status", + "documentation": "

A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers.

" + }, + "CheckedTime": { + "shape": "TimeStamp", + "documentation": "

The date and time that the health checker performed the health check in ISO 8601 format and Coordinated Universal Time (UTC). For example, the value 2017-03-27T17:48:16.751Z represents March 27, 2017 at 17:48:16.751 UTC.

" + } + }, + "documentation": "

A complex type that contains the status that one Amazon Route 53 health checker reports and the time of the health check.

" + }, + "SubnetMask": { + "type": "string", + "max": 3, + "min": 0 + }, + "TTL": { + "type": "long", + "max": 2147483647, + "min": 0 + }, + "Tag": { + "type": "structure", + "members": { + "Key": { + "shape": "TagKey", + "documentation": "

The value of Key depends on the operation that you want to perform:

" + }, + "Value": { + "shape": "TagValue", + "documentation": "

The value of Value depends on the operation that you want to perform:

" + } + }, + "documentation": "

A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone.

" + }, + "TagKey": { + "type": "string", + "max": 128 + }, + "TagKeyList": { + "type": "list", + "member": { + "shape": "TagKey", + "locationName": "Key" + }, + "max": 10, + "min": 1 + }, + "TagList": { + "type": "list", + "member": { + "shape": "Tag", + "locationName": "Tag" + }, + "max": 10, + "min": 1 + }, + "TagResourceId": { + "type": "string", + "max": 64 + }, + "TagResourceIdList": { + "type": "list", + "member": { + "shape": "TagResourceId", + "locationName": "ResourceId" + }, + "max": 10, + "min": 1 + }, + "TagResourceType": { + "type": "string", + "enum": [ + "healthcheck", + "hostedzone" + ] + }, + "TagValue": { + "type": "string", + "max": 256 + }, + "TestDNSAnswerRequest": { + "type": "structure", + "required": [ + "HostedZoneId", + "RecordName", + "RecordType" + ], + "members": { + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.

", + "location": "querystring", + "locationName": "hostedzoneid" + }, + "RecordName": { + "shape": "DNSName", + "documentation": "

The name of the resource record set that you want Amazon Route 53 to simulate a query for.

", + "location": "querystring", + "locationName": "recordname" + }, + "RecordType": { + "shape": "RRType", + "documentation": "

The type of the resource record set.

", + "location": "querystring", + "locationName": "recordtype" + }, + "ResolverIP": { + "shape": "IPAddress", + "documentation": "

If you want to simulate a request from a specific DNS resolver, specify the IP address for that resolver. If you omit this value, TestDnsAnswer uses the IP address of a DNS resolver in the AWS US East (N. Virginia) Region (us-east-1).

", + "location": "querystring", + "locationName": "resolverip" + }, + "EDNS0ClientSubnetIP": { + "shape": "IPAddress", + "documentation": "

If the resolver that you specified for resolverip supports EDNS0, specify the IPv4 or IPv6 address of a client in the applicable location, for example, 192.0.2.44 or 2001:db8:85a3::8a2e:370:7334.

", + "location": "querystring", + "locationName": "edns0clientsubnetip" + }, + "EDNS0ClientSubnetMask": { + "shape": "SubnetMask", + "documentation": "

If you specify an IP address for edns0clientsubnetip, you can optionally specify the number of bits of the IP address that you want the checking tool to include in the DNS query. For example, if you specify 192.0.2.44 for edns0clientsubnetip and 24 for edns0clientsubnetmask, the checking tool will simulate a request from 192.0.2.0/24. The default value is 24 bits for IPv4 addresses and 64 bits for IPv6 addresses.

The range of valid values depends on whether edns0clientsubnetip is an IPv4 or an IPv6 address:

", + "location": "querystring", + "locationName": "edns0clientsubnetmask" + } + }, + "documentation": "

Gets the value that Amazon Route 53 returns in response to a DNS request for a specified record name and type. You can optionally specify the IP address of a DNS resolver, an EDNS0 client subnet IP address, and a subnet mask.

" + }, + "TestDNSAnswerResponse": { + "type": "structure", + "required": [ + "Nameserver", + "RecordName", + "RecordType", + "RecordData", + "ResponseCode", + "Protocol" + ], + "members": { + "Nameserver": { + "shape": "Nameserver", + "documentation": "

The Amazon Route 53 name server used to respond to the request.

" + }, + "RecordName": { + "shape": "DNSName", + "documentation": "

The name of the resource record set that you submitted a request for.

" + }, + "RecordType": { + "shape": "RRType", + "documentation": "

The type of the resource record set that you submitted a request for.

" + }, + "RecordData": { + "shape": "RecordData", + "documentation": "

A list that contains values that Amazon Route 53 returned for this resource record set.

" + }, + "ResponseCode": { + "shape": "DNSRCode", + "documentation": "

A code that indicates whether the request is valid or not. The most common response code is NOERROR, meaning that the request is valid. If the response is not valid, Amazon Route 53 returns a response code that describes the error. For a list of possible response codes, see DNS RCODES on the IANA website.

" + }, + "Protocol": { + "shape": "TransportProtocol", + "documentation": "

The protocol that Amazon Route 53 used to respond to the request, either UDP or TCP.

" + } + }, + "documentation": "

A complex type that contains the response to a TestDNSAnswer request.

" + }, + "Threshold": { + "type": "double" + }, + "TimeStamp": { + "type": "timestamp" + }, + "TrafficPolicies": { + "type": "list", + "member": { + "shape": "TrafficPolicy", + "locationName": "TrafficPolicy" + } + }, + "TrafficPolicy": { + "type": "structure", + "required": [ + "Id", + "Version", + "Name", + "Type", + "Document" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

The ID that Amazon Route 53 assigned to a traffic policy when you created it.

" + }, + "Version": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of Version is always 1.

" + }, + "Name": { + "shape": "TrafficPolicyName", + "documentation": "

The name that you specified when you created the traffic policy.

" + }, + "Type": { + "shape": "RRType", + "documentation": "

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

" + }, + "Document": { + "shape": "TrafficPolicyDocument", + "documentation": "

The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the CreateTrafficPolicy request. For more information about the JSON format, see Traffic Policy Document Format.

" + }, + "Comment": { + "shape": "TrafficPolicyComment", + "documentation": "

The comment that you specify in the CreateTrafficPolicy request, if any.

" + } + }, + "documentation": "

A complex type that contains settings for a traffic policy.

" + }, + "TrafficPolicyComment": { + "type": "string", + "max": 1024 + }, + "TrafficPolicyDocument": { + "type": "string", + "max": 102400 + }, + "TrafficPolicyId": { + "type": "string", + "max": 36, + "min": 1 + }, + "TrafficPolicyInstance": { + "type": "structure", + "required": [ + "Id", + "HostedZoneId", + "Name", + "TTL", + "State", + "Message", + "TrafficPolicyId", + "TrafficPolicyVersion", + "TrafficPolicyType" + ], + "members": { + "Id": { + "shape": "TrafficPolicyInstanceId", + "documentation": "

The ID that Amazon Route 53 assigned to the new traffic policy instance.

" + }, + "HostedZoneId": { + "shape": "ResourceId", + "documentation": "

The ID of the hosted zone that Amazon Route 53 created resource record sets in.

" + }, + "Name": { + "shape": "DNSName", + "documentation": "

The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance.

" + }, + "TTL": { + "shape": "TTL", + "documentation": "

The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone.

" + }, + "State": { + "shape": "TrafficPolicyInstanceState", + "documentation": "

The value of State is one of the following values:

Applied

Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Route 53 edge locations.

Creating

Route 53 is creating the resource record sets. Use GetTrafficPolicyInstance to confirm that the CreateTrafficPolicyInstance request completed successfully.

Failed

Route 53 wasn't able to create or update the resource record sets. When the value of State is Failed, see Message for an explanation of what caused the request to fail.

" + }, + "Message": { + "shape": "Message", + "documentation": "

If State is Failed, an explanation of the reason for the failure. If State is another value, Message is empty.

" + }, + "TrafficPolicyId": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

" + }, + "TrafficPolicyVersion": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone.

" + }, + "TrafficPolicyType": { + "shape": "RRType", + "documentation": "

The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance.

" + } + }, + "documentation": "

A complex type that contains settings for the new traffic policy instance.

" + }, + "TrafficPolicyInstanceCount": { + "type": "integer" + }, + "TrafficPolicyInstanceId": { + "type": "string", + "max": 36, + "min": 1 + }, + "TrafficPolicyInstanceState": { + "type": "string" + }, + "TrafficPolicyInstances": { + "type": "list", + "member": { + "shape": "TrafficPolicyInstance", + "locationName": "TrafficPolicyInstance" + } + }, + "TrafficPolicyName": { + "type": "string", + "max": 512 + }, + "TrafficPolicySummaries": { + "type": "list", + "member": { + "shape": "TrafficPolicySummary", + "locationName": "TrafficPolicySummary" + } + }, + "TrafficPolicySummary": { + "type": "structure", + "required": [ + "Id", + "Name", + "Type", + "LatestVersion", + "TrafficPolicyCount" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

The ID that Amazon Route 53 assigned to the traffic policy when you created it.

" + }, + "Name": { + "shape": "TrafficPolicyName", + "documentation": "

The name that you specified for the traffic policy when you created it.

" + }, + "Type": { + "shape": "RRType", + "documentation": "

The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance.

" + }, + "LatestVersion": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version number of the latest version of the traffic policy.

" + }, + "TrafficPolicyCount": { + "shape": "TrafficPolicyVersion", + "documentation": "

The number of traffic policies that are associated with the current AWS account.

" + } + }, + "documentation": "

A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.

" + }, + "TrafficPolicyVersion": { + "type": "integer", + "max": 1000, + "min": 1 + }, + "TrafficPolicyVersionMarker": { + "type": "string", + "max": 4 + }, + "TransportProtocol": { + "type": "string" + }, + "UpdateHealthCheckRequest": { + "type": "structure", + "required": [ + "HealthCheckId" + ], + "members": { + "HealthCheckId": { + "shape": "HealthCheckId", + "documentation": "

The ID for the health check for which you want detailed information. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

", + "location": "uri", + "locationName": "HealthCheckId" + }, + "HealthCheckVersion": { + "shape": "HealthCheckVersion", + "documentation": "

A sequential counter that Amazon Route 53 sets to 1 when you create a health check and increments by 1 each time you update settings for the health check.

We recommend that you use GetHealthCheck or ListHealthChecks to get the current value of HealthCheckVersion for the health check that you want to update, and that you include that value in your UpdateHealthCheck request. This prevents Route 53 from overwriting an intervening update:

" + }, + "IPAddress": { + "shape": "IPAddress", + "documentation": "

The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for IPAddress, Route 53 sends a DNS request to resolve the domain name that you specify in FullyQualifiedDomainName at the interval that you specify in RequestInterval. Using an IP address that is returned by DNS, Route 53 then checks the health of the endpoint.

Use one of the following formats for the value of IPAddress:

If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for IPAddress. This ensures that the IP address of your instance never changes. For more information, see the applicable documentation:

If a health check already has a value for IPAddress, you can change the value. However, you can't update an existing health check to add or remove the value of IPAddress.

For more information, see FullyQualifiedDomainName.

Constraints: Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents:

" + }, + "Port": { + "shape": "Port", + "documentation": "

The port on the endpoint that you want Amazon Route 53 to perform health checks on.

Don't specify a value for Port when you specify a value for Type of CLOUDWATCH_METRIC or CALCULATED.

" + }, + "ResourcePath": { + "shape": "ResourcePath", + "documentation": "

The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html. You can also include query string parameters, for example, /welcome.html?language=jp&login=y.

Specify this value only if you want to change it.

" + }, + "FullyQualifiedDomainName": { + "shape": "FullyQualifiedDomainName", + "documentation": "

Amazon Route 53 behavior depends on whether you specify a value for IPAddress.

If a health check already has a value for IPAddress, you can change the value. However, you can't update an existing health check to add or remove the value of IPAddress.

If you specify a value for IPAddress:

Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of FullyQualifiedDomainName in the Host header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Route 53 to perform health checks.

When Route 53 checks the health of an endpoint, here is how it constructs the Host header:

If you don't specify a value for FullyQualifiedDomainName, Route 53 substitutes the value of IPAddress in the Host header in each of the above cases.

If you don't specify a value for IPAddress:

If you don't specify a value for IPAddress, Route 53 sends a DNS request to the domain that you specify in FullyQualifiedDomainName at the interval you specify in RequestInterval. Using an IPv4 address that is returned by DNS, Route 53 then checks the health of the endpoint.

If you don't specify a value for IPAddress, Route 53 uses only IPv4 to send health checks to the endpoint. If there's no resource record set with a type of A for the name that you specify for FullyQualifiedDomainName, the health check fails with a \"DNS resolution failed\" error.

If you want to check the health of weighted, latency, or failover resource record sets and you choose to specify the endpoint only by FullyQualifiedDomainName, we recommend that you create a separate health check for each endpoint. For example, create a health check for each HTTP server that is serving content for www.example.com. For the value of FullyQualifiedDomainName, specify the domain name of the server (such as us-east-2-www.example.com), not the name of the resource record sets (www.example.com).

In this configuration, if the value of FullyQualifiedDomainName matches the name of the resource record sets and you then associate the health check with those resource record sets, health check results will be unpredictable.

In addition, if the value of Type is HTTP, HTTPS, HTTP_STR_MATCH, or HTTPS_STR_MATCH, Route 53 passes the value of FullyQualifiedDomainName in the Host header, as it does when you specify a value for IPAddress. If the value of Type is TCP, Route 53 doesn't pass a Host header.

" + }, + "SearchString": { + "shape": "SearchString", + "documentation": "

If the value of Type is HTTP_STR_MATCH or HTTPS_STR_MATCH, the string that you want Amazon Route 53 to search for in the response body from the specified resource. If the string appears in the response body, Route 53 considers the resource healthy. (You can't change the value of Type when you update a health check.)

" + }, + "FailureThreshold": { + "shape": "FailureThreshold", + "documentation": "

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 How Amazon Route 53 Determines Whether an Endpoint Is Healthy in the Amazon Route 53 Developer Guide.

If you don't specify a value for FailureThreshold, the default value is three health checks.

" + }, + "Inverted": { + "shape": "Inverted", + "documentation": "

Specify whether you want Amazon Route 53 to invert the status of a health check, for example, to consider a health check unhealthy when it otherwise would be considered healthy.

" + }, + "Disabled": { + "shape": "Disabled", + "documentation": "

Stops Route 53 from performing health checks. When you disable a health check, here's what happens:

After you disable a health check, Route 53 considers the status of the health check to always be healthy. If you configured DNS failover, Route 53 continues to route traffic to the corresponding resources. If you want to stop routing traffic to a resource, change the value of Inverted.

Charges for a health check still apply when the health check is disabled. For more information, see Amazon Route 53 Pricing.

" + }, + "HealthThreshold": { + "shape": "HealthThreshold", + "documentation": "

The number of child health checks that are associated with a CALCULATED health that Amazon Route 53 must consider healthy for the CALCULATED health check to be considered healthy. To specify the child health checks that you want to associate with a CALCULATED health check, use the ChildHealthChecks and ChildHealthCheck elements.

Note the following:

" + }, + "ChildHealthChecks": { + "shape": "ChildHealthCheckList", + "documentation": "

A complex type that contains one ChildHealthCheck element for each health check that you want to associate with a CALCULATED health check.

" + }, + "EnableSNI": { + "shape": "EnableSNI", + "documentation": "

Specify whether you want Amazon Route 53 to send the value of FullyQualifiedDomainName to the endpoint in the client_hello message during TLS negotiation. This allows the endpoint to respond to HTTPS health check requests with the applicable SSL/TLS certificate.

Some endpoints require that HTTPS requests include the host name in the client_hello message. If you don't enable SNI, the status of the health check will be SSL alert handshake_failure. A health check can also have that status for other reasons. If SNI is enabled and you're still getting the error, check the SSL/TLS configuration on your endpoint and confirm that your certificate is valid.

The SSL/TLS certificate on your endpoint includes a domain name in the Common Name field and possibly several more in the Subject Alternative Names field. One of the domain names in the certificate should match the value that you specify for FullyQualifiedDomainName. If the endpoint responds to the client_hello message with a certificate that does not include the domain name that you specified in FullyQualifiedDomainName, a health checker will retry the handshake. In the second attempt, the health checker will omit FullyQualifiedDomainName from the client_hello message.

" + }, + "Regions": { + "shape": "HealthCheckRegionList", + "documentation": "

A complex type that contains one Region element for each region that you want Amazon Route 53 health checkers to check the specified endpoint from.

" + }, + "AlarmIdentifier": { + "shape": "AlarmIdentifier", + "documentation": "

A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether the specified health check is healthy.

" + }, + "InsufficientDataHealthStatus": { + "shape": "InsufficientDataHealthStatus", + "documentation": "

When CloudWatch has insufficient data about the metric to determine the alarm state, the status that you want Amazon Route 53 to assign to the health check:

" + }, + "ResetElements": { + "shape": "ResettableElementNameList", + "documentation": "

A complex type that contains one ResettableElementName element for each element that you want to reset to the default value. Valid values for ResettableElementName include the following:

" + } + }, + "documentation": "

A complex type that contains information about a request to update a health check.

" + }, + "UpdateHealthCheckResponse": { + "type": "structure", + "required": [ + "HealthCheck" + ], + "members": { + "HealthCheck": { + "shape": "HealthCheck", + "documentation": "

A complex type that contains the response to an UpdateHealthCheck request.

" + } + }, + "documentation": "

A complex type that contains the response to the UpdateHealthCheck request.

" + }, + "UpdateHostedZoneCommentRequest": { + "type": "structure", + "required": [ + "Id" + ], + "members": { + "Id": { + "shape": "ResourceId", + "documentation": "

The ID for the hosted zone that you want to update the comment for.

", + "location": "uri", + "locationName": "Id" + }, + "Comment": { + "shape": "ResourceDescription", + "documentation": "

The new comment for the hosted zone. If you don't specify a value for Comment, Amazon Route 53 deletes the existing value of the Comment element, if any.

" + } + }, + "documentation": "

A request to update the comment for a hosted zone.

" + }, + "UpdateHostedZoneCommentResponse": { + "type": "structure", + "required": [ + "HostedZone" + ], + "members": { + "HostedZone": { + "shape": "HostedZone", + "documentation": "

A complex type that contains the response to the UpdateHostedZoneComment request.

" + } + }, + "documentation": "

A complex type that contains the response to the UpdateHostedZoneComment request.

" + }, + "UpdateTrafficPolicyCommentRequest": { + "type": "structure", + "required": [ + "Id", + "Version", + "Comment" + ], + "members": { + "Id": { + "shape": "TrafficPolicyId", + "documentation": "

The value of Id for the traffic policy that you want to update the comment for.

", + "location": "uri", + "locationName": "Id" + }, + "Version": { + "shape": "TrafficPolicyVersion", + "documentation": "

The value of Version for the traffic policy that you want to update the comment for.

", + "location": "uri", + "locationName": "Version" + }, + "Comment": { + "shape": "TrafficPolicyComment", + "documentation": "

The new comment for the specified traffic policy and version.

" + } + }, + "documentation": "

A complex type that contains information about the traffic policy that you want to update the comment for.

" + }, + "UpdateTrafficPolicyCommentResponse": { + "type": "structure", + "required": [ + "TrafficPolicy" + ], + "members": { + "TrafficPolicy": { + "shape": "TrafficPolicy", + "documentation": "

A complex type that contains settings for the specified traffic policy.

" + } + }, + "documentation": "

A complex type that contains the response information for the traffic policy.

" + }, + "UpdateTrafficPolicyInstanceRequest": { + "type": "structure", + "required": [ + "Id", + "TTL", + "TrafficPolicyId", + "TrafficPolicyVersion" + ], + "members": { + "Id": { + "shape": "TrafficPolicyInstanceId", + "documentation": "

The ID of the traffic policy instance that you want to update.

", + "location": "uri", + "locationName": "Id" + }, + "TTL": { + "shape": "TTL", + "documentation": "

The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets.

" + }, + "TrafficPolicyId": { + "shape": "TrafficPolicyId", + "documentation": "

The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

" + }, + "TrafficPolicyVersion": { + "shape": "TrafficPolicyVersion", + "documentation": "

The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance.

" + } + }, + "documentation": "

A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance.

" + }, + "UpdateTrafficPolicyInstanceResponse": { + "type": "structure", + "required": [ + "TrafficPolicyInstance" + ], + "members": { + "TrafficPolicyInstance": { + "shape": "TrafficPolicyInstance", + "documentation": "

A complex type that contains settings for the updated traffic policy instance.

" + } + }, + "documentation": "

A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy.

" + }, + "UsageCount": { + "type": "long", + "min": 0 + }, + "VPC": { + "type": "structure", + "members": { + "VPCRegion": { + "shape": "VPCRegion", + "documentation": "

(Private hosted zones only) The region that an Amazon VPC was created in.

" + }, + "VPCId": { + "shape": "VPCId" + } + }, + "documentation": "

(Private hosted zones only) A complex type that contains information about an Amazon VPC.

" + }, + "VPCId": { + "type": "string", + "documentation": "

(Private hosted zones only) The ID of an Amazon VPC.

", + "max": 1024 + }, + "VPCRegion": { + "type": "string", + "enum": [ + "us-east-1", + "us-east-2", + "us-west-1", + "us-west-2", + "eu-west-1", + "eu-west-2", + "eu-west-3", + "eu-central-1", + "ap-east-1", + "me-south-1", + "us-gov-west-1", + "us-gov-east-1", + "us-iso-east-1", + "us-isob-east-1", + "ap-southeast-1", + "ap-southeast-2", + "ap-south-1", + "ap-northeast-1", + "ap-northeast-2", + "ap-northeast-3", + "eu-north-1", + "sa-east-1", + "ca-central-1", + "cn-north-1", + "af-south-1", + "eu-south-1" + ], + "max": 64, + "min": 1 + }, + "VPCs": { + "type": "list", + "member": { + "shape": "VPC", + "locationName": "VPC" + }, + "documentation": "

(Private hosted zones only) A list of VPC elements.

", + "min": 1 + } + }, + "documentation": "

Amazon Route 53 is a highly available and scalable Domain Name System (DNS) web service.

" +} \ No newline at end of file diff --git a/aws/base.scm b/aws/base.scm index 676fdd1..626094f 100644 --- a/aws/base.scm +++ b/aws/base.scm @@ -143,6 +143,7 @@ input-constructor input-type output-type + xml-namespace http documentation) (let ((proc (lambda args @@ -160,7 +161,10 @@ input) (() #false)))) ;; TODO: do something with the response! - (requester #:http http #:operation-name name #:input input*))))) + (requester #:http http + #:xml-namespace xml-namespace + #:operation-name name + #:input input*))))) (set-procedure-property! proc 'documentation documentation) (set-procedure-property! proc 'name name) proc)) diff --git a/aws/request.scm b/aws/request.scm index d8338f7..feededb 100644 --- a/aws/request.scm +++ b/aws/request.scm @@ -94,6 +94,23 @@ operation name." already mentioned in the request headers." (scm->json-string (input-arguments->scm input))) +(define (request-xml-string xmlns input) + "Return a request payload in XML format. Include the URI of the XML +namespace provided in the alist XMLNS." + (let* ((tree (aws-value->sxml input)) + (tree-with-ns + (match tree + (((first . rest)) + (let ((ns-uri + (and=> xmlns (lambda (ns) + (assoc-ref ns "uri"))))) + (if ns-uri + (list (cons* first `(@ (xmlns ,ns-uri)) rest)) + tree)))))) + (call-with-output-string + (lambda (port) + (sxml->xml tree-with-ns port))))) + (define (parameterize-request-uri request-format-string input) "Process the format string URL in REQUEST-FORMAT-STRING and replace all placeholders (strings surrounded by curly braces) with their @@ -120,7 +137,10 @@ corresponding value in INPUT." (define api-version (assoc-ref api-metadata 'apiVersion)) - (lambda* (#:key http operation-name input) + (lambda* (#:key + http operation-name + xml-namespace + input) (define region (or (getenv "AWS_DEFAULT_REGION") "us-west-2")) @@ -133,17 +153,17 @@ corresponding value in INPUT." (define method (assoc-ref http "method")) (define host - (string-join (list endpoint-prefix - region - "amazonaws.com") - ".")) + (or (assoc-ref api-metadata 'globalEndpoint) + (string-join (list endpoint-prefix + region + "amazonaws.com") + "."))) (define endpoint (or (getenv "GUILE_AWS_DEBUG_ENDPOINT") (string-append "https://" host))) (define json? (match (assoc-ref api-metadata 'protocol) - ("json" #true) - ("rest-json" #true) + ((or "json" "rest-json") #true) (_ #false))) (define content-type (if json? @@ -161,9 +181,14 @@ corresponding value in INPUT." operation-name))) (define request-parameters - (if json? - (request-json-string input) - (request-query-string operation-name api-version input))) + (match (assoc-ref api-metadata 'protocol) + ((or "json" + "rest-json") + (request-json-string input)) + ("rest-xml" + (request-xml-string xml-namespace input)) + (_ + (request-query-string operation-name api-version input)))) (define payload-hash (hexify (sha256 (string->utf8 request-parameters)))) diff --git a/aws/serialize.scm b/aws/serialize.scm index 10c8c75..c3fcaf3 100644 --- a/aws/serialize.scm +++ b/aws/serialize.scm @@ -22,7 +22,8 @@ #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:export (serialize-aws-value - aws-value->scm)) + aws-value->scm + aws-value->sxml)) ;; See https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html (define* (serialize-aws-value thing) @@ -118,3 +119,36 @@ which can easily be converted to JSON." (list->vector (map (cut aws-value->scm <> 'strip-name) thing))) ;; Other primitive value, e.g. string or boolean (else thing))) + +(define* (aws-value->sxml thing #:optional strip-name?) + "Transform the potentially nested AWS value THING into an sxml expression, +which can easily be converted to XML." + (cond + ((aws-structure? thing) + (let ((members + (filter-map (lambda (member) + ;; TODO: skip members that have "location=uri" + (let ((location (aws-member-location member))) + (if (and location + (string=? location "uri")) + #false + (match (aws-member-value member) + ('__unspecified__ #false) + (value + `(,(or (aws-member-location-name member) + (aws-member-name member)) + ,(aws-value->sxml value 'strip))))))) + (aws-structure-members thing)))) + (if strip-name? + members + `((,(aws-structure-aws-name thing) ,members))))) + ((aws-shape? thing) + (match (aws-shape-value thing) + ((? list? l) (map aws-value->sxml l)) + (x x))) + ;; TODO: what about the primitive "map" type? That would also + ;; appear as a pair, wouldn't it? + ((pair? thing) + (map aws-value->sxml thing)) + ;; Other primitive value, e.g. string or boolean + (else thing))) -- cgit v1.2.3