Skip to content

Commit

Permalink
Regenerating amazonka-route53 from latest service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanhay committed Nov 29, 2016
1 parent e0c9f54 commit 1a48a46
Show file tree
Hide file tree
Showing 36 changed files with 919 additions and 193 deletions.
3 changes: 3 additions & 0 deletions amazonka-route53/amazonka-route53.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,13 @@ library
, Network.AWS.Route53.CreateTrafficPolicy
, Network.AWS.Route53.CreateTrafficPolicyInstance
, Network.AWS.Route53.CreateTrafficPolicyVersion
, Network.AWS.Route53.CreateVPCAssociationAuthorization
, Network.AWS.Route53.DeleteHealthCheck
, Network.AWS.Route53.DeleteHostedZone
, Network.AWS.Route53.DeleteReusableDelegationSet
, Network.AWS.Route53.DeleteTrafficPolicy
, Network.AWS.Route53.DeleteTrafficPolicyInstance
, Network.AWS.Route53.DeleteVPCAssociationAuthorization
, Network.AWS.Route53.DisassociateVPCFromHostedZone
, Network.AWS.Route53.GetChange
, Network.AWS.Route53.GetCheckerIPRanges
Expand Down Expand Up @@ -81,6 +83,7 @@ library
, Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone
, Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy
, Network.AWS.Route53.ListTrafficPolicyVersions
, Network.AWS.Route53.ListVPCAssociationAuthorizations
, Network.AWS.Route53.TestDNSAnswer
, Network.AWS.Route53.Types
, Network.AWS.Route53.UpdateHealthCheck
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
24 changes: 24 additions & 0 deletions amazonka-route53/gen/Network/AWS/Route53.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,27 @@ module Network.AWS.Route53
-- ** DelegationSetAlreadyReusable
, _DelegationSetAlreadyReusable

-- ** NotAuthorizedException
, _NotAuthorizedException

-- ** PriorRequestNotComplete
, _PriorRequestNotComplete

-- ** InvalidChangeBatch
, _InvalidChangeBatch

-- ** TooManyVPCAssociationAuthorizations
, _TooManyVPCAssociationAuthorizations

-- ** TrafficPolicyAlreadyExists
, _TrafficPolicyAlreadyExists

-- ** InvalidTrafficPolicyDocument
, _InvalidTrafficPolicyDocument

-- ** InvalidPaginationToken
, _InvalidPaginationToken

-- ** DelegationSetNotReusable
, _DelegationSetNotReusable

Expand All @@ -80,6 +89,9 @@ module Network.AWS.Route53
-- ** TooManyTrafficPolicies
, _TooManyTrafficPolicies

-- ** VPCAssociationAuthorizationNotFound
, _VPCAssociationAuthorizationNotFound

-- ** NoSuchGeoLocation
, _NoSuchGeoLocation

Expand Down Expand Up @@ -200,6 +212,12 @@ module Network.AWS.Route53
-- ** CreateHostedZone
, module Network.AWS.Route53.CreateHostedZone

-- ** CreateVPCAssociationAuthorization
, module Network.AWS.Route53.CreateVPCAssociationAuthorization

-- ** ListVPCAssociationAuthorizations
, module Network.AWS.Route53.ListVPCAssociationAuthorizations

-- ** ListTrafficPolicyInstancesByPolicy
, module Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy

Expand All @@ -209,6 +227,9 @@ module Network.AWS.Route53
-- ** CreateHealthCheck
, module Network.AWS.Route53.CreateHealthCheck

-- ** DeleteVPCAssociationAuthorization
, module Network.AWS.Route53.DeleteVPCAssociationAuthorization

-- ** ChangeTagsForResource
, module Network.AWS.Route53.ChangeTagsForResource

