packages feed

amazonka-route53 1.4.3 → 1.4.4

raw patch · 61 files changed

+1199/−493 lines, 61 filesdep ~amazonka-coredep ~amazonka-route53dep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-route53, amazonka-test

API changes (from Hackage documentation)

+ Network.AWS.Route53: ApSouth1 :: VPCRegion
+ Network.AWS.Route53: Bombay :: Region
+ Network.AWS.Route53: CWRApSouth1 :: CloudWatchRegion
+ Network.AWS.Route53: Naptr :: RecordType
+ Network.AWS.Route53.TestDNSAnswer: data TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: data TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance Control.DeepSeq.NFData Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance Control.DeepSeq.NFData Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance Data.Data.Data Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance Data.Data.Data Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance Data.Hashable.Class.Hashable Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Classes.Eq Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Classes.Eq Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Generics.Generic Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Generics.Generic Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Read.Read Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Read.Read Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Show.Show Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance GHC.Show.Show Network.AWS.Route53.TestDNSAnswer.TestDNSAnswerResponse
+ Network.AWS.Route53.TestDNSAnswer: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: instance Network.AWS.Types.AWSRequest Network.AWS.Route53.TestDNSAnswer.TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: tdaEDNS0ClientSubnetIP :: Lens' TestDNSAnswer (Maybe Text)
+ Network.AWS.Route53.TestDNSAnswer: tdaEDNS0ClientSubnetMask :: Lens' TestDNSAnswer (Maybe Text)
+ Network.AWS.Route53.TestDNSAnswer: tdaHostedZoneId :: Lens' TestDNSAnswer Text
+ Network.AWS.Route53.TestDNSAnswer: tdaRecordName :: Lens' TestDNSAnswer Text
+ Network.AWS.Route53.TestDNSAnswer: tdaRecordType :: Lens' TestDNSAnswer RecordType
+ Network.AWS.Route53.TestDNSAnswer: tdaResolverIP :: Lens' TestDNSAnswer (Maybe Text)
+ Network.AWS.Route53.TestDNSAnswer: tdarsNameserver :: Lens' TestDNSAnswerResponse Text
+ Network.AWS.Route53.TestDNSAnswer: tdarsProtocol :: Lens' TestDNSAnswerResponse Text
+ Network.AWS.Route53.TestDNSAnswer: tdarsRecordData :: Lens' TestDNSAnswerResponse [Text]
+ Network.AWS.Route53.TestDNSAnswer: tdarsRecordName :: Lens' TestDNSAnswerResponse Text
+ Network.AWS.Route53.TestDNSAnswer: tdarsRecordType :: Lens' TestDNSAnswerResponse RecordType
+ Network.AWS.Route53.TestDNSAnswer: tdarsResponseCode :: Lens' TestDNSAnswerResponse Text
+ Network.AWS.Route53.TestDNSAnswer: tdarsResponseStatus :: Lens' TestDNSAnswerResponse Int
+ Network.AWS.Route53.TestDNSAnswer: testDNSAnswer :: Text -> Text -> RecordType -> TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: testDNSAnswerResponse :: Int -> Text -> Text -> RecordType -> Text -> Text -> TestDNSAnswerResponse
+ Network.AWS.Route53.Types: ApSouth1 :: VPCRegion
+ Network.AWS.Route53.Types: Bombay :: Region
+ Network.AWS.Route53.Types: CWRApSouth1 :: CloudWatchRegion
+ Network.AWS.Route53.Types: Naptr :: RecordType

Files

