amazonka-route53 0.0.4 → 0.0.5
raw patch · 31 files changed
+82/−12 lines, 31 filesdep ~amazonka-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
+ Network.AWS.Route53.Types: instance ToXMLRoot ChangeInfo
+ Network.AWS.Route53.Types: instance ToXMLRoot GeoLocationDetails
+ Network.AWS.Route53.Types: instance ToXMLRoot HealthCheck
+ Network.AWS.Route53.Types: instance ToXMLRoot HostedZone
+ Network.AWS.Route53.Types: instance ToXMLRoot ResourceTagSet
Files
- README.md +2/−0
- amazonka-route53.cabal +2/−2
- gen/Network/AWS/Route53.hs +2/−0
- gen/Network/AWS/Route53/AssociateVPCWithHostedZone.hs +2/−0
- gen/Network/AWS/Route53/ChangeResourceRecordSets.hs +2/−0
- gen/Network/AWS/Route53/ChangeTagsForResource.hs +2/−0
- gen/Network/AWS/Route53/CreateHealthCheck.hs +2/−0
- gen/Network/AWS/Route53/CreateHostedZone.hs +2/−0
- gen/Network/AWS/Route53/CreateReusableDelegationSet.hs +2/−0
- gen/Network/AWS/Route53/DeleteHealthCheck.hs +2/−0
- gen/Network/AWS/Route53/DeleteHostedZone.hs +2/−0
- gen/Network/AWS/Route53/DeleteReusableDelegationSet.hs +2/−0
- gen/Network/AWS/Route53/DisassociateVPCFromHostedZone.hs +2/−0
- gen/Network/AWS/Route53/GetChange.hs +2/−0
- gen/Network/AWS/Route53/GetCheckerIpRanges.hs +2/−0
- gen/Network/AWS/Route53/GetGeoLocation.hs +2/−0
- gen/Network/AWS/Route53/GetHealthCheck.hs +2/−0
- gen/Network/AWS/Route53/GetHealthCheckCount.hs +2/−0
- gen/Network/AWS/Route53/GetHealthCheckLastFailureReason.hs +2/−0
- gen/Network/AWS/Route53/GetHealthCheckStatus.hs +2/−0
- gen/Network/AWS/Route53/GetHostedZone.hs +2/−0
- gen/Network/AWS/Route53/GetReusableDelegationSet.hs +2/−0
- gen/Network/AWS/Route53/ListGeoLocations.hs +2/−0
- gen/Network/AWS/Route53/ListHealthChecks.hs +2/−0
- gen/Network/AWS/Route53/ListHostedZones.hs +2/−0
- gen/Network/AWS/Route53/ListResourceRecordSets.hs +2/−0
- gen/Network/AWS/Route53/ListReusableDelegationSets.hs +2/−0
- gen/Network/AWS/Route53/ListTagsForResource.hs +2/−0
- gen/Network/AWS/Route53/ListTagsForResources.hs +2/−0
- gen/Network/AWS/Route53/Types.hs +22/−10
- gen/Network/AWS/Route53/UpdateHealthCheck.hs +2/−0
README.md view
@@ -29,3 +29,5 @@ ## Licence `amazonka-route53` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).++Parts of the code are derived from AWS service descriptions, licensed under Apache 2.0.
amazonka-route53.cabal view
@@ -1,5 +1,5 @@ name: amazonka-route53-version: 0.0.4+version: 0.0.5 synopsis: Amazon Route 53 SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -71,5 +71,5 @@ Network.AWS.Route53.Internal build-depends:- amazonka-core == 0.0.4.*+ amazonka-core == 0.0.5.* , base >= 4.7 && < 5
gen/Network/AWS/Route53.hs view
@@ -7,6 +7,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Amazon Route 53 is a scalable Domain Name System (DNS) web service. It -- provides secure and reliable routing to your infrastructure that uses Amazon
gen/Network/AWS/Route53/AssociateVPCWithHostedZone.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action associates a VPC with an hosted zone. --
gen/Network/AWS/Route53/ChangeResourceRecordSets.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Use this action to create or change your authoritative DNS information. To -- use this action, send a 'POST' request to the '2013-04-01/hostedzone//hosted ZoneID//rrset resource. The request body must include an XML document with a 'ChangeResourceRecordSetsRequest' element.
gen/Network/AWS/Route53/ChangeTagsForResource.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | <http://docs.aws.amazon.com/Route53/latest/APIReference/API_ChangeTagsForResource.html> module Network.AWS.Route53.ChangeTagsForResource
gen/Network/AWS/Route53/CreateHealthCheck.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action creates a new health check. --
gen/Network/AWS/Route53/CreateHostedZone.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action creates a new hosted zone. --
gen/Network/AWS/Route53/CreateReusableDelegationSet.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action creates a reusable delegationSet. --
gen/Network/AWS/Route53/DeleteHealthCheck.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action deletes a health check. To delete a health check, send a 'DELETE' -- request to the '2013-04-01/healthcheck//health check ID/ resource.
gen/Network/AWS/Route53/DeleteHostedZone.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action deletes a hosted zone. To delete a hosted zone, send a 'DELETE' -- request to the '2013-04-01/hostedzone//hosted zone ID/ resource.
gen/Network/AWS/Route53/DeleteReusableDelegationSet.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action deletes a reusable delegation set. To delete a reusable -- delegation set, send a 'DELETE' request to the '2013-04-01/delegationset//delegation set ID/ resource.
gen/Network/AWS/Route53/DisassociateVPCFromHostedZone.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action disassociates a VPC from an hosted zone. --
gen/Network/AWS/Route53/GetChange.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action returns the current status of a change batch request. The status -- is one of the following values:
gen/Network/AWS/Route53/GetCheckerIpRanges.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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 '2013-04-01/checkeripranges' resource. You can use these IP addresses to configure router and firewall
gen/Network/AWS/Route53/GetGeoLocation.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve 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.
gen/Network/AWS/Route53/GetHealthCheck.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve the health check, send a 'GET' request to the '2013-04-01/healthcheck//health check ID/ resource. --
gen/Network/AWS/Route53/GetHealthCheckCount.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve a count of all your health checks, send a 'GET' request to the '2013-04-01/healthcheckcount' resource. --
gen/Network/AWS/Route53/GetHealthCheckLastFailureReason.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/Route53/GetHealthCheckStatus.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve the health check status, 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.
gen/Network/AWS/Route53/GetHostedZone.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve the delegation set for a hosted zone, send a 'GET' request to the '2013-04-01/hostedzone//hosted zone ID/ resource. The delegation set is the four Route 53 name servers -- that were assigned to the hosted zone when you created it.
gen/Network/AWS/Route53/GetReusableDelegationSet.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve the reusable delegation set, send a 'GET' request to the '2013-04-01/delegationset//delegation set ID/ resource. --
gen/Network/AWS/Route53/ListGeoLocations.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve 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 with zero, one, or multiple 'GeoLocationDetails' child elements. The
gen/Network/AWS/Route53/ListHealthChecks.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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, one, or multiple 'HealthCheck' child elements. By default, the list of
gen/Network/AWS/Route53/ListHostedZones.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | To retrieve a list of your hosted zones, send a 'GET' request to the '2013-04-01/hostedzone' resource. The response to this request includes a 'HostedZones' element with -- zero, one, or multiple 'HostedZone' child elements. By default, the list of
gen/Network/AWS/Route53/ListResourceRecordSets.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/Route53/ListReusableDelegationSets.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/Route53/ListTagsForResource.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | <http://docs.aws.amazon.com/Route53/latest/APIReference/API_ListTagsForResource.html> module Network.AWS.Route53.ListTagsForResource
gen/Network/AWS/Route53/ListTagsForResources.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | <http://docs.aws.amazon.com/Route53/latest/APIReference/API_ListTagsForResources.html> module Network.AWS.Route53.ListTagsForResources
gen/Network/AWS/Route53/Types.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. module Network.AWS.Route53.Types (@@ -435,8 +437,8 @@ <*> x .@? "SubdivisionCode" <*> x .@? "SubdivisionName" -instance ToXML GeoLocationDetails where- toXML GeoLocationDetails{..} = nodes "GeoLocationDetails"+instance ToXMLRoot GeoLocationDetails where+ toXMLRoot GeoLocationDetails{..} = namespaced ns "GeoLocationDetails" [ "ContinentCode" =@ _gldContinentCode , "ContinentName" =@ _gldContinentName , "CountryCode" =@ _gldCountryCode@@ -445,6 +447,8 @@ , "SubdivisionName" =@ _gldSubdivisionName ] +instance ToXML GeoLocationDetails+ data HealthCheck = HealthCheck { _hcCallerReference :: Text , _hcHealthCheckConfig :: HealthCheckConfig@@ -505,14 +509,16 @@ <*> x .@ "HealthCheckVersion" <*> x .@ "Id" -instance ToXML HealthCheck where- toXML HealthCheck{..} = nodes "HealthCheck"+instance ToXMLRoot HealthCheck where+ toXMLRoot HealthCheck{..} = namespaced ns "HealthCheck" [ "Id" =@ _hcId , "CallerReference" =@ _hcCallerReference , "HealthCheckConfig" =@ _hcHealthCheckConfig , "HealthCheckVersion" =@ _hcHealthCheckVersion ] +instance ToXML HealthCheck+ data VPCRegion = ApNortheast1 -- ^ ap-northeast-1 | ApSoutheast1 -- ^ ap-southeast-1@@ -942,8 +948,8 @@ <*> x .@ "Name" <*> x .@? "ResourceRecordSetCount" -instance ToXML HostedZone where- toXML HostedZone{..} = nodes "HostedZone"+instance ToXMLRoot HostedZone where+ toXMLRoot HostedZone{..} = namespaced ns "HostedZone" [ "Id" =@ _hzId , "Name" =@ _hzName , "CallerReference" =@ _hzCallerReference@@ -951,6 +957,8 @@ , "ResourceRecordSetCount" =@ _hzResourceRecordSetCount ] +instance ToXML HostedZone+ data ResourceTagSet = ResourceTagSet { _rtsResourceId :: Maybe Text , _rtsResourceType :: Maybe TagResourceType@@ -993,13 +1001,15 @@ <*> x .@? "ResourceType" <*> x .@ "Tags" -instance ToXML ResourceTagSet where- toXML ResourceTagSet{..} = nodes "ResourceTagSet"+instance ToXMLRoot ResourceTagSet where+ toXMLRoot ResourceTagSet{..} = namespaced ns "ResourceTagSet" [ "ResourceType" =@ _rtsResourceType , "ResourceId" =@ _rtsResourceId , "Tags" =@ _rtsTags ] +instance ToXML ResourceTagSet+ data ChangeStatus = Insync -- ^ INSYNC | Pending -- ^ PENDING@@ -1503,13 +1513,15 @@ <*> x .@ "Status" <*> x .@ "SubmittedAt" -instance ToXML ChangeInfo where- toXML ChangeInfo{..} = nodes "ChangeInfo"+instance ToXMLRoot ChangeInfo where+ toXMLRoot ChangeInfo{..} = namespaced ns "ChangeInfo" [ "Id" =@ _ciId , "Status" =@ _ciStatus , "SubmittedAt" =@ _ciSubmittedAt , "Comment" =@ _ciComment ]++instance ToXML ChangeInfo data GeoLocation = GeoLocation { _glContinentCode :: Maybe Text
gen/Network/AWS/Route53/UpdateHealthCheck.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | This action updates an existing health check. --