Expand Down Expand Up @@ -545,11 +566,13 @@ import Network.AWS.Route53.CreateReusableDelegationSet
import Network.AWS.Route53.CreateTrafficPolicy
import Network.AWS.Route53.CreateTrafficPolicyInstance
import Network.AWS.Route53.CreateTrafficPolicyVersion
import Network.AWS.Route53.CreateVPCAssociationAuthorization
import Network.AWS.Route53.DeleteHealthCheck
import Network.AWS.Route53.DeleteHostedZone
import Network.AWS.Route53.DeleteReusableDelegationSet
import Network.AWS.Route53.DeleteTrafficPolicy
import Network.AWS.Route53.DeleteTrafficPolicyInstance
import Network.AWS.Route53.DeleteVPCAssociationAuthorization
import Network.AWS.Route53.DisassociateVPCFromHostedZone
import Network.AWS.Route53.GetChange
import Network.AWS.Route53.GetCheckerIPRanges
Expand Down Expand Up @@ -578,6 +601,7 @@ import Network.AWS.Route53.ListTrafficPolicyInstances
import Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone
import Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy
import Network.AWS.Route53.ListTrafficPolicyVersions
import Network.AWS.Route53.ListVPCAssociationAuthorizations
import Network.AWS.Route53.TestDNSAnswer
import Network.AWS.Route53.Types
import Network.AWS.Route53.UpdateHealthCheck
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
-- Associates an Amazon VPC with a private hosted zone.
--
--
-- /Important:/ The VPC and the hosted zone must already exist, and you must have created a private hosted zone. You cannot convert a public hosted zone into a private hosted zone.
-- /Important:/ To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone.
--
-- Send a @POST@ request to the @//Amazon Route 53 API version/ /hostedzone//hosted zone ID/ /associatevpc@ resource. The request body must include an XML document with a @AssociateVPCWithHostedZoneRequest@ element. The response returns the @AssociateVPCWithHostedZoneResponse@ element.
-- Send a @POST@ request to the @/2013-04-01/hostedzone//hosted zone ID/ /associatevpc@ resource. The request body must include a document with an @AssociateVPCWithHostedZoneRequest@ element. The response contains a @ChangeInfo@ data type that you can use to track the progress of the request.
--
module Network.AWS.Route53.AssociateVPCWithHostedZone
(
Expand All @@ -50,7 +50,7 @@ import Network.AWS.Response
import Network.AWS.Route53.Types
import Network.AWS.Route53.Types.Product

-- | A complex type that contains information about the VPC and the hosted zone that you want to associate.
-- | A complex type that contains information about the request to associate a VPC with a private hosted zone.
--
--
--
Expand All @@ -67,9 +67,9 @@ data AssociateVPCWithHostedZone = AssociateVPCWithHostedZone'
--
-- * 'avwhzComment' - /Optional:/ A comment about the association request.
--
-- * 'avwhzHostedZoneId' - The ID of the hosted zone you want to associate your VPC with. Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
-- * 'avwhzHostedZoneId' - 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.
--
-- * 'avwhzVPC' - A complex type containing information about the Amazon VPC that you're associating with the specified hosted zone.
-- * 'avwhzVPC' - A complex type that contains information about the VPC that you want to associate with a private hosted zone.
associateVPCWithHostedZone
:: Text -- ^ 'avwhzHostedZoneId'
-> VPC -- ^ 'avwhzVPC'
Expand All @@ -85,11 +85,11 @@ associateVPCWithHostedZone pHostedZoneId_ pVPC_ =
avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text)
avwhzComment = lens _avwhzComment (\ s a -> s{_avwhzComment = a});

-- | The ID of the hosted zone you want to associate your VPC with. Note that you cannot associate a VPC with a hosted zone that doesn't have an existing VPC association.
-- | 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.
avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text
avwhzHostedZoneId = lens _avwhzHostedZoneId (\ s a -> s{_avwhzHostedZoneId = a});

-- | A complex type containing information about the Amazon VPC that you're associating with the specified hosted zone.
-- | A complex type that contains information about the VPC that you want to associate with a private hosted zone.
avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC
avwhzVPC = lens _avwhzVPC (\ s a -> s{_avwhzVPC = a});

Expand Down Expand Up @@ -129,7 +129,7 @@ instance ToXML AssociateVPCWithHostedZone where
= mconcat
["Comment" @= _avwhzComment, "VPC" @= _avwhzVPC]