README.md view
@@ -8,7 +8,7 @@  ## Version -`1.4.3`+`1.4.4`   ## Description
amazonka-route53.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-route53-version:               1.4.3+version:               1.4.4 synopsis:              Amazon Route 53 SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -82,6 +82,7 @@         , Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone         , Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy         , Network.AWS.Route53.ListTrafficPolicyVersions+        , Network.AWS.Route53.TestDNSAnswer         , Network.AWS.Route53.Types         , Network.AWS.Route53.UpdateHealthCheck         , Network.AWS.Route53.UpdateHostedZoneComment@@ -95,7 +96,7 @@         , Network.AWS.Route53.Types.Sum      build-depends:-          amazonka-core == 1.4.3.*+          amazonka-core == 1.4.4.*         , base          >= 4.7     && < 5  test-suite amazonka-route53-test@@ -115,9 +116,9 @@         , Test.AWS.Route53.Internal      build-depends:-          amazonka-core == 1.4.3.*-        , amazonka-test == 1.4.3.*-        , amazonka-route53 == 1.4.3.*+          amazonka-core == 1.4.4.*+        , amazonka-test == 1.4.4.*+        , amazonka-route53 == 1.4.4.*         , base         , bytestring         , tasty
− fixture/GetChangeDetails.yaml
− fixture/GetChangeDetailsResponse.proto
− fixture/ListChangeBatchesByHostedZone.yaml
− fixture/ListChangeBatchesByHostedZoneResponse.proto
− fixture/ListChangeBatchesByRRSet.yaml
− fixture/ListChangeBatchesByRRSetResponse.proto
+ fixture/TestDNSAnswer.yaml view
+ fixture/TestDNSAnswerResponse.proto view
gen/Network/AWS/Route53.hs view
@@ -260,6 +260,9 @@     -- ** CreateTrafficPolicyVersion     , module Network.AWS.Route53.CreateTrafficPolicyVersion +    -- ** TestDNSAnswer+    , module Network.AWS.Route53.TestDNSAnswer+     -- ** ListHealthChecks (Paginated)     , module Network.AWS.Route53.ListHealthChecks @@ -575,6 +578,7 @@ import           Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone import           Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy import           Network.AWS.Route53.ListTrafficPolicyVersions+import           Network.AWS.Route53.TestDNSAnswer import           Network.AWS.Route53.Types import           Network.AWS.Route53.UpdateHealthCheck import           Network.AWS.Route53.UpdateHostedZoneComment
gen/Network/AWS/Route53/AssociateVPCWithHostedZone.hs view
@@ -18,9 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action associates a VPC with an hosted zone.+-- Associates an Amazon VPC with a private hosted zone. ----- To associate a VPC with an hosted zone, send a 'POST' request to the '\/Route 53 API version\/hostedzone\/hosted zone ID\/associatevpc' resource. The request body must include a document with a 'AssociateVPCWithHostedZoneRequest' element. The response returns the 'AssociateVPCWithHostedZoneResponse' element that contains 'ChangeInfo' for you to track the progress of the 'AssociateVPCWithHostedZoneRequest' you made. See 'GetChange' operation for how to track the progress of your change.+-- 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.+--+-- 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.+--+-- If you used different accounts to create the hosted zone and to create the Amazon VPCs that you want to associate with the hosted zone, we need to update account permissions for you. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-associate-vpcs-different-accounts.html Associating Amazon VPCs and Private Hosted Zones That You Create with Different AWS Accounts> in the Amazon Route 53 Developer Guide. module Network.AWS.Route53.AssociateVPCWithHostedZone     (     -- * Creating a Request@@ -46,7 +50,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains information about the request to associate a VPC with an hosted zone.+-- | A complex type that contains information about the VPC and the hosted zone that you want to associate. -- -- /See:/ 'associateVPCWithHostedZone' smart constructor. data AssociateVPCWithHostedZone = AssociateVPCWithHostedZone'@@ -75,7 +79,7 @@     , _avwhzVPC = pVPC_     } --- | /Optional:/ Any comments you want to include about a 'AssociateVPCWithHostedZoneRequest'.+-- | /Optional:/ A comment about the association request. avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) avwhzComment = lens _avwhzComment (\ s a -> s{_avwhzComment = a}); @@ -85,7 +89,7 @@ avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text avwhzHostedZoneId = lens _avwhzHostedZoneId (\ s a -> s{_avwhzHostedZoneId = a}); --- | The VPC that you want your hosted zone to be associated with.+-- | A complex type containing information about the Amazon VPC that you\'re associating with the specified hosted zone. avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC avwhzVPC = lens _avwhzVPC (\ s a -> s{_avwhzVPC = a}); @@ -125,7 +129,7 @@           = mconcat               ["Comment" @= _avwhzComment, "VPC" @= _avwhzVPC] --- | A complex type containing the response information for the request.+-- | A complex type that contains the response information for the hosted zone. -- -- /See:/ 'associateVPCWithHostedZoneResponse' smart constructor. data AssociateVPCWithHostedZoneResponse = AssociateVPCWithHostedZoneResponse'@@ -154,7 +158,7 @@ avwhzrsResponseStatus :: Lens' AssociateVPCWithHostedZoneResponse Int avwhzrsResponseStatus = lens _avwhzrsResponseStatus (\ s a -> s{_avwhzrsResponseStatus = a}); --- | A complex type that contains the ID, the status, and the date and time of your 'AssociateVPCWithHostedZoneRequest'.+-- | A complex type that describes the changes made to your hosted zone. avwhzrsChangeInfo :: Lens' AssociateVPCWithHostedZoneResponse ChangeInfo avwhzrsChangeInfo = lens _avwhzrsChangeInfo (\ s a -> s{_avwhzrsChangeInfo = a}); 
gen/Network/AWS/Route53/ChangeResourceRecordSets.hs view
@@ -18,19 +18,45 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Use this action to create or change your authoritative DNS information. To use this action, send a 'POST' request to the '\/Route 53 API version\/hostedzone\/hosted Zone ID\/rrset' resource. The request body must include a document with a 'ChangeResourceRecordSetsRequest' element.+-- Create, change, update, or delete authoritative DNS information on all Amazon Route 53 servers. Send a 'POST' request to: ----- Changes are a list of change items and are considered transactional. For more information on transactional changes, also known as change batches, see <http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html POST ChangeResourceRecordSets> in the /Amazon Route 53 API Reference/.+-- '\/2013-04-01\/hostedzone\/Amazon Route 53 hosted Zone ID\/rrset' resource. --+-- 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. When using the Amazon Route 53 API to change resource record sets, Amazon Route 53 either makes all or none of the changes in a change batch request. This ensures that Amazon Route 53 never partially implements the intended changes to the resource record sets in a hosted zone.+--+-- 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.+-- -- 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. ----- In response to a 'ChangeResourceRecordSets' request, your DNS data is changed on all Amazon Route 53 DNS servers. Initially, the status of a change is 'PENDING'. This means 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'.+-- To create resource record sets for complex routing configurations, use either the traffic flow visual editor in the Amazon 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/traffic-flow.html Using Traffic Flow to Route DNS Traffic> in the Amazon Route 53 API Reference or <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/actions-on-polices Actions on Traffic Policies and Traffic Policy Instances> in this guide. --+-- Use 'ChangeResourceRecordsSetsRequest' to perform the following actions:+--+-- -   '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).+--+-- -   '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).+--+-- 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'.+--+-- 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>.+-- -- Note the following limitations on a 'ChangeResourceRecordSets' request: -- -- -   A request cannot contain more than 100 Change elements.+-- -- -   A request cannot contain more than 1000 ResourceRecord elements.+-- -- -   The sum of the number of characters (including spaces) in all 'Value' elements in a request cannot exceed 32,000 characters.+--+-- -   If the value of the Action element in a ChangeResourceRecordSets request is 'UPSERT' and the resource record set already exists, Amazon Route 53 automatically performs a 'DELETE' request and a 'CREATE' request. When Amazon Route 53 calculates the number of characters in the Value elements of a change batch request, it adds the number of characters in the Value element of the resource record set being deleted and the number of characters in the Value element of the resource record set being created.+--+-- -   The same resource cannot be deleted more than once in a single batch.+--+-- If the value of the Action element in a ChangeResourceRecordSets request is 'UPSERT' and the resource record set already exists, Amazon Route 53 automatically performs a 'DELETE' request and a 'CREATE' request. When Amazon Route 53 calculates the number of characters in the Value elements of a change batch request, it adds the number of characters in the Value element of the resource record set being deleted and the number of characters in the Value element of the resource record set being created.+--+-- For more information on transactional changes, see < ChangeResourceRecordSets>. module Network.AWS.Route53.ChangeResourceRecordSets     (     -- * Creating a Request@@ -55,7 +81,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains a change batch.+-- | A complex type that contains change information for the resource record set. -- -- /See:/ 'changeResourceRecordSets' smart constructor. data ChangeResourceRecordSets = ChangeResourceRecordSets'
gen/Network/AWS/Route53/ChangeTagsForResource.hs view
@@ -44,7 +44,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type containing information about a request to add, change, or delete the tags that are associated with a resource.+-- | A complex type that contains information about the tags that you want to add, edit, or delete. -- -- /See:/ 'changeTagsForResource' smart constructor. data ChangeTagsForResource = ChangeTagsForResource'@@ -77,19 +77,22 @@     , _ctfrResourceId = pResourceId_     } --- | A list of 'Tag' keys that you want to remove from the specified resource.+-- | 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. ctfrRemoveTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text)) ctfrRemoveTagKeys = lens _ctfrRemoveTagKeys (\ s a -> s{_ctfrRemoveTagKeys = a}) . mapping _List1; --- | A complex type that contains a list of 'Tag' elements. Each 'Tag' element identifies a tag that you want to add or update for the specified resource.+-- | 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 for which you want to edit the 'Value' element.+--+-- You can add a maximum of 10 tags to a health check or a hosted zone. ctfrAddTags :: Lens' ChangeTagsForResource (Maybe (NonEmpty Tag)) ctfrAddTags = lens _ctfrAddTags (\ s a -> s{_ctfrAddTags = a}) . mapping _List1;  -- | The type of the resource. ----- - The resource type for health checks is 'healthcheck'.+-- -   The resource type for health checks is 'healthcheck'. ----- - The resource type for hosted zones is 'hostedzone'.+-- -   The resource type for hosted zones is 'hostedzone'.+-- ctfrResourceType :: Lens' ChangeTagsForResource TagResourceType ctfrResourceType = lens _ctfrResourceType (\ s a -> s{_ctfrResourceType = a}); 
gen/Network/AWS/Route53/CreateHealthCheck.hs view
@@ -18,9 +18,20 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action creates a new health check.+-- Creates a new health check. ----- To create a new health check, send a 'POST' request to the '\/Route 53 API version\/healthcheck' resource. The request body must include a document with a 'CreateHealthCheckRequest' element. The response returns the 'CreateHealthCheckResponse' element that contains metadata about the 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>.+--+-- 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.+--+-- 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>.+-- module Network.AWS.Route53.CreateHealthCheck     (     -- * Creating a Request@@ -46,7 +57,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | >A complex type that contains information about the request to create a health check.+-- | A complex type that contains the health check request information. -- -- /See:/ 'createHealthCheck' smart constructor. data CreateHealthCheck = CreateHealthCheck'@@ -71,13 +82,11 @@     , _chcHealthCheckConfig = pHealthCheckConfig_     } --- | A unique string that identifies the request and that allows failed 'CreateHealthCheck' requests to be retried without the risk of executing the operation twice. You must use a unique 'CallerReference' string every time you create a health check. 'CallerReference' can be any unique string; you might choose to use a string that identifies your project.------ Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.+-- | A unique string that identifies the request and that allows failed 'CreateHealthCheck' requests to be retried without the risk of executing the operation twice. You must use a unique 'CallerReference' string every time you create a health check. chcCallerReference :: Lens' CreateHealthCheck Text chcCallerReference = lens _chcCallerReference (\ s a -> s{_chcCallerReference = a}); --- | A complex type that contains health check configuration.+-- | A complex type that contains the response to a 'CreateHealthCheck' request. chcHealthCheckConfig :: Lens' CreateHealthCheck HealthCheckConfig chcHealthCheckConfig = lens _chcHealthCheckConfig (\ s a -> s{_chcHealthCheckConfig = a}); 
gen/Network/AWS/Route53/CreateHostedZone.hs view
@@ -18,15 +18,25 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action creates a new hosted zone.+-- Creates a new public hosted zone, used to specify how the Domain Name System (DNS) routes traffic on the Internet for a domain, such as example.com, and its subdomains. ----- To create a new hosted zone, send a 'POST' request to the '\/Route 53 API version\/hostedzone' resource. The request body must include a document with a 'CreateHostedZoneRequest' element. The response returns the 'CreateHostedZoneResponse' element that contains metadata about the hosted zone.+-- Public hosted zones cannot be converted to a private hosted zone or vice versa. Instead, create a new hosted zone with the same name and create new resource record sets. ----- Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. The NS records in the hosted zone are the name servers you give your registrar to delegate your domain to. For more information about SOA and NS records, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone> in the /Amazon Route 53 Developer Guide/.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/hostedzone' resource. The request body must include an XML document with a 'CreateHostedZoneRequest' element. The response returns the 'CreateHostedZoneResponse' element containing metadata about the hosted zone. ----- When you create a zone, its initial status is 'PENDING'. This means that it is not yet available on all DNS servers. The status of the zone changes to 'INSYNC' when the NS and SOA records are available on all Amazon Route 53 DNS servers.+-- Fore more information about charges for hosted zones, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/pricing/ AmazonAmazon Route 53 Pricing>. ----- When trying to create a hosted zone using a reusable delegation set, you could specify an optional DelegationSetId, and Route53 would assign those 4 NS records for the zone, instead of alloting a new one.+-- Note the following:+--+-- -   You cannot create a hosted zone for a top-level domain (TLD).+--+-- -   Amazon Route 53 automatically creates a default SOA record and four NS records for the zone. For more information about SOA and NS records, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/SOA-NSrecords.html NS and SOA Records that Amazon Route 53 Creates for a Hosted Zone> in the /Amazon Route 53 Developer Guide/.+--+-- -   If your domain is registered with a registrar other than Amazon Route 53, you must update the name servers with your registrar to make Amazon Route 53 your DNS service. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/creating-migrating.html Configuring Amazon Route 53 as your DNS Service> in the /Amazon Route 53 Developer\'s Guide/.+--+-- After creating a zone, its initial status is 'PENDING'. This means that it is not yet available on all DNS servers. The status of the zone changes to 'INSYNC' when the NS and SOA records are available on all Amazon Route 53 DNS servers.+--+-- When trying to create a hosted zone using a reusable delegation set, specify an optional DelegationSetId, and Amazon Route 53 would assign those 4 NS records for the zone, instead of alloting a new one. module Network.AWS.Route53.CreateHostedZone     (     -- * Creating a Request@@ -58,7 +68,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains information about the request to create a hosted zone.+-- | A complex type containing the hosted zone request information. -- -- /See:/ 'createHostedZone' smart constructor. data CreateHostedZone = CreateHostedZone'@@ -95,7 +105,17 @@     , _chzCallerReference = pCallerReference_     } --- | The delegation set id of the reusable delgation set whose NS records you want to assign to the new hosted zone.+-- | 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>.+--+-- [Type]+--     String+--+-- [Default]+--     None+--+-- [Parent]+--     'CreatedHostedZoneRequest'+-- chzDelegationSetId :: Lens' CreateHostedZone (Maybe Text) chzDelegationSetId = lens _chzDelegationSetId (\ s a -> s{_chzDelegationSetId = a}); @@ -103,19 +123,17 @@ chzVPC :: Lens' CreateHostedZone (Maybe VPC) chzVPC = lens _chzVPC (\ s a -> s{_chzVPC = a}); --- | A complex type that contains an optional comment about your hosted zone.+-- | (Optional) 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. chzHostedZoneConfig :: Lens' CreateHostedZone (Maybe HostedZoneConfig) chzHostedZoneConfig = lens _chzHostedZoneConfig (\ s a -> s{_chzHostedZoneConfig = a}); --- | The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.+-- | The name of the domain. For resource record types that include a domain name, 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 Amazon Route 53 treats /www.example.com/ (without a trailing dot) and /www.example.com./ (with a trailing dot) as identical. ----- This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of 'NameServers' elements returned in 'DelegationSet'.+-- 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 Amazon Route 53, change the name servers for your domain to the set of 'NameServers' that 'CreateHostedZone' returns in the DelegationSet element. chzName :: Lens' CreateHostedZone Text chzName = lens _chzName (\ s a -> s{_chzName = a}); --- | 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 create a hosted zone. 'CallerReference' can be any unique string; you might choose to use a string that identifies your project, such as 'DNSMigration_01'.------ Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.+-- | 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 create a hosted zone. 'CallerReference' can be any unique string, for example, a date\/time stamp. chzCallerReference :: Lens' CreateHostedZone Text chzCallerReference = lens _chzCallerReference (\ s a -> s{_chzCallerReference = a}); @@ -159,7 +177,7 @@                "Name" @= _chzName,                "CallerReference" @= _chzCallerReference] --- | A complex type containing the response information for the new hosted zone.+-- | A complex type containing the response information for the hosted zone. -- -- /See:/ 'createHostedZoneResponse' smart constructor. data CreateHostedZoneResponse = CreateHostedZoneResponse'@@ -211,15 +229,15 @@ chzrsResponseStatus :: Lens' CreateHostedZoneResponse Int chzrsResponseStatus = lens _chzrsResponseStatus (\ s a -> s{_chzrsResponseStatus = a}); --- | A complex type that contains identifying information about the hosted zone.+-- | A complex type that contains general information about the hosted zone. chzrsHostedZone :: Lens' CreateHostedZoneResponse HostedZone chzrsHostedZone = lens _chzrsHostedZone (\ s a -> s{_chzrsHostedZone = a}); --- | A complex type that contains information about the request to create a hosted zone. This includes an ID that you use when you call the < GetChange> action to get the current status of the change request.+-- | A complex type that describes the changes made to your hosted zone. chzrsChangeInfo :: Lens' CreateHostedZoneResponse ChangeInfo chzrsChangeInfo = lens _chzrsChangeInfo (\ s a -> s{_chzrsChangeInfo = a}); --- | A complex type that contains name server information.+-- | A complex type that describes the name servers for this hosted zone. chzrsDelegationSet :: Lens' CreateHostedZoneResponse DelegationSet chzrsDelegationSet = lens _chzrsDelegationSet (\ s a -> s{_chzrsDelegationSet = a}); 
gen/Network/AWS/Route53/CreateReusableDelegationSet.hs view
@@ -18,11 +18,13 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action creates a reusable delegationSet.+-- Creates a delegation set (a group of four anem servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, 'CreateReusableDelegationSet' marks the delegation set associated with that zone as reusable ----- To create a new reusable delegationSet, send a 'POST' request to the '\/Route 53 API version\/delegationset' resource. The request body must include a document with a 'CreateReusableDelegationSetRequest' element. The response returns the 'CreateReusableDelegationSetResponse' element that contains metadata about the delegationSet.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/delegationset' resource. The request body must include an XML document with a 'CreateReusableDelegationSetRequest' element. ----- If the optional parameter HostedZoneId is specified, it marks the delegationSet associated with that particular hosted zone as reusable.+-- A reusable delegation set cannot be associated with a private hosted zone\/+--+-- For more information, including a procedure on how to create and configure a reusable delegation set (also known as white label name servers), see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/white-label-name-servers.html Configuring White Label Name Servers>. module Network.AWS.Route53.CreateReusableDelegationSet     (     -- * Creating a Request@@ -70,13 +72,11 @@     , _crdsCallerReference = pCallerReference_     } --- | The ID of the hosted zone whose delegation set you want to mark as reusable. It is an optional parameter.+-- | If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone. crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe Text) crdsHostedZoneId = lens _crdsHostedZoneId (\ s a -> s{_crdsHostedZoneId = a}); --- | A unique string that identifies the request and that allows failed 'CreateReusableDelegationSet' requests to be retried without the risk of executing the operation twice. You must use a unique 'CallerReference' string every time you create a reusable delegation set. 'CallerReference' can be any unique string; you might choose to use a string that identifies your project, such as 'DNSMigration_01'.------ Valid characters are any Unicode code points that are legal in an XML 1.0 document. The UTF-8 encoding of the value must be less than 128 bytes.+-- | 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. crdsCallerReference :: Lens' CreateReusableDelegationSet Text crdsCallerReference = lens _crdsCallerReference (\ s a -> s{_crdsCallerReference = a}); 
gen/Network/AWS/Route53/CreateTrafficPolicy.hs view
@@ -20,7 +20,7 @@ -- -- 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). ----- To create a traffic policy, send a 'POST' request to the '\/Route 53 API version\/trafficpolicy' resource. The request body must include a document with a 'CreateTrafficPolicyRequest' element. The response includes the 'CreateTrafficPolicyResponse' element, which contains information about the new traffic policy.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource. The request body must include a document with a 'CreateTrafficPolicyRequest' element. The response includes the 'CreateTrafficPolicyResponse' element, which contains information about the new traffic policy. module Network.AWS.Route53.CreateTrafficPolicy     (     -- * Creating a Request@@ -76,7 +76,7 @@     , _ctpDocument = pDocument_     } --- | Any comments that you want to include about the traffic policy.+-- | (Optional) Any comments that you want to include about the traffic policy. ctpComment :: Lens' CreateTrafficPolicy (Maybe Text) ctpComment = lens _ctpComment (\ s a -> s{_ctpComment = a}); @@ -84,7 +84,7 @@ ctpName :: Lens' CreateTrafficPolicy Text ctpName = lens _ctpName (\ s a -> s{_ctpName = a}); --- | The definition of this traffic policy in JSON format.+-- | The definition of this traffic policy in JSON format. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/api-policies-traffic-policy-document-format.html Traffic Policy Document Format> in the /Amazon Route 53 API Reference/. ctpDocument :: Lens' CreateTrafficPolicy Text ctpDocument = lens _ctpDocument (\ s a -> s{_ctpDocument = a}); 
gen/Network/AWS/Route53/CreateTrafficPolicyInstance.hs view
@@ -20,7 +20,7 @@ -- -- 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. ----- To create a traffic policy instance, send a 'POST' request to the '\/Route 53 API version\/trafficpolicyinstance' resource. The request body must include a document with a 'CreateTrafficPolicyRequest' element. The response returns the 'CreateTrafficPolicyInstanceResponse' element, which contains information about the traffic policy instance.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/trafficpolicyinstance' resource. The request body must include a document with a 'CreateTrafficPolicyRequest' element. The response returns the 'CreateTrafficPolicyInstanceResponse' element, which contains information about the traffic policy instance. module Network.AWS.Route53.CreateTrafficPolicyInstance     (     -- * Creating a Request@@ -97,7 +97,7 @@ ctpiName :: Lens' CreateTrafficPolicyInstance Text ctpiName = lens _ctpiName (\ s a -> s{_ctpiName = a}); --- | 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.+-- | (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. ctpiTTL :: Lens' CreateTrafficPolicyInstance Natural ctpiTTL = lens _ctpiTTL (\ s a -> s{_ctpiTTL = a}) . _Nat; 
gen/Network/AWS/Route53/CreateTrafficPolicyVersion.hs view
@@ -18,11 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- 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).+-- 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. ----- To create a new version, send a 'POST' request to the '\/Route 53 API version\/trafficpolicy\/' resource. The request body includes a document with a 'CreateTrafficPolicyVersionRequest' element. The response returns the 'CreateTrafficPolicyVersionResponse' element, which contains information about the new version of the traffic policy.+-- Send a 'POST' request to the '\/Amazon Route 53 version\/trafficpolicy\/' resource. The request body includes a document with a 'CreateTrafficPolicyVersionRequest' element. The response returns the 'CreateTrafficPolicyVersionResponse' element, which contains information about the new version of the traffic policy. module Network.AWS.Route53.CreateTrafficPolicyVersion     (     -- * Creating a Request@@ -78,7 +76,7 @@     , _ctpvDocument = pDocument_     } --- | Any comments that you want to include about the new traffic policy version.+-- | The comment that you specified in the 'CreateTrafficPolicyVersion' request, if any. ctpvComment :: Lens' CreateTrafficPolicyVersion (Maybe Text) ctpvComment = lens _ctpvComment (\ s a -> s{_ctpvComment = a}); @@ -86,7 +84,7 @@ ctpvId :: Lens' CreateTrafficPolicyVersion Text ctpvId = lens _ctpvId (\ s a -> s{_ctpvId = a}); --- | The definition of a new traffic policy version, in JSON format. You must specify the full definition of the new traffic policy. You cannot specify just the differences between the new version and a previous version.+-- | 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>. ctpvDocument :: Lens' CreateTrafficPolicyVersion Text ctpvDocument = lens _ctpvDocument (\ s a -> s{_ctpvDocument = a}); 
gen/Network/AWS/Route53/DeleteHealthCheck.hs view
@@ -18,9 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action deletes a health check. To delete a health check, send a 'DELETE' request to the '\/Route 53 API version\/healthcheck\/health check ID' resource.+-- Deletes a health check. Send a 'DELETE' request to the '\/2013-04-01\/healthcheck\/health check ID ' resource. ----- You can delete a health check only if there are no resource record sets associated with this health check. If resource record sets are associated with this health check, you must disassociate them before you can delete your health check. If you try to delete a health check that is associated with resource record sets, Amazon Route 53 will deny your request with a 'HealthCheckInUse' error. For information about disassociating the records from your health check, see < ChangeResourceRecordSets>.+-- 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 cannot be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html#health-checks-deleting.html Replacing and Deleting Health Checks> in the Amazon Route 53 Developer Guide. module Network.AWS.Route53.DeleteHealthCheck     (     -- * Creating a Request@@ -43,7 +43,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type containing the request information for delete health check.+-- | This action deletes a health check. Send a 'DELETE' request to the '\/2013-04-01\/DeleteHealthCheckRequest' resource. -- -- /See:/ 'deleteHealthCheck' smart constructor. newtype DeleteHealthCheck = DeleteHealthCheck'@@ -63,7 +63,7 @@     { _dhcHealthCheckId = pHealthCheckId_     } --- | The ID of the health check to delete.+-- | Undocumented member. dhcHealthCheckId :: Lens' DeleteHealthCheck Text dhcHealthCheckId = lens _dhcHealthCheckId (\ s a -> s{_dhcHealthCheckId = a}); @@ -90,7 +90,7 @@ instance ToQuery DeleteHealthCheck where         toQuery = const mempty --- | Empty response for the request.+-- | An empty element. -- -- /See:/ 'deleteHealthCheckResponse' smart constructor. newtype DeleteHealthCheckResponse = DeleteHealthCheckResponse'
gen/Network/AWS/Route53/DeleteHostedZone.hs view
@@ -18,11 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action deletes a hosted zone. To delete a hosted zone, send a 'DELETE' request to the '\/Route 53 API version\/hostedzone\/hosted zone ID' resource.------ For more information about deleting a hosted zone, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DeleteHostedZone.html Deleting a Hosted Zone> in the /Amazon Route 53 Developer Guide/.+-- Deletes a hosted zone. Send a 'DELETE' request to the '\/Amazon Route 53 API version\/hostedzone\/hosted zone ID ' resource. ----- You can delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If your hosted zone contains other resource record sets, you must delete them before you can delete your hosted zone. If you try to delete a hosted zone that contains other resource record sets, Amazon Route 53 will deny your request with a 'HostedZoneNotEmpty' error. For information about deleting records from your hosted zone, see < ChangeResourceRecordSets>.+-- Delete a hosted zone only if there are no resource record sets other than the default SOA record and NS resource record sets. If the hosted zone contains other resource record sets, delete them before deleting the hosted zone. If you try to delete a hosted zone that contains other resource record sets, Amazon Route 53 denies your request with a 'HostedZoneNotEmpty' error. For information about deleting records from your hosted zone, see < ChangeResourceRecordSets>. module Network.AWS.Route53.DeleteHostedZone     (     -- * Creating a Request
gen/Network/AWS/Route53/DeleteReusableDelegationSet.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action deletes a reusable delegation set. To delete a reusable delegation set, send a 'DELETE' request to the '\/Route 53 API version\/delegationset\/delegation set ID' resource.+-- Deletes a reusable delegation set. Send a 'DELETE' request to the '\/2013-04-01\/delegationset\/delegation set ID ' resource. ----- You can delete a reusable delegation set only if there are no associated hosted zones. If your reusable delegation set contains associated hosted zones, you must delete them before you can delete your reusable delegation set. If you try to delete a reusable delegation set that contains associated hosted zones, Amazon Route 53 will deny your request with a 'DelegationSetInUse' error.+-- You can delete a reusable delegation set only if there are no associated hosted zones.+--+-- To verify that the reusable delegation set is not associated with any hosted zones, run the < GetReusableDelegationSet> action and specify the ID of the reusable delegation set that you want to delete. module Network.AWS.Route53.DeleteReusableDelegationSet     (     -- * Creating a Request@@ -92,7 +94,7 @@ instance ToQuery DeleteReusableDelegationSet where         toQuery = const mempty --- | Empty response for the request.+-- | An empty element. -- -- /See:/ 'deleteReusableDelegationSetResponse' smart constructor. newtype DeleteReusableDelegationSetResponse = DeleteReusableDelegationSetResponse'
gen/Network/AWS/Route53/DeleteTrafficPolicy.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a traffic policy. To delete a traffic policy, send a 'DELETE' request to the '\/Route 53 API version\/trafficpolicy' resource.+-- Deletes a traffic policy.+--+-- Send a 'DELETE' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource. module Network.AWS.Route53.DeleteTrafficPolicy     (     -- * Creating a Request
gen/Network/AWS/Route53/DeleteTrafficPolicyInstance.hs view
@@ -20,9 +20,9 @@ -- -- Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance. ----- To delete a traffic policy instance, send a 'DELETE' request to the '\/Route 53 API version\/trafficpolicy\/traffic policy instance ID' resource.+-- Send a 'DELETE' request to the '\/Amazon Route 53 API version\/trafficpolicy\/traffic policy instance ID ' resource. ----- 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.+-- In the Amazon Route 53 console, traffic policy instances are known as policy records. module Network.AWS.Route53.DeleteTrafficPolicyInstance     (     -- * Creating a Request
gen/Network/AWS/Route53/DisassociateVPCFromHostedZone.hs view
@@ -18,9 +18,11 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action disassociates a VPC from an hosted zone.+-- Disassociates a VPC from a Amazon Route 53 private hosted zone. ----- To disassociate a VPC to a hosted zone, send a 'POST' request to the '\/Route 53 API version\/hostedzone\/hosted zone ID\/disassociatevpc' resource. The request body must include a document with a 'DisassociateVPCFromHostedZoneRequest' element. The response returns the 'DisassociateVPCFromHostedZoneResponse' element that contains 'ChangeInfo' for you to track the progress of the 'DisassociateVPCFromHostedZoneRequest' you made. See 'GetChange' operation for how to track the progress of your change.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/hostedzone\/hosted zone ID\/disassociatevpc' resource. The request body must include an XML document with a 'DisassociateVPCFromHostedZoneRequest' element. The response returns the 'DisassociateVPCFromHostedZoneResponse' element.+--+-- You can only disassociate a VPC from a private hosted zone when two or more VPCs are associated with that hosted zone. You cannot convert a private hosted zone into a public hosted zone. module Network.AWS.Route53.DisassociateVPCFromHostedZone     (     -- * Creating a Request@@ -46,7 +48,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains information about the request to disassociate a VPC from an hosted zone.+-- | A complex type that contains information about the VPC and the hosted zone that you want to disassociate. -- -- /See:/ 'disassociateVPCFromHostedZone' smart constructor. data DisassociateVPCFromHostedZone = DisassociateVPCFromHostedZone'@@ -75,17 +77,15 @@     , _dvfhzVPC = pVPC_     } --- | /Optional:/ Any comments you want to include about a 'DisassociateVPCFromHostedZoneRequest'.+-- | /Optional:/ A comment about the disassociation request. dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text) dvfhzComment = lens _dvfhzComment (\ s a -> s{_dvfhzComment = a}); --- | The ID of the hosted zone you want to disassociate your VPC from.------ Note that you cannot disassociate the last VPC from a hosted zone.+-- | The ID of the VPC that you want to disassociate from an Amazon Route 53 hosted zone. dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone Text dvfhzHostedZoneId = lens _dvfhzHostedZoneId (\ s a -> s{_dvfhzHostedZoneId = a}); --- | The VPC that you want your hosted zone to be disassociated from.+-- | A complex type containing information about the Amazon VPC that you\'re disassociating from the specified hosted zone. dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC dvfhzVPC = lens _dvfhzVPC (\ s a -> s{_dvfhzVPC = a}); @@ -128,7 +128,7 @@           = mconcat               ["Comment" @= _dvfhzComment, "VPC" @= _dvfhzVPC] --- | A complex type containing the response information for the request.+-- | A complex type that contains the response information for the disassociate request. -- -- /See:/ 'disassociateVPCFromHostedZoneResponse' smart constructor. data DisassociateVPCFromHostedZoneResponse = DisassociateVPCFromHostedZoneResponse'@@ -157,7 +157,7 @@ dvfhzrsResponseStatus :: Lens' DisassociateVPCFromHostedZoneResponse Int dvfhzrsResponseStatus = lens _dvfhzrsResponseStatus (\ s a -> s{_dvfhzrsResponseStatus = a}); --- | A complex type that contains the ID, the status, and the date and time of your 'DisassociateVPCFromHostedZoneRequest'.+-- | A complex type that describes the changes made to your hosted zone. dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo dvfhzrsChangeInfo = lens _dvfhzrsChangeInfo (\ s a -> s{_dvfhzrsChangeInfo = a}); 
gen/Network/AWS/Route53/GetChange.hs view
@@ -18,11 +18,12 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action returns the current status of a change batch request. The status is one of the following values:+-- Returns the current status of a change batch request. The status is one of the following values: ----- - 'PENDING' indicates that the changes in this request have not replicated to all Amazon Route 53 DNS servers. This is the initial status of all change batch requests.+-- -   'PENDING' indicates that the changes in this request have not replicated to all Amazon Route 53 DNS servers. This is the initial status of all change batch requests. ----- - 'INSYNC' indicates that the changes have replicated to all Amazon Route 53 DNS servers.+-- -   'INSYNC' indicates that the changes have replicated to all Amazon Route 53 DNS servers.+-- module Network.AWS.Route53.GetChange     (     -- * Creating a Request@@ -122,7 +123,7 @@ gcrsResponseStatus :: Lens' GetChangeResponse Int gcrsResponseStatus = lens _gcrsResponseStatus (\ s a -> s{_gcrsResponseStatus = a}); --- | A complex type that contains information about the specified change batch, including the change batch ID, the status of the change, and the date and time of the request.+-- | A complex type that contains information about the specified change batch. gcrsChangeInfo :: Lens' GetChangeResponse ChangeInfo gcrsChangeInfo = lens _gcrsChangeInfo (\ s a -> s{_gcrsChangeInfo = a}); 
gen/Network/AWS/Route53/GetCheckerIPRanges.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a list of the IP ranges used by Amazon Route 53 health checkers to check the health of your resources, send a 'GET' request to the '\/Route 53 API version\/checkeripranges' resource. You can use these IP addresses to configure router and firewall rules to allow health checkers to check the health of your resources.+-- Retrieves a list of the IP ranges used by Amazon Route 53 health checkers to check the health of your resources. Send a 'GET' request to the '\/Amazon Route 53 API version\/checkeripranges' resource. Use these IP addresses to configure router and firewall rules to allow health checkers to check the health of your resources. module Network.AWS.Route53.GetCheckerIPRanges     (     -- * Creating a Request
gen/Network/AWS/Route53/GetGeoLocation.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a single geo location, send a 'GET' request to the '\/Route 53 API version\/geolocation' resource with one of these options: continentcode | countrycode | countrycode and subdivisioncode.+-- Retrieves a single geo location. Send a 'GET' request to the '\/2013-04-01\/geolocation' resource with one of these options: continentcode | countrycode | countrycode and subdivisioncode. module Network.AWS.Route53.GetGeoLocation     (     -- * Creating a Request@@ -71,23 +71,30 @@     , _gglContinentCode = Nothing     } --- | The code for a country\'s subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.------ Constraint: Specifying 'SubdivisionCode' without 'CountryCode' returns an < InvalidInput> error.+-- | Amazon Route 53 uses the one- to three-letter subdivision codes that are specified in <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO standard 3166-1 alpha-2>. Amazon Route 53 doesn\'t support subdivision codes for all countries. If you specify 'SubdivisionCode', you must also specify 'CountryCode'. gglSubdivisionCode :: Lens' GetGeoLocation (Maybe Text) gglSubdivisionCode = lens _gglSubdivisionCode (\ s a -> s{_gglSubdivisionCode = a}); --- | The code for a country geo location. The default location uses \'*\' for the country code and will match all locations that are not matched by a geo location.------ The default geo location uses a '*' for the country code. All other country codes follow the ISO 3166 two-character code.+-- | Amazon Route 53 uses the two-letter country codes that are specified in <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO standard 3166-1 alpha-2>. gglCountryCode :: Lens' GetGeoLocation (Maybe Text) gglCountryCode = lens _gglCountryCode (\ s a -> s{_gglCountryCode = a}); --- | The code for a continent geo location. Note: only continent locations have a continent code.+-- | Amazon Route 53 supports the following contintent codes: ----- Valid values: 'AF' | 'AN' | 'AS' | 'EU' | 'OC' | 'NA' | 'SA'+-- -   __AF__: Africa ----- Constraint: Specifying 'ContinentCode' with either 'CountryCode' or 'SubdivisionCode' returns an < InvalidInput> error.+-- -   __AN__: Antarctica+--+-- -   __AS__: Asia+--+-- -   __EU__: Europe+--+-- -   __OC__: Oceania+--+-- -   __NA__: North America+--+-- -   __SA__: South America+-- gglContinentCode :: Lens' GetGeoLocation (Maybe Text) gglContinentCode = lens _gglContinentCode (\ s a -> s{_gglContinentCode = a}); @@ -117,7 +124,7 @@                "countrycode" =: _gglCountryCode,                "continentcode" =: _gglContinentCode] --- | A complex type containing information about the specified geo location.+-- | A complex type that contains the response information for the specified geolocation code. -- -- /See:/ 'getGeoLocationResponse' smart constructor. data GetGeoLocationResponse = GetGeoLocationResponse'@@ -146,7 +153,7 @@ gglrsResponseStatus :: Lens' GetGeoLocationResponse Int gglrsResponseStatus = lens _gglrsResponseStatus (\ s a -> s{_gglrsResponseStatus = a}); --- | A complex type that contains the information about the specified geo location.+-- | A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code. gglrsGeoLocationDetails :: Lens' GetGeoLocationResponse GeoLocationDetails gglrsGeoLocationDetails = lens _gglrsGeoLocationDetails (\ s a -> s{_gglrsGeoLocationDetails = a}); 
gen/Network/AWS/Route53/GetHealthCheck.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve the health check, send a 'GET' request to the '\/Route 53 API version\/healthcheck\/health check ID' resource.+-- Gets information about a specified health check. Send a 'GET' request to the '\/2013-04-01\/healthcheck\/health check ID ' resource. For more information about using the console to perform this operation, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover> in the Amazon Route 53 Developer Guide. module Network.AWS.Route53.GetHealthCheck     (     -- * Creating a Request@@ -42,8 +42,12 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains information about the request to get a health check.+-- | This action gets information about a specified health check. --+-- Send a 'GET' request to the '\/Amazon Route 53 API version\/gethealthcheckrequest' resource.+--+-- For information about getting information about a health check using the Amazon Route 53 console, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover> in the /Amazon Route 53 Developer Guide/.+-- -- /See:/ 'getHealthCheck' smart constructor. newtype GetHealthCheck = GetHealthCheck'     { _ghcHealthCheckId :: Text@@ -62,7 +66,7 @@     { _ghcHealthCheckId = pHealthCheckId_     } --- | The ID of the health check to retrieve.+-- | 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. ghcHealthCheckId :: Lens' GetHealthCheck Text ghcHealthCheckId = lens _ghcHealthCheckId (\ s a -> s{_ghcHealthCheckId = a}); @@ -90,7 +94,7 @@ instance ToQuery GetHealthCheck where         toQuery = const mempty --- | A complex type containing information about the specified health check.+-- | A complex type that contains the response to a 'GetHealthCheck' request. -- -- /See:/ 'getHealthCheckResponse' smart constructor. data GetHealthCheckResponse = GetHealthCheckResponse'@@ -119,7 +123,7 @@ ghcrsResponseStatus :: Lens' GetHealthCheckResponse Int ghcrsResponseStatus = lens _ghcrsResponseStatus (\ s a -> s{_ghcrsResponseStatus = a}); --- | A complex type that contains the information about the specified health check.+-- | A complex type that contains information about one health check that is associated with the current AWS account. ghcrsHealthCheck :: Lens' GetHealthCheckResponse HealthCheck ghcrsHealthCheck = lens _ghcrsHealthCheck (\ s a -> s{_ghcrsHealthCheck = a}); 
gen/Network/AWS/Route53/GetHealthCheckCount.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a count of all your health checks, send a 'GET' request to the '\/Route 53 API version\/healthcheckcount' resource.+-- To retrieve a count of all your health checks, send a 'GET' request to the '\/2013-04-01\/healthcheckcount' resource. module Network.AWS.Route53.GetHealthCheckCount     (     -- * Creating a Request@@ -40,7 +40,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a count of all your health checks, send a 'GET' request to the '\/Route 53 API version\/healthcheckcount' resource.+-- | To retrieve a count of all your health checks, send a 'GET' request to the '\/2013-04-01\/healthcheckcount' resource. -- -- /See:/ 'getHealthCheckCount' smart constructor. data GetHealthCheckCount =@@ -76,7 +76,7 @@ instance ToQuery GetHealthCheckCount where         toQuery = const mempty --- | A complex type that contains the count of health checks associated with the current AWS account.+-- | A complex type that contains the response to a 'healthcheckcount' request. -- -- /See:/ 'getHealthCheckCountResponse' smart constructor. data GetHealthCheckCountResponse = GetHealthCheckCountResponse'
gen/Network/AWS/Route53/GetHealthCheckLastFailureReason.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- If you want to learn why a health check is currently failing or why it failed most recently (if at all), you can get the failure reason for the most recent failure. Send a 'GET' request to the '\/Route 53 API version\/healthcheck\/health check ID\/lastfailurereason' resource.+-- If you want to learn why a health check is currently failing or why it failed most recently (if at all), you can get the failure reason for the most recent failure. Send a 'GET' request to the '\/Amazon Route 53 API version\/healthcheck\/health check ID\/lastfailurereason' resource. module Network.AWS.Route53.GetHealthCheckLastFailureReason     (     -- * Creating a Request@@ -42,8 +42,12 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains information about the request to get the most recent failure reason for a health check.+-- | This action gets the reason that a specified health check failed most recently. --+-- To get the reason for the last failure of a health check, send a GET request to the \/2013-04-01\/healthcheck\/health check ID\/lastfailurereason resource.+--+-- For information about viewing the last failure reason for a health check using the Amazon Route 53 console, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-monitor-view-status.html Viewing Health Check Status and the Reason for Health Check Failures> in the /Amazon Route 53 Developer Guide/.+-- -- /See:/ 'getHealthCheckLastFailureReason' smart constructor. newtype GetHealthCheckLastFailureReason = GetHealthCheckLastFailureReason'     { _ghclfrHealthCheckId :: Text@@ -62,7 +66,7 @@     { _ghclfrHealthCheckId = pHealthCheckId_     } --- | The ID of the health check for which you want to retrieve the reason for the most recent failure.+-- | 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. ghclfrHealthCheckId :: Lens' GetHealthCheckLastFailureReason Text ghclfrHealthCheckId = lens _ghclfrHealthCheckId (\ s a -> s{_ghclfrHealthCheckId = a}); @@ -97,7 +101,7 @@          where         toQuery = const mempty --- | A complex type that contains information about the most recent failure for the specified health check.+-- | A complex type that contains the response to a 'GetHealthCheckLastFailureReason' request. -- -- /See:/ 'getHealthCheckLastFailureReasonResponse' smart constructor. data GetHealthCheckLastFailureReasonResponse = GetHealthCheckLastFailureReasonResponse'@@ -125,7 +129,7 @@ ghclfrrsResponseStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int ghclfrrsResponseStatus = lens _ghclfrrsResponseStatus (\ s a -> s{_ghclfrrsResponseStatus = a}); --- | A list that contains one 'HealthCheckObservation' element for each Amazon Route 53 health checker.+-- | A list that contains one 'Observation' element for each Amazon Route 53 health checker that is reporting a last failure reason. ghclfrrsHealthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation] ghclfrrsHealthCheckObservations = lens _ghclfrrsHealthCheckObservations (\ s a -> s{_ghclfrrsHealthCheckObservations = a}) . _Coerce; 
gen/Network/AWS/Route53/GetHealthCheckStatus.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve the health check status, send a 'GET' request to the '\/Route 53 API version\/healthcheck\/health check ID\/status' resource. You can use this call to get a health check\'s current status.+-- Gets status of a specified health check. Send a 'GET' request to the '\/2013-04-01\/healthcheck\/health check ID\/status' resource. You can use this call to get a health check\'s current status. module Network.AWS.Route53.GetHealthCheckStatus     (     -- * Creating a Request@@ -69,8 +69,9 @@ -- The 'HealthCheckId' element is only useful when Amazon Route 53 is choosing between two or more resource record sets to respond to a DNS query, and you want Amazon Route 53 to base the choice in part on the status of a health check. Configuring health checks only makes sense in the following configurations: -- -- -   You\'re checking the health of the resource record sets in a weighted, latency, geolocation, or failover resource record set, and you specify health check IDs for all of the resource record sets. If the health check for one resource record set specifies an endpoint that is not healthy, Amazon Route 53 stops responding to queries using the value for that resource record set.--- -   You set 'EvaluateTargetHealth' to 'true' for the resource record sets in an alias, weighted alias, latency alias, geolocation alias, or failover alias resource record set, and you specify health check IDs for all of the resource record sets that are referenced by the alias resource record sets. For more information about this configuration, see < EvaluateTargetHealth>. --+-- -   You set 'EvaluateTargetHealth' to 'true' for the resource record sets in an alias, weighted alias, latency alias, geolocation alias, or failover alias resource record set, and you specify health check IDs for all of the resource record sets that are referenced by the alias resource record sets. For more information about this configuration, see 'EvaluateTargetHealth'.+-- --     Amazon Route 53 doesn\'t check the health of the endpoint 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, Amazon Route 53 checks the health of the endpoint that you specified in the health check. -- -- For geolocation resource record sets, if an endpoint is unhealthy, Amazon 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 United States, for North America, and for all locations. If the endpoint for the state resource record set is unhealthy, Amazon Route 53 checks the resource record sets for the United States, for North America, and for all locations (a resource record set for which the value of CountryCode is '*'), in that order, until it finds a resource record set for which the endpoint is healthy.@@ -109,7 +110,7 @@ instance ToQuery GetHealthCheckStatus where         toQuery = const mempty --- | A complex type that contains information about the status of the specified health check.+-- | A complex type that contains the response to a 'GetHealthCheck' request. -- -- /See:/ 'getHealthCheckStatusResponse' smart constructor. data GetHealthCheckStatusResponse = GetHealthCheckStatusResponse'@@ -137,7 +138,7 @@ ghcsrsResponseStatus :: Lens' GetHealthCheckStatusResponse Int ghcsrsResponseStatus = lens _ghcsrsResponseStatus (\ s a -> s{_ghcsrsResponseStatus = a}); --- | A list that contains one 'HealthCheckObservation' element for each Amazon Route 53 health checker.+-- | A list that contains one 'HealthCheckObservation' element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint. ghcsrsHealthCheckObservations :: Lens' GetHealthCheckStatusResponse [HealthCheckObservation] ghcsrsHealthCheckObservations = lens _ghcsrsHealthCheckObservations (\ s a -> s{_ghcsrsHealthCheckObservations = a}) . _Coerce; 
gen/Network/AWS/Route53/GetHostedZone.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve the delegation set for a hosted zone, send a 'GET' request to the '\/Route 53 API version\/hostedzone\/hosted zone ID' resource. The delegation set is the four Amazon Route 53 name servers that were assigned to the hosted zone when you created it.+-- Retrieves the delegation set for a hosted zone, including the four name servers assigned to the hosted zone. Send a 'GET' request to the '\/Amazon Route 53 API version\/hostedzone\/hosted zone ID ' resource. module Network.AWS.Route53.GetHostedZone     (     -- * Creating a Request@@ -95,7 +95,7 @@ instance ToQuery GetHostedZone where         toQuery = const mempty --- | A complex type containing information about the specified hosted zone.+-- | A complex type containing the response information for the hosted zone. -- -- /See:/ 'getHostedZoneResponse' smart constructor. data GetHostedZoneResponse = GetHostedZoneResponse'@@ -132,7 +132,7 @@ ghzrsVPCs :: Lens' GetHostedZoneResponse (Maybe (NonEmpty VPC)) ghzrsVPCs = lens _ghzrsVPCs (\ s a -> s{_ghzrsVPCs = a}) . mapping _List1; --- | A complex type that contains information about the name servers for the specified hosted zone.+-- | A complex type that describes the name servers for this hosted zone. ghzrsDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) ghzrsDelegationSet = lens _ghzrsDelegationSet (\ s a -> s{_ghzrsDelegationSet = a}); @@ -140,7 +140,7 @@ ghzrsResponseStatus :: Lens' GetHostedZoneResponse Int ghzrsResponseStatus = lens _ghzrsResponseStatus (\ s a -> s{_ghzrsResponseStatus = a}); --- | A complex type that contains the information about the specified hosted zone.+-- | A complex type that contains general information about the hosted zone. ghzrsHostedZone :: Lens' GetHostedZoneResponse HostedZone ghzrsHostedZone = lens _ghzrsHostedZone (\ s a -> s{_ghzrsHostedZone = a}); 
gen/Network/AWS/Route53/GetHostedZoneCount.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a count of all your hosted zones, send a 'GET' request to the '\/Route 53 API version\/hostedzonecount' resource.+-- Retrieves a count of all your hosted zones. Send a 'GET' request to the '\/2013-04-01\/hostedzonecount' resource. module Network.AWS.Route53.GetHostedZoneCount     (     -- * Creating a Request@@ -40,7 +40,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a count of all your hosted zones, send a 'GET' request to the '\/Route 53 API version\/hostedzonecount' resource.+-- | To retrieve a count of all your hosted zones, send a 'GET' request to the '\/2013-04-01\/hostedzonecount' resource. -- -- /See:/ 'getHostedZoneCount' smart constructor. data GetHostedZoneCount =@@ -76,7 +76,7 @@ instance ToQuery GetHostedZoneCount where         toQuery = const mempty --- | A complex type that contains the count of hosted zones associated with the current AWS account.+-- | A complex type that contains the response to a 'hostedzonecount' request. -- -- /See:/ 'getHostedZoneCountResponse' smart constructor. data GetHostedZoneCountResponse = GetHostedZoneCountResponse'@@ -105,7 +105,7 @@ ghzcrsResponseStatus :: Lens' GetHostedZoneCountResponse Int ghzcrsResponseStatus = lens _ghzcrsResponseStatus (\ s a -> s{_ghzcrsResponseStatus = a}); --- | The number of hosted zones associated with the current AWS account.+-- | The total number of public and private hosted zones associated with the current AWS account. ghzcrsHostedZoneCount :: Lens' GetHostedZoneCountResponse Integer ghzcrsHostedZoneCount = lens _ghzcrsHostedZoneCount (\ s a -> s{_ghzcrsHostedZoneCount = a}); 
gen/Network/AWS/Route53/GetReusableDelegationSet.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve the reusable delegation set, send a 'GET' request to the '\/Route 53 API version\/delegationset\/delegation set ID' resource.+-- Retrieves the reusable delegation set. Send a 'GET' request to the '\/2013-04-01\/delegationset\/delegation set ID ' resource. module Network.AWS.Route53.GetReusableDelegationSet     (     -- * Creating a Request@@ -91,7 +91,7 @@ instance ToQuery GetReusableDelegationSet where         toQuery = const mempty --- | A complex type containing information about the specified reusable delegation set.+-- | A complex type that contains the response to the 'GetReusableDelegationSet' request. -- -- /See:/ 'getReusableDelegationSetResponse' smart constructor. data GetReusableDelegationSetResponse = GetReusableDelegationSetResponse'@@ -120,7 +120,7 @@ grdsrsResponseStatus :: Lens' GetReusableDelegationSetResponse Int grdsrsResponseStatus = lens _grdsrsResponseStatus (\ s a -> s{_grdsrsResponseStatus = a}); --- | A complex type that contains the information about the nameservers for the specified delegation set ID.+-- | A complex type that contains information about the reusable delegation set. grdsrsDelegationSet :: Lens' GetReusableDelegationSetResponse DelegationSet grdsrsDelegationSet = lens _grdsrsDelegationSet (\ s a -> s{_grdsrsDelegationSet = a}); 
gen/Network/AWS/Route53/GetTrafficPolicy.hs view
@@ -18,7 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about a specific traffic policy version. To get the information, send a 'GET' request to the '\/Route 53 API version\/trafficpolicy' resource.+-- Gets information about a specific traffic policy version.+--+-- Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource. module Network.AWS.Route53.GetTrafficPolicy     (     -- * Creating a Request@@ -43,7 +45,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | Gets information about a specific traffic policy version. To get the information, send a GET request to the \//Route 53 API version/\/trafficpolicy resource, and specify the ID and the version of the traffic policy.+-- | Gets information about a specific traffic policy version. To get the information, send a GET request to the \/2013-04-01\/trafficpolicy resource, and specify the ID and the version of the traffic policy. -- -- /See:/ 'getTrafficPolicy' smart constructor. data GetTrafficPolicy = GetTrafficPolicy'
gen/Network/AWS/Route53/GetTrafficPolicyInstance.hs view
@@ -20,9 +20,11 @@ -- -- Gets information about a specified traffic policy instance. ----- To get information about the traffic policy instance, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstance' resource.+-- Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicyinstance' resource. ----- 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.+-- 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 Amazon Route 53 console, traffic policy instances are known as policy records. module Network.AWS.Route53.GetTrafficPolicyInstance     (     -- * Creating a Request@@ -48,7 +50,7 @@  -- | Gets information about a specified traffic policy instance. ----- To get information about a traffic policy instance, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstance\/Id' resource.+-- To get information about a traffic policy instance, send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicyinstance\/Id ' resource. -- -- /See:/ 'getTrafficPolicyInstance' smart constructor. newtype GetTrafficPolicyInstance = GetTrafficPolicyInstance'
gen/Network/AWS/Route53/GetTrafficPolicyInstanceCount.hs view
@@ -20,7 +20,7 @@ -- -- Gets the number of traffic policy instances that are associated with the current AWS account. ----- To get the number of traffic policy instances, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstancecount' resource.+-- To get the number of traffic policy instances, send a 'GET' request to the '\/2013-04-01\/trafficpolicyinstancecount' resource. module Network.AWS.Route53.GetTrafficPolicyInstanceCount     (     -- * Creating a Request@@ -42,7 +42,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a count of all your traffic policy instances, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstancecount' resource.+-- | To retrieve a count of all your traffic policy instances, send a 'GET' request to the '\/2013-04-01\/trafficpolicyinstancecount' resource. -- -- /See:/ 'getTrafficPolicyInstanceCount' smart constructor. data GetTrafficPolicyInstanceCount =@@ -82,7 +82,7 @@ instance ToQuery GetTrafficPolicyInstanceCount where         toQuery = const mempty --- | A complex type that contains information about the number of traffic policy instances that are associated with the current AWS account.+-- | A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy. -- -- /See:/ 'getTrafficPolicyInstanceCountResponse' smart constructor. data GetTrafficPolicyInstanceCountResponse = GetTrafficPolicyInstanceCountResponse'
gen/Network/AWS/Route53/ListGeoLocations.hs view
@@ -18,9 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a list of supported geo locations, send a 'GET' request to the '\/Route 53 API version\/geolocations' resource. The response to this request includes a 'GeoLocationDetailsList' element with zero, one, or multiple 'GeoLocationDetails' child elements. The list is sorted by country code, and then subdivision code, followed by continents at the end of the list.+-- Retrieves a list of supported geo locations. Send a 'GET' request to the '\/2013-04-01\/geolocations' resource. The response to this request includes a 'GeoLocationDetailsList' element for each location that Amazon Route 53 supports. ----- By default, the list of geo locations is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. If the list is truncated, 'IsTruncated' will be set to /true/ and a combination of 'NextContinentCode, NextCountryCode, NextSubdivisionCode' will be populated. You can pass these as parameters to 'StartContinentCode, StartCountryCode, StartSubdivisionCode' to control the geo location that the list begins with.+-- 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. module Network.AWS.Route53.ListGeoLocations     (     -- * Creating a Request@@ -52,8 +52,10 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | The input for a 'ListGeoLocations' request.+-- | To get a list of geographic locations that Amazon Route 53 supports for geolocation, send a 'GET' request to the '\/Amazon Route 53 API version\/geolocations' resource. The response to this request includes a 'GeoLocationDetails' element for each location that Amazon Route 53 supports. --+-- 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.+-- -- /See:/ 'listGeoLocations' smart constructor. data ListGeoLocations = ListGeoLocations'     { _lglStartSubdivisionCode :: !(Maybe Text)@@ -83,27 +85,25 @@     , _lglStartContinentCode = Nothing     } --- | The first subdivision code in the lexicographic ordering of geo locations that you want the 'ListGeoLocations' request to list.+-- | The code for the subdivision (for example, state or province) with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Amazon 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. ----- Constraint: Specifying 'SubdivisionCode' without 'CountryCode' returns an < InvalidInput> error.+-- To list subdivisions of a country, you must include both 'StartCountryCode' and 'StartSubdivisionCode'. lglStartSubdivisionCode :: Lens' ListGeoLocations (Maybe Text) lglStartSubdivisionCode = lens _lglStartSubdivisionCode (\ s a -> s{_lglStartSubdivisionCode = a}); --- | The maximum number of geo locations you want in the response body.+-- | (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'. lglMaxItems :: Lens' ListGeoLocations (Maybe Text) lglMaxItems = lens _lglMaxItems (\ s a -> s{_lglMaxItems = a}); --- | The first country code in the lexicographic ordering of geo locations that you want the 'ListGeoLocations' request to list.+-- | The code for the country with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Amazon 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. ----- The default geo location uses a '*' for the country code. All other country codes follow the ISO 3166 two-character code.+-- Amazon Route 53 uses the two-letter country codes that are specified in <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 ISO standard 3166-1 alpha-2>. lglStartCountryCode :: Lens' ListGeoLocations (Maybe Text) lglStartCountryCode = lens _lglStartCountryCode (\ s a -> s{_lglStartCountryCode = a}); --- | The first continent code in the lexicographic ordering of geo locations that you want the 'ListGeoLocations' request to list. For non-continent geo locations, this should be null.------ Valid values: 'AF' | 'AN' | 'AS' | 'EU' | 'OC' | 'NA' | 'SA'+-- | The code for the continent with which you want to start listing locations that Amazon Route 53 supports for geolocation. If Amazon 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. ----- Constraint: Specifying 'ContinentCode' with either 'CountryCode' or 'SubdivisionCode' returns an < InvalidInput> error.+-- Include 'StartContinentCode' only if you want to list continents. Don\'t include 'StartContinentCode' when you\'re listing countries or countries with their subdivisions. lglStartContinentCode :: Lens' ListGeoLocations (Maybe Text) lglStartContinentCode = lens _lglStartContinentCode (\ s a -> s{_lglStartContinentCode = a}); @@ -142,7 +142,7 @@                "startcountrycode" =: _lglStartCountryCode,                "startcontinentcode" =: _lglStartContinentCode] --- | A complex type that contains information about the geo locations that are returned by the request and information about the response.+-- | A complex type containing the response information for the request. -- -- /See:/ 'listGeoLocationsResponse' smart constructor. data ListGeoLocationsResponse = ListGeoLocationsResponse'@@ -188,15 +188,15 @@     , _lglrsMaxItems = pMaxItems_     } --- | If the results were truncated, the continent code of the next geo location in the list. This element is present only if < ListGeoLocationsResponse>IsTruncated> is true and the next geo location to list is a continent location.+-- | 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 'GET' 'ListGeoLocations' request. lglrsNextContinentCode :: Lens' ListGeoLocationsResponse (Maybe Text) lglrsNextContinentCode = lens _lglrsNextContinentCode (\ s a -> s{_lglrsNextContinentCode = a}); --- | If the results were truncated, the country code of the next geo location in the list. This element is present only if < ListGeoLocationsResponse>IsTruncated> is true and the next geo location to list is not a continent location.+-- | 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 'GET' 'ListGeoLocations' request. lglrsNextCountryCode :: Lens' ListGeoLocationsResponse (Maybe Text) lglrsNextCountryCode = lens _lglrsNextCountryCode (\ s a -> s{_lglrsNextCountryCode = a}); --- | If the results were truncated, the subdivision code of the next geo location in the list. This element is present only if < ListGeoLocationsResponse>IsTruncated> is true and the next geo location has a subdivision.+-- | 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 'GET' 'ListGeoLocations' request. lglrsNextSubdivisionCode :: Lens' ListGeoLocationsResponse (Maybe Text) lglrsNextSubdivisionCode = lens _lglrsNextSubdivisionCode (\ s a -> s{_lglrsNextSubdivisionCode = a}); @@ -204,17 +204,15 @@ lglrsResponseStatus :: Lens' ListGeoLocationsResponse Int lglrsResponseStatus = lens _lglrsResponseStatus (\ s a -> s{_lglrsResponseStatus = a}); --- | A complex type that contains information about the geo locations that are returned by the request.+-- | A complex type that contains one 'GeoLocationDetails' element for each location that Amazon Route 53 supports for geolocation. lglrsGeoLocationDetailsList :: Lens' ListGeoLocationsResponse [GeoLocationDetails] lglrsGeoLocationDetailsList = lens _lglrsGeoLocationDetailsList (\ s a -> s{_lglrsGeoLocationDetailsList = a}) . _Coerce; --- | A flag that indicates whether there are more geo locations to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the values included in the < ListGeoLocationsResponse>NextContinentCode>, < ListGeoLocationsResponse>NextCountryCode> and < ListGeoLocationsResponse>NextSubdivisionCode> elements.------ Valid Values: 'true' | 'false'+-- | 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. lglrsIsTruncated :: Lens' ListGeoLocationsResponse Bool lglrsIsTruncated = lens _lglrsIsTruncated (\ s a -> s{_lglrsIsTruncated = a}); --- | The maximum number of records you requested. The maximum value of 'MaxItems' is 100.+-- | The value that you specified for 'MaxItems' in the request. lglrsMaxItems :: Lens' ListGeoLocationsResponse Text lglrsMaxItems = lens _lglrsMaxItems (\ s a -> s{_lglrsMaxItems = a}); 
gen/Network/AWS/Route53/ListHealthChecks.hs view
@@ -18,9 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a list of your health checks, send a 'GET' request to the '\/Route 53 API version\/healthcheck' resource. The response to this request includes a 'HealthChecks' element with zero, one, or multiple 'HealthCheck' child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the health check that the list begins with.+-- Retrieve a list of your health checks. Send a 'GET' request to the '\/2013-04-01\/healthcheck' resource. The response to this request includes a 'HealthChecks' element with zero or more 'HealthCheck' child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the health check that the list begins with. ----- Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.+-- For information about listing health checks using the Amazon Route 53 console, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover>. -- -- This operation returns paginated results. module Network.AWS.Route53.ListHealthChecks@@ -52,7 +52,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a list of your health checks, send a 'GET' request to the '\/Route 53 API version\/healthcheck' resource. The response to this request includes a 'HealthChecks' element with zero or more 'HealthCheck' child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the health check that the list begins with.+-- | To retrieve a list of your health checks, send a 'GET' request to the '\/2013-04-01\/healthcheck' resource. The response to this request includes a 'HealthChecks' element with zero or more 'HealthCheck' child elements. By default, the list of health checks is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the health check that the list begins with. -- -- Amazon Route 53 returns a maximum of 100 items. If you set 'MaxItems' to a value greater than 100, Amazon Route 53 returns only the first 100. --@@ -77,11 +77,18 @@     , _lhcMaxItems = Nothing     } --- | If the request returned more than one page of results, submit another request and specify the value of 'NextMarker' from the last response in the 'marker' parameter to get the next page of results.+-- | If the response to a 'ListHealthChecks' is more than one page, marker is the health check ID for the first health check on the next page of results. For more information, see < ListHealthChecksResponse>MaxItems>. lhcMarker :: Lens' ListHealthChecks (Maybe Text) lhcMarker = lens _lhcMarker (\ s a -> s{_lhcMarker = a}); --- | Specify the maximum number of health checks to return per page of results.+-- | The maximum number of 'HealthCheck' elements you want 'ListHealthChecks' to return on each page of the response body. If the AWS account includes more 'HealthCheck' elements than the value of 'maxitems', the response is broken into pages. Each page contains the number of 'HealthCheck' elements specified by 'maxitems'.+--+-- For example, suppose you specify '10' for 'maxitems' and the current AWS account has '51' health checks. In the response, 'ListHealthChecks' sets < ListHealthChecksResponse>IsTruncated> to true and includes the < ListHealthChecksResponse>NextMarker> element. To access the second and subsequent pages, you resend the 'GET' 'ListHealthChecks' request, add the < ListHealthChecksResponse>Marker> parameter to the request, and specify the value of the < ListHealthChecksResponse>NextMarker> element from the previous response. On the last (sixth) page of the response, which contains only one HealthCheck element:+--+-- -   The value of < ListHealthChecksResponse>IsTruncated> is 'false'.+--+-- -   < ListHealthChecksResponse>NextMarker> is omitted.+-- lhcMaxItems :: Lens' ListHealthChecks (Maybe Text) lhcMaxItems = lens _lhcMaxItems (\ s a -> s{_lhcMaxItems = a}); @@ -121,7 +128,7 @@           = mconcat               ["marker" =: _lhcMarker, "maxitems" =: _lhcMaxItems] --- | A complex type that contains the response for the request.+-- | A complex type that contains the response to a 'ListHealthChecks' request. -- -- /See:/ 'listHealthChecksResponse' smart constructor. data ListHealthChecksResponse = ListHealthChecksResponse'@@ -164,7 +171,7 @@     , _lhcrsMaxItems = pMaxItems_     } --- | Indicates where to continue listing health checks. If < ListHealthChecksResponse>IsTruncated> is 'true', make another request to 'ListHealthChecks' and include the value of the 'NextMarker' element in the 'Marker' element to get the next page of results.+-- | If 'IsTruncated' is 'true', the value of 'NextMarker' identifies the first health check in the next group of 'maxitems' health checks. Call 'ListHealthChecks' again and specify the value of 'NextMarker' in the marker parameter. lhcrsNextMarker :: Lens' ListHealthChecksResponse (Maybe Text) lhcrsNextMarker = lens _lhcrsNextMarker (\ s a -> s{_lhcrsNextMarker = a}); @@ -172,21 +179,21 @@ lhcrsResponseStatus :: Lens' ListHealthChecksResponse Int lhcrsResponseStatus = lens _lhcrsResponseStatus (\ s a -> s{_lhcrsResponseStatus = a}); --- | A complex type that contains information about the health checks associated with the current AWS account.+-- | A complex type that contains one 'HealthCheck' element for each health check that is associated with the current AWS account. lhcrsHealthChecks :: Lens' ListHealthChecksResponse [HealthCheck] lhcrsHealthChecks = lens _lhcrsHealthChecks (\ s a -> s{_lhcrsHealthChecks = a}) . _Coerce; --- | If the request returned more than one page of results, submit another request and specify the value of 'NextMarker' from the last response in the 'marker' parameter to get the next page of results.+-- | For the second and subsequent calls to 'ListHealthChecks', 'Marker' is the value that you specified for the marker parameter in the previous request. lhcrsMarker :: Lens' ListHealthChecksResponse Text lhcrsMarker = lens _lhcrsMarker (\ s a -> s{_lhcrsMarker = a}); --- | A flag indicating whether there are more health checks to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the 'Marker' element.+-- | 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 'maxitems' health checks by calling 'ListHealthChecks' again and specifying the value of the 'NextMarker' element in the marker parameter. -- -- Valid Values: 'true' | 'false' lhcrsIsTruncated :: Lens' ListHealthChecksResponse Bool lhcrsIsTruncated = lens _lhcrsIsTruncated (\ s a -> s{_lhcrsIsTruncated = a}); --- | The maximum number of health checks to be included in the response body. If the number of health checks associated with this AWS account exceeds 'MaxItems', the value of < ListHealthChecksResponse>IsTruncated> in the response is 'true'. Call 'ListHealthChecks' again and specify the value of < ListHealthChecksResponse>NextMarker> in the < ListHostedZonesRequest>Marker> element to get the next page of results.+-- | The value that you specified for the 'maxitems' parameter in the call to 'ListHealthChecks' that produced the current response. lhcrsMaxItems :: Lens' ListHealthChecksResponse Text lhcrsMaxItems = lens _lhcrsMaxItems (\ s a -> s{_lhcrsMaxItems = a}); 
gen/Network/AWS/Route53/ListHostedZones.hs view
@@ -18,10 +18,21 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a list of your hosted zones, send a 'GET' request to the '\/Route 53 API version\/hostedzone' resource. The response to this request includes a 'HostedZones' element with zero, one, or multiple 'HostedZone' child elements. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the hosted zone that the list begins with.+-- To retrieve a list of your public and private hosted zones, send a 'GET' request to the '\/2013-04-01\/hostedzone' resource. The response to this request includes a 'HostedZones' child element for each hosted zone created by the current AWS account. ----- Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.+-- 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. The response includes four values that help navigate from one group of 'maxitems' hosted zones to the next: --+-- -   'MaxItems'is the value specified for the 'maxitems' parameter in the request that produced the current response.+--+-- -   If the value of 'IsTruncated' in the response is true, there are more hosted zones associated with the current AWS account.+--+-- -   'NextMarker'is the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to 'ListHostedZones', and specify the value of the 'NextMarker' element in the marker parameter.+--+--     If 'IsTruncated' is false, the 'NextMarker' element is omitted from the response.+--+-- -   If you\'re making the second or subsequent call to 'ListHostedZones', the 'Marker' element matches the value that you specified in the 'marker' parameter in the previous request.+--+-- -- This operation returns paginated results. module Network.AWS.Route53.ListHostedZones     (@@ -53,10 +64,23 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a list of your hosted zones, send a 'GET' request to the '\/Route 53 API version\/hostedzone' resource. The response to this request includes a 'HostedZones' element with zero or more 'HostedZone' child elements. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the hosted zone that the list begins with. For more information about listing hosted zones, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ListInfoOnHostedZone.html Listing the Hosted Zones for an AWS Account> in the /Amazon Route 53 Developer Guide/.+-- | To retrieve a list of your public and private hosted zones, send a 'GET' request to the '\/2013-04-01\/hostedzone' resource. The response to this request includes a HostedZone child element for each hosted zone that was created by the current AWS account. ----- Amazon Route 53 returns a maximum of 100 items. If you set 'MaxItems' to a value greater than 100, Amazon Route 53 returns only the first 100.+-- 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. The response includes four values that help you navigate from one group of maxitems hosted zones to the next: --+-- -   'MaxItems' is the value that you specified for the 'maxitems' parameter in the request that produced the current response.+--+-- -   If the value of 'IsTruncated' in the response is 'true', there are more hosted zones associated with the current AWS account.+--+--     If 'IsTruncated' is 'false', this response includes the last hosted zone that is associated with the current account.+--+-- -   'NextMarker' is the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to 'ListHostedZones', and specify the value of the 'NextMarker' element in the marker parameter.+--+--     If 'IsTruncated' is 'false', the 'NextMarker' element is omitted from the response.+--+-- -   If you\'re making the second or subsequent call to 'ListHostedZones', the 'Marker' element matches the value that you specified in the 'marker' parameter in the previous request.+--+-- -- /See:/ 'listHostedZones' smart constructor. data ListHostedZones = ListHostedZones'     { _lhzDelegationSetId :: !(Maybe Text)@@ -86,11 +110,13 @@ lhzDelegationSetId :: Lens' ListHostedZones (Maybe Text) lhzDelegationSetId = lens _lhzDelegationSetId (\ s a -> s{_lhzDelegationSetId = a}); --- | If the request returned more than one page of results, submit another request and specify the value of 'NextMarker' from the last response in the 'marker' parameter to get the next page of results.+-- | (Optional) If you have more hosted zones than the value of 'maxitems', 'ListHostedZones' returns only the first 'maxitems' hosted zones. To get the next group of 'maxitems' hosted zones, submit another request to 'ListHostedZones'. For the value of marker, specify the value of the 'NextMarker' element that was returned in the previous response.+--+-- Hosted zones are listed in the order in which they were created. lhzMarker :: Lens' ListHostedZones (Maybe Text) lhzMarker = lens _lhzMarker (\ s a -> s{_lhzMarker = a}); --- | Specify the maximum number of hosted zones to return per page of results.+-- | (Optional) The maximum number of hosted zones to be included in the response body for this request. If you have more than 'maxitems' hosted zones, the value of the 'IsTruncated' element in the response is 'true', and the value of the 'NextMarker' element is the hosted zone ID of the first hosted zone in the next group of 'maxitems' hosted zones. lhzMaxItems :: Lens' ListHostedZones (Maybe Text) lhzMaxItems = lens _lhzMaxItems (\ s a -> s{_lhzMaxItems = a}); @@ -132,9 +158,7 @@               ["delegationsetid" =: _lhzDelegationSetId,                "marker" =: _lhzMarker, "maxitems" =: _lhzMaxItems] --- | A complex type that contains the response for the request.------ /See:/ 'listHostedZonesResponse' smart constructor.+-- | /See:/ 'listHostedZonesResponse' smart constructor. data ListHostedZonesResponse = ListHostedZonesResponse'     { _lhzrsMarker         :: !(Maybe Text)     , _lhzrsNextMarker     :: !(Maybe Text)@@ -174,11 +198,13 @@     , _lhzrsMaxItems = pMaxItems_     } --- | If the request returned more than one page of results, submit another request and specify the value of 'NextMarker' from the last response in the 'marker' parameter to get the next page of results.+-- | 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. lhzrsMarker :: Lens' ListHostedZonesResponse (Maybe Text) lhzrsMarker = lens _lhzrsMarker (\ s a -> s{_lhzrsMarker = a}); --- | Indicates where to continue listing hosted zones. If < ListHostedZonesResponse>IsTruncated> is 'true', make another request to 'ListHostedZones' and include the value of the 'NextMarker' element in the 'Marker' element to get the next page of results.+-- | If 'IsTruncated' is 'true', the value of 'NextMarker' identifies the first hosted zone in the next group of 'maxitems' hosted zones. Call 'ListHostedZones' again and specify the value of 'NextMarker' in the 'marker' parameter.+--+-- This element is present only if 'IsTruncated' is 'true'. lhzrsNextMarker :: Lens' ListHostedZonesResponse (Maybe Text) lhzrsNextMarker = lens _lhzrsNextMarker (\ s a -> s{_lhzrsNextMarker = a}); @@ -186,17 +212,15 @@ lhzrsResponseStatus :: Lens' ListHostedZonesResponse Int lhzrsResponseStatus = lens _lhzrsResponseStatus (\ s a -> s{_lhzrsResponseStatus = a}); --- | A complex type that contains information about the hosted zones associated with the current AWS account.+-- | A complex type that contains general information about the hosted zone. lhzrsHostedZones :: Lens' ListHostedZonesResponse [HostedZone] lhzrsHostedZones = lens _lhzrsHostedZones (\ s a -> s{_lhzrsHostedZones = a}) . _Coerce; --- | A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the 'Marker' element.------ Valid Values: 'true' | 'false'+-- | A flag indicating 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 'ListHostedZones' again and specifying the value of the 'NextMarker' element in the marker parameter. lhzrsIsTruncated :: Lens' ListHostedZonesResponse Bool lhzrsIsTruncated = lens _lhzrsIsTruncated (\ s a -> s{_lhzrsIsTruncated = a}); --- | The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds 'MaxItems', the value of < ListHostedZonesResponse>IsTruncated> in the response is 'true'. Call 'ListHostedZones' again and specify the value of < ListHostedZonesResponse>NextMarker> in the < ListHostedZonesRequest>Marker> element to get the next page of results.+-- | The value that you specified for the 'maxitems' parameter in the call to 'ListHostedZones' that produced the current response. lhzrsMaxItems :: Lens' ListHostedZonesResponse Text lhzrsMaxItems = lens _lhzrsMaxItems (\ s a -> s{_lhzrsMaxItems = a}); 
gen/Network/AWS/Route53/ListHostedZonesByName.hs view
@@ -18,9 +18,32 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a list of your hosted zones in lexicographic order, send a 'GET' request to the '\/Route 53 API version\/hostedzonesbyname' resource. The response to this request includes a 'HostedZones' element with zero or more 'HostedZone' child elements lexicographically ordered by DNS name. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'DNSName' and 'HostedZoneId' parameters to control the hosted zone that the list begins with.+-- Retrieves a list of your hosted zones in lexicographic order. Send a 'GET' request to the '\/2013-04-01\/hostedzonesbyname' resource. The response includes a 'HostedZones' child element for each hosted zone created by the current AWS account. ----- Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100.+-- '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 example.com, 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html DNS Domain Name Format> in the Amazon Route 53 Developer Guide.+--+-- Amazon 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:+--+-- -   The 'DNSName' and 'HostedZoneId' elements in the response contain the values, if any, specified for the 'dnsname' and 'hostedzoneid' parameters in the request that produced the current response.+--+-- -   The 'MaxItems' element in the response contains the value, if any, that you specified for the 'maxitems' parameter in the request that produced the current response.+--+-- -   If the value of 'IsTruncated' in the response is true, there are more hosted zones associated with the current AWS account.+--+--     If 'IsTruncated' is false, this response includes the last hosted zone that is associated with the current account. The 'NextDNSName' element and 'NextHostedZoneId' elements are omitted from the response.+--+-- -   The 'NextDNSName' and 'NextHostedZoneId' elements in the response contain the domain name and the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to 'ListHostedZonesByName', and specify the value of 'NextDNSName' and 'NextHostedZoneId' in the 'dnsname' and 'hostedzoneid' parameters, respectively.+-- module Network.AWS.Route53.ListHostedZonesByName     (     -- * Creating a Request@@ -52,10 +75,27 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a list of your hosted zones in lexicographic order, send a 'GET' request to the '\/Route 53 API version\/hostedzonesbyname' resource. The response to this request includes a 'HostedZones' element with zero or more 'HostedZone' child elements lexicographically ordered by DNS name. By default, the list of hosted zones is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'DNSName' and 'HostedZoneId' parameters to control the hosted zone that the list begins with.+-- | To retrieve a list of your public and private hosted zones in ASCII order by domain name, send a 'GET' request to the '\/Amazon Route 53 API version\/hostedzonesbyname' resource. The response to this request includes a 'HostedZone' child element for each hosted zone that was created by the current AWS account. 'ListHostedZonesByName' sorts hosted zones by name with the labels reversed, for example: ----- For more information about listing hosted zones, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ListInfoOnHostedZone.html Listing the Hosted Zones for an AWS Account> in the /Amazon Route 53 Developer Guide/.+-- '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 it\'s alphabetized using the escaped value. For more information about valid domain name formats, including internationalized domain names, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html DNS Domain Name Format> in the /Amazon Route 53 Developer Guide/.+--+-- Amazon Route 53 returns up to 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. The response includes values that help you navigate from one group of 'MaxItems' hosted zones to the next:+--+-- -   The 'DNSName' and 'HostedZoneId' elements in the response contain the values, if any, that you specified for the 'dnsname' and 'hostedzoneid' parameters in the request that produced the current response.+--+-- -   The 'MaxItems' element in the response contains the value, if any, that you specified for the 'maxitems' parameter in the request that produced the current response.+--+-- -   If the value of 'IsTruncated' in the response is true, there are more hosted zones associated with the current Amazon Route 53 account.+--+--     If 'IsTruncated' is 'false', this response includes the last hosted zone that is associated with the current account. The 'NextDNSName' element and 'NextHostedZoneId' elements are omitted from the response.+--+-- -   The 'NextDNSName' and 'NextHostedZoneId' elements in the response contain the domain name and the hosted zone ID of the next hosted zone that is associated with the current AWS account. If you want to list more hosted zones, make another call to 'ListHostedZonesByName', and specify the value of 'NextDNSName' and 'NextHostedZoneId' in the 'dnsname' and 'hostedzoneid' parameters, respectively.+--+-- -- /See:/ 'listHostedZonesByName' smart constructor. data ListHostedZonesByName = ListHostedZonesByName'     { _lhzbnHostedZoneId :: !(Maybe Text)@@ -81,17 +121,17 @@     , _lhzbnDNSName = Nothing     } --- | If the request returned more than one page of results, submit another request and specify the value of 'NextDNSName' and 'NextHostedZoneId' from the last response in the 'DNSName' and 'HostedZoneId' parameters to get the next page of results.+-- | (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. lhzbnHostedZoneId :: Lens' ListHostedZonesByName (Maybe Text) lhzbnHostedZoneId = lens _lhzbnHostedZoneId (\ s a -> s{_lhzbnHostedZoneId = a}); --- | Specify the maximum number of hosted zones to return per page of results.+-- | 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. lhzbnMaxItems :: Lens' ListHostedZonesByName (Maybe Text) lhzbnMaxItems = lens _lhzbnMaxItems (\ s a -> s{_lhzbnMaxItems = a}); --- | The first name in the lexicographic ordering of domain names that you want the 'ListHostedZonesByNameRequest' request to list.------ If the request returned more than one page of results, submit another request and specify the value of 'NextDNSName' and 'NextHostedZoneId' from the last response in the 'DNSName' and 'HostedZoneId' parameters to get the next page of results.+-- | (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. lhzbnDNSName :: Lens' ListHostedZonesByName (Maybe Text) lhzbnDNSName = lens _lhzbnDNSName (\ s a -> s{_lhzbnDNSName = a}); @@ -130,7 +170,7 @@                "maxitems" =: _lhzbnMaxItems,                "dnsname" =: _lhzbnDNSName] --- | A complex type that contains the response for the request.+-- | A complex type that contains the response information for the request. -- -- /See:/ 'listHostedZonesByNameResponse' smart constructor. data ListHostedZonesByNameResponse = ListHostedZonesByNameResponse'@@ -180,19 +220,23 @@     , _lhzbnrsMaxItems = pMaxItems_     } --- | The 'HostedZoneId' value sent in the request.+-- | The ID that Amazon Route 53 assigned to the hosted zone when you created it. lhzbnrsHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe Text) lhzbnrsHostedZoneId = lens _lhzbnrsHostedZoneId (\ s a -> s{_lhzbnrsHostedZoneId = a}); --- | If < ListHostedZonesByNameResponse>IsTruncated> is 'true', there are more hosted zones associated with the current AWS account. To get the next page of results, make another request to 'ListHostedZonesByName'. Specify the value of < ListHostedZonesByNameResponse>NextDNSName> in the < ListHostedZonesByNameRequest>DNSName> element and < ListHostedZonesByNameResponse>NextHostedZoneId> in the < ListHostedZonesByNameRequest>HostedZoneId> element.+-- | 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'. lhzbnrsNextHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe Text) lhzbnrsNextHostedZoneId = lens _lhzbnrsNextHostedZoneId (\ s a -> s{_lhzbnrsNextHostedZoneId = a}); --- | The 'DNSName' value sent in the request.+-- | 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. lhzbnrsDNSName :: Lens' ListHostedZonesByNameResponse (Maybe Text) lhzbnrsDNSName = lens _lhzbnrsDNSName (\ s a -> s{_lhzbnrsDNSName = a}); --- | If < ListHostedZonesByNameResponse>IsTruncated> is 'true', there are more hosted zones associated with the current AWS account. To get the next page of results, make another request to 'ListHostedZonesByName'. Specify the value of < ListHostedZonesByNameResponse>NextDNSName> in the < ListHostedZonesByNameRequest>DNSName> element and < ListHostedZonesByNameResponse>NextHostedZoneId> in the < ListHostedZonesByNameRequest>HostedZoneId> element.+-- | 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'. lhzbnrsNextDNSName :: Lens' ListHostedZonesByNameResponse (Maybe Text) lhzbnrsNextDNSName = lens _lhzbnrsNextDNSName (\ s a -> s{_lhzbnrsNextDNSName = a}); @@ -200,17 +244,15 @@ lhzbnrsResponseStatus :: Lens' ListHostedZonesByNameResponse Int lhzbnrsResponseStatus = lens _lhzbnrsResponseStatus (\ s a -> s{_lhzbnrsResponseStatus = a}); --- | A complex type that contains information about the hosted zones associated with the current AWS account.+-- | A complex type that contains general information about the hosted zone. lhzbnrsHostedZones :: Lens' ListHostedZonesByNameResponse [HostedZone] lhzbnrsHostedZones = lens _lhzbnrsHostedZones (\ s a -> s{_lhzbnrsHostedZones = a}) . _Coerce; --- | A flag indicating whether there are more hosted zones to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the 'NextDNSName' and 'NextHostedZoneId' elements.------ Valid Values: 'true' | 'false'+-- | 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. lhzbnrsIsTruncated :: Lens' ListHostedZonesByNameResponse Bool lhzbnrsIsTruncated = lens _lhzbnrsIsTruncated (\ s a -> s{_lhzbnrsIsTruncated = a}); --- | The maximum number of hosted zones to be included in the response body. If the number of hosted zones associated with this AWS account exceeds 'MaxItems', the value of < ListHostedZonesByNameResponse>IsTruncated> in the response is 'true'. Call 'ListHostedZonesByName' again and specify the value of < ListHostedZonesByNameResponse>NextDNSName> and < ListHostedZonesByNameResponse>NextHostedZoneId> elements respectively to get the next page of results.+-- | The value that you specified for the 'maxitems' parameter in the call to 'ListHostedZonesByName' that produced the current response. lhzbnrsMaxItems :: Lens' ListHostedZonesByNameResponse Text lhzbnrsMaxItems = lens _lhzbnrsMaxItems (\ s a -> s{_lhzbnrsMaxItems = a}); 
gen/Network/AWS/Route53/ListResourceRecordSets.hs view
@@ -18,22 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Imagine all the resource record sets in a zone listed out in front of you. Imagine them sorted lexicographically first by DNS name (with the labels reversed, like \"com.amazon.www\" for example), and secondarily, lexicographically by record type. This operation retrieves at most MaxItems resource record sets from this list, in order, starting at a position specified by the Name and Type arguments:------ -   If both Name and Type are omitted, this means start the results at the first RRSET in the HostedZone.--- -   If Name is specified but Type is omitted, this means start the results at the first RRSET in the list whose name is greater than or equal to Name.--- -   If both Name and Type are specified, this means start the results at the first RRSET in the list whose name is greater than or equal to Name and whose type is greater than or equal to Type.--- -   It is an error to specify the Type but not the Name.------ Use ListResourceRecordSets to retrieve a single known record set by specifying the record set\'s name and type, and setting MaxItems = 1------ To retrieve all the records in a HostedZone, first pause any processes making calls to ChangeResourceRecordSets. Initially call ListResourceRecordSets without a Name and Type to get the first page of record sets. For subsequent calls, set Name and Type to the NextName and NextType values returned by the previous response.------ In the presence of concurrent ChangeResourceRecordSets calls, there is no consistency of results across calls to ListResourceRecordSets. The only way to get a consistent multi-page snapshot of all RRSETs in a zone is to stop making changes while pagination is in progress.------ However, the results from ListResourceRecordSets are consistent within a page. If MakeChange calls are taking place concurrently, the result of each one will either be completely visible in your results or not at all. You will not see partial changes, or changes that do not ultimately succeed. (This follows from the fact that MakeChange is atomic)------ The results from ListResourceRecordSets are strongly consistent with ChangeResourceRecordSets. To be precise, if a single process makes a call to ChangeResourceRecordSets and receives a successful response, the effects of that change will be visible in a subsequent call to ListResourceRecordSets by that process.+-- Undocumented operation. -- -- This operation returns paginated results. module Network.AWS.Route53.ListResourceRecordSets@@ -109,25 +94,31 @@ lrrsStartRecordName :: Lens' ListResourceRecordSets (Maybe Text) lrrsStartRecordName = lens _lrrsStartRecordName (\ s a -> s{_lrrsStartRecordName = a}); --- | The DNS type at which to begin the listing of resource record sets.+-- | The type of resource record set to begin the record listing from. ----- Valid values: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NS' | 'PTR' | 'SOA' | 'SPF' | 'SRV' | 'TXT'+-- Valid values for basic resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NAPTR' | 'NS' | 'PTR' | 'SOA' | 'SPF' | 'SRV' | 'TXT' ----- Values for Weighted Resource Record Sets: 'A' | 'AAAA' | 'CNAME' | 'TXT'+-- Values for weighted, latency, geo, and failover resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NAPTR' | 'PTR' | 'SPF' | 'SRV' | 'TXT' ----- Values for Regional Resource Record Sets: 'A' | 'AAAA' | 'CNAME' | 'TXT'+-- Values for alias resource record sets: ----- Values for Alias Resource Record Sets: 'A' | 'AAAA'+-- -   __CloudFront distribution__: A ----- Constraint: Specifying 'type' without specifying 'name' returns an < InvalidInput> error.+-- -   __Elastic Beanstalk environment that has a regionalized subdomain__: A+--+-- -   __ELB load balancer__: A | AAAA+--+-- -   __Amazon S3 bucket__: A+--+-- Constraint: Specifying 'type' without specifying 'name' returns an 'InvalidInput' error. lrrsStartRecordType :: Lens' ListResourceRecordSets (Maybe RecordType) lrrsStartRecordType = lens _lrrsStartRecordType (\ s a -> s{_lrrsStartRecordType = a}); --- | /Weighted resource record sets only:/ If results were truncated for a given DNS name and type, specify the value of 'ListResourceRecordSetsResponse>NextRecordIdentifier' from the previous response to get the next resource record set that has the current DNS name and type.+-- | /Weighted resource record sets only:/ 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. lrrsStartRecordIdentifier :: Lens' ListResourceRecordSets (Maybe Text) lrrsStartRecordIdentifier = lens _lrrsStartRecordIdentifier (\ s a -> s{_lrrsStartRecordIdentifier = a}); --- | The maximum number of records you want in the response body.+-- | (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. lrrsMaxItems :: Lens' ListResourceRecordSets (Maybe Text) lrrsMaxItems = lens _lrrsMaxItems (\ s a -> s{_lrrsMaxItems = a}); @@ -188,7 +179,7 @@                "identifier" =: _lrrsStartRecordIdentifier,                "maxitems" =: _lrrsMaxItems] --- | A complex type that contains information about the resource record sets that are returned by the request and information about the response.+-- | A complex type that contains list information for the resource record set. -- -- /See:/ 'listResourceRecordSetsResponse' smart constructor. data ListResourceRecordSetsResponse = ListResourceRecordSetsResponse'@@ -234,15 +225,19 @@     , _lrrsrsMaxItems = pMaxItems_     } --- | If the results were truncated, the type of the next record in the list. This element is present only if < ListResourceRecordSetsResponse>IsTruncated> is true.+-- | If the results were truncated, the type of the next record in the list.+--+-- This element is present only if 'IsTruncated' is true. lrrsrsNextRecordType :: Lens' ListResourceRecordSetsResponse (Maybe RecordType) lrrsrsNextRecordType = lens _lrrsrsNextRecordType (\ s a -> s{_lrrsrsNextRecordType = a}); --- | If the results were truncated, the name of the next record in the list. This element is present only if < ListResourceRecordSetsResponse>IsTruncated> is true.+-- | If the results were truncated, the name of the next record in the list.+--+-- This element is present only if 'IsTruncated' is true. lrrsrsNextRecordName :: Lens' ListResourceRecordSetsResponse (Maybe Text) lrrsrsNextRecordName = lens _lrrsrsNextRecordName (\ s a -> s{_lrrsrsNextRecordName = a}); --- | /Weighted resource record sets only:/ 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.+-- | /Weighted, latency, geolocation, and failover resource record sets only/: 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. lrrsrsNextRecordIdentifier :: Lens' ListResourceRecordSetsResponse (Maybe Text) lrrsrsNextRecordIdentifier = lens _lrrsrsNextRecordIdentifier (\ s a -> s{_lrrsrsNextRecordIdentifier = a}); @@ -250,17 +245,15 @@ lrrsrsResponseStatus :: Lens' ListResourceRecordSetsResponse Int lrrsrsResponseStatus = lens _lrrsrsResponseStatus (\ s a -> s{_lrrsrsResponseStatus = a}); --- | A complex type that contains information about the resource record sets that are returned by the request.+-- | Information about multiple resource record sets. lrrsrsResourceRecordSets :: Lens' ListResourceRecordSetsResponse [ResourceRecordSet] lrrsrsResourceRecordSets = lens _lrrsrsResourceRecordSets (\ s a -> s{_lrrsrsResourceRecordSets = a}) . _Coerce; --- | A flag that indicates whether there are more resource record sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the < ListResourceRecordSetsResponse>NextRecordName> element.------ Valid Values: 'true' | 'false'+-- | 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. lrrsrsIsTruncated :: Lens' ListResourceRecordSetsResponse Bool lrrsrsIsTruncated = lens _lrrsrsIsTruncated (\ s a -> s{_lrrsrsIsTruncated = a}); --- | The maximum number of records you requested. The maximum value of 'MaxItems' is 100.+-- | The maximum number of records you requested. lrrsrsMaxItems :: Lens' ListResourceRecordSetsResponse Text lrrsrsMaxItems = lens _lrrsrsMaxItems (\ s a -> s{_lrrsrsMaxItems = a}); 
gen/Network/AWS/Route53/ListReusableDelegationSets.hs view
@@ -18,7 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a list of your reusable delegation sets, send a 'GET' request to the '\/Route 53 API version\/delegationset' resource. The response to this request includes a 'DelegationSets' element with zero, one, or multiple 'DelegationSet' child elements. By default, the list of delegation sets is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the delegation set that the list begins with.+-- To retrieve a list of your reusable delegation sets, send a 'GET' request to the '\/2013-04-01\/delegationset' resource. The response to this request includes a 'DelegationSets' element with zero, one, or multiple 'DelegationSet' child elements. By default, the list of delegation sets is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the delegation set that the list begins with. -- -- Amazon Route 53 returns a maximum of 100 items. If you set MaxItems to a value greater than 100, Amazon Route 53 returns only the first 100. module Network.AWS.Route53.ListReusableDelegationSets@@ -49,7 +49,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | To retrieve a list of your reusable delegation sets, send a 'GET' request to the '\/Route 53 API version\/delegationset' resource. The response to this request includes a 'DelegationSets' element with zero or more 'DelegationSet' child elements. By default, the list of reusable delegation sets is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the delegation set that the list begins with.+-- | To retrieve a list of your reusable delegation sets, send a 'GET' request to the '\/2013-04-01\/delegationset' resource. The response to this request includes a 'DelegationSets' element with zero or more 'DelegationSet' child elements. By default, the list of reusable delegation sets is displayed on a single page. You can control the length of the page that is displayed by using the 'MaxItems' parameter. You can use the 'Marker' parameter to control the delegation set that the list begins with. -- -- Amazon Route 53 returns a maximum of 100 items. If you set 'MaxItems' to a value greater than 100, Amazon Route 53 returns only the first 100. --@@ -74,11 +74,11 @@     , _lrdsMaxItems = Nothing     } --- | If the request returned more than one page of results, submit another request and specify the value of 'NextMarker' from the last response in the 'marker' parameter to get the next page of results.+-- | If you\'re making the second or subsequent call to 'ListReusableDelegationSets', the 'Marker' element matches the value that you specified in the 'marker' parameter in the previous request. lrdsMarker :: Lens' ListReusableDelegationSets (Maybe Text) lrdsMarker = lens _lrdsMarker (\ s a -> s{_lrdsMarker = a}); --- | Specify the maximum number of reusable delegation sets to return per page of results.+-- | The value that you specified for the 'maxitems' parameter in the request that produced the current response. lrdsMaxItems :: Lens' ListReusableDelegationSets (Maybe Text) lrdsMaxItems = lens _lrdsMaxItems (\ s a -> s{_lrdsMaxItems = a}); @@ -113,7 +113,7 @@               ["marker" =: _lrdsMarker,                "maxitems" =: _lrdsMaxItems] --- | A complex type that contains the response for the request.+-- | A complex type that contains information about the reusable delegation sets that are associated with the current AWS account. -- -- /See:/ 'listReusableDelegationSetsResponse' smart constructor. data ListReusableDelegationSetsResponse = ListReusableDelegationSetsResponse'@@ -156,7 +156,7 @@     , _lrdsrsMaxItems = pMaxItems_     } --- | Indicates where to continue listing reusable delegation sets. If < ListReusableDelegationSetsResponse>IsTruncated> is 'true', make another request to 'ListReusableDelegationSets' and include the value of the 'NextMarker' element in the 'Marker' element to get the next page of results.+-- | If 'IsTruncated' is 'true', the value of 'NextMarker' identifies the first reusable delegation set in the next group of 'maxitems' reusable delegation sets. Call 'ListReusableDelegationSets' again and specify the value of 'NextMarker' in the 'marker' parameter. lrdsrsNextMarker :: Lens' ListReusableDelegationSetsResponse (Maybe Text) lrdsrsNextMarker = lens _lrdsrsNextMarker (\ s a -> s{_lrdsrsNextMarker = a}); @@ -164,21 +164,19 @@ lrdsrsResponseStatus :: Lens' ListReusableDelegationSetsResponse Int lrdsrsResponseStatus = lens _lrdsrsResponseStatus (\ s a -> s{_lrdsrsResponseStatus = a}); --- | A complex type that contains information about the reusable delegation sets associated with the current AWS account.+-- | A complex type that contains one 'DelegationSet' element for each reusable delegation set that was created by the current AWS account. lrdsrsDelegationSets :: Lens' ListReusableDelegationSetsResponse [DelegationSet] lrdsrsDelegationSets = lens _lrdsrsDelegationSets (\ s a -> s{_lrdsrsDelegationSets = a}) . _Coerce; --- | If the request returned more than one page of results, submit another request and specify the value of 'NextMarker' from the last response in the 'marker' parameter to get the next page of results.+-- | 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. lrdsrsMarker :: Lens' ListReusableDelegationSetsResponse Text lrdsrsMarker = lens _lrdsrsMarker (\ s a -> s{_lrdsrsMarker = a}); --- | A flag indicating whether there are more reusable delegation sets to be listed. If your results were truncated, you can make a follow-up request for the next page of results by using the 'Marker' element.------ Valid Values: 'true' | 'false'+-- | A flag that indicates whether there are more reusable delegation sets to be listed. If the response is truncated, you can get the next group of 'maxitems' reusable delegation sets by calling 'ListReusableDelegationSets' again and specifying the value of the 'NextMarker' element in the 'marker' parameter. lrdsrsIsTruncated :: Lens' ListReusableDelegationSetsResponse Bool lrdsrsIsTruncated = lens _lrdsrsIsTruncated (\ s a -> s{_lrdsrsIsTruncated = a}); --- | The maximum number of reusable delegation sets to be included in the response body. If the number of reusable delegation sets associated with this AWS account exceeds 'MaxItems', the value of < ListReusablDelegationSetsResponse>IsTruncated> in the response is 'true'. Call 'ListReusableDelegationSets' again and specify the value of < ListReusableDelegationSetsResponse>NextMarker> in the < ListReusableDelegationSetsRequest>Marker> element to get the next page of results.+-- | The value that you specified for the 'maxitems' parameter in the call to 'ListReusableDelegationSets' that produced the current response. lrdsrsMaxItems :: Lens' ListReusableDelegationSetsResponse Text lrdsrsMaxItems = lens _lrdsrsMaxItems (\ s a -> s{_lrdsrsMaxItems = a}); 
gen/Network/AWS/Route53/ListTagsForResource.hs view
@@ -70,9 +70,10 @@  -- | The type of the resource. ----- - The resource type for health checks is 'healthcheck'.+-- -   The resource type for health checks is 'healthcheck'. ----- - The resource type for hosted zones is 'hostedzone'.+-- -   The resource type for hosted zones is 'hostedzone'.+-- ltfrResourceType :: Lens' ListTagsForResource TagResourceType ltfrResourceType = lens _ltfrResourceType (\ s a -> s{_ltfrResourceType = a}); @@ -106,7 +107,7 @@ instance ToQuery ListTagsForResource where         toQuery = const mempty --- | A complex type containing tags for the specified resource.+-- | A complex type that contains information about the health checks or hosted zones for which you want to list tags. -- -- /See:/ 'listTagsForResourceResponse' smart constructor. data ListTagsForResourceResponse = ListTagsForResourceResponse'
gen/Network/AWS/Route53/ListTagsForResources.hs view
@@ -43,7 +43,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type containing information about a request for a list of the tags that are associated with up to 10 specified resources.+-- | A complex type that contains information about the health checks or hosted zones for which you want to list tags. -- -- /See:/ 'listTagsForResources' smart constructor. data ListTagsForResources = ListTagsForResources'@@ -70,9 +70,10 @@  -- | The type of the resources. ----- - The resource type for health checks is 'healthcheck'.+-- -   The resource type for health checks is 'healthcheck'. ----- - The resource type for hosted zones is 'hostedzone'.+-- -   The resource type for hosted zones is 'hostedzone'.+-- lResourceType :: Lens' ListTagsForResources TagResourceType lResourceType = lens _lResourceType (\ s a -> s{_lResourceType = a}); 
gen/Network/AWS/Route53/ListTrafficPolicies.hs view
@@ -18,15 +18,28 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about the latest version for every traffic policy that is associated with the current AWS account. To get the information, send a 'GET' request to the '\/Route 53 API version\/trafficpolicy' resource.+-- Gets information about the latest version for every traffic policy that is associated with the current AWS account. Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource. -- -- Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policies, you can use the 'maxitems' parameter to list them in groups of up to 100. -- -- The response includes three values that help you navigate from one group of 'maxitems' traffic policies to the next: -- -- -   __IsTruncated__+--+--     If the value of 'IsTruncated' in the response is 'true', there are more traffic policies associated with the current AWS account.+--+--     If 'IsTruncated' is 'false', this response includes the last traffic policy that is associated with the current account.+-- -- -   __TrafficPolicyIdMarker__+--+--     If 'IsTruncated' is 'true', 'TrafficPolicyIdMarker' is the ID of the first traffic policy in the next group of 'MaxItems' traffic policies. If you want to list more traffic policies, make another call to 'ListTrafficPolicies', and specify the value of the 'TrafficPolicyIdMarker' element from the response in the 'TrafficPolicyIdMarker' request parameter.+--+--     If 'IsTruncated' is 'false', the 'TrafficPolicyIdMarker' element is omitted from the response.+-- -- -   __MaxItems__+--+--     The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- module Network.AWS.Route53.ListTrafficPolicies     (     -- * Creating a Request@@ -77,7 +90,7 @@     , _ltpMaxItems = Nothing     } --- | For your first request to 'ListTrafficPolicies', do not include the 'TrafficPolicyIdMarker' parameter.+-- | (Conditional) For your first request to 'ListTrafficPolicies', do not 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 'MaxItems' policies, submit another request to 'ListTrafficPolicies'. For the value of 'TrafficPolicyIdMarker', specify the value of the 'TrafficPolicyIdMarker' element that was returned in the previous response. --@@ -85,7 +98,7 @@ ltpTrafficPolicyIdMarker :: Lens' ListTrafficPolicies (Maybe Text) ltpTrafficPolicyIdMarker = lens _ltpTrafficPolicyIdMarker (\ s a -> s{_ltpTrafficPolicyIdMarker = a}); --- | The maximum number of traffic policies to be included in the response body for this request. If you have more than 'MaxItems' traffic policies, the value of the 'IsTruncated' element in the response is 'true', and the value of the 'TrafficPolicyIdMarker' element is the ID of the first traffic policy in the next group of 'MaxItems' traffic policies.+-- | (Optional) The maximum number of traffic policies to be included in the response body for this request. If you have more than 'MaxItems' traffic policies, the value of the 'IsTruncated' element in the response is 'true', and the value of the 'TrafficPolicyIdMarker' element is the ID of the first traffic policy in the next group of 'MaxItems' traffic policies. ltpMaxItems :: Lens' ListTrafficPolicies (Maybe Text) ltpMaxItems = lens _ltpMaxItems (\ s a -> s{_ltpMaxItems = a}); 
gen/Network/AWS/Route53/ListTrafficPolicyInstances.hs view
@@ -20,17 +20,30 @@ -- -- 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.+-- 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. ----- To get information about the traffic policy instances that are associated with the current AWS account, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstance' resource.+-- Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicyinstance' resource. -- -- Amazon 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. -- -- The response includes five values that help you navigate from one group of 'MaxItems' traffic policy instances to the next: -- -- -   __IsTruncated__+--+--     If the value of 'IsTruncated' in the response is 'true', there are more traffic policy instances associated with the current AWS account.+--+--     If 'IsTruncated' is 'false', this response includes the last traffic policy instance that is associated with the current account.+-- -- -   __MaxItems__+--+--     The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- -- -   __HostedZoneIdMarker__, __TrafficPolicyInstanceNameMarker__, and __TrafficPolicyInstanceTypeMarker__+--+--     If 'IsTruncated' is 'true', these three values in the response represent the first traffic policy instance in the next group of 'MaxItems' traffic policy instances. To list more traffic policy instances, make another call to 'ListTrafficPolicyInstances', and specify these values in the corresponding request parameters.+--+--     If 'IsTruncated' is 'false', all three elements are omitted from the response.+-- module Network.AWS.Route53.ListTrafficPolicyInstances     (     -- * Creating a Request@@ -226,8 +239,6 @@ ltpirsTrafficPolicyInstances = lens _ltpirsTrafficPolicyInstances (\ s a -> s{_ltpirsTrafficPolicyInstances = a}) . _Coerce;  -- | 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 'MaxItems' traffic policy instances by calling 'ListTrafficPolicyInstances' again and specifying the values of the 'HostedZoneIdMarker', 'TrafficPolicyInstanceNameMarker', and 'TrafficPolicyInstanceTypeMarker' elements in the corresponding request parameters.------ Valid Values: 'true' | 'false' ltpirsIsTruncated :: Lens' ListTrafficPolicyInstancesResponse Bool ltpirsIsTruncated = lens _ltpirsIsTruncated (\ s a -> s{_ltpirsIsTruncated = a}); 
gen/Network/AWS/Route53/ListTrafficPolicyInstancesByHostedZone.hs view
@@ -20,17 +20,30 @@ -- -- Gets information about the traffic policy instances that you created in a specified hosted zone. ----- 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.+-- 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. ----- To get information about the traffic policy instances that you created in a specified hosted zone, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstance' resource and include the ID of the hosted zone.+-- Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicyinstance' resource and include the ID of the hosted zone. -- -- Amazon 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. -- -- The response includes four values that help you navigate from one group of 'MaxItems' traffic policy instances to the next: -- -- -   __IsTruncated__+--+--     If the value of ''IsTruncated in the response is 'true', there are more traffic policy instances associated with the current AWS account.+--+--     If 'IsTruncated' is 'false', this response includes the last traffic policy instance that is associated with the current account.+-- -- -   __MaxItems__+--+--     The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- -- -   __TrafficPolicyInstanceNameMarker__ and __TrafficPolicyInstanceTypeMarker__+--+--     If 'IsTruncated' is 'true', these two values in the response represent the first traffic policy instance in the next group of 'MaxItems' traffic policy instances. To list more traffic policy instances, make another call to 'ListTrafficPolicyInstancesByHostedZone', and specify these values in the corresponding request parameters.+--+--     If 'IsTruncated' is 'false', all three elements are omitted from the response.+-- module Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone     (     -- * Creating a Request@@ -223,8 +236,6 @@ ltpibhzrsTrafficPolicyInstances = lens _ltpibhzrsTrafficPolicyInstances (\ s a -> s{_ltpibhzrsTrafficPolicyInstances = a}) . _Coerce;  -- | 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 'MaxItems' traffic policy instances by calling 'ListTrafficPolicyInstancesByHostedZone' again and specifying the values of the 'HostedZoneIdMarker', 'TrafficPolicyInstanceNameMarker', and 'TrafficPolicyInstanceTypeMarker' elements in the corresponding request parameters.------ Valid Values: 'true' | 'false' ltpibhzrsIsTruncated :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Bool ltpibhzrsIsTruncated = lens _ltpibhzrsIsTruncated (\ s a -> s{_ltpibhzrsIsTruncated = a}); 
gen/Network/AWS/Route53/ListTrafficPolicyInstancesByPolicy.hs view
@@ -20,9 +20,9 @@ -- -- 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.+-- 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. ----- To get information about the traffic policy instances that you created by using a specify traffic policy version, send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstance' resource and include the ID and version of the traffic policy.+-- Send a 'GET' request to the '\/Route 53 API version\/trafficpolicyinstance' resource and include the ID and version of the traffic policy. -- -- Amazon 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. --@@ -271,8 +271,6 @@ ltpibprsTrafficPolicyInstances = lens _ltpibprsTrafficPolicyInstances (\ s a -> s{_ltpibprsTrafficPolicyInstances = a}) . _Coerce;  -- | 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 'MaxItems' traffic policy instances by calling 'ListTrafficPolicyInstancesByPolicy' again and specifying the values of the 'HostedZoneIdMarker', 'TrafficPolicyInstanceNameMarker', and 'TrafficPolicyInstanceTypeMarker' elements in the corresponding request parameters.------ Valid Values: 'true' | 'false' ltpibprsIsTruncated :: Lens' ListTrafficPolicyInstancesByPolicyResponse Bool ltpibprsIsTruncated = lens _ltpibprsIsTruncated (\ s a -> s{_ltpibprsIsTruncated = a}); 
gen/Network/AWS/Route53/ListTrafficPolicyVersions.hs view
@@ -18,15 +18,30 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Gets information about all of the versions for a specified traffic policy. 'ListTrafficPolicyVersions' lists only versions that have not been deleted.+-- Gets information about all of the versions for a specified traffic policy. --+-- Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource and specify the ID of the traffic policy for which you want to list versions.+-- -- Amazon Route 53 returns a maximum of 100 items in each response. If you have a lot of traffic policies, you can use the 'maxitems' parameter to list them in groups of up to 100. -- -- The response includes three values that help you navigate from one group of 'maxitems'maxitems traffic policies to the next: -- -- -   __IsTruncated__+--+--     If the value of 'IsTruncated' in the response is 'true', there are more traffic policy versions associated with the specified traffic policy.+--+--     If 'IsTruncated' is 'false', this response includes the last traffic policy version that is associated with the specified traffic policy.+-- -- -   __TrafficPolicyVersionMarker__+--+--     The ID of the next traffic policy version that is associated with the current AWS account. If you want to list more traffic policies, make another call to 'ListTrafficPolicyVersions', and specify the value of the 'TrafficPolicyVersionMarker' element in the 'TrafficPolicyVersionMarker' request parameter.+--+--     If 'IsTruncated' is 'false', Amazon Route 53 omits the 'TrafficPolicyVersionMarker' element from the response.+-- -- -   __MaxItems__+--+--     The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- module Network.AWS.Route53.ListTrafficPolicyVersions     (     -- * Creating a Request@@ -181,9 +196,7 @@ ltpvrsTrafficPolicies :: Lens' ListTrafficPolicyVersionsResponse [TrafficPolicy] ltpvrsTrafficPolicies = lens _ltpvrsTrafficPolicies (\ s a -> s{_ltpvrsTrafficPolicies = a}) . _Coerce; --- | 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 'maxitems' traffic policies by calling 'ListTrafficPolicyVersions' again and specifying the value of the 'NextMarker' element in the marker parameter.------ Valid Values: 'true' | 'false'+-- | 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 'maxitems' traffic policies by calling 'ListTrafficPolicyVersions' again and specifying the value of the 'NextMarker' element in the 'marker' parameter. ltpvrsIsTruncated :: Lens' ListTrafficPolicyVersionsResponse Bool ltpvrsIsTruncated = lens _ltpvrsIsTruncated (\ s a -> s{_ltpvrsIsTruncated = a}); 
+ gen/Network/AWS/Route53/TestDNSAnswer.hs view
@@ -0,0 +1,255 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric      #-}+{-# LANGUAGE OverloadedStrings  #-}+{-# LANGUAGE RecordWildCards    #-}+{-# LANGUAGE TypeFamilies       #-}++{-# OPTIONS_GHC -fno-warn-unused-imports #-}+{-# OPTIONS_GHC -fno-warn-unused-binds   #-}+{-# OPTIONS_GHC -fno-warn-unused-matches #-}++-- Derived from AWS service descriptions, licensed under Apache 2.0.++-- |+-- Module      : Network.AWS.Route53.TestDNSAnswer+-- Copyright   : (c) 2013-2016 Brendan Hay+-- License     : Mozilla Public License, v. 2.0.+-- Maintainer  : Brendan Hay <brendan.g.hay@gmail.com>+-- Stability   : auto-generated+-- Portability : non-portable (GHC extensions)+--+-- Undocumented operation.+module Network.AWS.Route53.TestDNSAnswer+    (+    -- * Creating a Request+      testDNSAnswer+    , TestDNSAnswer+    -- * Request Lenses+    , tdaResolverIP+    , tdaEDNS0ClientSubnetIP+    , tdaEDNS0ClientSubnetMask+    , tdaHostedZoneId+    , tdaRecordName+    , tdaRecordType++    -- * Destructuring the Response+    , testDNSAnswerResponse+    , TestDNSAnswerResponse+    -- * Response Lenses+    , tdarsResponseStatus+    , tdarsNameserver+    , tdarsRecordName+    , tdarsRecordType+    , tdarsRecordData+    , tdarsResponseCode+    , tdarsProtocol+    ) where++import           Network.AWS.Lens+import           Network.AWS.Prelude+import           Network.AWS.Request+import           Network.AWS.Response+import           Network.AWS.Route53.Types+import           Network.AWS.Route53.Types.Product++-- | 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.+--+-- __Parameters__+--+-- [hostedzoneid]+--     The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.+--+-- [recordname]+--     The name of the resource record set that you want Amazon Route 53 to simulate a query for.+--+-- [recordtype]+--     The type of the resource record set.+--+-- [resolverip (optional)]+--     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 region.+--+-- [edns0clientsubnetip (optional)]+--     If the resolver that you specified for 'resolverip' supports EDNS0, specify the IP address of a client in the applicable location.+--+-- [edns0clientsubnetmask (optional)]+--     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.+--+--+-- /See:/ 'testDNSAnswer' smart constructor.+data TestDNSAnswer = TestDNSAnswer'+    { _tdaResolverIP            :: !(Maybe Text)+    , _tdaEDNS0ClientSubnetIP   :: !(Maybe Text)+    , _tdaEDNS0ClientSubnetMask :: !(Maybe Text)+    , _tdaHostedZoneId          :: !Text+    , _tdaRecordName            :: !Text+    , _tdaRecordType            :: !RecordType+    } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'TestDNSAnswer' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'tdaResolverIP'+--+-- * 'tdaEDNS0ClientSubnetIP'+--+-- * 'tdaEDNS0ClientSubnetMask'+--+-- * 'tdaHostedZoneId'+--+-- * 'tdaRecordName'+--+-- * 'tdaRecordType'+testDNSAnswer+    :: Text -- ^ 'tdaHostedZoneId'+    -> Text -- ^ 'tdaRecordName'+    -> RecordType -- ^ 'tdaRecordType'+    -> TestDNSAnswer+testDNSAnswer pHostedZoneId_ pRecordName_ pRecordType_ =+    TestDNSAnswer'+    { _tdaResolverIP = Nothing+    , _tdaEDNS0ClientSubnetIP = Nothing+    , _tdaEDNS0ClientSubnetMask = Nothing+    , _tdaHostedZoneId = pHostedZoneId_+    , _tdaRecordName = pRecordName_+    , _tdaRecordType = pRecordType_+    }++-- | Undocumented member.+tdaResolverIP :: Lens' TestDNSAnswer (Maybe Text)+tdaResolverIP = lens _tdaResolverIP (\ s a -> s{_tdaResolverIP = a});++-- | Undocumented member.+tdaEDNS0ClientSubnetIP :: Lens' TestDNSAnswer (Maybe Text)+tdaEDNS0ClientSubnetIP = lens _tdaEDNS0ClientSubnetIP (\ s a -> s{_tdaEDNS0ClientSubnetIP = a});++-- | Undocumented member.+tdaEDNS0ClientSubnetMask :: Lens' TestDNSAnswer (Maybe Text)+tdaEDNS0ClientSubnetMask = lens _tdaEDNS0ClientSubnetMask (\ s a -> s{_tdaEDNS0ClientSubnetMask = a});++-- | Undocumented member.+tdaHostedZoneId :: Lens' TestDNSAnswer Text+tdaHostedZoneId = lens _tdaHostedZoneId (\ s a -> s{_tdaHostedZoneId = a});++-- | Undocumented member.+tdaRecordName :: Lens' TestDNSAnswer Text+tdaRecordName = lens _tdaRecordName (\ s a -> s{_tdaRecordName = a});++-- | Undocumented member.+tdaRecordType :: Lens' TestDNSAnswer RecordType+tdaRecordType = lens _tdaRecordType (\ s a -> s{_tdaRecordType = a});++instance AWSRequest TestDNSAnswer where+        type Rs TestDNSAnswer = TestDNSAnswerResponse+        request = get route53+        response+          = receiveXML+              (\ s h x ->+                 TestDNSAnswerResponse' <$>+                   (pure (fromEnum s)) <*> (x .@ "Nameserver") <*>+                     (x .@ "RecordName")+                     <*> (x .@ "RecordType")+                     <*>+                     (x .@? "RecordData" .!@ mempty >>=+                        parseXMLList "RecordDataEntry")+                     <*> (x .@ "ResponseCode")+                     <*> (x .@ "Protocol"))++instance Hashable TestDNSAnswer++instance NFData TestDNSAnswer++instance ToHeaders TestDNSAnswer where+        toHeaders = const mempty++instance ToPath TestDNSAnswer where+        toPath = const "/2013-04-01/testdnsanswer"++instance ToQuery TestDNSAnswer where+        toQuery TestDNSAnswer'{..}+          = mconcat+              ["resolverip" =: _tdaResolverIP,+               "edns0clientsubnetip" =: _tdaEDNS0ClientSubnetIP,+               "edns0clientsubnetmask" =: _tdaEDNS0ClientSubnetMask,+               "hostedzoneid" =: _tdaHostedZoneId,+               "recordname" =: _tdaRecordName,+               "recordtype" =: _tdaRecordType]++-- | A complex type that contains the response to a 'TestDNSAnswer' request.+--+-- /See:/ 'testDNSAnswerResponse' smart constructor.+data TestDNSAnswerResponse = TestDNSAnswerResponse'+    { _tdarsResponseStatus :: !Int+    , _tdarsNameserver     :: !Text+    , _tdarsRecordName     :: !Text+    , _tdarsRecordType     :: !RecordType+    , _tdarsRecordData     :: ![Text]+    , _tdarsResponseCode   :: !Text+    , _tdarsProtocol       :: !Text+    } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'TestDNSAnswerResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'tdarsResponseStatus'+--+-- * 'tdarsNameserver'+--+-- * 'tdarsRecordName'+--+-- * 'tdarsRecordType'+--+-- * 'tdarsRecordData'+--+-- * 'tdarsResponseCode'+--+-- * 'tdarsProtocol'+testDNSAnswerResponse+    :: Int -- ^ 'tdarsResponseStatus'+    -> Text -- ^ 'tdarsNameserver'+    -> Text -- ^ 'tdarsRecordName'+    -> RecordType -- ^ 'tdarsRecordType'+    -> Text -- ^ 'tdarsResponseCode'+    -> Text -- ^ 'tdarsProtocol'+    -> TestDNSAnswerResponse+testDNSAnswerResponse pResponseStatus_ pNameserver_ pRecordName_ pRecordType_ pResponseCode_ pProtocol_ =+    TestDNSAnswerResponse'+    { _tdarsResponseStatus = pResponseStatus_+    , _tdarsNameserver = pNameserver_+    , _tdarsRecordName = pRecordName_+    , _tdarsRecordType = pRecordType_+    , _tdarsRecordData = mempty+    , _tdarsResponseCode = pResponseCode_+    , _tdarsProtocol = pProtocol_+    }++-- | The response status code.+tdarsResponseStatus :: Lens' TestDNSAnswerResponse Int+tdarsResponseStatus = lens _tdarsResponseStatus (\ s a -> s{_tdarsResponseStatus = a});++-- | The Amazon Route 53 name server used to respond to the request.+tdarsNameserver :: Lens' TestDNSAnswerResponse Text+tdarsNameserver = lens _tdarsNameserver (\ s a -> s{_tdarsNameserver = a});++-- | The name of the resource record set that you submitted a request for.+tdarsRecordName :: Lens' TestDNSAnswerResponse Text+tdarsRecordName = lens _tdarsRecordName (\ s a -> s{_tdarsRecordName = a});++-- | The type of the resource record set that you submitted a request for.+tdarsRecordType :: Lens' TestDNSAnswerResponse RecordType+tdarsRecordType = lens _tdarsRecordType (\ s a -> s{_tdarsRecordType = a});++-- | A list that contains values that Amazon Route 53 returned for this resource record set.+tdarsRecordData :: Lens' TestDNSAnswerResponse [Text]+tdarsRecordData = lens _tdarsRecordData (\ s a -> s{_tdarsRecordData = a}) . _Coerce;++-- | 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 <http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-6 DNS RCODES> on the IANA website.+tdarsResponseCode :: Lens' TestDNSAnswerResponse Text+tdarsResponseCode = lens _tdarsResponseCode (\ s a -> s{_tdarsResponseCode = a});++-- | The protocol that Amazon Route 53 used to respond to the request, either 'UDP' or 'TCP'.+tdarsProtocol :: Lens' TestDNSAnswerResponse Text+tdarsProtocol = lens _tdarsProtocol (\ s a -> s{_tdarsProtocol = a});++instance NFData TestDNSAnswerResponse
gen/Network/AWS/Route53/Types.hs view
@@ -352,16 +352,16 @@ _HealthCheckVersionMismatch =     _ServiceError . hasStatus 409 . hasCode "HealthCheckVersionMismatch" --- | Some value specified in the request is invalid or the XML document is malformed.+-- | The input is not valid. _InvalidInput :: AsError a => Getting (First ServiceError) a ServiceError _InvalidInput = _ServiceError . hasStatus 400 . hasCode "InvalidInput" --- | The hosted zone contains resource record sets in addition to the default NS and SOA resource record sets. Before you can delete the hosted zone, you must delete the additional resource record sets.+-- | The hosted zone contains resource records that are not SOA or NS records. _HostedZoneNotEmpty :: AsError a => Getting (First ServiceError) a ServiceError _HostedZoneNotEmpty =     _ServiceError . hasStatus 400 . hasCode "HostedZoneNotEmpty" --- | At least one of the specified arguments is invalid.+-- | Parameter name and problem. _InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError _InvalidArgument = _ServiceError . hasCode "InvalidArgument" @@ -385,12 +385,12 @@ _DelegationSetAlreadyReusable =     _ServiceError . hasCode "DelegationSetAlreadyReusable" --- | The request was rejected because Amazon Route 53 was still processing a prior request.+-- | If Amazon Route 53 can\'t process a request before the next request arrives, it will reject subsequent requests for the same hosted zone and return an 'HTTP 400 error' ('Bad request'). If Amazon Route 53 returns this error repeatedly for the same request, we recommend that you wait, in intervals of increasing duration, before you try the request again. _PriorRequestNotComplete :: AsError a => Getting (First ServiceError) a ServiceError _PriorRequestNotComplete =     _ServiceError . hasStatus 400 . hasCode "PriorRequestNotComplete" --- | This error contains a list of one or more error messages. Each error message indicates one error in the change batch. For more information, see <http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeResourceRecordSets.html#example_Errors Example InvalidChangeBatch Errors>.+-- | This exception contains a list of messages that might contain one or more error messages. Each error message indicates one error in the change batch. _InvalidChangeBatch :: AsError a => Getting (First ServiceError) a ServiceError _InvalidChangeBatch = _ServiceError . hasCode "InvalidChangeBatch" @@ -404,11 +404,11 @@ _InvalidTrafficPolicyDocument =     _ServiceError . hasStatus 400 . hasCode "InvalidTrafficPolicyDocument" --- | The specified delegation set has not been marked as reusable.+-- | A reusable delegation set with the specified ID does not exist. _DelegationSetNotReusable :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetNotReusable = _ServiceError . hasCode "DelegationSetNotReusable" --- | This error indicates that the specified domain name is not valid.+-- | The specified domain name is not valid. _InvalidDomainName :: AsError a => Getting (First ServiceError) a ServiceError _InvalidDomainName =     _ServiceError . hasStatus 400 . hasCode "InvalidDomainName"@@ -426,11 +426,13 @@ _DelegationSetInUse :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetInUse = _ServiceError . hasCode "DelegationSetInUse" --- | The specified delegation set does not exist.+-- | A reusable delegation set with the specified ID does not exist. _NoSuchDelegationSet :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchDelegationSet = _ServiceError . hasCode "NoSuchDelegationSet" --- | The health check you are trying to create already exists. Amazon Route 53 returns this error when a health check has already been created with the specified 'CallerReference'.+-- | The health check you\'re attempting to create already exists.+--+-- Amazon Route 53 returns this error when a health check has already been created with the specified value for 'CallerReference'. _HealthCheckAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError _HealthCheckAlreadyExists =     _ServiceError . hasStatus 409 . hasCode "HealthCheckAlreadyExists"@@ -440,17 +442,17 @@ _TooManyTrafficPolicies =     _ServiceError . hasStatus 400 . hasCode "TooManyTrafficPolicies" --- | The geo location you are trying to get does not exist.+-- | Amazon Route 53 doesn\'t support the specified geolocation. _NoSuchGeoLocation :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchGeoLocation =     _ServiceError . hasStatus 404 . hasCode "NoSuchGeoLocation" --- | Amazon Route 53 allows some duplicate domain names, but there is a maximum number of duplicate names. This error indicates that you have reached that maximum. If you want to create another hosted zone with the same name and Amazon Route 53 generates this error, you can request an increase to the limit on the <http://aws.amazon.com/route53-request/ Contact Us> page.+-- | You can create a hosted zone that has the same name as an existing hosted zone (example.com is common), but there is a limit to the number of hosted zones that have the same name. If you get this error, Amazon Route 53 has reached that limit. If you own the domain name and Amazon Route 53 generates this error, contact Customer Support. _DelegationSetNotAvailable :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetNotAvailable =     _ServiceError . hasCode "DelegationSetNotAvailable" --- | The VPC you specified is not currently associated with the hosted zone.+-- | The specified VPC and hosted zone are not currently associated. _VPCAssociationNotFound :: AsError a => Getting (First ServiceError) a ServiceError _VPCAssociationNotFound =     _ServiceError . hasStatus 404 . hasCode "VPCAssociationNotFound"@@ -483,21 +485,21 @@ _IncompatibleVersion =     _ServiceError . hasStatus 400 . hasCode "IncompatibleVersion" --- | The hosted zone you are trying to associate VPC with doesn\'t have any VPC association. Amazon Route 53 currently doesn\'t support associate a VPC with a public hosted zone.+-- | The hosted zone specified in 'HostedZoneId' is a public hosted zone. _PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError _PublicZoneVPCAssociation =     _ServiceError . hasStatus 400 . hasCode "PublicZoneVPCAssociation" --- | Prism for NoSuchHostedZone' errors.+-- | No hosted zone exists with the ID that you specified. _NoSuchHostedZone :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchHostedZone = _ServiceError . hasStatus 404 . hasCode "NoSuchHostedZone" --- | This error indicates that you\'ve reached the maximum number of hosted zones that can be created for the current AWS account. You can request an increase to the limit on the <http://aws.amazon.com/route53-request/ Contact Us> page.+-- | This hosted zone cannot be created because the hosted zone limit is exceeded. To request a limit increase, go to the Amazon Route 53 <http://aws.amazon.com/route53-request/ Contact Us> page. _TooManyHostedZones :: AsError a => Getting (First ServiceError) a ServiceError _TooManyHostedZones =     _ServiceError . hasStatus 400 . hasCode "TooManyHostedZones" --- | There are resource records associated with this health check. Before you can delete the health check, you must disassociate it from the resource record sets.+-- | The health check ID for this health check is referenced in the 'HealthCheckId' element in one of the resource record sets in one of the hosted zones that are owned by the current AWS account. _HealthCheckInUse :: AsError a => Getting (First ServiceError) a ServiceError _HealthCheckInUse = _ServiceError . hasStatus 400 . hasCode "HealthCheckInUse" @@ -510,7 +512,7 @@ _ConflictingDomainExists :: AsError a => Getting (First ServiceError) a ServiceError _ConflictingDomainExists = _ServiceError . hasCode "ConflictingDomainExists" --- | The VPC you are trying to disassociate from the hosted zone is the last the VPC that is associated with the hosted zone. Amazon Route 53 currently doesn\'t support disassociate the last VPC from the hosted zone.+-- | Only one VPC is currently associated with the hosted zone. You cannot convert a private hosted zone into a public hosted zone by disassociating the last VPC from a hosted zone. _LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError _LastVPCAssociation =     _ServiceError . hasStatus 400 . hasCode "LastVPCAssociation"@@ -519,7 +521,7 @@ _TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError _TooManyHealthChecks = _ServiceError . hasCode "TooManyHealthChecks" --- | The health check you are trying to get or delete does not exist.+-- | No health check exists with the ID that you specified in the 'DeleteHealthCheck' request. _NoSuchHealthCheck :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchHealthCheck =     _ServiceError . hasStatus 404 . hasCode "NoSuchHealthCheck"
gen/Network/AWS/Route53/Types/Product.hs view
@@ -22,7 +22,7 @@ import           Network.AWS.Route53.Internal import           Network.AWS.Route53.Types.Sum --- | A complex type that contains information to uniquely identify the CloudWatch alarm that you\'re associating with a Route 53 health check.+-- | A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. -- -- /See:/ 'alarmIdentifier' smart constructor. data AlarmIdentifier = AlarmIdentifier'@@ -47,11 +47,13 @@     , _aiName = pName_     } --- | The 'CloudWatchRegion' that the CloudWatch alarm was created in.+-- | A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy.+--+-- For the current list of CloudWatch regions, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#cw_region Amazon CloudWatch> in /AWS Regions and Endpoints/ in the /Amazon Web Services General Reference/. aiRegion :: Lens' AlarmIdentifier CloudWatchRegion aiRegion = lens _aiRegion (\ s a -> s{_aiRegion = a}); --- | The name of the CloudWatch alarm.+-- | The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. aiName :: Lens' AlarmIdentifier Text aiName = lens _aiName (\ s a -> s{_aiName = a}); @@ -68,15 +70,17 @@         toXML AlarmIdentifier'{..}           = mconcat ["Region" @= _aiRegion, "Name" @= _aiName] --- | /Alias resource record sets only:/ Information about the CloudFront distribution, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are routing traffic.+-- | /Alias resource record sets only:/ Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The Elastic Beanstalk environment must have a regionalized subdomain. ----- If you\'re creating resource record sets for a private hosted zone, note the following:+-- When creating resource record sets for a private hosted zone, note the following: ----- -   You can create alias resource record sets only for Amazon Route 53 resource record sets in the same private hosted zone. Creating alias resource record sets for CloudFront distributions, ELB load balancers, and Amazon S3 buckets is not supported.--- -   You can\'t create alias resource record sets for failover, geolocation, or latency resource record sets in a private hosted zone.+-- -   Resource record sets cannot be created for CloudFront distributions in a private hosted zone. ----- For more information and an example, see <http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html Example: Creating Alias Resource Record Sets> in the /Amazon Route 53 API Reference/.+-- -   Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported. --+-- -   For information about creating failover resource record sets in a private hosted zone, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html Configuring Failover in a Private Hosted Zone>.+--+-- -- /See:/ 'aliasTarget' smart constructor. data AliasTarget = AliasTarget'     { _atHostedZoneId         :: !Text@@ -105,47 +109,91 @@     , _atEvaluateTargetHealth = pEvaluateTargetHealth_     } --- | /Alias resource record sets only:/ The value you use depends on where you want to route queries:+-- | /Alias resource records sets only/: The value used depends on where the queries are routed: ----- -   __A CloudFront distribution:__ Specify 'Z2FDTNDATAQYW2'.--- -   An ELB load balancer: Specify the value of the hosted zone ID for the load balancer. You can get the hosted zone ID by using the AWS Management Console, the ELB API, or the AWS CLI. Use the same method to get values for 'HostedZoneId' and 'DNSName'. If you get one value from the console and the other value from the API or the CLI, creating the resource record set will fail.--- -   __An Amazon S3 bucket that is configured as a static website:__ Specify the hosted zone ID for the Amazon S3 website endpoint in which you created the bucket. For more information about valid values, see the table <http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region Amazon Simple Storage Service (S3) Website Endpoints> in the /Amazon Web Services General Reference/.--- -   __Another Amazon Route 53 resource record set in your hosted zone:__ Specify the hosted zone ID of your hosted zone. (An alias resource record set cannot reference a resource record set in a different hosted zone.)+-- [A CloudFront distribution]+--     Specify 'Z2FDTNDATAQYW2'. ----- For more information and an example, see <http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html Example: Creating Alias Resource Record Sets> in the /Amazon Route 53 API Reference/.+--     Alias resource record sets for CloudFront cannot be created in a private zone.+--+-- [Elastic Beanstalk environment]+--     Specify the hosted zone ID for the region in which you created the environment. The environment must have a regionalized subdomain. For a list of regions and the corresponding hosted zone IDs, see <http://docs.aws.amazon.com/general/latest/gr/rande.html#elasticbeanstalk_region AWS Elastic Beanstalk> in the /Regions and Endpoints/ chapter of the AWSk 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:+--+--     -   AWS Management Console: Go to the Amazon EC2; page, click Load Balancers in the navigation pane, select the load balancer, and get the value of the Hosted Zone ID field on the Description tab. Use the same process to get the DNS Name. See < HostedZone>Name>.+--+--     -   Elastic Load Balancing API: Use 'DescribeLoadBalancers' to get the value of 'CanonicalHostedZoneNameID'. Use the same process to get the 'CanonicalHostedZoneName'. See < HostedZone>Name>.+--+--     -   AWS CLI: Use ' describe-load-balancers ' to get the value of 'CanonicalHostedZoneNameID'. Use the same process to get the 'CanonicalHostedZoneName'. See < HostedZone>Name>.+--+-- [An Amazon S3 bucket configured as a static website]+--     Specify the hosted zone ID for the Amazon S3 website endpoint in which you created the bucket. For more information about valid values, see the table <http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region Amazon S3 (S3) Website Endpoints> in the /Amazon Web Services General Reference/.+--+-- [Another Amazon Route 53 resource record set in your hosted zone]+--     Specify the hosted zone ID of your hosted zone. (An alias resource record set cannot reference a resource record set in a different hosted zone.)+-- atHostedZoneId :: Lens' AliasTarget Text atHostedZoneId = lens _atHostedZoneId (\ s a -> s{_atHostedZoneId = a}); --- | /Alias resource record sets only:/ The external DNS name associated with the AWS Resource. The value that you specify depends on where you want to route queries:+-- | /Alias resource record sets only:/ The value that you specify depends on where you want to route queries: ----- -   __A 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 <http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html Using Alternate Domain Names (CNAMEs)> in the /Amazon CloudFront Developer Guide/.--- -   __An ELB load balancer:__ Specify the DNS name associated with the load balancer. You can get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI. Use the same method to get values for 'HostedZoneId' and 'DNSName'. If you get one value from the console and the other value from the API or the CLI, creating the resource record set will fail.--- -   __An Elastic Beanstalk environment:__ Specify the CNAME attribute for the environment. (The environment must have a regionalized domain name.)--- -   __An Amazon S3 bucket that is configured as a static website:__ Specify the domain name of the Amazon S3 website endpoint in which you created the bucket; for example, 's3-website-us-east-1.amazonaws.com'. For more information about valid values, see the table <http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region Amazon Simple Storage Service (S3) Website Endpoints> in the /Amazon Web Services General Reference/. For more information about using Amazon S3 buckets for websites, see <http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html Hosting a Static Website on Amazon S3> in the /Amazon Simple Storage Service Developer Guide/.--- -   __Another Amazon Route 53 resource record set:__ Specify the value of the 'Name' element for a resource record set in the current hosted zone.+-- -   __A CloudFront distribution:__ Specify the domain name that CloudFront assigned when you created your distribution. ----- For more information and an example, see <http://docs.aws.amazon.com/Route53/latest/APIReference/CreateAliasRRSAPI.html Example: Creating Alias Resource Record Sets> in the /Amazon Route 53 API Reference/.+--     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 <http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html Using Alternate Domain Names (CNAMEs)> in the /Amazon CloudFront Developer Guide/.+--+-- -   __Elastic Beanstalk environment__: Specify the 'CNAME' attribute for the environment. (The environment must have a regionalized domain name.) You can use the following methods to get the value of the CNAME attribute:+--+--     -   /AWS Managment Console/: For information about how to get the value by using the console, see <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customdomains.html Using Custom Domains with Elastic Beanstalk> in the /AWS Elastic Beanstalk Developer Guide/.+--+--     -   /Elastic Load Balancing API/: Use the 'DescribeEnvironments' action to get the value of the 'CNAME' attribute. For more information, see <http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/API_DescribeEnvironments.html 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 <http://docs.aws.amazon.com/cli/latest/reference/elasticbeanstalk/describe-environments.html describe-environments> in the /AWS Command Line Interface Reference/.+--+-- -   __An ELB load balancer:__ Specify the DNS name associated with the load balancer. Get the DNS name by using the AWS Management Console, the ELB API, or the AWS CLI. Use the same method to get values for 'HostedZoneId' and 'DNSName'. If you get one value from the console and the other value from the API or the CLI, creating the resource record set will fail.+--+--     -   /AWS Management Console/: Go to the Amazon EC2 page, click Load Balancers in the navigation pane, choose the load balancer, choose the Description tab, and get the value of the DNS Name field that begins with dualstack. Use the same process to get the Hosted Zone ID. See < HostedZone>Id>.+--+--     -   /Elastic Load Balancing API/: Use ' DescribeLoadBalancers ' to get the value of 'CanonicalHostedZoneName'. Use the same process to get the 'CanonicalHostedZoneNameId'. See < HostedZone>Id>.+--+--     -   /AWS CLI/: Use ' describe-load-balancers ' to get the value of 'CanonicalHostedZoneName'. Use the same process to get the 'CanonicalHostedZoneNameId'. See HostedZoneId.+--+-- -   __An Amazon S3 bucket that is configured as a static website:__ Specify the domain name of the Amazon S3 website endpoint in which you created the bucket; for example, 's3-website-us-east-1.amazonaws.com'. For more information about valid values, see the table <http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region Amazon Simple Storage Service (S3) Website Endpoints> in the /Amazon Web Services General Reference/. For more information about using Amazon S3 buckets for websites, see <http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html Hosting a Static Website on Amazon S3> in the /Amazon Simple Storage Service Developer Guide./+--+-- -   __Another Amazon Route 53 resource record set__: Specify the value of the 'Name' element for a resource record set in the current hosted zone.+-- atDNSName :: Lens' AliasTarget Text atDNSName = lens _atDNSName (\ s a -> s{_atDNSName = a}); --- | /Alias resource record sets only:/ If you set the value of 'EvaluateTargetHealth' to 'true' for the resource record set or sets in an alias, weighted alias, latency alias, or failover alias resource record set, and if you specify a value for 'HealthCheckId' for every resource record set that is referenced by these alias resource record sets, the alias resource record sets inherit the health of the referenced resource record sets.+-- | /Applies only to alias, weighted alias, latency alias, and failover alias record sets:/ If you set the value of 'EvaluateTargetHealth' to 'true' for the resource record set or sets in an alias, weighted alias, latency alias, or failover alias resource record set, and if you specify a value for ' HealthCheck>Id ' for every resource record set that is referenced by these alias resource record sets, the alias resource record sets inherit the health of the referenced resource record sets. -- -- In this configuration, when Amazon Route 53 receives a DNS query for an alias resource record set: ----- 1.  Amazon Route 53 looks at the resource record sets that are referenced by the alias resource record sets to determine which health checks they\'re using.--- 2.  Amazon Route 53 checks the current status of each health check. (Amazon Route 53 periodically checks the health of the endpoint that is specified in a health check; it doesn\'t perform the health check when the DNS query arrives.)--- 3.  Based on the status of the health checks, Amazon Route 53 determines which resource record sets are healthy. Unhealthy resource record sets are immediately removed from consideration. In addition, if all of the resource record sets that are referenced by an alias resource record set are unhealthy, that alias resource record set also is immediately removed from consideration.--- 4.  Based on the configuration of the alias resource record sets (weighted alias or latency alias, for example) and the configuration of the resource record sets that they reference, Amazon Route 53 chooses a resource record set from the healthy resource record sets, and responds to the query.+-- -   Amazon Route 53 looks at the resource record sets that are referenced by the alias resource record sets to determine which health checks they\'re using. --+-- -   Amazon Route 53 checks the current status of each health check. (Amazon Route 53 periodically checks the health of the endpoint that is specified in a health check; it doesn\'t perform the health check when the DNS query arrives.)+--+-- -   Based on the status of the health checks, Amazon Route 53 determines which resource record sets are healthy. Unhealthy resource record sets are immediately removed from consideration. In addition, if all of the resource record sets that are referenced by an alias resource record set are unhealthy, that alias resource record set also is immediately removed from consideration.+--+-- -   Based on the configuration of the alias resource record sets (weighted alias or latency alias, for example) and the configuration of the resource record sets that they reference, Amazon Route 53 chooses a resource record set from the healthy resource record sets, and responds to the query.+-- -- Note the following: ----- -   You cannot set 'EvaluateTargetHealth' to true when the alias target is a CloudFront distribution.--- -   If the AWS resource that you specify in 'AliasTarget' is a resource record set or a group of resource record sets (for example, a group of weighted resource record sets), but it is not another alias resource record set, we recommend that you associate a health check with all of the resource record sets in the alias target. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html#dns-failover-complex-configs-hc-omitting What Happens When You Omit Health Checks?> in the /Amazon Route 53 Developer Guide/.--- -   If you specify an ELB load balancer in 'AliasTarget', Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If no Amazon EC2 instances are healthy or if the load balancer itself is unhealthy, and if 'EvaluateTargetHealth' is 'true' for the corresponding alias resource record set, Amazon Route 53 routes queries to other resources.--- -   When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they\'re not Amazon Route 53 health checks, but they perform a similar function. Do not create Amazon Route 53 health checks for the Amazon EC2 instances that you register with an ELB load balancer. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html How Health Checks Work in More Complex Amazon Route 53 Configurations> in the /Amazon Route 53 Developer Guide/.+-- -   You cannot set 'EvaluateTargetHealth' to 'true' when the alias target is a CloudFront distribution. ----- We recommend that you set 'EvaluateTargetHealth' to 'true' only when you have enough idle capacity to handle the failure of one or more endpoints.+-- -   If the AWS resource that you specify in 'AliasTarget' is a resource record set or a group of resource record sets (for example, a group of weighted resource record sets), but it is not another alias resource record set, we recommend that you associate a health check with all of the resource record sets in the alias target.For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html#dns-failover-complex-configs-hc-omitting What Happens When You Omit Health Checks?> in the /Amazon Route 53 Developer Guide/. --+-- -   If you specify an Elastic Beanstalk environment in 'HostedZoneId' and 'DNSName', and if 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, Amazon 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.+--+-- -   If you specify an ELB load balancer in ' AliasTarget ', Elastic Load Balancing routes queries only to the healthy Amazon EC2 instances that are registered with the load balancer. If no Amazon EC2 instances are healthy or if the load balancer itself is unhealthy, and if 'EvaluateTargetHealth' is true for the corresponding alias resource record set, Amazon Route 53 routes queries to other resources. When you create a load balancer, you configure settings for Elastic Load Balancing health checks; they\'re not Amazon Route 53 health checks, but they perform a similar function. Do not create Amazon Route 53 health checks for the Amazon EC2 instances that you register with an ELB load balancer.+--+--     For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-complex-configs.html How Health Checks Work in More Complex Amazon Route 53 Configurations> in the /Amazon Route 53 Developers Guide/.+--+-- -   We recommend that you set 'EvaluateTargetHealth' to true only when you have enough idle capacity to handle the failure of one or more endpoints.+-- -- For more information and examples, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover> in the /Amazon Route 53 Developer Guide/. atEvaluateTargetHealth :: Lens' AliasTarget Bool atEvaluateTargetHealth = lens _atEvaluateTargetHealth (\ s a -> s{_atEvaluateTargetHealth = a});@@ -167,7 +215,7 @@                "DNSName" @= _atDNSName,                "EvaluateTargetHealth" @= _atEvaluateTargetHealth] --- | A complex type that contains the information for each change in a change batch request.+-- | The information for each resource record set that you want to change. -- -- /See:/ 'change' smart constructor. data Change = Change'@@ -195,8 +243,13 @@ -- | The action to perform: -- -- -   'CREATE': Creates a resource record set that has the specified values.+-- -- -   'DELETE': Deletes a existing resource record set that has the specified values for 'Name', 'Type', 'SetIdentifier' (for 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 that you\'re routing DNS queries to).+--+--     To delete the resource record set that is associated with a traffic policy instance, use ' DeleteTrafficPolicyInstance '. Amazon Route 53will delete the resource record set automatically. If you delete the resource record set by using 'ChangeResourceRecordSets', Amazon 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.+-- -- -   'UPSERT': If a resource record set does not already exist, Amazon Route 53 creates it. If a resource record 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 'SetIdentifier' (for weighted, latency, geolocation, and failover resource record sets).+-- cAction :: Lens' Change ChangeAction cAction = lens _cAction (\ s a -> s{_cAction = a}); @@ -214,7 +267,7 @@               ["Action" @= _cAction,                "ResourceRecordSet" @= _cResourceRecordSet] --- | A complex type that contains an optional comment and the changes that you want to make with a change batch request.+-- | The information for a change request. -- -- /See:/ 'changeBatch' smart constructor. data ChangeBatch = ChangeBatch'@@ -242,7 +295,7 @@ cbComment :: Lens' ChangeBatch (Maybe Text) cbComment = lens _cbComment (\ s a -> s{_cbComment = a}); --- | A complex type that contains one 'Change' element for each resource record set that you want to create or delete.+-- | Information about the changes to make to the record sets. cbChanges :: Lens' ChangeBatch (NonEmpty Change) cbChanges = lens _cbChanges (\ s a -> s{_cbChanges = a}) . _List1; @@ -258,8 +311,6 @@  -- | 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.--- -- /See:/ 'changeInfo' smart constructor. data ChangeInfo = ChangeInfo'     { _ciComment     :: !(Maybe Text)@@ -298,17 +349,15 @@ ciComment :: Lens' ChangeInfo (Maybe Text) ciComment = lens _ciComment (\ s a -> s{_ciComment = a}); --- | The ID of the request. Use this ID to track when the change has completed across all Amazon Route 53 DNS servers.+-- | The ID of the request. ciId :: Lens' ChangeInfo Text ciId = lens _ciId (\ s a -> s{_ciId = a});  -- | The current state of the request. 'PENDING' indicates that this request has not yet been applied to all Amazon Route 53 DNS servers.------ Valid Values: 'PENDING' | 'INSYNC' ciStatus :: Lens' ChangeInfo ChangeStatus ciStatus = lens _ciStatus (\ s a -> s{_ciStatus = a}); --- | The date and time the change was submitted, in the format 'YYYY-MM-DDThh:mm:ssZ', as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The 'Z' after the time indicates that the time is listed in Coordinated Universal Time (UTC).+-- | The date and time the change request was submitted, in Coordinated Universal Time (UTC) format: 'YYYY-MM-DDThh:mm:ssZ'. For more information, see the Wikipedia entry <https://en.wikipedia.org/wiki/ISO_8601 ISO 8601>. ciSubmittedAt :: Lens' ChangeInfo UTCTime ciSubmittedAt = lens _ciSubmittedAt (\ s a -> s{_ciSubmittedAt = a}) . _Time; @@ -322,7 +371,7 @@  instance NFData ChangeInfo --- | For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you\'re associating with the health check.+-- | A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check. -- -- /See:/ 'cloudWatchAlarmConfiguration' smart constructor. data CloudWatchAlarmConfiguration = CloudWatchAlarmConfiguration'@@ -376,39 +425,35 @@     , _cwacStatistic = pStatistic_     } --- | A list of 'Dimension' elements for the CloudWatch metric that is associated with the CloudWatch alarm. For information about the metrics and dimensions that CloudWatch supports, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference>.+-- | 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 <%20http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference> in the /Amazon CloudWatch Developer Guide/. cwacDimensions :: Lens' CloudWatchAlarmConfiguration [Dimension] cwacDimensions = lens _cwacDimensions (\ s a -> s{_cwacDimensions = a}) . _Default . _Coerce; --- | The number of periods over which data is compared to the specified threshold.+-- | For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold. cwacEvaluationPeriods :: Lens' CloudWatchAlarmConfiguration Natural cwacEvaluationPeriods = lens _cwacEvaluationPeriods (\ s a -> s{_cwacEvaluationPeriods = a}) . _Nat; --- | The value that the metric is compared with to determine the state of the alarm. For example, if you want the health check to fail if the average TCP connection time is greater than 500 milliseconds for more than 60 seconds, the threshold is 500.+-- | For the metric that the CloudWatch alarm is associated with, the value the metric is compared with. cwacThreshold :: Lens' CloudWatchAlarmConfiguration Double cwacThreshold = lens _cwacThreshold (\ s a -> s{_cwacThreshold = a}); --- | The arithmetic operation to use when comparing the specified Statistic and Threshold.------ Valid Values are 'GreaterThanOrEqualToThreshold', 'GreaterThanThreshold', 'LessThanThreshold' and 'LessThanOrEqualToThreshold'+-- | For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison. cwacComparisonOperator :: Lens' CloudWatchAlarmConfiguration ComparisonOperator cwacComparisonOperator = lens _cwacComparisonOperator (\ s a -> s{_cwacComparisonOperator = a}); --- | An integer that represents the period in seconds over which the statistic is applied.+-- | For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds. cwacPeriod :: Lens' CloudWatchAlarmConfiguration Natural cwacPeriod = lens _cwacPeriod (\ s a -> s{_cwacPeriod = a}) . _Nat; --- | The name of the CloudWatch metric that is associated with the CloudWatch alarm.+-- | The name of the CloudWatch metric that the alarm is associated with. cwacMetricName :: Lens' CloudWatchAlarmConfiguration Text cwacMetricName = lens _cwacMetricName (\ s a -> s{_cwacMetricName = a}); --- | The namespace of the CloudWatch metric that is associated with the CloudWatch alarm.+-- | The namespace of the metric that the alarm is associated with. For more information, see <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference> in the /Amazon CloudWatch Developer Guide/. cwacNamespace :: Lens' CloudWatchAlarmConfiguration Text cwacNamespace = lens _cwacNamespace (\ s a -> s{_cwacNamespace = a}); --- | The statistic to apply to the CloudWatch metric that is associated with the CloudWatch alarm.------ Valid Values are 'SampleCount', 'Average', 'Sum', 'Minimum' and 'Maximum'+-- | For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric. cwacStatistic :: Lens' CloudWatchAlarmConfiguration Statistic cwacStatistic = lens _cwacStatistic (\ s a -> s{_cwacStatistic = a}); @@ -429,7 +474,7 @@  instance NFData CloudWatchAlarmConfiguration --- | A complex type that contains name server information.+-- | A complex type that describes the name servers for this hosted zone. -- -- /See:/ 'delegationSet' smart constructor. data DelegationSet = DelegationSet'@@ -465,7 +510,7 @@ dsCallerReference :: Lens' DelegationSet (Maybe Text) dsCallerReference = lens _dsCallerReference (\ s a -> s{_dsCallerReference = a}); --- | A complex type that contains the authoritative name servers for the hosted zone. Use the method provided by your domain registrar to add an NS record to your domain for each 'NameServer' that is assigned to your hosted zone.+-- | A complex type that contains a list of the authoritative name servers for the hosted zone. dsNameServers :: Lens' DelegationSet (NonEmpty Text) dsNameServers = lens _dsNameServers (\ s a -> s{_dsNameServers = a}) . _List1; @@ -480,7 +525,7 @@  instance NFData DelegationSet --- | The name and value of a dimension for a CloudWatch metric.+-- | For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension. -- -- /See:/ 'dimension' smart constructor. data Dimension = Dimension'@@ -505,11 +550,11 @@     , _dValue = pValue_     } --- | The name of the dimension.+-- | For the metric that the CloudWatch alarm is associated with, the name of one dimension. dName :: Lens' Dimension Text dName = lens _dName (\ s a -> s{_dName = a}); --- | The value of the dimension.+-- | For the metric that the CloudWatch alarm is associated with, the value of one dimension. dValue :: Lens' Dimension Text dValue = lens _dValue (\ s a -> s{_dValue = a}); @@ -548,23 +593,19 @@     , _glContinentCode = Nothing     } --- | The code for a country\'s subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.------ Constraint: Specifying 'SubdivisionCode' without 'CountryCode' returns an < InvalidInput> error.+-- | The code for the subdivision, for example, a state in the United States or a province in Canada. glSubdivisionCode :: Lens' GeoLocation (Maybe Text) glSubdivisionCode = lens _glSubdivisionCode (\ s a -> s{_glSubdivisionCode = a}); --- | The code for a country geo location. The default location uses \'*\' for the country code and will match all locations that are not matched by a geo location.------ The default geo location uses a '*' for the country code. All other country codes follow the ISO 3166 two-character code.+-- | The two-letter code for the country. glCountryCode :: Lens' GeoLocation (Maybe Text) glCountryCode = lens _glCountryCode (\ s a -> s{_glCountryCode = a}); --- | The code for a continent geo location. Note: only continent locations have a continent code.+-- | The two-letter code for the continent. -- -- Valid values: 'AF' | 'AN' | 'AS' | 'EU' | 'OC' | 'NA' | 'SA' ----- Constraint: Specifying 'ContinentCode' with either 'CountryCode' or 'SubdivisionCode' returns an < InvalidInput> error.+-- Constraint: Specifying 'ContinentCode' with either 'CountryCode' or 'SubdivisionCode' returns an 'InvalidInput' error. glContinentCode :: Lens' GeoLocation (Maybe Text) glContinentCode = lens _glContinentCode (\ s a -> s{_glContinentCode = a}); @@ -585,7 +626,7 @@                "CountryCode" @= _glCountryCode,                "ContinentCode" @= _glContinentCode] --- | A complex type that contains information about a 'GeoLocation'.+-- | A complex type that contains the codes and full continent, country, and subdivision names for the specified 'geolocation' code. -- -- /See:/ 'geoLocationDetails' smart constructor. data GeoLocationDetails = GeoLocationDetails'@@ -624,29 +665,27 @@     , _gldContinentName = Nothing     } --- | The name of the subdivision. This element is only present if 'SubdivisionCode' is also present.+-- | The full name of the subdivision, for example, a state in the United States or a province in Canada. gldSubdivisionName :: Lens' GeoLocationDetails (Maybe Text) gldSubdivisionName = lens _gldSubdivisionName (\ s a -> s{_gldSubdivisionName = a}); --- | The code for a country\'s subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.+-- | The code for the subdivision, for example, a state in the United States or a province in Canada. gldSubdivisionCode :: Lens' GeoLocationDetails (Maybe Text) gldSubdivisionCode = lens _gldSubdivisionCode (\ s a -> s{_gldSubdivisionCode = a}); --- | The name of the country. This element is only present if 'CountryCode' is also present.+-- | The name of the country. gldCountryName :: Lens' GeoLocationDetails (Maybe Text) gldCountryName = lens _gldCountryName (\ s a -> s{_gldCountryName = a}); --- | The code for a country geo location. The default location uses \'*\' for the country code and will match all locations that are not matched by a geo location.------ The default geo location uses a '*' for the country code. All other country codes follow the ISO 3166 two-character code.+-- | The two-letter code for the country. gldCountryCode :: Lens' GeoLocationDetails (Maybe Text) gldCountryCode = lens _gldCountryCode (\ s a -> s{_gldCountryCode = a}); --- | The code for a continent geo location. Note: only continent locations have a continent code.+-- | The two-letter code for the continent. gldContinentCode :: Lens' GeoLocationDetails (Maybe Text) gldContinentCode = lens _gldContinentCode (\ s a -> s{_gldContinentCode = a}); --- | The name of the continent. This element is only present if 'ContinentCode' is also present.+-- | The full name of the continent. gldContinentName :: Lens' GeoLocationDetails (Maybe Text) gldContinentName = lens _gldContinentName (\ s a -> s{_gldContinentName = a}); @@ -664,7 +703,7 @@  instance NFData GeoLocationDetails --- | A complex type that contains identifying information about the health check.+-- | A complex type that contains information about one health check that is associated with the current AWS account. -- -- /See:/ 'healthCheck' smart constructor. data HealthCheck = HealthCheck'@@ -703,19 +742,19 @@     , _hcHealthCheckVersion = _Nat # pHealthCheckVersion_     } --- | For CLOUDWATCH_METRIC health checks, a complex type that contains information about the CloudWatch alarm that you\'re associating with the health check.+-- | A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check. hcCloudWatchAlarmConfiguration :: Lens' HealthCheck (Maybe CloudWatchAlarmConfiguration) hcCloudWatchAlarmConfiguration = lens _hcCloudWatchAlarmConfiguration (\ s a -> s{_hcCloudWatchAlarmConfiguration = a}); --- | The ID of the specified health check.+-- | 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. hcId :: Lens' HealthCheck Text hcId = lens _hcId (\ s a -> s{_hcId = a}); --- | A unique string that identifies the request to create the health check.+-- | A unique string that you specified when you created the health check. hcCallerReference :: Lens' HealthCheck Text hcCallerReference = lens _hcCallerReference (\ s a -> s{_hcCallerReference = a}); --- | A complex type that contains the health check configuration.+-- | A complex type that contains detailed information about one health check. hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig hcHealthCheckConfig = lens _hcHealthCheckConfig (\ s a -> s{_hcHealthCheckConfig = a}); @@ -736,7 +775,7 @@  instance NFData HealthCheck --- | A complex type that contains the health check configuration.+-- | A complex type that contains information about the health check. -- -- /See:/ 'healthCheckConfig' smart constructor. data HealthCheckConfig = HealthCheckConfig'@@ -816,71 +855,143 @@     , _hccType = pType_     } --- | 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.------ Valid values are integers between 1 and 10. For more information, see \"How Amazon Route 53 Determines Whether an Endpoint Is Healthy\" in the Amazon Route 53 Developer Guide.+-- | 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html How Amazon Route 53 Determines Whether an Endpoint Is Healthy> in the /Amazon Route 53 Developer Guide/. hccFailureThreshold :: Lens' HealthCheckConfig (Maybe Natural) hccFailureThreshold = lens _hccFailureThreshold (\ s a -> s{_hccFailureThreshold = a}) . mapping _Nat; --- | IP Address of the instance being checked.+-- | The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don\'t specify a value for 'IPAddress', Amazon 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 DNS returns, Amazon Route 53 then checks the health of the endpoint.+--+-- If the endpoint is an Amazon EC2 instance, we recommend that you create an Elastic IP address, associate it with your Amazon 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 < HealthCheckConfig>FullyQualifiedDomainName>.+--+-- Contraints: Amazon Route 53 cannot 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 cannot create health checks, see <https://tools.ietf.org/html/rfc5735 RFC 5735, Special Use IPv4 Addresses> and <https://tools.ietf.org/html/rfc6598 RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space>.+--+-- When the value of Type is 'CALCULATED' or 'CLOUDWATCH_METRIC', omit IPAddress. hccIPAddress :: Lens' HealthCheckConfig (Maybe Text) hccIPAddress = lens _hccIPAddress (\ s a -> s{_hccIPAddress = a}); --- | Specify whether you want Amazon Route 53 to send the value of 'FullyQualifiedDomainName' to the endpoint in the 'client_hello' message during TLS negotiation. If you don\'t specify a value for 'EnableSNI', Amazon Route 53 defaults to 'true' when 'Type' is 'HTTPS' or 'HTTPS_STR_MATCH' and defaults to 'false' when 'Type' is any other value.+-- | 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. hccEnableSNI :: Lens' HealthCheckConfig (Maybe Bool) hccEnableSNI = lens _hccEnableSNI (\ s a -> s{_hccEnableSNI = a}); --- | A string to search for in the body of a health check response. Required for HTTP_STR_MATCH and HTTPS_STR_MATCH health checks. Amazon Route 53 considers case when searching for 'SearchString' in the response body.+-- | If the value of Type is 'HTTP_STR_MATCH' or 'HTTP_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, Amazon Route 53 considers the resource healthy.+--+-- Amazon Route 53 considers case when searching for 'SearchString' in the response body. hccSearchString :: Lens' HealthCheckConfig (Maybe Text) hccSearchString = lens _hccSearchString (\ s a -> s{_hccSearchString = a}); --- | The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.+-- | 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 < HealthCheckConfig>ChildHealthChecks> and < HealthCheckConfig>ChildHealthChecks> elements.+--+-- Note the following:+--+-- -   If you specify a number greater than the number of child health checks, Amazon Route 53 always considers this health check to be unhealthy.+--+-- -   If you specify '0', Amazon Route 53 always considers this health check to be healthy.+-- hccHealthThreshold :: Lens' HealthCheckConfig (Maybe Natural) hccHealthThreshold = lens _hccHealthThreshold (\ s a -> s{_hccHealthThreshold = a}) . mapping _Nat; --- | A list of 'HealthCheckRegion' values that you want Amazon Route 53 to use to perform health checks for the specified endpoint. You must specify at least three regions.+-- | 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. hccRegions :: Lens' HealthCheckConfig (Maybe (NonEmpty HealthCheckRegion)) hccRegions = lens _hccRegions (\ s a -> s{_hccRegions = a}) . mapping _List1; --- | Path to ping on the instance to check the health. Required for HTTP, HTTPS, HTTP_STR_MATCH, and HTTPS_STR_MATCH health checks. The HTTP request is issued to the instance on the given port and path.+-- | 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. hccResourcePath :: Lens' HealthCheckConfig (Maybe Text) hccResourcePath = lens _hccResourcePath (\ s a -> s{_hccResourcePath = a}); --- | The status of the health check when CloudWatch has insufficient data about the state of associated alarm. Valid values are 'Healthy', 'Unhealthy' and 'LastKnownStatus'.+-- | 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:+--+-- -   'Healthy': Amazon Route 53 considers the health check to be healthy.+--+-- -   'Unhealthy': Amazon Route 53 considers the health check to be unhealthy.+--+-- -   'LastKnownStatus': Amazon Route 53uses the status of the health check from the last time CloudWatch had sufficient data to determine the alarm state. For new health checks that have no last known status, the default status for the health check is healthy.+-- hccInsufficientDataHealthStatus :: Lens' HealthCheckConfig (Maybe InsufficientDataHealthStatus) hccInsufficientDataHealthStatus = lens _hccInsufficientDataHealthStatus (\ s a -> s{_hccInsufficientDataHealthStatus = a}); --- | A complex type that contains information to uniquely identify the CloudWatch alarm that you\'re associating with a Route 53 health check.+-- | A complex type that identifies the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. hccAlarmIdentifier :: Lens' HealthCheckConfig (Maybe AlarmIdentifier) hccAlarmIdentifier = lens _hccAlarmIdentifier (\ s a -> s{_hccAlarmIdentifier = a}); --- | A Boolean value that indicates 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 in the Amazon Route 53 console.+-- | 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 Amazon Route 53 console.+--+-- You can\'t change the value of 'MeasureLatency' after you create a health check. hccMeasureLatency :: Lens' HealthCheckConfig (Maybe Bool) hccMeasureLatency = lens _hccMeasureLatency (\ s a -> s{_hccMeasureLatency = a}); --- | A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but 'Inverted' is 'True', then Amazon Route 53 considers the health check to be unhealthy.+-- | 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. hccInverted :: Lens' HealthCheckConfig (Maybe Bool) hccInverted = lens _hccInverted (\ s a -> s{_hccInverted = a}); --- | Fully qualified domain name of the instance to be health checked.+-- | Amazon Route 53 behavior depends on whether you specify a value for 'IPAddress'.+--+-- __If you specify__ 'IPAddress':+--+-- The value that you want Amazon Route 53 to pass in the 'Host' header in all health checks except TCP health checks. This is typically the fully qualified DNS name of the website that you are attempting to health check. When Amazon Route 53 checks the health of an endpoint, here is how it constructs the 'Host' header:+--+-- -   If you specify a value of '80' for 'Port' and 'HTTP' or 'HTTP_STR_MATCH' for 'Type', Amazon Route 53 passes the value of 'FullyQualifiedDomainName' to the endpoint in the Host header.+--+-- -   If you specify a value of '443' for 'Port' and 'HTTPS' or 'HTTPS_STR_MATCH' for 'Type', Amazon Route 53 passes the value of 'FullyQualifiedDomainName' to the endpoint in the 'Host' header.+--+-- -   If you specify another value for 'Port' and any value except 'TCP' for 'Type', Amazon Route 53 passes 'FullyQualifiedDomainName:Port' to the endpoint in the 'Host' header.+--+-- If you don\'t specify a value for 'FullyQualifiedDomainName', Amazon Route 53 substitutes the value of 'IPAddress' in the 'Host' header in each of the preceding cases.+--+-- __If you don\'t specify__ 'IPAddress':+--+-- If you don\'t specify a value for 'IPAddress', Amazon Route 53 sends a DNS request to the domain that you specify in 'FullyQualifiedDomainName' at the interval you specify in 'RequestInterval'. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.+--+-- 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-1-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', Amazon 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', Amazon Route 53 doesn\'t pass a 'Host' header. hccFullyQualifiedDomainName :: Lens' HealthCheckConfig (Maybe Text) hccFullyQualifiedDomainName = lens _hccFullyQualifiedDomainName (\ s a -> s{_hccFullyQualifiedDomainName = a}); --- | For a specified parent health check, a list of 'HealthCheckId' values for the associated child health checks.+-- | (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. hccChildHealthChecks :: Lens' HealthCheckConfig [Text] hccChildHealthChecks = lens _hccChildHealthChecks (\ s a -> s{_hccChildHealthChecks = a}) . _Default . _Coerce; --- | 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.+-- | 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 Amazon Route 53 health checker makes requests at this interval. ----- Each Amazon Route 53 health checker makes requests at this interval. Valid values are 10 and 30. The default value is 30.+-- You can\'t change the value of 'RequestInterval' after you create a health check. hccRequestInterval :: Lens' HealthCheckConfig (Maybe Natural) hccRequestInterval = lens _hccRequestInterval (\ s a -> s{_hccRequestInterval = a}) . mapping _Nat; --- | Port on which connection will be opened to the instance to health check. For HTTP and HTTP_STR_MATCH this defaults to 80 if the port is not specified. For HTTPS and HTTPS_STR_MATCH this defaults to 443 if the port is not specified.+-- | The port on the endpoint on which you want Amazon Route 53 to perform health checks. Specify a value for Port only when you specify a value for 'IPAddress'. hccPort :: Lens' HealthCheckConfig (Maybe Natural) hccPort = lens _hccPort (\ s a -> s{_hccPort = a}) . mapping _Nat; --- | The type of health check to be performed. Currently supported types are TCP, HTTP, HTTPS, HTTP_STR_MATCH, HTTPS_STR_MATCH, CALCULATED and CLOUDWATCH_METRIC.+-- | 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:+--+-- -   __HTTP__: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and waits for an HTTP status code of 200 or greater and less than 400.+--+-- -   __HTTPS__: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTPS request and waits for an HTTP status code of 200 or greater and less than 400.+--+--     If you specify 'HTTPS' for the value of 'Type', the endpoint must support TLS v1.0 or later.+--+-- -   __HTTP_STR_MATCH__: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an HTTP request and searches the first 5,120 bytes of the response body for the string that you specify in 'SearchString'.+--+-- -   __HTTPS_STR_MATCH__: Amazon Route 53 tries to establish a TCP connection. If successful, Amazon Route 53 submits an 'HTTPS' request and searches the first 5,120 bytes of the response body for the string that you specify in 'SearchString'.+--+-- -   __TCP__: Amazon Route 53 tries to establish a TCP connection.+--+-- -   __CLOUDWATCH_METRIC__: The health check is associated with a CloudWatch alarm. If the state of the alarm is 'OK', the health check is considered healthy. If the state is 'ALARM', the health check is considered unhealthy. If CloudWatch doesn\'t have sufficient data to determine whether the state is 'OK' or 'ALARM', the health check status depends on the setting for 'InsufficientDataHealthStatus': 'Healthy', 'Unhealthy', or 'LastKnownStatus'.+--+-- -   __CALCULATED__: For health checks that monitor the status of other health checks, Amazon Route 53 adds up the number of health checks that Amazon Route 53 health checkers consider to be healthy and compares that number with the value of 'HealthThreshold'.+--+-- For more information about how Amazon Route 53 determines whether an endpoint is healthy, see the introduction to this topic. hccType :: Lens' HealthCheckConfig HealthCheckType hccType = lens _hccType (\ s a -> s{_hccType = a}); @@ -936,7 +1047,7 @@                "RequestInterval" @= _hccRequestInterval,                "Port" @= _hccPort, "Type" @= _hccType] --- | A complex type that contains the IP address of a Amazon Route 53 health checker and the reason for the health check status.+-- | A complex type that contains the last failure reason as reported by one Amazon Route 53 health checker. -- -- /See:/ 'healthCheckObservation' smart constructor. data HealthCheckObservation = HealthCheckObservation'@@ -963,15 +1074,15 @@     , _hcoRegion = Nothing     } --- | The IP address of the Amazon Route 53 health checker that performed this health check.+-- | The IP address of the Amazon Route 53 health checker that provided the failure reason in 'StatusReport'. hcoIPAddress :: Lens' HealthCheckObservation (Maybe Text) hcoIPAddress = lens _hcoIPAddress (\ s a -> s{_hcoIPAddress = a}); --- | A complex type that contains information about the health check status for the current observation.+-- | 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. hcoStatusReport :: Lens' HealthCheckObservation (Maybe StatusReport) hcoStatusReport = lens _hcoStatusReport (\ s a -> s{_hcoStatusReport = a}); --- | The 'HealthCheckRegion' of the Amazon Route 53 health checker that performed this health check.+-- | The region of the Amazon Route 53 health checker that provided the status in StatusReport. hcoRegion :: Lens' HealthCheckObservation (Maybe HealthCheckRegion) hcoRegion = lens _hcoRegion (\ s a -> s{_hcoRegion = a}); @@ -985,7 +1096,7 @@  instance NFData HealthCheckObservation --- | A complex type that contain information about the specified hosted zone.+-- | A complex type that contains general information about the hosted zone. -- -- /See:/ 'hostedZone' smart constructor. data HostedZone = HostedZone'@@ -1023,25 +1134,25 @@     , _hzCallerReference = pCallerReference_     } --- | A complex type that contains the 'Comment' element.+-- | 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. hzConfig :: Lens' HostedZone (Maybe HostedZoneConfig) hzConfig = lens _hzConfig (\ s a -> s{_hzConfig = a}); --- | Total number of resource record sets in the hosted zone.+-- | The number of resource record sets in the hosted zone. hzResourceRecordSetCount :: Lens' HostedZone (Maybe Integer) hzResourceRecordSetCount = lens _hzResourceRecordSetCount (\ s a -> s{_hzResourceRecordSetCount = a}); --- | The ID of the specified hosted zone.+-- | The ID that Amazon Route 53 assigned to the hosted zone when you created it. hzId :: Lens' HostedZone Text hzId = lens _hzId (\ s a -> s{_hzId = a}); --- | The name of the domain. This must be a fully-specified domain, for example, www.example.com. The trailing dot is optional; Amazon Route 53 assumes that the domain name is fully qualified. This means that Amazon Route 53 treats www.example.com (without a trailing dot) and www.example.com. (with a trailing dot) as identical.+-- | The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar. ----- This is the name you have registered with your DNS registrar. You should ask your registrar to change the authoritative name servers for your domain to the set of 'NameServers' elements returned in 'DelegationSet'.+-- For information about how to specify characters other than 'a-z', '0-9', and '-' (hyphen) and how to specify internationalized domain names, see < CreateHostedZone>. hzName :: Lens' HostedZone Text hzName = lens _hzName (\ s a -> s{_hzName = a}); --- | A unique string that identifies the request to create the hosted zone.+-- | The value that you specified for 'CallerReference' when you created the hosted zone. hzCallerReference :: Lens' HostedZone Text hzCallerReference = lens _hzCallerReference (\ s a -> s{_hzCallerReference = a}); @@ -1057,7 +1168,7 @@  instance NFData HostedZone --- | A complex type that contains an optional comment about your hosted zone. If you don\'t want to specify a comment, you can omit the 'HostedZoneConfig' and 'Comment' elements from the XML document.+-- | 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. -- -- /See:/ 'hostedZoneConfig' smart constructor. data HostedZoneConfig = HostedZoneConfig'@@ -1080,11 +1191,11 @@     , _hzcComment = Nothing     } --- | Undocumented member.+-- | A value that indicates whether this is a private hosted zone. hzcPrivateZone :: Lens' HostedZoneConfig (Maybe Bool) hzcPrivateZone = lens _hzcPrivateZone (\ s a -> s{_hzcPrivateZone = a}); --- | An optional comment about your hosted zone. If you don\'t want to specify a comment, you can omit the 'HostedZoneConfig' and 'Comment' elements from the XML document.+-- | Any comments that you want to include about the hosted zone. hzcComment :: Lens' HostedZoneConfig (Maybe Text) hzcComment = lens _hzcComment (\ s a -> s{_hzcComment = a}); @@ -1103,8 +1214,10 @@               ["PrivateZone" @= _hzcPrivateZone,                "Comment" @= _hzcComment] --- | A complex type that contains the value of the 'Value' element for the current resource record set.+-- | Information specific to the resource record. --+-- If you are creating an alias resource record set, omit 'ResourceRecord'.+-- -- /See:/ 'resourceRecord' smart constructor. newtype ResourceRecord = ResourceRecord'     { _rrValue :: Text@@ -1123,9 +1236,11 @@     { _rrValue = pValue_     } --- | 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ResourceRecordTypes.html Supported DNS Resource Record Types> in the /Amazon Route 53 Developer Guide/.+-- | 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DeveloperGuide/ResourceRecordTypes.html 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 are creating an alias resource record set, omit 'Value'. rrValue :: Lens' ResourceRecord Text rrValue = lens _rrValue (\ s a -> s{_rrValue = a}); @@ -1140,7 +1255,7 @@         toXML ResourceRecord'{..}           = mconcat ["Value" @= _rrValue] --- | A complex type that contains information about the current resource record set.+-- | Information about the resource record set to create or delete. -- -- /See:/ 'resourceRecordSet' smart constructor. data ResourceRecordSet = ResourceRecordSet'@@ -1205,29 +1320,48 @@     , _rrsType = pType_     } --- | The cache time to live for the current resource record set. Note the following:+-- | The resource record cache time to live (TTL), in seconds. Note the following: -- -- -   If you\'re creating an alias resource record set, omit 'TTL'. Amazon Route 53 uses the value of 'TTL' for the alias target.+-- -- -   If you\'re associating this resource record set with a health check (if you\'re adding a 'HealthCheckId' element), we recommend that you specify a 'TTL' of 60 seconds or less so clients respond quickly to changes in health status.+-- -- -   All of the resource record sets in a group of weighted, latency, geolocation, or failover resource record sets must have the same value for 'TTL'.+-- -- -   If a group of weighted resource record sets includes one or more weighted alias resource record sets for which the alias target is an ELB load balancer, we recommend that you specify a 'TTL' of 60 seconds for all of the non-alias weighted resource record sets that have the same name and type. Values other than 60 seconds (the TTL for load balancers) will change the effect of the values that you specify for 'Weight'.+-- rrsTTL :: Lens' ResourceRecordSet (Maybe Natural) rrsTTL = lens _rrsTTL (\ s a -> s{_rrsTTL = a}) . mapping _Nat; --- | A complex type that contains the resource records for the current resource record set.+-- | Information about the resource records to act upon.+--+-- If you are creating an alias resource record set, omit 'ResourceRecords'. rrsResourceRecords :: Lens' ResourceRecordSet (Maybe (NonEmpty ResourceRecord)) rrsResourceRecords = lens _rrsResourceRecords (\ s a -> s{_rrsResourceRecords = a}) . mapping _List1; --- | /Alias resource record sets only:/ Information about the AWS resource to which you are redirecting traffic.+-- | /Alias resource record sets only:/ Information about the CloudFront distribution, Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The Elastic Beanstalk environment must have a regionalized subdomain.+--+-- If you\'re creating resource records sets for a private hosted zone, note the following:+--+-- -   You can\'t create alias resource record sets for CloudFront distributions in a private hosted zone.+--+-- -   Creating geolocation alias resource record sets or latency alias resource record sets in a private hosted zone is unsupported.+--+-- -   For information about creating failover resource record sets in a private hosted zone, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html Configuring Failover in a Private Hosted Zone> in the /Amazon Route 53 Developer Guide/.+-- rrsAliasTarget :: Lens' ResourceRecordSet (Maybe AliasTarget) rrsAliasTarget = lens _rrsAliasTarget (\ s a -> s{_rrsAliasTarget = a});  -- | /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. Amazon Route 53 calculates the sum of the weights for the resource record sets that have the same combination of DNS name and type. Amazon Route 53 then responds to queries based on the ratio of a resource\'s weight to the total. Note the following: -- -- -   You must specify a value for the 'Weight' element for every weighted resource record set.+-- -- -   You can only specify one 'ResourceRecord' per weighted resource record set.+-- -- -   You cannot create latency, failover, or geolocation resource record sets that have the same values for the 'Name' and 'Type' elements as weighted resource record sets.+-- -- -   You can create a maximum of 100 weighted resource record sets that have the same values for the 'Name' and 'Type' elements.+-- -- -   For weighted (but not weighted alias) resource record sets, if you set 'Weight' to '0' for a resource record set, Amazon Route 53 never responds to queries with the applicable value for that resource record set. However, if you set 'Weight' to '0' for all resource record sets that have the same combination of DNS name and type, traffic is routed to all resources with equal probability. -- --     The effect of setting 'Weight' to '0' is different when you associate health checks with weighted resource record sets. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-configuring-options.html Options for Configuring Amazon Route 53 Active-Active and Active-Passive Failover> in the /Amazon Route 53 Developer Guide/.@@ -1239,53 +1373,93 @@ rrsTrafficPolicyInstanceId :: Lens' ResourceRecordSet (Maybe Text) rrsTrafficPolicyInstanceId = lens _rrsTrafficPolicyInstanceId (\ s a -> s{_rrsTrafficPolicyInstanceId = a}); --- | /Weighted, Latency, Geo, and Failover resource record sets only:/ An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. The value of 'SetIdentifier' must be unique for each resource record set that has the same combination of DNS name and type.+-- | /Weighted, Latency, Geo, and Failover resource record sets only:/ An identifier that differentiates among multiple resource record sets that have the same combination of DNS name and type. The value of 'SetIdentifier' must be unique for each resource record set that has the same combination of DNS name and type. Omit 'SetIdentifier' for any other types of record sets. rrsSetIdentifier :: Lens' ResourceRecordSet (Maybe Text) rrsSetIdentifier = lens _rrsSetIdentifier (\ s a -> s{_rrsSetIdentifier = a});  -- | /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. ----- You can create failover and failover alias resource record sets only in public hosted zones.--- -- Except where noted, the following failover behaviors assume that you have included the 'HealthCheckId' element in both resource record sets: -- -- -   When the primary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the secondary resource record set.+-- -- -   When the primary resource record set is unhealthy and the secondary resource record set is healthy, Amazon Route 53 responds to DNS queries with the applicable value from the secondary resource record set.+-- -- -   When the secondary resource record set is unhealthy, Amazon Route 53 responds to DNS queries with the applicable value from the primary resource record set regardless of the health of the primary resource record set.+-- -- -   If you omit the 'HealthCheckId' element for the secondary resource record set, and if the primary resource record set is unhealthy, Amazon Route 53 always responds to DNS queries with the applicable value from the secondary resource record set. This is true regardless of the health of the associated endpoint. -- -- You cannot 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 Amazon Route 53, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover> in the /Amazon Route 53 Developer Guide/.+-- For more information about configuring failover for Amazon Route 53, see the following topics in the /Amazon Route 53 Developer Guide/: --+-- -   <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover>+--+-- -   <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html Configuring Failover in a Private Hosted Zone>+-- -- Valid values: 'PRIMARY' | 'SECONDARY' rrsFailover :: Lens' ResourceRecordSet (Maybe Failover) rrsFailover = lens _rrsFailover (\ s a -> s{_rrsFailover = a}); --- | /Health Check resource record sets only, not required for alias resource record sets:/ An identifier that is used to identify health check associated with the resource record set.+-- | If you want Amazon Route 53 to return this resource record set in response to a DNS query only when a health check is passing, include the 'HealthCheckId' element and specify the ID of the applicable health check.+--+-- Amazon Route 53 determines whether a resource record set is healthy based on one of the following:+--+-- -   By periodically sending a request to the endpoint that is specified in the health check+--+-- -   By aggregating the status of a specified group of health checks (calculated health checks)+--+-- -   By determining the current state of a CloudWatch alarm (CloudWatch metric health checks)+--+-- For information about how Amazon Route 53 determines whether a health check is healthy, see < CreateHealthCheck>.+--+-- The 'HealthCheckId' element is only useful when Amazon Route 53 is choosing between two or more resource record sets to respond to a DNS query, and you want Amazon Route 53 to base the choice in part on the status of a health check. Configuring health checks only makes sense in the following configurations:+--+-- -   You\'re checking the health of the resource record sets in a weighted, latency, geolocation, or failover resource record set, and you specify health check IDs for all of the resource record sets. If the health check for one resource record set specifies an endpoint that is not healthy, Amazon Route 53 stops responding to queries using the value for that resource record set.+--+-- -   You set 'EvaluateTargetHealth' to true for the resource record sets in an alias, weighted alias, latency alias, geolocation alias, or failover alias resource record set, and you specify health check IDs for all of the resource record sets that are referenced by the alias resource record sets.+--+-- Amazon Route 53 doesn\'t check the health of the endpoint 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, Amazon Route 53 checks the health of the endpoint that you specified in the health check.+--+-- For geolocation resource record sets, if an endpoint is unhealthy, Amazon 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 United States, for North America, and for all locations. If the endpoint for the state resource record set is unhealthy, Amazon Route 53 checks the resource record sets for the United States, for North America, and for all locations (a resource record set for which the value of 'CountryCode' is '*'), in that order, until it finds a resource record set for which the endpoint is healthy.+--+-- 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-1-www.example.com'), not the name of the resource record sets (example.com).+--+-- n this configuration, if you create a health check for which the value of 'FullyQualifiedDomainName' matches the name of the resource record sets and then associate the health check with those resource record sets, health check results will be unpredictable.+--+-- For more informaiton, see the following topics in the Amazon Route 53 Developer Guide:+--+-- -   <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html Amazon Route 53 Health Checks and DNS Failover>+--+-- -   <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-private-hosted-zones.html Configuring Failover in a Private Hosted Zone>+-- rrsHealthCheckId :: Lens' ResourceRecordSet (Maybe Text) rrsHealthCheckId = lens _rrsHealthCheckId (\ s a -> s{_rrsHealthCheckId = a});  -- | /Latency-based resource record sets only:/ The Amazon EC2 region where the resource that is specified in this resource record set resides. The resource typically is an AWS resource, such as an Amazon 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. ----- You can create latency and latency alias resource record sets only in public hosted zones.+-- Creating latency and latency alias resource record sets in private hosted zones is 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, Amazon Route 53 selects the latency resource record set that has the lowest latency between the end user and the associated Amazon EC2 region. Amazon Route 53 then returns the value that is associated with the selected resource record set. -- -- Note the following: -- -- -   You can only specify one 'ResourceRecord' per latency resource record set.+-- -- -   You can only create one latency resource record set for each Amazon EC2 region.+-- -- -   You are not required to create latency resource record sets for all Amazon EC2 regions. Amazon Route 53 will choose the region with the best latency from among the regions for which you create latency resource record sets.+-- -- -   You cannot create non-latency resource record sets that have the same values for the 'Name' and 'Type' elements as latency resource record sets.+-- rrsRegion :: Lens' ResourceRecordSet (Maybe Region) rrsRegion = lens _rrsRegion (\ s a -> s{_rrsRegion = a});  -- | /Geo location 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'. ----- You can create geolocation and geolocation alias resource record sets only in public hosted zones.+-- Creating geolocation and geolocation alias resource record sets in private hosted zones is 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. --@@ -1303,28 +1477,42 @@ -- -- 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 still assumes that the domain name that you specify is fully qualified. This means that Amazon 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html DNS Domain Name Format> in the /Amazon Route 53 Developer Guide/.+-- For information about how to specify characters other than 'a-z', '0-9', and '-' (hyphen) and how to specify internationalized domain names, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html DNS Domain Name Format> in the /Amazon Route 53 Developer Guide/. ----- You can use an asterisk (*) character in the name. DNS treats the * character either as a wildcard or as the * character (ASCII 42), depending on where it appears in the name. For more information, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html#domain-name-format-asterisk Using an Asterisk (*) in the Names of Hosted Zones and Resource Record Sets> 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\'t use the * wildcard for resource records sets that have a type of NS.+-- -   The * must replace the entire label. For example, you can\'t specify '*prod.example.com' or 'prod*.example.com'.+--+-- -   The * can\'t replace any of the middle labels, for example, marketing.*.example.com.+--+-- -   If you include * in any position other than the leftmost label in a domain name, DNS treats it as an * character (ASCII 42), not as a wildcard.+--+--     You can\'t use the * wildcard for resource records sets that have a type of NS.+--+-- You can use the * wildcard as the leftmost label in a domain name, for example, '*.example.com'. You cannot 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'. rrsName :: Lens' ResourceRecordSet Text rrsName = lens _rrsName (\ s a -> s{_rrsName = a});  -- | The DNS record type. For information about different record types and how data is encoded for them, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/ResourceRecordTypes.html Supported DNS Resource Record Types> in the /Amazon Route 53 Developer Guide/. ----- Valid values for basic resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NS' | 'PTR' | 'SOA' | 'SPF' | 'SRV' | 'TXT'+-- Valid values for basic resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NAPTR' | 'NS' | 'PTR' | 'SOA' | 'SPF' | 'SRV' | 'TXT' ----- Values for weighted, latency, geolocation, and failover resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | '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.+-- Values for weighted, latency, geolocation, and failover resource record sets: 'A' | 'AAAA' | '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. -- -- 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, <http://tools.ietf.org/html/rfc7208#section-14.1 The SPF DNS Record Type>. -- -- Values for alias resource record sets: -- -- -   __CloudFront distributions:__ 'A'+--+-- -   __Elastic Beanstalk environment that has a regionalized subdomain__: 'A'+-- -- -   __ELB load balancers:__ 'A' | 'AAAA'--- -   __Amazon S3 buckets:__ A+--+-- -   __Amazon S3 buckets:__ 'A'+-- -- -   __Another resource record set in this hosted zone:__ Specify the type of the resource record set for which you\'re creating the alias. Specify any value except 'NS' or 'SOA'.+-- rrsType :: Lens' ResourceRecordSet RecordType rrsType = lens _rrsType (\ s a -> s{_rrsType = a}); @@ -1400,9 +1588,10 @@  -- | The type of the resource. ----- - The resource type for health checks is 'healthcheck'.+-- -   The resource type for health checks is 'healthcheck'. ----- - The resource type for hosted zones is 'hostedzone'.+-- -   The resource type for hosted zones is 'hostedzone'.+-- rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType) rtsResourceType = lens _rtsResourceType (\ s a -> s{_rtsResourceType = a}); @@ -1421,7 +1610,7 @@  instance NFData ResourceTagSet --- | A complex type that contains information about the health check status for the current observation.+-- | A complex type that contains the status that one Amazon Route 53 health checker reports and the time of the health check. -- -- /See:/ 'statusReport' smart constructor. data StatusReport = StatusReport'@@ -1444,11 +1633,11 @@     , _srCheckedTime = Nothing     } --- | The observed health check status.+-- | A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers. srStatus :: Lens' StatusReport (Maybe Text) srStatus = lens _srStatus (\ s a -> s{_srStatus = a}); --- | The date and time the health check status was observed, in the format 'YYYY-MM-DDThh:mm:ssZ', as specified in the ISO 8601 standard (for example, 2009-11-19T19:37:58Z). The 'Z' after the time indicates that the time is listed in Coordinated Universal Time (UTC).+-- | The time at which the health checker performed the health check in <https://en.wikipedia.org/wiki/ISO_8601 ISO 8601 format> and Coordinated Universal Time (UTC). For example, the value '2014-10-27T17:48:16.751Z' represents October 27, 2014 at 17:48:16.751 UTC. srCheckedTime :: Lens' StatusReport (Maybe UTCTime) srCheckedTime = lens _srCheckedTime (\ s a -> s{_srCheckedTime = a}) . mapping _Time; @@ -1461,7 +1650,7 @@  instance NFData StatusReport --- | A single tag containing a key and value.+-- | A complex type that contains information about a tag that you want to add or edit for the specified health check or hosted zone. -- -- /See:/ 'tag' smart constructor. data Tag = Tag'@@ -1484,11 +1673,25 @@     , _tagKey = Nothing     } --- | The value for a 'Tag'.+-- | The value of 'Value' depends on the operation that you want to perform:+--+-- -   __Add a tag to a health check or hosted zone__: 'Value' is the value that you want to give the new tag.+--+-- -   __Edit a tag__: 'Value' is the new value that you want to assign the tag.+-- tagValue :: Lens' Tag (Maybe Text) tagValue = lens _tagValue (\ s a -> s{_tagValue = a}); --- | The key for a 'Tag'.+-- | The value of 'Key' depends on the operation that you want to perform:+--+-- -   __Add a tag to a health check or hosted zone__: 'Key' is the name that you want to give the new tag.+--+-- -   __Edit a tag__: 'Key' is the name of the tag whose 'Value' element you want to remove.+--+-- -   __Delete a key__: 'Key' is the name of the tag you want to remove.+--+-- -   __Give a name to a health check__: Edit the default 'Name' tag. In the Amazon Route 53 console, the list of your health checks includes a __Name__ column that lets you see the name that you\'ve given to each health check.+-- tagKey :: Lens' Tag (Maybe Text) tagKey = lens _tagKey (\ s a -> s{_tagKey = a}); 
gen/Network/AWS/Route53/Types/Sum.hs view
@@ -32,7 +32,7 @@         "delete" -> pure Delete         "upsert" -> pure Upsert         e -> fromTextError $ "Failure parsing ChangeAction from value: '" <> e-           <> "'. Accepted values: CREATE, DELETE, UPSERT"+           <> "'. Accepted values: create, delete, upsert"  instance ToText ChangeAction where     toText = \case@@ -59,7 +59,7 @@         "insync" -> pure Insync         "pending" -> pure Pending         e -> fromTextError $ "Failure parsing ChangeStatus from value: '" <> e-           <> "'. Accepted values: INSYNC, PENDING"+           <> "'. Accepted values: insync, pending"  instance ToText ChangeStatus where     toText = \case@@ -78,6 +78,7 @@ data CloudWatchRegion     = CWRApNortheast1     | CWRApNortheast2+    | CWRApSouth1     | CWRApSoutheast1     | CWRApSoutheast2     | CWREuCentral1@@ -92,6 +93,7 @@     parser = takeLowerText >>= \case         "ap-northeast-1" -> pure CWRApNortheast1         "ap-northeast-2" -> pure CWRApNortheast2+        "ap-south-1" -> pure CWRApSouth1         "ap-southeast-1" -> pure CWRApSoutheast1         "ap-southeast-2" -> pure CWRApSoutheast2         "eu-central-1" -> pure CWREuCentral1@@ -101,12 +103,13 @@         "us-west-1" -> pure CWRUsWest1         "us-west-2" -> pure CWRUsWest2         e -> fromTextError $ "Failure parsing CloudWatchRegion from value: '" <> e-           <> "'. Accepted values: ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, us-west-2"+           <> "'. Accepted values: ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, us-west-2"  instance ToText CloudWatchRegion where     toText = \case         CWRApNortheast1 -> "ap-northeast-1"         CWRApNortheast2 -> "ap-northeast-2"+        CWRApSouth1 -> "ap-south-1"         CWRApSoutheast1 -> "ap-southeast-1"         CWRApSoutheast2 -> "ap-southeast-2"         CWREuCentral1 -> "eu-central-1"@@ -142,7 +145,7 @@         "lessthanorequaltothreshold" -> pure LessThanOrEqualToThreshold         "lessthanthreshold" -> pure LessThanThreshold         e -> fromTextError $ "Failure parsing ComparisonOperator from value: '" <> e-           <> "'. Accepted values: GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanOrEqualToThreshold, LessThanThreshold"+           <> "'. Accepted values: greaterthanorequaltothreshold, greaterthanthreshold, lessthanorequaltothreshold, lessthanthreshold"  instance ToText ComparisonOperator where     toText = \case@@ -170,7 +173,7 @@         "primary" -> pure Primary         "secondary" -> pure Secondary         e -> fromTextError $ "Failure parsing Failover from value: '" <> e-           <> "'. Accepted values: PRIMARY, SECONDARY"+           <> "'. Accepted values: primary, secondary"  instance ToText Failover where     toText = \case@@ -257,7 +260,7 @@         "http_str_match" -> pure HTTPStrMatch         "tcp" -> pure TCP         e -> fromTextError $ "Failure parsing HealthCheckType from value: '" <> e-           <> "'. Accepted values: CALCULATED, CLOUDWATCH_METRIC, HTTP, HTTPS, HTTPS_STR_MATCH, HTTP_STR_MATCH, TCP"+           <> "'. Accepted values: calculated, cloudwatch_metric, http, https, https_str_match, http_str_match, tcp"  instance ToText HealthCheckType where     toText = \case@@ -293,7 +296,7 @@         "lastknownstatus" -> pure LastKnownStatus         "unhealthy" -> pure Unhealthy         e -> fromTextError $ "Failure parsing InsufficientDataHealthStatus from value: '" <> e-           <> "'. Accepted values: Healthy, LastKnownStatus, Unhealthy"+           <> "'. Accepted values: healthy, lastknownstatus, unhealthy"  instance ToText InsufficientDataHealthStatus where     toText = \case@@ -319,6 +322,7 @@     | Cname     | MX     | NS+    | Naptr     | Ptr     | Soa     | Spf@@ -333,13 +337,14 @@         "cname" -> pure Cname         "mx" -> pure MX         "ns" -> pure NS+        "naptr" -> pure Naptr         "ptr" -> pure Ptr         "soa" -> pure Soa         "spf" -> pure Spf         "srv" -> pure Srv         "txt" -> pure Txt         e -> fromTextError $ "Failure parsing RecordType from value: '" <> e-           <> "'. Accepted values: A, AAAA, CNAME, MX, NS, PTR, SOA, SPF, SRV, TXT"+           <> "'. Accepted values: a, aaaa, cname, mx, ns, naptr, ptr, soa, spf, srv, txt"  instance ToText RecordType where     toText = \case@@ -348,6 +353,7 @@         Cname -> "CNAME"         MX -> "MX"         NS -> "NS"+        Naptr -> "NAPTR"         Ptr -> "PTR"         Soa -> "SOA"         Spf -> "SPF"@@ -382,7 +388,7 @@         "samplecount" -> pure SampleCount         "sum" -> pure Sum         e -> fromTextError $ "Failure parsing Statistic from value: '" <> e-           <> "'. Accepted values: Average, Maximum, Minimum, SampleCount, Sum"+           <> "'. Accepted values: average, maximum, minimum, samplecount, sum"  instance ToText Statistic where     toText = \case@@ -433,6 +439,7 @@ data VPCRegion     = ApNortheast1     | ApNortheast2+    | ApSouth1     | ApSoutheast1     | ApSoutheast2     | CnNorth1@@ -448,6 +455,7 @@     parser = takeLowerText >>= \case         "ap-northeast-1" -> pure ApNortheast1         "ap-northeast-2" -> pure ApNortheast2+        "ap-south-1" -> pure ApSouth1         "ap-southeast-1" -> pure ApSoutheast1         "ap-southeast-2" -> pure ApSoutheast2         "cn-north-1" -> pure CnNorth1@@ -458,12 +466,13 @@         "us-west-1" -> pure UsWest1         "us-west-2" -> pure UsWest2         e -> fromTextError $ "Failure parsing VPCRegion from value: '" <> e-           <> "'. Accepted values: ap-northeast-1, ap-northeast-2, ap-southeast-1, ap-southeast-2, cn-north-1, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, us-west-2"+           <> "'. Accepted values: ap-northeast-1, ap-northeast-2, ap-south-1, ap-southeast-1, ap-southeast-2, cn-north-1, eu-central-1, eu-west-1, sa-east-1, us-east-1, us-west-1, us-west-2"  instance ToText VPCRegion where     toText = \case         ApNortheast1 -> "ap-northeast-1"         ApNortheast2 -> "ap-northeast-2"+        ApSouth1 -> "ap-south-1"         ApSoutheast1 -> "ap-southeast-1"         ApSoutheast2 -> "ap-southeast-2"         CnNorth1 -> "cn-north-1"
gen/Network/AWS/Route53/UpdateHealthCheck.hs view
@@ -18,9 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- This action updates an existing health check.+-- Updates an existing health check. ----- To update a health check, send a 'POST' request to the '\/Route 53 API version\/healthcheck\/health check ID' resource. The request body must include a document with an 'UpdateHealthCheckRequest' element. The response returns an 'UpdateHealthCheckResponse' element, which contains metadata about the health check.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/healthcheck\/health check ID ' resource. The request body must include an XML document with an 'UpdateHealthCheckRequest' element. For more information about updating health checks, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/health-checks-creating-deleting.html Creating, Updating, and Deleting Health Checks> in the Amazon Route 53 Developer Guide. module Network.AWS.Route53.UpdateHealthCheck     (     -- * Creating a Request@@ -58,7 +58,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | >A complex type that contains information about the request to update a health check.+-- | A complex type that contains the health check request information. -- -- /See:/ 'updateHealthCheck' smart constructor. data UpdateHealthCheck = UpdateHealthCheck'@@ -134,43 +134,44 @@     , _uhcHealthCheckId = pHealthCheckId_     } --- | 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.------ Valid values are integers between 1 and 10. For more information, see \"How Amazon Route 53 Determines Whether an Endpoint Is Healthy\" in the Amazon Route 53 Developer Guide.------ Specify this value only if you want to change it.+-- | 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 <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover-determining-health-of-endpoints.html How Amazon Route 53 Determines Whether an Endpoint Is Healthy> in the /Amazon Route 53 Developer Guide/. uhcFailureThreshold :: Lens' UpdateHealthCheck (Maybe Natural) uhcFailureThreshold = lens _uhcFailureThreshold (\ s a -> s{_uhcFailureThreshold = a}) . mapping _Nat; --- | The IP address of the resource that you want to check.+-- | The IPv4 IP address of the endpoint on which you want Amazon Route 53 to perform health checks. If you don\'t specify a value for 'IPAddress', Amazon Route 53 sends a DNS request to resolve the domain name that you specify in 'FullyQualifiedDomainName' at the interval you specify in 'RequestInterval'. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint. ----- Specify this value only if you want to change it.+-- f the endpoint is an Amazon EC2 instance, we recommend that you create an Elastic IP address, associate it with your Amazon 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 <http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html Elastic IP Addresses (EIP)> in the /Amazon EC2 User Guide for Linux Instances/.+--+-- 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 < UpdateHealthCheckRequest>FullyQualifiedDomainName>. uhcIPAddress :: Lens' UpdateHealthCheck (Maybe Text) uhcIPAddress = lens _uhcIPAddress (\ s a -> s{_uhcIPAddress = a}); --- | Specify whether you want Amazon Route 53 to send the value of 'FullyQualifiedDomainName' to the endpoint in the 'client_hello' message during TLS negotiation. If you don\'t specify a value for 'EnableSNI', Amazon Route 53 defaults to 'true' when 'Type' is 'HTTPS' or 'HTTPS_STR_MATCH' and defaults to 'false' when 'Type' is any other value.+-- | 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. ----- Specify this value only if you want to change it.+-- 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. uhcEnableSNI :: Lens' UpdateHealthCheck (Maybe Bool) uhcEnableSNI = lens _uhcEnableSNI (\ s a -> s{_uhcEnableSNI = a}); --- | If the value of 'Type' is 'HTTP_STR_MATCH' or 'HTTP_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, Amazon Route 53 considers the resource healthy. Amazon Route 53 considers case when searching for 'SearchString' in the response body.------ Specify this value only if you want to change it.+-- | If the value of 'Type' is 'HTTP_STR_MATCH' or 'HTTP_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, Amazon Route 53 considers the resource healthy. (You can\'t change the value of 'Type' when you update a health check.) uhcSearchString :: Lens' UpdateHealthCheck (Maybe Text) uhcSearchString = lens _uhcSearchString (\ s a -> s{_uhcSearchString = a}); --- | The minimum number of child health checks that must be healthy for Amazon Route 53 to consider the parent health check to be healthy. Valid values are integers between 0 and 256, inclusive.+-- | 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. ----- Specify this value only if you want to change it.+-- Note the following:+--+-- -   If you specify a number greater than the number of child health checks, Amazon Route 53 always considers this health check to be unhealthy.+--+-- -   If you specify '0', Amazon Route 53 always considers this health check to be healthy.+-- uhcHealthThreshold :: Lens' UpdateHealthCheck (Maybe Natural) uhcHealthThreshold = lens _uhcHealthThreshold (\ s a -> s{_uhcHealthThreshold = a}) . mapping _Nat; --- | A list of 'HealthCheckRegion' values that specify the Amazon EC2 regions that you want Amazon Route 53 to use to perform health checks. You must specify at least three regions.------ When you remove a region from the list, Amazon Route 53 will briefly continue to check your endpoint from that region.------ Specify this value only if you want to change it.+-- | 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. uhcRegions :: Lens' UpdateHealthCheck (Maybe (NonEmpty HealthCheckRegion)) uhcRegions = lens _uhcRegions (\ s a -> s{_uhcRegions = a}) . mapping _List1; @@ -184,7 +185,14 @@ uhcInsufficientDataHealthStatus :: Lens' UpdateHealthCheck (Maybe InsufficientDataHealthStatus) uhcInsufficientDataHealthStatus = lens _uhcInsufficientDataHealthStatus (\ s a -> s{_uhcInsufficientDataHealthStatus = a}); --- | Optional. When you specify a health check version, Amazon Route 53 compares this value with the current value in the health check, which prevents you from updating the health check when the versions don\'t match. Using 'HealthCheckVersion' lets you prevent overwriting another change to the health check.+-- | 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 Amazon Route 53 from overwriting an intervening update:+--+-- -   f the value in the 'UpdateHealthCheck' request matches the value of 'HealthCheckVersion' in the health check, Amazon Route 53 updates the health check with the new settings.+--+-- -   If the value of 'HealthCheckVersion' in the health check is greater, the health check was changed after you got the version number. Amazon Route 53 does not update the health check, and it returns a 'HealthCheckVersionMismatch' error.+-- uhcHealthCheckVersion :: Lens' UpdateHealthCheck (Maybe Natural) uhcHealthCheckVersion = lens _uhcHealthCheckVersion (\ s a -> s{_uhcHealthCheckVersion = a}) . mapping _Nat; @@ -192,31 +200,47 @@ uhcAlarmIdentifier :: Lens' UpdateHealthCheck (Maybe AlarmIdentifier) uhcAlarmIdentifier = lens _uhcAlarmIdentifier (\ s a -> s{_uhcAlarmIdentifier = a}); --- | A boolean value that indicates whether the status of health check should be inverted. For example, if a health check is healthy but 'Inverted' is 'True', then Amazon Route 53 considers the health check to be unhealthy.------ Specify this value only if you want to change it.+-- | 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. uhcInverted :: Lens' UpdateHealthCheck (Maybe Bool) uhcInverted = lens _uhcInverted (\ s a -> s{_uhcInverted = a}); --- | Fully qualified domain name of the instance to be health checked.+-- | Amazon Route 53 behavior depends on whether you specify a value for 'IPAddress'. ----- Specify this value only if you want to change it.+-- 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__ 'IPAddress':+--+-- The value that you want Amazon Route 53 to pass in the 'Host' header in all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want Amazon Route 53 to perform health checks. When Amazon Route 53 checks the health of an endpoint, here is how it constructs the 'Host' header:+--+-- -   If you specify a value of '80' for 'Port' and 'HTTP' or 'HTTP_STR_MATCH' for 'Type', Amazon Route 53 passes the value of 'FullyQualifiedDomainName' to the endpoint in the 'Host' header.+--+-- -   If you specify a value of '443' for 'Port' and 'HTTPS' or 'HTTPS_STR_MATCH' for 'Type', Amazon Route 53 passes the value of 'FullyQualifiedDomainName' to the endpoint in the Host header.+--+-- -   If you specify another value for 'Port' and any value except 'TCP' for 'Type', Amazon Route 53 passes /'FullyQualifiedDomainName':'Port'/ to the endpoint in the Host header.+--+-- If you don\'t specify a value for 'FullyQualifiedDomainName', Amazon Route 53 substitutes the value of 'IPAddress' in the 'Host' header in each of the above cases.+--+-- __If you don\'t specify__ 'IPAddress':+--+-- If you don\'t specify a value for 'IPAddress', Amazon Route 53 sends a DNS request to the domain that you specify in 'FullyQualifiedDomainName' at the interval you specify in 'RequestInterval'. Using an IP address that DNS returns, Amazon Route 53 then checks the health of the endpoint.+--+-- 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-1-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', Amazon 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', Amazon Route 53 doesn\'t pass a 'Host' header. uhcFullyQualifiedDomainName :: Lens' UpdateHealthCheck (Maybe Text) uhcFullyQualifiedDomainName = lens _uhcFullyQualifiedDomainName (\ s a -> s{_uhcFullyQualifiedDomainName = a}); --- | For a specified parent health check, a list of 'HealthCheckId' values for the associated child health checks.------ Specify this value only if you want to change it.+-- | A complex type that contains one 'ChildHealthCheck' element for each health check that you want to associate with a 'CALCULATED' health check. uhcChildHealthChecks :: Lens' UpdateHealthCheck [Text] uhcChildHealthChecks = lens _uhcChildHealthChecks (\ s a -> s{_uhcChildHealthChecks = a}) . _Default . _Coerce; --- | The port on which you want Amazon Route 53 to open a connection to perform health checks.------ Specify this value only if you want to change it.+-- | The port on the endpoint on which you want Amazon Route 53 to perform health checks. uhcPort :: Lens' UpdateHealthCheck (Maybe Natural) uhcPort = lens _uhcPort (\ s a -> s{_uhcPort = a}) . mapping _Nat; --- | The ID of the health check to update.+-- | 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. uhcHealthCheckId :: Lens' UpdateHealthCheck Text uhcHealthCheckId = lens _uhcHealthCheckId (\ s a -> s{_uhcHealthCheckId = a}); 
gen/Network/AWS/Route53/UpdateHostedZoneComment.hs view
@@ -18,9 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- To update the hosted zone comment, send a 'POST' request to the '\/Route 53 API version\/hostedzone\/hosted zone ID' resource. The request body must include a document with a 'UpdateHostedZoneCommentRequest' element. The response to this request includes the modified 'HostedZone' element.------ The comment can have a maximum length of 256 characters.+-- Updates the hosted zone comment. Send a 'POST' request to the '\/2013-04-01\/hostedzone\/hosted zone ID ' resource. module Network.AWS.Route53.UpdateHostedZoneComment     (     -- * Creating a Request@@ -45,7 +43,7 @@ import           Network.AWS.Route53.Types import           Network.AWS.Route53.Types.Product --- | A complex type that contains information about the request to update a hosted zone comment.+-- | A complex type that contains the hosted zone request information. -- -- /See:/ 'updateHostedZoneComment' smart constructor. data UpdateHostedZoneComment = UpdateHostedZoneComment'@@ -69,11 +67,11 @@     , _uhzcId = pId_     } --- | A comment about your hosted zone.+-- | 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. uhzcComment :: Lens' UpdateHostedZoneComment (Maybe Text) uhzcComment = lens _uhzcComment (\ s a -> s{_uhzcComment = a}); --- | The ID of the hosted zone you want to update.+-- | The ID for the hosted zone for which you want to update the comment. uhzcId :: Lens' UpdateHostedZoneComment Text uhzcId = lens _uhzcId (\ s a -> s{_uhzcId = a}); @@ -110,7 +108,7 @@         toXML UpdateHostedZoneComment'{..}           = mconcat ["Comment" @= _uhzcComment] --- | A complex type containing information about the specified hosted zone after the update.+-- | A complex type that contains the response to the UpdateHostedZoneCommentRequest. -- -- /See:/ 'updateHostedZoneCommentResponse' smart constructor. data UpdateHostedZoneCommentResponse = UpdateHostedZoneCommentResponse'
gen/Network/AWS/Route53/UpdateTrafficPolicyComment.hs view
@@ -20,7 +20,7 @@ -- -- Updates the comment for a specified traffic policy version. ----- To update the comment, send a 'POST' request to the '\/Route 53 API version\/trafficpolicy\/' resource.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/trafficpolicy\/' resource. -- -- The request body must include a document with an 'UpdateTrafficPolicyCommentRequest' element. module Network.AWS.Route53.UpdateTrafficPolicyComment
gen/Network/AWS/Route53/UpdateTrafficPolicyInstance.hs view
@@ -20,15 +20,16 @@ -- -- Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version. ----- The DNS type of the resource record sets that you\'re updating must match the DNS type in the JSON document that is associated with the traffic policy version that you\'re using to update the traffic policy instance.+-- Send a 'POST' request to the '\/Amazon Route 53 API version\/trafficpolicyinstance\/traffic policy ID ' resource. The request body must include a document with an 'UpdateTrafficPolicyInstanceRequest' element. -- -- 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. Amazon Route 53 performs the following operations: -- -- 1.  Amazon Route 53 creates a new group of resource record sets based on the specified traffic policy. This is true regardless of how substantial 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, Amazon 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.  Amazon Route 53 deletes the old group of resource record sets that are associated with the root resource record set name. ----- To update a traffic policy instance, send a 'POST' request to the '\/Route 53 API version\/trafficpolicyinstance\/traffic policy ID' resource. The request body must include a document with an 'UpdateTrafficPolicyInstanceRequest' element. module Network.AWS.Route53.UpdateTrafficPolicyInstance     (     -- * Creating a Request
test/Test/AWS/Gen/Route53.hs view
@@ -136,6 +136,9 @@ --         , requestCreateTrafficPolicyVersion $ --             createTrafficPolicyVersion --+--         , requestTestDNSAnswer $+--             testDNSAnswer+-- --         , requestListHealthChecks $ --             listHealthChecks --@@ -274,6 +277,9 @@ --         , responseCreateTrafficPolicyVersion $ --             createTrafficPolicyVersionResponse --+--         , responseTestDNSAnswer $+--             testDNSAnswerResponse+-- --         , responseListHealthChecks $ --             listHealthChecksResponse --@@ -486,6 +492,11 @@     "CreateTrafficPolicyVersion"     "fixture/CreateTrafficPolicyVersion.yaml" +requestTestDNSAnswer :: TestDNSAnswer -> TestTree+requestTestDNSAnswer = req+    "TestDNSAnswer"+    "fixture/TestDNSAnswer.yaml"+ requestListHealthChecks :: ListHealthChecks -> TestTree requestListHealthChecks = req     "ListHealthChecks"@@ -784,6 +795,13 @@     "fixture/CreateTrafficPolicyVersionResponse.proto"     route53     (Proxy :: Proxy CreateTrafficPolicyVersion)++responseTestDNSAnswer :: TestDNSAnswerResponse -> TestTree+responseTestDNSAnswer = res+    "TestDNSAnswerResponse"+    "fixture/TestDNSAnswerResponse.proto"+    route53+    (Proxy :: Proxy TestDNSAnswer)  responseListHealthChecks :: ListHealthChecksResponse -> TestTree responseListHealthChecks = res