-- | A complex type that contains the response information for the hosted zone.
-- | A complex type that contains the response information for the @AssociateVPCWithHostedZone@ request.
--
--
--
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,35 +27,57 @@
--
-- For example, a change batch request that deletes the @CNAME@ record for www.example.com and creates an alias resource record set for www.example.com. Amazon Route 53 deletes the first resource record set and creates the second resource record set in a single operation. If either the @DELETE@ or the @CREATE@ action fails, then both changes (plus any other changes in the batch) fail, and the original @CNAME@ record continues to exist.
--
-- /Important:/ Due to the nature of transactional changes, you cannot delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an @InvalidChangeBatch@ error.
-- /Important:/ Due to the nature of transactional changes, you can't delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an @InvalidChangeBatch@ error.
--
-- Use @ChangeResourceRecordsSetsRequest@ to perform the following actions:
--
-- * @CREATE@ :Creates a resource record set that has the specified values.
-- * @CREATE@ : Creates a resource record set that has the specified values.
--
-- * @DELETE@ : Deletes an existing resource record set that has the specified values for @Name@ , @Type@ , @Set Identifier@ (for code latency, weighted, geolocation, and failover resource record sets), and @TTL@ (except alias resource record sets, for which the TTL is determined by the AWS resource you're routing queries to).
-- * @DELETE@ : Deletes an existing resource record set that has the specified values.
--
-- * @UPSERT@ : If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. Amazon Route 53 can update an existing resource record set only when all of the following values match: @Name@ , @Type@ , and @Set Identifier@ (for weighted, latency, geolocation, and failover resource record sets).
-- * @UPSERT@ : If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request.
--
--
--
-- In response to a @ChangeResourceRecordSets@ request, the DNS data is changed on all Amazon Route 53 DNS servers. Initially, the status of a change is @PENDING@ , meaning the change has not yet propagated to all the authoritative Amazon Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of @INSYNC@ .
-- The values that you need to include in the request depend on the type of resource record set that you're creating, deleting, or updating:
--
-- After sending a change request, confirm your change has propagated to all Amazon Route 53 DNS servers. Changes generally propagate to all Amazon Route 53 name servers in a few minutes. In rare circumstances, propagation can take up to 30 minutes. For more information, see 'GetChange' .
-- __Basic resource record sets (excluding alias, failover, geolocation, latency, and weighted resource record sets)__
--
-- Note the following limitations on a @ChangeResourceRecordSets@ request:
-- * @Name@
--
-- * A request cannot contain more than 100 Change elements.
-- * @Type@
--
-- * A request cannot contain more than 1000 ResourceRecord elements.
-- * @TTL@
--
-- * The sum of the number of characters (including spaces) in all @Value@ elements in a request cannot exceed 32,000 characters.
--
-- * * The same resource cannot be deleted more than once in a single batch.
--
-- __Failover, geolocation, latency, or weighted resource record sets (excluding alias resource record sets)__
--
-- * @Name@
--
-- For more information on transactional changes, see 'ChangeResourceRecordSets' .
-- * @Type@
--
-- * @TTL@
--
-- * @SetIdentifier@
--
--
--
-- __Alias resource record sets (including failover alias, geolocation alias, latency alias, and weighted alias resource record sets)__
--
-- * @Name@
--
-- * @Type@
--
-- * @AliasTarget@ (includes @DNSName@ , @EvaluateTargetHealth@ , and @HostedZoneId@ )
--
-- * @SetIdentifier@ (for failover, geolocation, latency, and weighted resource record sets)
--
--
--
-- When you submit a @ChangeResourceRecordSets@ request, Amazon Route 53 propagates your changes to all of the Amazon 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 Amazon Route 53 name servers in a few minutes. In rare circumstances, propagation can take up to 30 minutes. For more information, see 'GetChange'
--
-- For information about the limits on a @ChangeResourceRecordSets@ request, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html Limits> in the /Amazon Route 53 Developer Guide/ .
--
module Network.AWS.Route53.ChangeResourceRecordSets
(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Undocumented operation.
-- Adds, edits, or deletes tags for a health check or a hosted zone.
--
--
-- For information about using tags for cost allocation, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html Using Cost Allocation Tags> in the /AWS Billing and Cost Management User Guide/ .
--
module Network.AWS.Route53.ChangeTagsForResource
(
-- * Creating a Request
Expand Down
6 changes: 3 additions & 3 deletions amazonka-route53/gen/Network/AWS/Route53/CreateHealthCheck.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
-- Creates a new health check.
--
--
-- To create a new health check, send a @POST@ request to the @/2013-04-01/healthcheck@ resource. The request body must include an XML document with a @CreateHealthCheckRequest@ element. The response returns the @CreateHealthCheckResponse@ element, containing the health check ID specified when adding health check to a resource record set. For information about adding health checks to resource record sets, see 'ResourceRecordSet$HealthCheckId' in 'ChangeResourceRecordSets' .
-- To create a new health check, send a @POST@ request to the @/2013-04-01/healthcheck@ resource. The request body must include a document with a @CreateHealthCheckRequest@ element. The response returns the @CreateHealthCheckResponse@ element, containing the health check ID specified when adding health check to a resource record set. For information about adding health checks to resource record sets, see 'ResourceRecordSet$HealthCheckId' in 'ChangeResourceRecordSets' .
--
-- If you are registering Amazon EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the Amazon EC2 instances. When you register an Amazon EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check.
-- If you are 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 an Amazon Route 53 health check.
--
-- You can associate health checks with failover resource record sets in a private hosted zone. Note the following:
--
-- * Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC.
--
-- * You can configure a health checker to check the health of an external resource that the instance relies on, such as a database server.
--
-- * You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 @StatusCheckFailed@ metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html Amazon CloudWatch Developer Guide> .
-- * You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 @StatusCheckFailed@ metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html Amazon CloudWatch User Guide> .
--
--
--
Expand Down
Loading

0 comments on commit 1a48a46

Please sign in to comment.