amazonka-route53 1.4.4 → 1.4.5
raw patch · 65 files changed
+2167/−1559 lines, 65 filesdep ~amazonka-coredep ~amazonka-route53dep ~amazonka-testPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-core, amazonka-route53, amazonka-test, text
API changes (from Hackage documentation)
- Network.AWS.Route53: Bombay :: Region
- Network.AWS.Route53.Types: Bombay :: Region
+ Network.AWS.Route53: CWRUsEast2 :: CloudWatchRegion
+ Network.AWS.Route53: Mumbai :: Region
+ Network.AWS.Route53: Ohio :: Region
+ Network.AWS.Route53: ResourceId :: Text -> ResourceId
+ Network.AWS.Route53: Seoul :: Region
+ Network.AWS.Route53: UsEast2 :: VPCRegion
+ Network.AWS.Route53: [fromResourceId] :: ResourceId -> Text
+ Network.AWS.Route53: _InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53: _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53: _TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53: _VPCAssociationAuthorizationNotFound :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53: getHostedZoneId :: Region -> Maybe ResourceId
+ Network.AWS.Route53: newtype ResourceId
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: createVPCAssociationAuthorization :: ResourceId -> VPC -> CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: createVPCAssociationAuthorizationResponse :: Int -> ResourceId -> VPC -> CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: cvaaHostedZoneId :: Lens' CreateVPCAssociationAuthorization ResourceId
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: cvaaVPC :: Lens' CreateVPCAssociationAuthorization VPC
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: cvaarsHostedZoneId :: Lens' CreateVPCAssociationAuthorizationResponse ResourceId
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: cvaarsResponseStatus :: Lens' CreateVPCAssociationAuthorizationResponse Int
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: cvaarsVPC :: Lens' CreateVPCAssociationAuthorizationResponse VPC
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: data CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: data CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Control.DeepSeq.NFData Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Control.DeepSeq.NFData Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Data.Data.Data Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Data.Data.Data Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Data.Hashable.Class.Hashable Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Classes.Eq Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Classes.Eq Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Generics.Generic Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Generics.Generic Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Read.Read Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Read.Read Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Show.Show Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance GHC.Show.Show Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.CreateVPCAssociationAuthorization: instance Network.AWS.Types.AWSRequest Network.AWS.Route53.CreateVPCAssociationAuthorization.CreateVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: data DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: data DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: deleteVPCAssociationAuthorization :: ResourceId -> VPC -> DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: deleteVPCAssociationAuthorizationResponse :: Int -> DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: dvaaVPC :: Lens' DeleteVPCAssociationAuthorization VPC
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: dvaarsResponseStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Control.DeepSeq.NFData Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Data.Data.Data Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Data.Data.Data Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Data.Hashable.Class.Hashable Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Classes.Eq Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Classes.Eq Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Generics.Generic Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Generics.Generic Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Read.Read Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Read.Read Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Show.Show Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance GHC.Show.Show Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorizationResponse
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Network.AWS.Data.XML.ToElement Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Network.AWS.Data.XML.ToXML Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.DeleteVPCAssociationAuthorization: instance Network.AWS.Types.AWSRequest Network.AWS.Route53.DeleteVPCAssociationAuthorization.DeleteVPCAssociationAuthorization
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: data ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: data ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Control.DeepSeq.NFData Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Control.DeepSeq.NFData Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Data.Data.Data Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Data.Data.Data Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Data.Hashable.Class.Hashable Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Classes.Eq Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Classes.Eq Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Generics.Generic Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Generics.Generic Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Read.Read Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Read.Read Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Show.Show Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance GHC.Show.Show Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Network.AWS.Data.Headers.ToHeaders Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Network.AWS.Data.Path.ToPath Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Network.AWS.Data.Query.ToQuery Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: instance Network.AWS.Types.AWSRequest Network.AWS.Route53.ListVPCAssociationAuthorizations.ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: listVPCAssociationAuthorizations :: ResourceId -> ListVPCAssociationAuthorizations
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: listVPCAssociationAuthorizationsResponse :: Int -> ResourceId -> NonEmpty VPC -> ListVPCAssociationAuthorizationsResponse
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaaHostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaaMaxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text)
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaaNextToken :: Lens' ListVPCAssociationAuthorizations (Maybe Text)
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaarsHostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaarsNextToken :: Lens' ListVPCAssociationAuthorizationsResponse (Maybe Text)
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaarsResponseStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int
+ Network.AWS.Route53.ListVPCAssociationAuthorizations: lvaarsVPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC)
+ Network.AWS.Route53.Types: CWRUsEast2 :: CloudWatchRegion
+ Network.AWS.Route53.Types: Mumbai :: Region
+ Network.AWS.Route53.Types: Ohio :: Region
+ Network.AWS.Route53.Types: ResourceId :: Text -> ResourceId
+ Network.AWS.Route53.Types: Seoul :: Region
+ Network.AWS.Route53.Types: UsEast2 :: VPCRegion
+ Network.AWS.Route53.Types: [fromResourceId] :: ResourceId -> Text
+ Network.AWS.Route53.Types: _InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53.Types: _NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53.Types: _TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53.Types: _VPCAssociationAuthorizationNotFound :: AsError a => Getting (First ServiceError) a ServiceError
+ Network.AWS.Route53.Types: getHostedZoneId :: Region -> Maybe ResourceId
+ Network.AWS.Route53.Types: newtype ResourceId
- Network.AWS.Route53: aliasTarget :: Text -> Text -> Bool -> AliasTarget
+ Network.AWS.Route53: aliasTarget :: ResourceId -> Text -> Bool -> AliasTarget
- Network.AWS.Route53: atHostedZoneId :: Lens' AliasTarget Text
+ Network.AWS.Route53: atHostedZoneId :: Lens' AliasTarget ResourceId
- Network.AWS.Route53: changeInfo :: Text -> ChangeStatus -> UTCTime -> ChangeInfo
+ Network.AWS.Route53: changeInfo :: ResourceId -> ChangeStatus -> UTCTime -> ChangeInfo
- Network.AWS.Route53: ciId :: Lens' ChangeInfo Text
+ Network.AWS.Route53: ciId :: Lens' ChangeInfo ResourceId
- Network.AWS.Route53: dsId :: Lens' DelegationSet (Maybe Text)
+ Network.AWS.Route53: dsId :: Lens' DelegationSet (Maybe ResourceId)
- Network.AWS.Route53: hostedZone :: Text -> Text -> Text -> HostedZone
+ Network.AWS.Route53: hostedZone :: ResourceId -> Text -> Text -> HostedZone
- Network.AWS.Route53: hzId :: Lens' HostedZone Text
+ Network.AWS.Route53: hzId :: Lens' HostedZone ResourceId
- Network.AWS.Route53: tpiHostedZoneId :: Lens' TrafficPolicyInstance Text
+ Network.AWS.Route53: tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId
- Network.AWS.Route53: trafficPolicyInstance :: Text -> Text -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance
+ Network.AWS.Route53: trafficPolicyInstance :: Text -> ResourceId -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance
- Network.AWS.Route53.AssociateVPCWithHostedZone: associateVPCWithHostedZone :: Text -> VPC -> AssociateVPCWithHostedZone
+ Network.AWS.Route53.AssociateVPCWithHostedZone: associateVPCWithHostedZone :: ResourceId -> VPC -> AssociateVPCWithHostedZone
- Network.AWS.Route53.AssociateVPCWithHostedZone: avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text
+ Network.AWS.Route53.AssociateVPCWithHostedZone: avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone ResourceId
- Network.AWS.Route53.ChangeResourceRecordSets: changeResourceRecordSets :: Text -> ChangeBatch -> ChangeResourceRecordSets
+ Network.AWS.Route53.ChangeResourceRecordSets: changeResourceRecordSets :: ResourceId -> ChangeBatch -> ChangeResourceRecordSets
- Network.AWS.Route53.ChangeResourceRecordSets: crrsHostedZoneId :: Lens' ChangeResourceRecordSets Text
+ Network.AWS.Route53.ChangeResourceRecordSets: crrsHostedZoneId :: Lens' ChangeResourceRecordSets ResourceId
- Network.AWS.Route53.CreateHostedZone: chzDelegationSetId :: Lens' CreateHostedZone (Maybe Text)
+ Network.AWS.Route53.CreateHostedZone: chzDelegationSetId :: Lens' CreateHostedZone (Maybe ResourceId)
- Network.AWS.Route53.CreateReusableDelegationSet: crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe Text)
+ Network.AWS.Route53.CreateReusableDelegationSet: crdsHostedZoneId :: Lens' CreateReusableDelegationSet (Maybe ResourceId)
- Network.AWS.Route53.CreateTrafficPolicyInstance: createTrafficPolicyInstance :: Text -> Text -> Natural -> Text -> Natural -> CreateTrafficPolicyInstance
+ Network.AWS.Route53.CreateTrafficPolicyInstance: createTrafficPolicyInstance :: ResourceId -> Text -> Natural -> Text -> Natural -> CreateTrafficPolicyInstance
- Network.AWS.Route53.CreateTrafficPolicyInstance: ctpiHostedZoneId :: Lens' CreateTrafficPolicyInstance Text
+ Network.AWS.Route53.CreateTrafficPolicyInstance: ctpiHostedZoneId :: Lens' CreateTrafficPolicyInstance ResourceId
- Network.AWS.Route53.DeleteHostedZone: deleteHostedZone :: Text -> DeleteHostedZone
+ Network.AWS.Route53.DeleteHostedZone: deleteHostedZone :: ResourceId -> DeleteHostedZone
- Network.AWS.Route53.DeleteHostedZone: dhzId :: Lens' DeleteHostedZone Text
+ Network.AWS.Route53.DeleteHostedZone: dhzId :: Lens' DeleteHostedZone ResourceId
- Network.AWS.Route53.DeleteReusableDelegationSet: deleteReusableDelegationSet :: Text -> DeleteReusableDelegationSet
+ Network.AWS.Route53.DeleteReusableDelegationSet: deleteReusableDelegationSet :: ResourceId -> DeleteReusableDelegationSet
- Network.AWS.Route53.DeleteReusableDelegationSet: drdsId :: Lens' DeleteReusableDelegationSet Text
+ Network.AWS.Route53.DeleteReusableDelegationSet: drdsId :: Lens' DeleteReusableDelegationSet ResourceId
- Network.AWS.Route53.DisassociateVPCFromHostedZone: disassociateVPCFromHostedZone :: Text -> VPC -> DisassociateVPCFromHostedZone
+ Network.AWS.Route53.DisassociateVPCFromHostedZone: disassociateVPCFromHostedZone :: ResourceId -> VPC -> DisassociateVPCFromHostedZone
- Network.AWS.Route53.DisassociateVPCFromHostedZone: dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone Text
+ Network.AWS.Route53.DisassociateVPCFromHostedZone: dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone ResourceId
- Network.AWS.Route53.GetChange: gcId :: Lens' GetChange Text
+ Network.AWS.Route53.GetChange: gcId :: Lens' GetChange ResourceId
- Network.AWS.Route53.GetChange: getChange :: Text -> GetChange
+ Network.AWS.Route53.GetChange: getChange :: ResourceId -> GetChange
- Network.AWS.Route53.GetHostedZone: getHostedZone :: Text -> GetHostedZone
+ Network.AWS.Route53.GetHostedZone: getHostedZone :: ResourceId -> GetHostedZone
- Network.AWS.Route53.GetHostedZone: ghzId :: Lens' GetHostedZone Text
+ Network.AWS.Route53.GetHostedZone: ghzId :: Lens' GetHostedZone ResourceId
- Network.AWS.Route53.GetReusableDelegationSet: getReusableDelegationSet :: Text -> GetReusableDelegationSet
+ Network.AWS.Route53.GetReusableDelegationSet: getReusableDelegationSet :: ResourceId -> GetReusableDelegationSet
- Network.AWS.Route53.GetReusableDelegationSet: grdsId :: Lens' GetReusableDelegationSet Text
+ Network.AWS.Route53.GetReusableDelegationSet: grdsId :: Lens' GetReusableDelegationSet ResourceId
- Network.AWS.Route53.ListHostedZones: lhzDelegationSetId :: Lens' ListHostedZones (Maybe Text)
+ Network.AWS.Route53.ListHostedZones: lhzDelegationSetId :: Lens' ListHostedZones (Maybe ResourceId)
- Network.AWS.Route53.ListHostedZonesByName: lhzbnHostedZoneId :: Lens' ListHostedZonesByName (Maybe Text)
+ Network.AWS.Route53.ListHostedZonesByName: lhzbnHostedZoneId :: Lens' ListHostedZonesByName (Maybe ResourceId)
- Network.AWS.Route53.ListHostedZonesByName: lhzbnrsHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe Text)
+ Network.AWS.Route53.ListHostedZonesByName: lhzbnrsHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe ResourceId)
- Network.AWS.Route53.ListHostedZonesByName: lhzbnrsNextHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe Text)
+ Network.AWS.Route53.ListHostedZonesByName: lhzbnrsNextHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe ResourceId)
- Network.AWS.Route53.ListResourceRecordSets: listResourceRecordSets :: Text -> ListResourceRecordSets
+ Network.AWS.Route53.ListResourceRecordSets: listResourceRecordSets :: ResourceId -> ListResourceRecordSets
- Network.AWS.Route53.ListResourceRecordSets: lrrsHostedZoneId :: Lens' ListResourceRecordSets Text
+ Network.AWS.Route53.ListResourceRecordSets: lrrsHostedZoneId :: Lens' ListResourceRecordSets ResourceId
- Network.AWS.Route53.ListTrafficPolicyInstances: ltpiHostedZoneIdMarker :: Lens' ListTrafficPolicyInstances (Maybe Text)
+ Network.AWS.Route53.ListTrafficPolicyInstances: ltpiHostedZoneIdMarker :: Lens' ListTrafficPolicyInstances (Maybe ResourceId)
- Network.AWS.Route53.ListTrafficPolicyInstances: ltpirsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe Text)
+ Network.AWS.Route53.ListTrafficPolicyInstances: ltpirsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe ResourceId)
- Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone: listTrafficPolicyInstancesByHostedZone :: Text -> ListTrafficPolicyInstancesByHostedZone
+ Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone: listTrafficPolicyInstancesByHostedZone :: ResourceId -> ListTrafficPolicyInstancesByHostedZone
- Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone: ltpibhzHostedZoneId :: Lens' ListTrafficPolicyInstancesByHostedZone Text
+ Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone: ltpibhzHostedZoneId :: Lens' ListTrafficPolicyInstancesByHostedZone ResourceId
- Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy: ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text)
+ Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy: ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe ResourceId)
- Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy: ltpibprsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe Text)
+ Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy: ltpibprsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe ResourceId)
- Network.AWS.Route53.TestDNSAnswer: tdaHostedZoneId :: Lens' TestDNSAnswer Text
+ Network.AWS.Route53.TestDNSAnswer: tdaHostedZoneId :: Lens' TestDNSAnswer ResourceId
- Network.AWS.Route53.TestDNSAnswer: testDNSAnswer :: Text -> Text -> RecordType -> TestDNSAnswer
+ Network.AWS.Route53.TestDNSAnswer: testDNSAnswer :: ResourceId -> Text -> RecordType -> TestDNSAnswer
- Network.AWS.Route53.Types: aliasTarget :: Text -> Text -> Bool -> AliasTarget
+ Network.AWS.Route53.Types: aliasTarget :: ResourceId -> Text -> Bool -> AliasTarget
- Network.AWS.Route53.Types: atHostedZoneId :: Lens' AliasTarget Text
+ Network.AWS.Route53.Types: atHostedZoneId :: Lens' AliasTarget ResourceId
- Network.AWS.Route53.Types: changeInfo :: Text -> ChangeStatus -> UTCTime -> ChangeInfo
+ Network.AWS.Route53.Types: changeInfo :: ResourceId -> ChangeStatus -> UTCTime -> ChangeInfo
- Network.AWS.Route53.Types: ciId :: Lens' ChangeInfo Text
+ Network.AWS.Route53.Types: ciId :: Lens' ChangeInfo ResourceId
- Network.AWS.Route53.Types: dsId :: Lens' DelegationSet (Maybe Text)
+ Network.AWS.Route53.Types: dsId :: Lens' DelegationSet (Maybe ResourceId)
- Network.AWS.Route53.Types: hostedZone :: Text -> Text -> Text -> HostedZone
+ Network.AWS.Route53.Types: hostedZone :: ResourceId -> Text -> Text -> HostedZone
- Network.AWS.Route53.Types: hzId :: Lens' HostedZone Text
+ Network.AWS.Route53.Types: hzId :: Lens' HostedZone ResourceId
- Network.AWS.Route53.Types: tpiHostedZoneId :: Lens' TrafficPolicyInstance Text
+ Network.AWS.Route53.Types: tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId
- Network.AWS.Route53.Types: trafficPolicyInstance :: Text -> Text -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance
+ Network.AWS.Route53.Types: trafficPolicyInstance :: Text -> ResourceId -> Text -> Natural -> Text -> Text -> Text -> Natural -> RecordType -> TrafficPolicyInstance
- Network.AWS.Route53.UpdateHostedZoneComment: uhzcId :: Lens' UpdateHostedZoneComment Text
+ Network.AWS.Route53.UpdateHostedZoneComment: uhzcId :: Lens' UpdateHostedZoneComment ResourceId
- Network.AWS.Route53.UpdateHostedZoneComment: updateHostedZoneComment :: Text -> UpdateHostedZoneComment
+ Network.AWS.Route53.UpdateHostedZoneComment: updateHostedZoneComment :: ResourceId -> UpdateHostedZoneComment
Files
- README.md +9/−6
- amazonka-route53.cabal +15/−12
- fixture/CreateVPCAssociationAuthorization.yaml +0/−0
- fixture/CreateVPCAssociationAuthorizationResponse.proto +0/−0
- fixture/DeleteVPCAssociationAuthorization.yaml +0/−0
- fixture/DeleteVPCAssociationAuthorizationResponse.proto +0/−0
- fixture/ListVPCAssociationAuthorizations.yaml +0/−0
- fixture/ListVPCAssociationAuthorizationsResponse.proto +0/−0
- gen/Network/AWS/Route53.hs +25/−1
- gen/Network/AWS/Route53/AssociateVPCWithHostedZone.hs +20/−18
- gen/Network/AWS/Route53/ChangeResourceRecordSets.hs +56/−32
- gen/Network/AWS/Route53/ChangeTagsForResource.hs +17/−16
- gen/Network/AWS/Route53/CreateHealthCheck.hs +20/−13
- gen/Network/AWS/Route53/CreateHostedZone.hs +36/−40
- gen/Network/AWS/Route53/CreateReusableDelegationSet.hs +14/−14
- gen/Network/AWS/Route53/CreateTrafficPolicy.hs +17/−11
- gen/Network/AWS/Route53/CreateTrafficPolicyInstance.hs +21/−15
- gen/Network/AWS/Route53/CreateTrafficPolicyVersion.hs +19/−13
- gen/Network/AWS/Route53/CreateVPCAssociationAuthorization.hs +173/−0
- gen/Network/AWS/Route53/DeleteHealthCheck.hs +13/−7
- gen/Network/AWS/Route53/DeleteHostedZone.hs +15/−9
- gen/Network/AWS/Route53/DeleteReusableDelegationSet.hs +15/−9
- gen/Network/AWS/Route53/DeleteTrafficPolicy.hs +11/−5
- gen/Network/AWS/Route53/DeleteTrafficPolicyInstance.hs +10/−8
- gen/Network/AWS/Route53/DeleteVPCAssociationAuthorization.hs +154/−0
- gen/Network/AWS/Route53/DisassociateVPCFromHostedZone.hs +21/−15
- gen/Network/AWS/Route53/GetChange.hs +18/−11
- gen/Network/AWS/Route53/GetCheckerIPRanges.hs +11/−5
- gen/Network/AWS/Route53/GetGeoLocation.hs +16/−25
- gen/Network/AWS/Route53/GetHealthCheck.hs +14/−8
- gen/Network/AWS/Route53/GetHealthCheckCount.hs +12/−6
- gen/Network/AWS/Route53/GetHealthCheckLastFailureReason.hs +16/−10
- gen/Network/AWS/Route53/GetHealthCheckStatus.hs +14/−24
- gen/Network/AWS/Route53/GetHostedZone.hs +16/−10
- gen/Network/AWS/Route53/GetHostedZoneCount.hs +12/−6
- gen/Network/AWS/Route53/GetReusableDelegationSet.hs +16/−10
- gen/Network/AWS/Route53/GetTrafficPolicy.hs +13/−7
- gen/Network/AWS/Route53/GetTrafficPolicyInstance.hs +10/−8
- gen/Network/AWS/Route53/GetTrafficPolicyInstanceCount.hs +11/−5
- gen/Network/AWS/Route53/ListGeoLocations.hs +30/−30
- gen/Network/AWS/Route53/ListHealthChecks.hs +25/−30
- gen/Network/AWS/Route53/ListHostedZones.hs +39/−37
- gen/Network/AWS/Route53/ListHostedZonesByName.hs +58/−52
- gen/Network/AWS/Route53/ListResourceRecordSets.hs +55/−45
- gen/Network/AWS/Route53/ListReusableDelegationSets.hs +22/−20
- gen/Network/AWS/Route53/ListTagsForResource.hs +16/−13
- gen/Network/AWS/Route53/ListTagsForResources.hs +16/−13
- gen/Network/AWS/Route53/ListTrafficPolicies.hs +32/−31
- gen/Network/AWS/Route53/ListTrafficPolicyInstances.hs +43/−50
- gen/Network/AWS/Route53/ListTrafficPolicyInstancesByHostedZone.hs +39/−44
- gen/Network/AWS/Route53/ListTrafficPolicyInstancesByPolicy.hs +46/−57
- gen/Network/AWS/Route53/ListTrafficPolicyVersions.hs +34/−33
- gen/Network/AWS/Route53/ListVPCAssociationAuthorizations.hs +192/−0
- gen/Network/AWS/Route53/TestDNSAnswer.hs +40/−39
- gen/Network/AWS/Route53/Types.hs +137/−23
- gen/Network/AWS/Route53/Types/Product.hs +257/−545
- gen/Network/AWS/Route53/Types/Sum.hs +11/−3
- gen/Network/AWS/Route53/UpdateHealthCheck.hs +34/−80
- gen/Network/AWS/Route53/UpdateHostedZoneComment.hs +16/−10
- gen/Network/AWS/Route53/UpdateTrafficPolicyComment.hs +16/−10
- gen/Network/AWS/Route53/UpdateTrafficPolicyInstance.hs +18/−11
- gen/Network/AWS/Route53/Waiters.hs +1/−2
- src/.gitkeep +0/−0
- src/Network/AWS/Route53/Internal.hs +76/−2
- test/Test/AWS/Gen/Route53.hs +54/−0
README.md view
@@ -8,24 +8,27 @@ ## Version -`1.4.4`+`1.4.5` ## Description -Amazon Route 53 is a scalable Domain Name System (DNS) web service. It provides secure and reliable routing to your infrastructure that uses Amazon Web Services (AWS) products, such as Amazon Elastic Compute Cloud (Amazon EC2), Elastic Load Balancing, or Amazon Simple Storage Service (Amazon S3). You can also use Amazon Route 53 to route users to your infrastructure outside of AWS.- Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-route53) and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka),-which provides mechanisms for specifying AuthN/AuthZ information and sending requests.+which provides mechanisms for specifying AuthN/AuthZ information, sending requests,+and receiving responses. -Use of lenses is required for constructing and manipulating types.-This is due to the amount of nesting of AWS types and transparency regarding+Lenses are used for constructing and manipulating types,+due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries [lens](http://hackage.haskell.org/package/lens) or [lens-family-core](http://hackage.haskell.org/package/lens-family-core).++See [Network.AWS.Route53](http://hackage.haskell.org/package/amazonka-route53/docs/Network-AWS-Route53.html)+or [the AWS documentation](https://aws.amazon.com/documentation/) to get started.+ ## Contribute
amazonka-route53.cabal view
@@ -1,5 +1,5 @@ name: amazonka-route53-version: 1.4.4+version: 1.4.5 synopsis: Amazon Route 53 SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -11,22 +11,21 @@ category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10-extra-source-files: README.md fixture/*.yaml fixture/*.proto+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep description:- Amazon Route 53 is a scalable Domain Name System (DNS) web service. It provides secure and reliable routing to your infrastructure that uses Amazon Web Services (AWS) products, such as Amazon Elastic Compute Cloud (Amazon EC2), Elastic Load Balancing, or Amazon Simple Storage Service (Amazon S3). You can also use Amazon Route 53 to route users to your infrastructure outside of AWS.- . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides- mechanisms for specifying AuthN/AuthZ information and sending requests.+ mechanisms for specifying AuthN/AuthZ information, sending requests,+ and receiving responses. .- Use of lenses is required for constructing and manipulating types.- This is due to the amount of nesting of AWS types and transparency regarding+ Lenses are used for constructing and manipulating types,+ due to the depth of nesting of AWS types and transparency regarding de/serialisation into more palatable Haskell values. The provided lenses should be compatible with any of the major lens libraries such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.Route53" or <https://aws.amazon.com/documentation/ the AWS Documentation>+ See "Network.AWS.Route53" or <https://aws.amazon.com/documentation/ the AWS documentation> to get started. source-repository head@@ -50,11 +49,13 @@ , Network.AWS.Route53.CreateTrafficPolicy , Network.AWS.Route53.CreateTrafficPolicyInstance , Network.AWS.Route53.CreateTrafficPolicyVersion+ , Network.AWS.Route53.CreateVPCAssociationAuthorization , Network.AWS.Route53.DeleteHealthCheck , Network.AWS.Route53.DeleteHostedZone , Network.AWS.Route53.DeleteReusableDelegationSet , Network.AWS.Route53.DeleteTrafficPolicy , Network.AWS.Route53.DeleteTrafficPolicyInstance+ , Network.AWS.Route53.DeleteVPCAssociationAuthorization , Network.AWS.Route53.DisassociateVPCFromHostedZone , Network.AWS.Route53.GetChange , Network.AWS.Route53.GetCheckerIPRanges@@ -82,6 +83,7 @@ , Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone , Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy , Network.AWS.Route53.ListTrafficPolicyVersions+ , Network.AWS.Route53.ListVPCAssociationAuthorizations , Network.AWS.Route53.TestDNSAnswer , Network.AWS.Route53.Types , Network.AWS.Route53.UpdateHealthCheck@@ -96,8 +98,9 @@ , Network.AWS.Route53.Types.Sum build-depends:- amazonka-core == 1.4.4.*+ amazonka-core == 1.4.5.* , base >= 4.7 && < 5+ , text >= 1.1 test-suite amazonka-route53-test type: exitcode-stdio-1.0@@ -116,9 +119,9 @@ , Test.AWS.Route53.Internal build-depends:- amazonka-core == 1.4.4.*- , amazonka-test == 1.4.4.*- , amazonka-route53 == 1.4.4.*+ amazonka-core == 1.4.5.*+ , amazonka-test == 1.4.5.*+ , amazonka-route53 == 1.4.5.* , base , bytestring , tasty
+ fixture/CreateVPCAssociationAuthorization.yaml view
+ fixture/CreateVPCAssociationAuthorizationResponse.proto view
+ fixture/DeleteVPCAssociationAuthorization.yaml view
+ fixture/DeleteVPCAssociationAuthorizationResponse.proto view
+ fixture/ListVPCAssociationAuthorizations.yaml view
+ fixture/ListVPCAssociationAuthorizationsResponse.proto view
gen/Network/AWS/Route53.hs view
@@ -44,18 +44,27 @@ -- ** DelegationSetAlreadyReusable , _DelegationSetAlreadyReusable + -- ** NotAuthorizedException+ , _NotAuthorizedException+ -- ** PriorRequestNotComplete , _PriorRequestNotComplete -- ** InvalidChangeBatch , _InvalidChangeBatch + -- ** TooManyVPCAssociationAuthorizations+ , _TooManyVPCAssociationAuthorizations+ -- ** TrafficPolicyAlreadyExists , _TrafficPolicyAlreadyExists -- ** InvalidTrafficPolicyDocument , _InvalidTrafficPolicyDocument + -- ** InvalidPaginationToken+ , _InvalidPaginationToken+ -- ** DelegationSetNotReusable , _DelegationSetNotReusable @@ -80,6 +89,9 @@ -- ** TooManyTrafficPolicies , _TooManyTrafficPolicies + -- ** VPCAssociationAuthorizationNotFound+ , _VPCAssociationAuthorizationNotFound+ -- ** NoSuchGeoLocation , _NoSuchGeoLocation @@ -200,6 +212,12 @@ -- ** CreateHostedZone , module Network.AWS.Route53.CreateHostedZone + -- ** CreateVPCAssociationAuthorization+ , module Network.AWS.Route53.CreateVPCAssociationAuthorization++ -- ** ListVPCAssociationAuthorizations+ , module Network.AWS.Route53.ListVPCAssociationAuthorizations+ -- ** ListTrafficPolicyInstancesByPolicy , module Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy @@ -209,6 +227,9 @@ -- ** CreateHealthCheck , module Network.AWS.Route53.CreateHealthCheck + -- ** DeleteVPCAssociationAuthorization+ , module Network.AWS.Route53.DeleteVPCAssociationAuthorization+ -- ** ChangeTagsForResource , module Network.AWS.Route53.ChangeTagsForResource @@ -292,7 +313,7 @@ -- * Types - -- ** Re-exported Types+ -- ** Common , module Network.AWS.Route53.Internal -- ** ChangeAction@@ -545,11 +566,13 @@ import Network.AWS.Route53.CreateTrafficPolicy import Network.AWS.Route53.CreateTrafficPolicyInstance import Network.AWS.Route53.CreateTrafficPolicyVersion+import Network.AWS.Route53.CreateVPCAssociationAuthorization import Network.AWS.Route53.DeleteHealthCheck import Network.AWS.Route53.DeleteHostedZone import Network.AWS.Route53.DeleteReusableDelegationSet import Network.AWS.Route53.DeleteTrafficPolicy import Network.AWS.Route53.DeleteTrafficPolicyInstance+import Network.AWS.Route53.DeleteVPCAssociationAuthorization import Network.AWS.Route53.DisassociateVPCFromHostedZone import Network.AWS.Route53.GetChange import Network.AWS.Route53.GetCheckerIPRanges@@ -578,6 +601,7 @@ import Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone import Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy import Network.AWS.Route53.ListTrafficPolicyVersions+import Network.AWS.Route53.ListVPCAssociationAuthorizations import Network.AWS.Route53.TestDNSAnswer import Network.AWS.Route53.Types import Network.AWS.Route53.UpdateHealthCheck
gen/Network/AWS/Route53/AssociateVPCWithHostedZone.hs view
@@ -20,11 +20,11 @@ -- -- Associates an Amazon VPC with a private hosted zone. ----- 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.+-- /Important:/ To perform the association, the VPC and the private hosted zone must already exist. You can't convert a public hosted zone into a private hosted zone. ----- 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.+-- Send a @POST@ request to the @/2013-04-01/hostedzone//hosted zone ID/ /associatevpc@ resource. The request body must include a document with an @AssociateVPCWithHostedZoneRequest@ element. The response contains a @ChangeInfo@ data type that you can use to track the progress of the request.+-- module Network.AWS.Route53.AssociateVPCWithHostedZone ( -- * Creating a Request@@ -50,12 +50,14 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | A complex type that contains information about the VPC and the hosted zone that you want to associate.+-- | A complex type that contains information about the request to associate a VPC with a private hosted zone. --+--+-- -- /See:/ 'associateVPCWithHostedZone' smart constructor. data AssociateVPCWithHostedZone = AssociateVPCWithHostedZone' { _avwhzComment :: !(Maybe Text)- , _avwhzHostedZoneId :: !Text+ , _avwhzHostedZoneId :: !ResourceId , _avwhzVPC :: !VPC } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -63,13 +65,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'avwhzComment'+-- * 'avwhzComment' - /Optional:/ A comment about the association request. ----- * 'avwhzHostedZoneId'+-- * 'avwhzHostedZoneId' - The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association. ----- * 'avwhzVPC'+-- * 'avwhzVPC' - A complex type that contains information about the VPC that you want to associate with a private hosted zone. associateVPCWithHostedZone- :: Text -- ^ 'avwhzHostedZoneId'+ :: ResourceId -- ^ 'avwhzHostedZoneId' -> VPC -- ^ 'avwhzVPC' -> AssociateVPCWithHostedZone associateVPCWithHostedZone pHostedZoneId_ pVPC_ =@@ -83,13 +85,11 @@ avwhzComment :: Lens' AssociateVPCWithHostedZone (Maybe Text) avwhzComment = lens _avwhzComment (\ s a -> s{_avwhzComment = a}); --- | The ID of the hosted zone you want to associate your VPC with.------ Note that you cannot associate a VPC with a hosted zone that doesn\'t have an existing VPC association.-avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone Text+-- | The ID of the private hosted zone that you want to associate an Amazon VPC with. Note that you can't associate a VPC with a hosted zone that doesn't have an existing VPC association.+avwhzHostedZoneId :: Lens' AssociateVPCWithHostedZone ResourceId avwhzHostedZoneId = lens _avwhzHostedZoneId (\ s a -> s{_avwhzHostedZoneId = a}); --- | A complex type containing information about the Amazon VPC that you\'re associating with the specified hosted zone.+-- | A complex type that contains information about the VPC that you want to associate with a private hosted zone. avwhzVPC :: Lens' AssociateVPCWithHostedZone VPC avwhzVPC = lens _avwhzVPC (\ s a -> s{_avwhzVPC = a}); @@ -129,8 +129,10 @@ = mconcat ["Comment" @= _avwhzComment, "VPC" @= _avwhzVPC] --- | A complex type that contains the response information for the hosted zone.+-- | A complex type that contains the response information for the @AssociateVPCWithHostedZone@ request. --+--+-- -- /See:/ 'associateVPCWithHostedZoneResponse' smart constructor. data AssociateVPCWithHostedZoneResponse = AssociateVPCWithHostedZoneResponse' { _avwhzrsResponseStatus :: !Int@@ -141,9 +143,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'avwhzrsResponseStatus'+-- * 'avwhzrsResponseStatus' - -- | The response status code. ----- * 'avwhzrsChangeInfo'+-- * 'avwhzrsChangeInfo' - A complex type that describes the changes made to your hosted zone. associateVPCWithHostedZoneResponse :: Int -- ^ 'avwhzrsResponseStatus' -> ChangeInfo -- ^ 'avwhzrsChangeInfo'@@ -154,7 +156,7 @@ , _avwhzrsChangeInfo = pChangeInfo_ } --- | The response status code.+-- | -- | The response status code. avwhzrsResponseStatus :: Lens' AssociateVPCWithHostedZoneResponse Int avwhzrsResponseStatus = lens _avwhzrsResponseStatus (\ s a -> s{_avwhzrsResponseStatus = a});
gen/Network/AWS/Route53/ChangeResourceRecordSets.hs view
@@ -18,45 +18,67 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Create, change, update, or delete authoritative DNS information on all Amazon Route 53 servers. Send a 'POST' request to:+-- Create, change, update, or delete authoritative DNS information on all Amazon Route 53 servers. Send a @POST@ request to: ----- '\/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.+-- @/2013-04-01/hostedzone//Amazon Route 53 hosted Zone ID/ /rrset@ resource. ----- 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.+-- 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. ----- 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.+-- 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. ----- 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.+-- /Important:/ Due to the nature of transactional changes, you can't delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an @InvalidChangeBatch@ error. ----- Use 'ChangeResourceRecordsSetsRequest' to perform the following actions:+-- Use @ChangeResourceRecordsSetsRequest@ to perform the following actions: ----- - 'CREATE':Creates a resource record set that has the specified values.+-- * @CREATE@ : Creates a resource record set that has the specified values. ----- - 'DELETE': Deletes an existing resource record set that has the specified values for 'Name', 'Type', 'Set Identifier' (for code latency, weighted, geolocation, and failover resource record sets), and 'TTL' (except alias resource record sets, for which the TTL is determined by the AWS resource you\'re routing queries to).+-- * @DELETE@ : Deletes an existing resource record set that has the specified values. ----- - 'UPSERT': If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. Amazon Route 53 can update an existing resource record set only when all of the following values match: 'Name', 'Type', and 'Set Identifier' (for weighted, latency, geolocation, and failover resource record sets).+-- * @UPSERT@ : If a resource record set does not already exist, AWS creates it. If a resource set does exist, Amazon Route 53 updates it with the values in the request. ----- In response to a 'ChangeResourceRecordSets' request, the DNS data is changed on all Amazon Route 53 DNS servers. Initially, the status of a change is 'PENDING', meaning the change has not yet propagated to all the authoritative Amazon Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of 'INSYNC'. ----- 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:+-- The values that you need to include in the request depend on the type of resource record set that you're creating, deleting, or updating: ----- - A request cannot contain more than 100 Change elements.+-- __Basic resource record sets (excluding alias, failover, geolocation, latency, and weighted resource record sets)__ ----- - A request cannot contain more than 1000 ResourceRecord elements.+-- * @Name@ ----- - The sum of the number of characters (including spaces) in all 'Value' elements in a request cannot exceed 32,000 characters.+-- * @Type@ ----- - 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.+-- * @TTL@ ----- - 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>.+-- __Failover, geolocation, latency, or weighted resource record sets (excluding alias resource record sets)__+--+-- * @Name@+--+-- * @Type@+--+-- * @TTL@+--+-- * @SetIdentifier@+--+--+--+-- __Alias resource record sets (including failover alias, geolocation alias, latency alias, and weighted alias resource record sets)__+--+-- * @Name@+--+-- * @Type@+--+-- * @AliasTarget@ (includes @DNSName@ , @EvaluateTargetHealth@ , and @HostedZoneId@ )+--+-- * @SetIdentifier@ (for failover, geolocation, latency, and weighted resource record sets)+--+--+--+-- When you submit a @ChangeResourceRecordSets@ request, Amazon Route 53 propagates your changes to all of the Amazon Route 53 authoritative DNS servers. While your changes are propagating, @GetChange@ returns a status of @PENDING@ . When propagation is complete, @GetChange@ returns a status of @INSYNC@ . Changes generally propagate to all Amazon Route 53 name servers in a few minutes. In rare circumstances, propagation can take up to 30 minutes. For more information, see 'GetChange'+--+-- For information about the limits on a @ChangeResourceRecordSets@ request, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html Limits> in the /Amazon Route 53 Developer Guide/ .+-- module Network.AWS.Route53.ChangeResourceRecordSets ( -- * Creating a Request@@ -83,9 +105,11 @@ -- | A complex type that contains change information for the resource record set. --+--+-- -- /See:/ 'changeResourceRecordSets' smart constructor. data ChangeResourceRecordSets = ChangeResourceRecordSets'- { _crrsHostedZoneId :: !Text+ { _crrsHostedZoneId :: !ResourceId , _crrsChangeBatch :: !ChangeBatch } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -93,11 +117,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crrsHostedZoneId'+-- * 'crrsHostedZoneId' - The ID of the hosted zone that contains the resource record sets that you want to change. ----- * 'crrsChangeBatch'+-- * 'crrsChangeBatch' - A complex type that contains an optional comment and the @Changes@ element. changeResourceRecordSets- :: Text -- ^ 'crrsHostedZoneId'+ :: ResourceId -- ^ 'crrsHostedZoneId' -> ChangeBatch -- ^ 'crrsChangeBatch' -> ChangeResourceRecordSets changeResourceRecordSets pHostedZoneId_ pChangeBatch_ =@@ -107,10 +131,10 @@ } -- | The ID of the hosted zone that contains the resource record sets that you want to change.-crrsHostedZoneId :: Lens' ChangeResourceRecordSets Text+crrsHostedZoneId :: Lens' ChangeResourceRecordSets ResourceId crrsHostedZoneId = lens _crrsHostedZoneId (\ s a -> s{_crrsHostedZoneId = a}); --- | A complex type that contains an optional comment and the 'Changes' element.+-- | A complex type that contains an optional comment and the @Changes@ element. crrsChangeBatch :: Lens' ChangeResourceRecordSets ChangeBatch crrsChangeBatch = lens _crrsChangeBatch (\ s a -> s{_crrsChangeBatch = a}); @@ -151,6 +175,8 @@ -- | A complex type containing the response for the request. --+--+-- -- /See:/ 'changeResourceRecordSetsResponse' smart constructor. data ChangeResourceRecordSetsResponse = ChangeResourceRecordSetsResponse' { _crrsrsResponseStatus :: !Int@@ -161,9 +187,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crrsrsResponseStatus'+-- * 'crrsrsResponseStatus' - -- | The response status code. ----- * 'crrsrsChangeInfo'+-- * 'crrsrsChangeInfo' - A complex type that contains information about changes made to your hosted zone. This element contains an ID that you use when performing a 'GetChange' action to get detailed information about the change. changeResourceRecordSetsResponse :: Int -- ^ 'crrsrsResponseStatus' -> ChangeInfo -- ^ 'crrsrsChangeInfo'@@ -174,13 +200,11 @@ , _crrsrsChangeInfo = pChangeInfo_ } --- | The response status code.+-- | -- | The response status code. crrsrsResponseStatus :: Lens' ChangeResourceRecordSetsResponse Int crrsrsResponseStatus = lens _crrsrsResponseStatus (\ s a -> s{_crrsrsResponseStatus = a}); --- | A complex type that contains information about changes made to your hosted zone.------ This element contains an ID that you use when performing a < GetChange> action to get detailed information about the change.+-- | A complex type that contains information about changes made to your hosted zone. This element contains an ID that you use when performing a 'GetChange' action to get detailed information about the change. crrsrsChangeInfo :: Lens' ChangeResourceRecordSetsResponse ChangeInfo crrsrsChangeInfo = lens _crrsrsChangeInfo (\ s a -> s{_crrsrsChangeInfo = a});
gen/Network/AWS/Route53/ChangeTagsForResource.hs view
@@ -18,7 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Undocumented operation.+-- Adds, edits, or deletes tags for a health check or a hosted zone.+--+--+-- For information about using tags for cost allocation, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html Using Cost Allocation Tags> in the /AWS Billing and Cost Management User Guide/ .+-- module Network.AWS.Route53.ChangeTagsForResource ( -- * Creating a Request@@ -46,6 +50,8 @@ -- | A complex type that contains information about the tags that you want to add, edit, or delete. --+--+-- -- /See:/ 'changeTagsForResource' smart constructor. data ChangeTagsForResource = ChangeTagsForResource' { _ctfrRemoveTagKeys :: !(Maybe (List1 Text))@@ -58,13 +64,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctfrRemoveTagKeys'+-- * 'ctfrRemoveTagKeys' - 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. ----- * 'ctfrAddTags'+-- * 'ctfrAddTags' - 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. ----- * 'ctfrResourceType'+-- * 'ctfrResourceType' - The type of the resource. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . ----- * 'ctfrResourceId'+-- * 'ctfrResourceId' - The ID of the resource for which you want to add, change, or delete tags. changeTagsForResource :: TagResourceType -- ^ 'ctfrResourceType' -> Text -- ^ 'ctfrResourceId'@@ -81,18 +87,11 @@ ctfrRemoveTagKeys :: Lens' ChangeTagsForResource (Maybe (NonEmpty Text)) ctfrRemoveTagKeys = lens _ctfrRemoveTagKeys (\ s a -> s{_ctfrRemoveTagKeys = a}) . mapping _List1; --- | 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.+-- | 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 hosted zones is 'hostedzone'.---+-- | The type of the resource. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . ctfrResourceType :: Lens' ChangeTagsForResource TagResourceType ctfrResourceType = lens _ctfrResourceType (\ s a -> s{_ctfrResourceType = a}); @@ -141,6 +140,8 @@ -- | Empty response for the request. --+--+-- -- /See:/ 'changeTagsForResourceResponse' smart constructor. newtype ChangeTagsForResourceResponse = ChangeTagsForResourceResponse' { _ctfrrsResponseStatus :: Int@@ -150,7 +151,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctfrrsResponseStatus'+-- * 'ctfrrsResponseStatus' - -- | The response status code. changeTagsForResourceResponse :: Int -- ^ 'ctfrrsResponseStatus' -> ChangeTagsForResourceResponse@@ -159,7 +160,7 @@ { _ctfrrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. ctfrrsResponseStatus :: Lens' ChangeTagsForResourceResponse Int ctfrrsResponseStatus = lens _ctfrrsResponseStatus (\ s a -> s{_ctfrrsResponseStatus = a});
gen/Network/AWS/Route53/CreateHealthCheck.hs view
@@ -20,18 +20,21 @@ -- -- Creates a new health check. ----- To create a new health check, send a 'POST' request to the '\/2013-04-01\/healthcheck' resource. The request body must include an XML document with a 'CreateHealthCheckRequest' element. The response returns the 'CreateHealthCheckResponse' element, containing the health check ID specified when adding health check to a resource record set. For information about adding health checks to resource record sets, see < ResourceRecordSet>HealthCheckId> in < ChangeResourceRecordSets>. ----- 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.+-- To create a new health check, send a @POST@ request to the @/2013-04-01/healthcheck@ resource. The request body must include a document with a @CreateHealthCheckRequest@ element. The response returns the @CreateHealthCheckResponse@ element, containing the health check ID specified when adding health check to a resource record set. For information about adding health checks to resource record sets, see 'ResourceRecordSet$HealthCheckId' in 'ChangeResourceRecordSets' . --+-- If you are registering EC2 instances with an Elastic Load Balancing (ELB) load balancer, do not create Amazon Route 53 health checks for the EC2 instances. When you register an EC2 instance with a load balancer, you configure settings for an ELB health check, which performs a similar function to an Amazon Route 53 health check.+-- -- You can associate health checks with failover resource record sets in a private hosted zone. Note the following: ----- - Amazon Route 53 health checkers are outside the VPC. To check the health of an endpoint within a VPC by IP address, you must assign a public IP address to the instance in the VPC.+-- * 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 configure a health checker to check the health of an external resource that the instance relies on, such as a database server. ----- - You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 'StatusCheckFailed' metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html Amazon CloudWatch Developer Guide>.+-- * You can create a CloudWatch metric, associate an alarm with the metric, and then create a health check that is based on the state of the alarm. For example, you might create a CloudWatch metric that checks the status of the Amazon EC2 @StatusCheckFailed@ metric, add an alarm to the metric, and then create a health check that is based on the state of the alarm. For information about creating CloudWatch metrics and alarms by using the CloudWatch console, see the <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/WhatIsCloudWatch.html Amazon CloudWatch User Guide> . --+--+-- module Network.AWS.Route53.CreateHealthCheck ( -- * Creating a Request@@ -59,6 +62,8 @@ -- | A complex type that contains the health check request information. --+--+-- -- /See:/ 'createHealthCheck' smart constructor. data CreateHealthCheck = CreateHealthCheck' { _chcCallerReference :: !Text@@ -69,9 +74,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'chcCallerReference'+-- * 'chcCallerReference' - 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. ----- * 'chcHealthCheckConfig'+-- * 'chcHealthCheckConfig' - A complex type that contains the response to a @CreateHealthCheck@ request. createHealthCheck :: Text -- ^ 'chcCallerReference' -> HealthCheckConfig -- ^ 'chcHealthCheckConfig'@@ -82,11 +87,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.+-- | 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 the response to a 'CreateHealthCheck' request.+-- | A complex type that contains the response to a @CreateHealthCheck@ request. chcHealthCheckConfig :: Lens' CreateHealthCheck HealthCheckConfig chcHealthCheckConfig = lens _chcHealthCheckConfig (\ s a -> s{_chcHealthCheckConfig = a}); @@ -126,6 +131,8 @@ -- | A complex type containing the response information for the new health check. --+--+-- -- /See:/ 'createHealthCheckResponse' smart constructor. data CreateHealthCheckResponse = CreateHealthCheckResponse' { _chcrsResponseStatus :: !Int@@ -137,11 +144,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'chcrsResponseStatus'+-- * 'chcrsResponseStatus' - -- | The response status code. ----- * 'chcrsHealthCheck'+-- * 'chcrsHealthCheck' - A complex type that contains identifying information about the health check. ----- * 'chcrsLocation'+-- * 'chcrsLocation' - The unique URL representing the new health check. createHealthCheckResponse :: Int -- ^ 'chcrsResponseStatus' -> HealthCheck -- ^ 'chcrsHealthCheck'@@ -154,7 +161,7 @@ , _chcrsLocation = pLocation_ } --- | The response status code.+-- | -- | The response status code. chcrsResponseStatus :: Lens' CreateHealthCheckResponse Int chcrsResponseStatus = lens _chcrsResponseStatus (\ s a -> s{_chcrsResponseStatus = a});
gen/Network/AWS/Route53/CreateHostedZone.hs view
@@ -20,23 +20,27 @@ -- -- 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. ----- 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. ----- 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.+-- /Important:/ Public hosted zones can't 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. ----- Fore more information about charges for hosted zones, see <http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/pricing/ AmazonAmazon Route 53 Pricing>.+-- Send a @POST@ request to the @/2013-04-01/hostedzone@ resource. The request body must include a document with a @CreateHostedZoneRequest@ element. The response returns the @CreateHostedZoneResponse@ element containing metadata about the hosted zone. --+-- Fore more information about charges for hosted zones, see <http://aws.amazon.com/route53/pricing/ Amazon Route 53 Pricing> .+-- -- Note the following: ----- - You cannot create a hosted zone for a top-level domain (TLD).+-- * You can't 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/.+-- * 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/.+-- * 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.+--+-- 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 allotting a new one.+-- module Network.AWS.Route53.CreateHostedZone ( -- * Creating a Request@@ -70,9 +74,11 @@ -- | A complex type containing the hosted zone request information. --+--+-- -- /See:/ 'createHostedZone' smart constructor. data CreateHostedZone = CreateHostedZone'- { _chzDelegationSetId :: !(Maybe Text)+ { _chzDelegationSetId :: !(Maybe ResourceId) , _chzVPC :: !(Maybe VPC) , _chzHostedZoneConfig :: !(Maybe HostedZoneConfig) , _chzName :: !Text@@ -83,15 +89,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'chzDelegationSetId'+-- * 'chzDelegationSetId' - 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@ ----- * 'chzVPC'+-- * 'chzVPC' - The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted can't be resolved anywhere other than the given VPC. ----- * 'chzHostedZoneConfig'+-- * 'chzHostedZoneConfig' - (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. ----- * 'chzName'+-- * 'chzName' - 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. 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. ----- * 'chzCallerReference'+-- * 'chzCallerReference' - 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. createHostedZone :: Text -- ^ 'chzName' -> Text -- ^ 'chzCallerReference'@@ -105,35 +111,23 @@ , _chzCallerReference = pCallerReference_ } --- | 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)+-- | 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 ResourceId) chzDelegationSetId = lens _chzDelegationSetId (\ s a -> s{_chzDelegationSetId = a}); --- | The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted cannot be resolved anywhere other than the given VPC.+-- | The VPC that you want your hosted zone to be associated with. By providing this parameter, your newly created hosted can't be resolved anywhere other than the given VPC. chzVPC :: Lens' CreateHostedZone (Maybe VPC) chzVPC = lens _chzVPC (\ s a -> s{_chzVPC = a}); --- | (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.+-- | (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. 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.------ 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.+-- | 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. 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, for example, a date\/time stamp.+-- | 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}); @@ -179,6 +173,8 @@ -- | A complex type containing the response information for the hosted zone. --+--+-- -- /See:/ 'createHostedZoneResponse' smart constructor. data CreateHostedZoneResponse = CreateHostedZoneResponse' { _chzrsVPC :: !(Maybe VPC)@@ -193,17 +189,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'chzrsVPC'+-- * 'chzrsVPC' - A complex type that contains information about an Amazon VPC that you associated with this hosted zone. ----- * 'chzrsResponseStatus'+-- * 'chzrsResponseStatus' - -- | The response status code. ----- * 'chzrsHostedZone'+-- * 'chzrsHostedZone' - A complex type that contains general information about the hosted zone. ----- * 'chzrsChangeInfo'+-- * 'chzrsChangeInfo' - A complex type that describes the changes made to your hosted zone. ----- * 'chzrsDelegationSet'+-- * 'chzrsDelegationSet' - A complex type that describes the name servers for this hosted zone. ----- * 'chzrsLocation'+-- * 'chzrsLocation' - The unique URL representing the new hosted zone. createHostedZoneResponse :: Int -- ^ 'chzrsResponseStatus' -> HostedZone -- ^ 'chzrsHostedZone'@@ -221,11 +217,11 @@ , _chzrsLocation = pLocation_ } --- | Undocumented member.+-- | A complex type that contains information about an Amazon VPC that you associated with this hosted zone. chzrsVPC :: Lens' CreateHostedZoneResponse (Maybe VPC) chzrsVPC = lens _chzrsVPC (\ s a -> s{_chzrsVPC = a}); --- | The response status code.+-- | -- | The response status code. chzrsResponseStatus :: Lens' CreateHostedZoneResponse Int chzrsResponseStatus = lens _chzrsResponseStatus (\ s a -> s{_chzrsResponseStatus = a});
gen/Network/AWS/Route53/CreateReusableDelegationSet.hs view
@@ -18,13 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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+-- Creates a delegation set (a group of four name servers) that can be reused by multiple hosted zones. If a hosted zoned ID is specified, @CreateReusableDelegationSet@ marks the delegation set associated with that zone as reusable ----- 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. ----- A reusable delegation set cannot be associated with a private hosted zone\/+-- Send a @POST@ request to the @/2013-04-01/delegationset@ resource. The request body must include a document with a @CreateReusableDelegationSetRequest@ element. ----- 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>.+-- 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@@ -52,7 +52,7 @@ -- | /See:/ 'createReusableDelegationSet' smart constructor. data CreateReusableDelegationSet = CreateReusableDelegationSet'- { _crdsHostedZoneId :: !(Maybe Text)+ { _crdsHostedZoneId :: !(Maybe ResourceId) , _crdsCallerReference :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -60,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crdsHostedZoneId'+-- * 'crdsHostedZoneId' - If you want to mark the delegation set for an existing hosted zone as reusable, the ID for that hosted zone. ----- * 'crdsCallerReference'+-- * 'crdsCallerReference' - 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. createReusableDelegationSet :: Text -- ^ 'crdsCallerReference' -> CreateReusableDelegationSet@@ -73,10 +73,10 @@ } -- | 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' CreateReusableDelegationSet (Maybe ResourceId) crdsHostedZoneId = lens _crdsHostedZoneId (\ s a -> s{_crdsHostedZoneId = a}); --- | 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.+-- | 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}); @@ -126,11 +126,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'crdsrsResponseStatus'+-- * 'crdsrsResponseStatus' - -- | The response status code. ----- * 'crdsrsDelegationSet'+-- * 'crdsrsDelegationSet' - A complex type that contains name server information. ----- * 'crdsrsLocation'+-- * 'crdsrsLocation' - The unique URL representing the new reusable delegation set. createReusableDelegationSetResponse :: Int -- ^ 'crdsrsResponseStatus' -> DelegationSet -- ^ 'crdsrsDelegationSet'@@ -143,7 +143,7 @@ , _crdsrsLocation = pLocation_ } --- | The response status code.+-- | -- | The response status code. crdsrsResponseStatus :: Lens' CreateReusableDelegationSetResponse Int crdsrsResponseStatus = lens _crdsrsResponseStatus (\ s a -> s{_crdsrsResponseStatus = a}); @@ -151,7 +151,7 @@ crdsrsDelegationSet :: Lens' CreateReusableDelegationSetResponse DelegationSet crdsrsDelegationSet = lens _crdsrsDelegationSet (\ s a -> s{_crdsrsDelegationSet = a}); --- | The unique URL representing the new reusbale delegation set.+-- | The unique URL representing the new reusable delegation set. crdsrsLocation :: Lens' CreateReusableDelegationSetResponse Text crdsrsLocation = lens _crdsrsLocation (\ s a -> s{_crdsrsLocation = a});
gen/Network/AWS/Route53/CreateTrafficPolicy.hs view
@@ -20,7 +20,9 @@ -- -- 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). ----- 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.+--+-- Send a @POST@ request to the @/2013-04-01/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@@ -49,6 +51,8 @@ -- | A complex type that contains information about the traffic policy that you want to create. --+--+-- -- /See:/ 'createTrafficPolicy' smart constructor. data CreateTrafficPolicy = CreateTrafficPolicy' { _ctpComment :: !(Maybe Text)@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctpComment'+-- * 'ctpComment' - (Optional) Any comments that you want to include about the traffic policy. ----- * 'ctpName'+-- * 'ctpName' - The name of the traffic policy. ----- * 'ctpDocument'+-- * 'ctpDocument' - The definition of this traffic policy in JSON format. For more information, see <http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html Traffic Policy Document Format> . createTrafficPolicy :: Text -- ^ 'ctpName' -> Text -- ^ 'ctpDocument'@@ -84,7 +88,7 @@ ctpName :: Lens' CreateTrafficPolicy Text ctpName = lens _ctpName (\ s a -> s{_ctpName = a}); --- | 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/.+-- | The definition of this traffic policy in JSON format. For more information, see <http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html Traffic Policy Document Format> . ctpDocument :: Lens' CreateTrafficPolicy Text ctpDocument = lens _ctpDocument (\ s a -> s{_ctpDocument = a}); @@ -123,8 +127,10 @@ ["Comment" @= _ctpComment, "Name" @= _ctpName, "Document" @= _ctpDocument] --- | A complex type that contains the response information for the 'CreateTrafficPolicy' request.+-- | A complex type that contains the response information for the @CreateTrafficPolicy@ request. --+--+-- -- /See:/ 'createTrafficPolicyResponse' smart constructor. data CreateTrafficPolicyResponse = CreateTrafficPolicyResponse' { _ctprsResponseStatus :: !Int@@ -136,11 +142,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctprsResponseStatus'+-- * 'ctprsResponseStatus' - -- | The response status code. ----- * 'ctprsTrafficPolicy'+-- * 'ctprsTrafficPolicy' - A complex type that contains settings for the new traffic policy. ----- * 'ctprsLocation'+-- * 'ctprsLocation' - A unique URL that represents a new traffic policy. createTrafficPolicyResponse :: Int -- ^ 'ctprsResponseStatus' -> TrafficPolicy -- ^ 'ctprsTrafficPolicy'@@ -153,7 +159,7 @@ , _ctprsLocation = pLocation_ } --- | The response status code.+-- | -- | The response status code. ctprsResponseStatus :: Lens' CreateTrafficPolicyResponse Int ctprsResponseStatus = lens _ctprsResponseStatus (\ s a -> s{_ctprsResponseStatus = a}); @@ -161,7 +167,7 @@ ctprsTrafficPolicy :: Lens' CreateTrafficPolicyResponse TrafficPolicy ctprsTrafficPolicy = lens _ctprsTrafficPolicy (\ s a -> s{_ctprsTrafficPolicy = a}); --- | Undocumented member.+-- | A unique URL that represents a new traffic policy. ctprsLocation :: Lens' CreateTrafficPolicyResponse Text ctprsLocation = lens _ctprsLocation (\ s a -> s{_ctprsLocation = a});
gen/Network/AWS/Route53/CreateTrafficPolicyInstance.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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. ----- 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.+--+-- Send a @POST@ request to the @/2013-04-01/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@@ -51,9 +53,11 @@ -- | A complex type that contains information about the resource record sets that you want to create based on a specified traffic policy. --+--+-- -- /See:/ 'createTrafficPolicyInstance' smart constructor. data CreateTrafficPolicyInstance = CreateTrafficPolicyInstance'- { _ctpiHostedZoneId :: !Text+ { _ctpiHostedZoneId :: !ResourceId , _ctpiName :: !Text , _ctpiTTL :: !Nat , _ctpiTrafficPolicyId :: !Text@@ -64,17 +68,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctpiHostedZoneId'+-- * 'ctpiHostedZoneId' - The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy. ----- * 'ctpiName'+-- * 'ctpiName' - The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance. ----- * 'ctpiTTL'+-- * 'ctpiTTL' - (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. ----- * 'ctpiTrafficPolicyId'+-- * 'ctpiTrafficPolicyId' - The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone. ----- * 'ctpiTrafficPolicyVersion'+-- * 'ctpiTrafficPolicyVersion' - The version of the traffic policy that you want to use to create resource record sets in the specified hosted zone. createTrafficPolicyInstance- :: Text -- ^ 'ctpiHostedZoneId'+ :: ResourceId -- ^ 'ctpiHostedZoneId' -> Text -- ^ 'ctpiName' -> Natural -- ^ 'ctpiTTL' -> Text -- ^ 'ctpiTrafficPolicyId'@@ -90,7 +94,7 @@ } -- | The ID of the hosted zone in which you want Amazon Route 53 to create resource record sets by using the configuration in a traffic policy.-ctpiHostedZoneId :: Lens' CreateTrafficPolicyInstance Text+ctpiHostedZoneId :: Lens' CreateTrafficPolicyInstance ResourceId ctpiHostedZoneId = lens _ctpiHostedZoneId (\ s a -> s{_ctpiHostedZoneId = a}); -- | The domain name (such as example.com) or subdomain name (such as www.example.com) for which Amazon Route 53 responds to DNS queries by using the resource record sets that Amazon Route 53 creates for this traffic policy instance.@@ -147,8 +151,10 @@ "TrafficPolicyId" @= _ctpiTrafficPolicyId, "TrafficPolicyVersion" @= _ctpiTrafficPolicyVersion] --- | A complex type that contains the response information for the 'CreateTrafficPolicyInstance' request.+-- | A complex type that contains the response information for the @CreateTrafficPolicyInstance@ request. --+--+-- -- /See:/ 'createTrafficPolicyInstanceResponse' smart constructor. data CreateTrafficPolicyInstanceResponse = CreateTrafficPolicyInstanceResponse' { _ctpirsResponseStatus :: !Int@@ -160,11 +166,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctpirsResponseStatus'+-- * 'ctpirsResponseStatus' - -- | The response status code. ----- * 'ctpirsTrafficPolicyInstance'+-- * 'ctpirsTrafficPolicyInstance' - A complex type that contains settings for the new traffic policy instance. ----- * 'ctpirsLocation'+-- * 'ctpirsLocation' - A unique URL that represents a new traffic policy instance. createTrafficPolicyInstanceResponse :: Int -- ^ 'ctpirsResponseStatus' -> TrafficPolicyInstance -- ^ 'ctpirsTrafficPolicyInstance'@@ -177,7 +183,7 @@ , _ctpirsLocation = pLocation_ } --- | The response status code.+-- | -- | The response status code. ctpirsResponseStatus :: Lens' CreateTrafficPolicyInstanceResponse Int ctpirsResponseStatus = lens _ctpirsResponseStatus (\ s a -> s{_ctpirsResponseStatus = a});
gen/Network/AWS/Route53/CreateTrafficPolicyVersion.hs view
@@ -18,9 +18,11 @@ -- 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). 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.+-- 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. ----- 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.+--+-- Send a @POST@ request to the @/2013-04-01/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@@ -49,6 +51,8 @@ -- | A complex type that contains information about the traffic policy for which you want to create a new version. --+--+-- -- /See:/ 'createTrafficPolicyVersion' smart constructor. data CreateTrafficPolicyVersion = CreateTrafficPolicyVersion' { _ctpvComment :: !(Maybe Text)@@ -60,11 +64,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctpvComment'+-- * 'ctpvComment' - The comment that you specified in the @CreateTrafficPolicyVersion@ request, if any. ----- * 'ctpvId'+-- * 'ctpvId' - The ID of the traffic policy for which you want to create a new version. ----- * 'ctpvDocument'+-- * 'ctpvDocument' - 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' . createTrafficPolicyVersion :: Text -- ^ 'ctpvId' -> Text -- ^ 'ctpvDocument'@@ -76,7 +80,7 @@ , _ctpvDocument = pDocument_ } --- | The comment that you specified in the 'CreateTrafficPolicyVersion' request, if any.+-- | The comment that you specified in the @CreateTrafficPolicyVersion@ request, if any. ctpvComment :: Lens' CreateTrafficPolicyVersion (Maybe Text) ctpvComment = lens _ctpvComment (\ s a -> s{_ctpvComment = a}); @@ -84,7 +88,7 @@ ctpvId :: Lens' CreateTrafficPolicyVersion Text ctpvId = lens _ctpvId (\ s a -> s{_ctpvId = a}); --- | 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>.+-- | 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}); @@ -125,8 +129,10 @@ ["Comment" @= _ctpvComment, "Document" @= _ctpvDocument] --- | A complex type that contains the response information for the 'CreateTrafficPolicyVersion' request.+-- | A complex type that contains the response information for the @CreateTrafficPolicyVersion@ request. --+--+-- -- /See:/ 'createTrafficPolicyVersionResponse' smart constructor. data CreateTrafficPolicyVersionResponse = CreateTrafficPolicyVersionResponse' { _ctpvrsResponseStatus :: !Int@@ -138,11 +144,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ctpvrsResponseStatus'+-- * 'ctpvrsResponseStatus' - -- | The response status code. ----- * 'ctpvrsTrafficPolicy'+-- * 'ctpvrsTrafficPolicy' - A complex type that contains settings for the new version of the traffic policy. ----- * 'ctpvrsLocation'+-- * 'ctpvrsLocation' - A unique URL that represents a new traffic policy version. createTrafficPolicyVersionResponse :: Int -- ^ 'ctpvrsResponseStatus' -> TrafficPolicy -- ^ 'ctpvrsTrafficPolicy'@@ -155,7 +161,7 @@ , _ctpvrsLocation = pLocation_ } --- | The response status code.+-- | -- | The response status code. ctpvrsResponseStatus :: Lens' CreateTrafficPolicyVersionResponse Int ctpvrsResponseStatus = lens _ctpvrsResponseStatus (\ s a -> s{_ctpvrsResponseStatus = a}); @@ -163,7 +169,7 @@ ctpvrsTrafficPolicy :: Lens' CreateTrafficPolicyVersionResponse TrafficPolicy ctpvrsTrafficPolicy = lens _ctpvrsTrafficPolicy (\ s a -> s{_ctpvrsTrafficPolicy = a}); --- | Undocumented member.+-- | A unique URL that represents a new traffic policy version. ctpvrsLocation :: Lens' CreateTrafficPolicyVersionResponse Text ctpvrsLocation = lens _ctpvrsLocation (\ s a -> s{_ctpvrsLocation = a});
+ gen/Network/AWS/Route53/CreateVPCAssociationAuthorization.hs view
@@ -0,0 +1,173 @@+{-# 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.CreateVPCAssociationAuthorization+-- 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)+--+-- Authorizes the AWS account that created a specified VPC to submit an @AssociateVPCWithHostedZone@ request to associate the VPC with a specified hosted zone that was created by a different account. To submit a @CreateVPCAssociationAuthorization@ request, you must use the account that created the hosted zone. After you authorize the association, use the account that created the VPC to submit an @AssociateVPCWithHostedZone@ request.+--+--+-- Send a @POST@ request to the @/2013-04-01/hostedzone//hosted zone ID/ /authorizevpcassociation@ resource. The request body must include a document with a @CreateVPCAssociationAuthorizationRequest@ element. The response contains information about the authorization.+--+module Network.AWS.Route53.CreateVPCAssociationAuthorization+ (+ -- * Creating a Request+ createVPCAssociationAuthorization+ , CreateVPCAssociationAuthorization+ -- * Request Lenses+ , cvaaHostedZoneId+ , cvaaVPC++ -- * Destructuring the Response+ , createVPCAssociationAuthorizationResponse+ , CreateVPCAssociationAuthorizationResponse+ -- * Response Lenses+ , cvaarsResponseStatus+ , cvaarsHostedZoneId+ , cvaarsVPC+ ) 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++-- | A complex type that contains information about the request to authorize associating a VPC with your private hosted zone. Authorization is only required when a private hosted zone and a VPC were created by using different accounts.+--+--+--+-- /See:/ 'createVPCAssociationAuthorization' smart constructor.+data CreateVPCAssociationAuthorization = CreateVPCAssociationAuthorization'+ { _cvaaHostedZoneId :: !ResourceId+ , _cvaaVPC :: !VPC+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'CreateVPCAssociationAuthorization' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cvaaHostedZoneId' - The ID of the private hosted zone that you want to authorize associating a VPC with.+--+-- * 'cvaaVPC' - A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.+createVPCAssociationAuthorization+ :: ResourceId -- ^ 'cvaaHostedZoneId'+ -> VPC -- ^ 'cvaaVPC'+ -> CreateVPCAssociationAuthorization+createVPCAssociationAuthorization pHostedZoneId_ pVPC_ =+ CreateVPCAssociationAuthorization'+ { _cvaaHostedZoneId = pHostedZoneId_+ , _cvaaVPC = pVPC_+ }++-- | The ID of the private hosted zone that you want to authorize associating a VPC with.+cvaaHostedZoneId :: Lens' CreateVPCAssociationAuthorization ResourceId+cvaaHostedZoneId = lens _cvaaHostedZoneId (\ s a -> s{_cvaaHostedZoneId = a});++-- | A complex type that contains the VPC ID and region for the VPC that you want to authorize associating with your hosted zone.+cvaaVPC :: Lens' CreateVPCAssociationAuthorization VPC+cvaaVPC = lens _cvaaVPC (\ s a -> s{_cvaaVPC = a});++instance AWSRequest CreateVPCAssociationAuthorization+ where+ type Rs CreateVPCAssociationAuthorization =+ CreateVPCAssociationAuthorizationResponse+ request = postXML route53+ response+ = receiveXML+ (\ s h x ->+ CreateVPCAssociationAuthorizationResponse' <$>+ (pure (fromEnum s)) <*> (x .@ "HostedZoneId") <*>+ (x .@ "VPC"))++instance Hashable CreateVPCAssociationAuthorization++instance NFData CreateVPCAssociationAuthorization++instance ToElement CreateVPCAssociationAuthorization+ where+ toElement+ = mkElement+ "{https://route53.amazonaws.com/doc/2013-04-01/}CreateVPCAssociationAuthorizationRequest"++instance ToHeaders CreateVPCAssociationAuthorization+ where+ toHeaders = const mempty++instance ToPath CreateVPCAssociationAuthorization+ where+ toPath CreateVPCAssociationAuthorization'{..}+ = mconcat+ ["/2013-04-01/hostedzone/", toBS _cvaaHostedZoneId,+ "/authorizevpcassociation"]++instance ToQuery CreateVPCAssociationAuthorization+ where+ toQuery = const mempty++instance ToXML CreateVPCAssociationAuthorization+ where+ toXML CreateVPCAssociationAuthorization'{..}+ = mconcat ["VPC" @= _cvaaVPC]++-- | A complex type that contains the response information from a CreateVPCAssociationAuthorization request.+--+--+--+-- /See:/ 'createVPCAssociationAuthorizationResponse' smart constructor.+data CreateVPCAssociationAuthorizationResponse = CreateVPCAssociationAuthorizationResponse'+ { _cvaarsResponseStatus :: !Int+ , _cvaarsHostedZoneId :: !ResourceId+ , _cvaarsVPC :: !VPC+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'CreateVPCAssociationAuthorizationResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'cvaarsResponseStatus' - -- | The response status code.+--+-- * 'cvaarsHostedZoneId' - The ID of the hosted zone that you authorized associating a VPC with.+--+-- * 'cvaarsVPC' - The VPC that you authorized associating with a hosted zone.+createVPCAssociationAuthorizationResponse+ :: Int -- ^ 'cvaarsResponseStatus'+ -> ResourceId -- ^ 'cvaarsHostedZoneId'+ -> VPC -- ^ 'cvaarsVPC'+ -> CreateVPCAssociationAuthorizationResponse+createVPCAssociationAuthorizationResponse pResponseStatus_ pHostedZoneId_ pVPC_ =+ CreateVPCAssociationAuthorizationResponse'+ { _cvaarsResponseStatus = pResponseStatus_+ , _cvaarsHostedZoneId = pHostedZoneId_+ , _cvaarsVPC = pVPC_+ }++-- | -- | The response status code.+cvaarsResponseStatus :: Lens' CreateVPCAssociationAuthorizationResponse Int+cvaarsResponseStatus = lens _cvaarsResponseStatus (\ s a -> s{_cvaarsResponseStatus = a});++-- | The ID of the hosted zone that you authorized associating a VPC with.+cvaarsHostedZoneId :: Lens' CreateVPCAssociationAuthorizationResponse ResourceId+cvaarsHostedZoneId = lens _cvaarsHostedZoneId (\ s a -> s{_cvaarsHostedZoneId = a});++-- | The VPC that you authorized associating with a hosted zone.+cvaarsVPC :: Lens' CreateVPCAssociationAuthorizationResponse VPC+cvaarsVPC = lens _cvaarsVPC (\ s a -> s{_cvaarsVPC = a});++instance NFData+ CreateVPCAssociationAuthorizationResponse
gen/Network/AWS/Route53/DeleteHealthCheck.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a health check. Send a 'DELETE' request to the '\/2013-04-01\/healthcheck\/health check ID ' resource.+-- Deletes a health check. Send a @DELETE@ request to the @/2013-04-01/healthcheck//health check ID/ @ resource. ----- 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.+--+-- /Important:/ Amazon Route 53 does not prevent you from deleting a health check even if the health check is associated with one or more resource record sets. If you delete a health check and you don't update the associated resource record sets, the future status of the health check can't be predicted and may change. This will affect the routing of DNS queries for your DNS failover configuration. For more information, see <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,8 +45,10 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | This action deletes a health check. Send a 'DELETE' request to the '\/2013-04-01\/DeleteHealthCheckRequest' resource.+-- | This action deletes a health check. Send a @DELETE@ request to the @/2013-04-01/DeleteHealthCheckRequest@ resource. --+--+-- -- /See:/ 'deleteHealthCheck' smart constructor. newtype DeleteHealthCheck = DeleteHealthCheck' { _dhcHealthCheckId :: Text@@ -54,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dhcHealthCheckId'+-- * 'dhcHealthCheckId' - The ID of the health check that you want to delete. deleteHealthCheck :: Text -- ^ 'dhcHealthCheckId' -> DeleteHealthCheck@@ -63,7 +67,7 @@ { _dhcHealthCheckId = pHealthCheckId_ } --- | Undocumented member.+-- | The ID of the health check that you want to delete. dhcHealthCheckId :: Lens' DeleteHealthCheck Text dhcHealthCheckId = lens _dhcHealthCheckId (\ s a -> s{_dhcHealthCheckId = a}); @@ -92,6 +96,8 @@ -- | An empty element. --+--+-- -- /See:/ 'deleteHealthCheckResponse' smart constructor. newtype DeleteHealthCheckResponse = DeleteHealthCheckResponse' { _dhcrsResponseStatus :: Int@@ -101,7 +107,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dhcrsResponseStatus'+-- * 'dhcrsResponseStatus' - -- | The response status code. deleteHealthCheckResponse :: Int -- ^ 'dhcrsResponseStatus' -> DeleteHealthCheckResponse@@ -110,7 +116,7 @@ { _dhcrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. dhcrsResponseStatus :: Lens' DeleteHealthCheckResponse Int dhcrsResponseStatus = lens _dhcrsResponseStatus (\ s a -> s{_dhcrsResponseStatus = a});
gen/Network/AWS/Route53/DeleteHostedZone.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a hosted zone. Send a 'DELETE' request to the '\/Amazon Route 53 API version\/hostedzone\/hosted zone ID ' resource.+-- Deletes a hosted zone. Send a @DELETE@ request to the @//Amazon Route 53 API version/ /hostedzone//hosted zone ID/ @ resource. ----- 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>.+--+-- /Important:/ 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@@ -46,18 +48,20 @@ -- | A complex type that contains information about the hosted zone that you want to delete. --+--+-- -- /See:/ 'deleteHostedZone' smart constructor. newtype DeleteHostedZone = DeleteHostedZone'- { _dhzId :: Text+ { _dhzId :: ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'DeleteHostedZone' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dhzId'+-- * 'dhzId' - The ID of the hosted zone you want to delete. deleteHostedZone- :: Text -- ^ 'dhzId'+ :: ResourceId -- ^ 'dhzId' -> DeleteHostedZone deleteHostedZone pId_ = DeleteHostedZone'@@ -65,7 +69,7 @@ } -- | The ID of the hosted zone you want to delete.-dhzId :: Lens' DeleteHostedZone Text+dhzId :: Lens' DeleteHostedZone ResourceId dhzId = lens _dhzId (\ s a -> s{_dhzId = a}); instance AWSRequest DeleteHostedZone where@@ -93,6 +97,8 @@ -- | A complex type containing the response information for the request. --+--+-- -- /See:/ 'deleteHostedZoneResponse' smart constructor. data DeleteHostedZoneResponse = DeleteHostedZoneResponse' { _dhzrsResponseStatus :: !Int@@ -103,9 +109,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dhzrsResponseStatus'+-- * 'dhzrsResponseStatus' - -- | The response status code. ----- * 'dhzrsChangeInfo'+-- * 'dhzrsChangeInfo' - A complex type that contains the ID, the status, and the date and time of your delete request. deleteHostedZoneResponse :: Int -- ^ 'dhzrsResponseStatus' -> ChangeInfo -- ^ 'dhzrsChangeInfo'@@ -116,7 +122,7 @@ , _dhzrsChangeInfo = pChangeInfo_ } --- | The response status code.+-- | -- | The response status code. dhzrsResponseStatus :: Lens' DeleteHostedZoneResponse Int dhzrsResponseStatus = lens _dhzrsResponseStatus (\ s a -> s{_dhzrsResponseStatus = a});
gen/Network/AWS/Route53/DeleteReusableDelegationSet.hs view
@@ -18,11 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a reusable delegation set. Send a 'DELETE' request to the '\/2013-04-01\/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. ----- 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.+-- /Important:/ 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@@ -47,18 +49,20 @@ -- | A complex type containing the information for the delete request. --+--+-- -- /See:/ 'deleteReusableDelegationSet' smart constructor. newtype DeleteReusableDelegationSet = DeleteReusableDelegationSet'- { _drdsId :: Text+ { _drdsId :: ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'DeleteReusableDelegationSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drdsId'+-- * 'drdsId' - The ID of the reusable delegation set you want to delete. deleteReusableDelegationSet- :: Text -- ^ 'drdsId'+ :: ResourceId -- ^ 'drdsId' -> DeleteReusableDelegationSet deleteReusableDelegationSet pId_ = DeleteReusableDelegationSet'@@ -66,7 +70,7 @@ } -- | The ID of the reusable delegation set you want to delete.-drdsId :: Lens' DeleteReusableDelegationSet Text+drdsId :: Lens' DeleteReusableDelegationSet ResourceId drdsId = lens _drdsId (\ s a -> s{_drdsId = a}); instance AWSRequest DeleteReusableDelegationSet where@@ -96,6 +100,8 @@ -- | An empty element. --+--+-- -- /See:/ 'deleteReusableDelegationSetResponse' smart constructor. newtype DeleteReusableDelegationSetResponse = DeleteReusableDelegationSetResponse' { _drdsrsResponseStatus :: Int@@ -105,7 +111,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'drdsrsResponseStatus'+-- * 'drdsrsResponseStatus' - -- | The response status code. deleteReusableDelegationSetResponse :: Int -- ^ 'drdsrsResponseStatus' -> DeleteReusableDelegationSetResponse@@ -114,7 +120,7 @@ { _drdsrsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. drdsrsResponseStatus :: Lens' DeleteReusableDelegationSetResponse Int drdsrsResponseStatus = lens _drdsrsResponseStatus (\ s a -> s{_drdsrsResponseStatus = a});
gen/Network/AWS/Route53/DeleteTrafficPolicy.hs view
@@ -20,7 +20,9 @@ -- -- Deletes a traffic policy. ----- Send a 'DELETE' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource.+--+-- Send a @DELETE@ request to the @//Amazon Route 53 API version/ /trafficpolicy@ resource.+-- module Network.AWS.Route53.DeleteTrafficPolicy ( -- * Creating a Request@@ -46,6 +48,8 @@ -- | A request to delete a specified traffic policy version. --+--+-- -- /See:/ 'deleteTrafficPolicy' smart constructor. data DeleteTrafficPolicy = DeleteTrafficPolicy' { _dtpId :: !Text@@ -56,9 +60,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtpId'+-- * 'dtpId' - The ID of the traffic policy that you want to delete. ----- * 'dtpVersion'+-- * 'dtpVersion' - The version number of the traffic policy that you want to delete. deleteTrafficPolicy :: Text -- ^ 'dtpId' -> Natural -- ^ 'dtpVersion'@@ -104,6 +108,8 @@ -- | An empty element. --+--+-- -- /See:/ 'deleteTrafficPolicyResponse' smart constructor. newtype DeleteTrafficPolicyResponse = DeleteTrafficPolicyResponse' { _dtprsResponseStatus :: Int@@ -113,7 +119,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtprsResponseStatus'+-- * 'dtprsResponseStatus' - -- | The response status code. deleteTrafficPolicyResponse :: Int -- ^ 'dtprsResponseStatus' -> DeleteTrafficPolicyResponse@@ -122,7 +128,7 @@ { _dtprsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. dtprsResponseStatus :: Lens' DeleteTrafficPolicyResponse Int dtprsResponseStatus = lens _dtprsResponseStatus (\ s a -> s{_dtprsResponseStatus = a});
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. ----- Send a 'DELETE' request to the '\/Amazon Route 53 API version\/trafficpolicy\/traffic policy instance ID ' resource. ----- In the Amazon Route 53 console, traffic policy instances are known as policy records.+-- Send a @DELETE@ request to the @//Amazon Route 53 API version/ /trafficpolicy//traffic policy instance ID/ @ resource.+-- module Network.AWS.Route53.DeleteTrafficPolicyInstance ( -- * Creating a Request@@ -47,6 +47,8 @@ -- | A complex type that contains information about the traffic policy instance that you want to delete. --+--+-- -- /See:/ 'deleteTrafficPolicyInstance' smart constructor. newtype DeleteTrafficPolicyInstance = DeleteTrafficPolicyInstance' { _dtpiId :: Text@@ -56,7 +58,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtpiId'+-- * 'dtpiId' - The ID of the traffic policy instance that you want to delete. /Important:/ 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. deleteTrafficPolicyInstance :: Text -- ^ 'dtpiId' -> DeleteTrafficPolicyInstance@@ -65,9 +67,7 @@ { _dtpiId = pId_ } --- | The ID of the traffic policy instance that you want to delete.------ When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.+-- | The ID of the traffic policy instance that you want to delete. /Important:/ 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. dtpiId :: Lens' DeleteTrafficPolicyInstance Text dtpiId = lens _dtpiId (\ s a -> s{_dtpiId = a}); @@ -98,6 +98,8 @@ -- | An empty element. --+--+-- -- /See:/ 'deleteTrafficPolicyInstanceResponse' smart constructor. newtype DeleteTrafficPolicyInstanceResponse = DeleteTrafficPolicyInstanceResponse' { _dtpirsResponseStatus :: Int@@ -107,7 +109,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dtpirsResponseStatus'+-- * 'dtpirsResponseStatus' - -- | The response status code. deleteTrafficPolicyInstanceResponse :: Int -- ^ 'dtpirsResponseStatus' -> DeleteTrafficPolicyInstanceResponse@@ -116,7 +118,7 @@ { _dtpirsResponseStatus = pResponseStatus_ } --- | The response status code.+-- | -- | The response status code. dtpirsResponseStatus :: Lens' DeleteTrafficPolicyInstanceResponse Int dtpirsResponseStatus = lens _dtpirsResponseStatus (\ s a -> s{_dtpirsResponseStatus = a});
+ gen/Network/AWS/Route53/DeleteVPCAssociationAuthorization.hs view
@@ -0,0 +1,154 @@+{-# 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.DeleteVPCAssociationAuthorization+-- 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)+--+-- Removes authorization to submit an @AssociateVPCWithHostedZone@ request to associate a specified VPC with a hosted zone that was created by a different account. You must use the account that created the hosted zone to submit a @DeleteVPCAssociationAuthorization@ request.+--+--+-- /Important:/ Sending this request only prevents the AWS account that created the VPC from associating the VPC with the Amazon Route 53 hosted zone in the future. If the VPC is already associated with the hosted zone, @DeleteVPCAssociationAuthorization@ won't disassociate the VPC from the hosted zone. If you want to delete an existing association, use @DisassociateVPCFromHostedZone@ .+--+-- Send a @DELETE@ request to the @/2013-04-01/hostedzone//hosted zone ID/ /deauthorizevpcassociation@ resource. The request body must include a document with a @DeleteVPCAssociationAuthorizationRequest@ element.+--+module Network.AWS.Route53.DeleteVPCAssociationAuthorization+ (+ -- * Creating a Request+ deleteVPCAssociationAuthorization+ , DeleteVPCAssociationAuthorization+ -- * Request Lenses+ , dvaaHostedZoneId+ , dvaaVPC++ -- * Destructuring the Response+ , deleteVPCAssociationAuthorizationResponse+ , DeleteVPCAssociationAuthorizationResponse+ -- * Response Lenses+ , dvaarsResponseStatus+ ) 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++-- | A complex type that contains information about the request to remove authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account.+--+--+--+-- /See:/ 'deleteVPCAssociationAuthorization' smart constructor.+data DeleteVPCAssociationAuthorization = DeleteVPCAssociationAuthorization'+ { _dvaaHostedZoneId :: !ResourceId+ , _dvaaVPC :: !VPC+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DeleteVPCAssociationAuthorization' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dvaaHostedZoneId' - When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.+--+-- * 'dvaaVPC' - When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.+deleteVPCAssociationAuthorization+ :: ResourceId -- ^ 'dvaaHostedZoneId'+ -> VPC -- ^ 'dvaaVPC'+ -> DeleteVPCAssociationAuthorization+deleteVPCAssociationAuthorization pHostedZoneId_ pVPC_ =+ DeleteVPCAssociationAuthorization'+ { _dvaaHostedZoneId = pHostedZoneId_+ , _dvaaVPC = pVPC_+ }++-- | When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, the ID of the hosted zone.+dvaaHostedZoneId :: Lens' DeleteVPCAssociationAuthorization ResourceId+dvaaHostedZoneId = lens _dvaaHostedZoneId (\ s a -> s{_dvaaHostedZoneId = a});++-- | When removing authorization to associate a VPC that was created by one AWS account with a hosted zone that was created with a different AWS account, a complex type that includes the ID and region of the VPC.+dvaaVPC :: Lens' DeleteVPCAssociationAuthorization VPC+dvaaVPC = lens _dvaaVPC (\ s a -> s{_dvaaVPC = a});++instance AWSRequest DeleteVPCAssociationAuthorization+ where+ type Rs DeleteVPCAssociationAuthorization =+ DeleteVPCAssociationAuthorizationResponse+ request = postXML route53+ response+ = receiveEmpty+ (\ s h x ->+ DeleteVPCAssociationAuthorizationResponse' <$>+ (pure (fromEnum s)))++instance Hashable DeleteVPCAssociationAuthorization++instance NFData DeleteVPCAssociationAuthorization++instance ToElement DeleteVPCAssociationAuthorization+ where+ toElement+ = mkElement+ "{https://route53.amazonaws.com/doc/2013-04-01/}DeleteVPCAssociationAuthorizationRequest"++instance ToHeaders DeleteVPCAssociationAuthorization+ where+ toHeaders = const mempty++instance ToPath DeleteVPCAssociationAuthorization+ where+ toPath DeleteVPCAssociationAuthorization'{..}+ = mconcat+ ["/2013-04-01/hostedzone/", toBS _dvaaHostedZoneId,+ "/deauthorizevpcassociation"]++instance ToQuery DeleteVPCAssociationAuthorization+ where+ toQuery = const mempty++instance ToXML DeleteVPCAssociationAuthorization+ where+ toXML DeleteVPCAssociationAuthorization'{..}+ = mconcat ["VPC" @= _dvaaVPC]++-- | Empty response for the request.+--+--+--+-- /See:/ 'deleteVPCAssociationAuthorizationResponse' smart constructor.+newtype DeleteVPCAssociationAuthorizationResponse = DeleteVPCAssociationAuthorizationResponse'+ { _dvaarsResponseStatus :: Int+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'DeleteVPCAssociationAuthorizationResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'dvaarsResponseStatus' - -- | The response status code.+deleteVPCAssociationAuthorizationResponse+ :: Int -- ^ 'dvaarsResponseStatus'+ -> DeleteVPCAssociationAuthorizationResponse+deleteVPCAssociationAuthorizationResponse pResponseStatus_ =+ DeleteVPCAssociationAuthorizationResponse'+ { _dvaarsResponseStatus = pResponseStatus_+ }++-- | -- | The response status code.+dvaarsResponseStatus :: Lens' DeleteVPCAssociationAuthorizationResponse Int+dvaarsResponseStatus = lens _dvaarsResponseStatus (\ s a -> s{_dvaarsResponseStatus = a});++instance NFData+ DeleteVPCAssociationAuthorizationResponse
gen/Network/AWS/Route53/DisassociateVPCFromHostedZone.hs view
@@ -20,9 +20,11 @@ -- -- Disassociates a VPC from a Amazon Route 53 private hosted zone. ----- 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.+-- Send a @POST@ request to the @/2013-04-01/hostedzone//hosted zone ID/ /disassociatevpc@ resource. The request body must include a document with a @DisassociateVPCFromHostedZoneRequest@ element. The response includes a @DisassociateVPCFromHostedZoneResponse@ element.+--+-- /Important:/ You can't disassociate a VPC from a private hosted zone when only one VPC is associated with the hosted zone. You also can't convert a private hosted zone into a public hosted zone.+-- module Network.AWS.Route53.DisassociateVPCFromHostedZone ( -- * Creating a Request@@ -48,12 +50,14 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | A complex type that contains information about the VPC and the hosted zone that you want to disassociate.+-- | A complex type that contains information about the VPC that you want to disassociate from a specified private hosted zone. --+--+-- -- /See:/ 'disassociateVPCFromHostedZone' smart constructor. data DisassociateVPCFromHostedZone = DisassociateVPCFromHostedZone' { _dvfhzComment :: !(Maybe Text)- , _dvfhzHostedZoneId :: !Text+ , _dvfhzHostedZoneId :: !ResourceId , _dvfhzVPC :: !VPC } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -61,13 +65,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvfhzComment'+-- * 'dvfhzComment' - /Optional:/ A comment about the disassociation request. ----- * 'dvfhzHostedZoneId'+-- * 'dvfhzHostedZoneId' - The ID of the private hosted zone that you want to disassociate a VPC from. ----- * 'dvfhzVPC'+-- * 'dvfhzVPC' - A complex type that contains information about the VPC that you're disassociating from the specified hosted zone. disassociateVPCFromHostedZone- :: Text -- ^ 'dvfhzHostedZoneId'+ :: ResourceId -- ^ 'dvfhzHostedZoneId' -> VPC -- ^ 'dvfhzVPC' -> DisassociateVPCFromHostedZone disassociateVPCFromHostedZone pHostedZoneId_ pVPC_ =@@ -81,11 +85,11 @@ dvfhzComment :: Lens' DisassociateVPCFromHostedZone (Maybe Text) dvfhzComment = lens _dvfhzComment (\ s a -> s{_dvfhzComment = a}); --- | The ID of the VPC that you want to disassociate from an Amazon Route 53 hosted zone.-dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone Text+-- | The ID of the private hosted zone that you want to disassociate a VPC from.+dvfhzHostedZoneId :: Lens' DisassociateVPCFromHostedZone ResourceId dvfhzHostedZoneId = lens _dvfhzHostedZoneId (\ s a -> s{_dvfhzHostedZoneId = a}); --- | A complex type containing information about the Amazon VPC that you\'re disassociating from the specified hosted zone.+-- | A complex type that contains information about the VPC that you're disassociating from the specified hosted zone. dvfhzVPC :: Lens' DisassociateVPCFromHostedZone VPC dvfhzVPC = lens _dvfhzVPC (\ s a -> s{_dvfhzVPC = a}); @@ -130,6 +134,8 @@ -- | A complex type that contains the response information for the disassociate request. --+--+-- -- /See:/ 'disassociateVPCFromHostedZoneResponse' smart constructor. data DisassociateVPCFromHostedZoneResponse = DisassociateVPCFromHostedZoneResponse' { _dvfhzrsResponseStatus :: !Int@@ -140,9 +146,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dvfhzrsResponseStatus'+-- * 'dvfhzrsResponseStatus' - -- | The response status code. ----- * 'dvfhzrsChangeInfo'+-- * 'dvfhzrsChangeInfo' - A complex type that describes the changes made to the specified private hosted zone. disassociateVPCFromHostedZoneResponse :: Int -- ^ 'dvfhzrsResponseStatus' -> ChangeInfo -- ^ 'dvfhzrsChangeInfo'@@ -153,11 +159,11 @@ , _dvfhzrsChangeInfo = pChangeInfo_ } --- | The response status code.+-- | -- | The response status code. dvfhzrsResponseStatus :: Lens' DisassociateVPCFromHostedZoneResponse Int dvfhzrsResponseStatus = lens _dvfhzrsResponseStatus (\ s a -> s{_dvfhzrsResponseStatus = a}); --- | A complex type that describes the changes made to your hosted zone.+-- | A complex type that describes the changes made to the specified private hosted zone. dvfhzrsChangeInfo :: Lens' DisassociateVPCFromHostedZoneResponse ChangeInfo dvfhzrsChangeInfo = lens _dvfhzrsChangeInfo (\ s a -> s{_dvfhzrsChangeInfo = a});
gen/Network/AWS/Route53/GetChange.hs view
@@ -20,10 +20,13 @@ -- -- 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. ----- - 'INSYNC' indicates that the changes have replicated to all Amazon Route 53 DNS servers.+-- * @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.+--+--+-- module Network.AWS.Route53.GetChange ( -- * Creating a Request@@ -49,26 +52,28 @@ -- | The input for a GetChange request. --+--+-- -- /See:/ 'getChange' smart constructor. newtype GetChange = GetChange'- { _gcId :: Text+ { _gcId :: ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'GetChange' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcId'+-- * 'gcId' - The ID of the change batch request. The value that you specify here is the value that @ChangeResourceRecordSets@ returned in the Id element when you submitted the request. getChange- :: Text -- ^ 'gcId'+ :: ResourceId -- ^ 'gcId' -> GetChange getChange pId_ = GetChange' { _gcId = pId_ } --- | The ID of the change batch request. The value that you specify here is the value that 'ChangeResourceRecordSets' returned in the Id element when you submitted the request.-gcId :: Lens' GetChange Text+-- | The ID of the change batch request. The value that you specify here is the value that @ChangeResourceRecordSets@ returned in the Id element when you submitted the request.+gcId :: Lens' GetChange ResourceId gcId = lens _gcId (\ s a -> s{_gcId = a}); instance AWSRequest GetChange where@@ -94,8 +99,10 @@ instance ToQuery GetChange where toQuery = const mempty --- | A complex type that contains the 'ChangeInfo' element.+-- | A complex type that contains the @ChangeInfo@ element. --+--+-- -- /See:/ 'getChangeResponse' smart constructor. data GetChangeResponse = GetChangeResponse' { _gcrsResponseStatus :: !Int@@ -106,9 +113,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcrsResponseStatus'+-- * 'gcrsResponseStatus' - -- | The response status code. ----- * 'gcrsChangeInfo'+-- * 'gcrsChangeInfo' - A complex type that contains information about the specified change batch. getChangeResponse :: Int -- ^ 'gcrsResponseStatus' -> ChangeInfo -- ^ 'gcrsChangeInfo'@@ -119,7 +126,7 @@ , _gcrsChangeInfo = pChangeInfo_ } --- | The response status code.+-- | -- | The response status code. gcrsResponseStatus :: Lens' GetChangeResponse Int gcrsResponseStatus = lens _gcrsResponseStatus (\ s a -> s{_gcrsResponseStatus = a});
gen/Network/AWS/Route53/GetCheckerIPRanges.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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@@ -42,6 +44,8 @@ -- | Empty request. --+--+-- -- /See:/ 'getCheckerIPRanges' smart constructor. data GetCheckerIPRanges = GetCheckerIPRanges'@@ -78,8 +82,10 @@ instance ToQuery GetCheckerIPRanges where toQuery = const mempty --- | A complex type that contains the 'CheckerIpRanges' element.+-- | A complex type that contains the @CheckerIpRanges@ element. --+--+-- -- /See:/ 'getCheckerIPRangesResponse' smart constructor. data GetCheckerIPRangesResponse = GetCheckerIPRangesResponse' { _gcirrsResponseStatus :: !Int@@ -90,9 +96,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gcirrsResponseStatus'+-- * 'gcirrsResponseStatus' - -- | The response status code. ----- * 'gcirrsCheckerIPRanges'+-- * 'gcirrsCheckerIPRanges' - A complex type that contains sorted list of IP ranges in CIDR format for Amazon Route 53 health checkers. getCheckerIPRangesResponse :: Int -- ^ 'gcirrsResponseStatus' -> GetCheckerIPRangesResponse@@ -102,7 +108,7 @@ , _gcirrsCheckerIPRanges = mempty } --- | The response status code.+-- | -- | The response status code. gcirrsResponseStatus :: Lens' GetCheckerIPRangesResponse Int gcirrsResponseStatus = lens _gcirrsResponseStatus (\ s a -> s{_gcirrsResponseStatus = a});
gen/Network/AWS/Route53/GetGeoLocation.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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@@ -46,6 +48,8 @@ -- | A complex type that contains information about the request to get a geo location. --+--+-- -- /See:/ 'getGeoLocation' smart constructor. data GetGeoLocation = GetGeoLocation' { _gglSubdivisionCode :: !(Maybe Text)@@ -57,11 +61,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gglSubdivisionCode'+-- * 'gglSubdivisionCode' - 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@ . ----- * 'gglCountryCode'+-- * 'gglCountryCode' - 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> . ----- * 'gglContinentCode'+-- * 'gglContinentCode' - Amazon Route 53 supports the following continent codes: * __AF__ : Africa * __AN__ : Antarctica * __AS__ : Asia * __EU__ : Europe * __OC__ : Oceania * __NA__ : North America * __SA__ : South America getGeoLocation :: GetGeoLocation getGeoLocation =@@ -71,30 +75,15 @@ , _gglContinentCode = Nothing } --- | 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'.+-- | 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}); --- | 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>.+-- | 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}); --- | Amazon Route 53 supports the following contintent codes:------ - __AF__: Africa------ - __AN__: Antarctica------ - __AS__: Asia------ - __EU__: Europe------ - __OC__: Oceania------ - __NA__: North America------ - __SA__: South America---+-- | Amazon Route 53 supports the following continent codes: * __AF__ : Africa * __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}); @@ -126,6 +115,8 @@ -- | A complex type that contains the response information for the specified geolocation code. --+--+-- -- /See:/ 'getGeoLocationResponse' smart constructor. data GetGeoLocationResponse = GetGeoLocationResponse' { _gglrsResponseStatus :: !Int@@ -136,9 +127,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gglrsResponseStatus'+-- * 'gglrsResponseStatus' - -- | The response status code. ----- * 'gglrsGeoLocationDetails'+-- * 'gglrsGeoLocationDetails' - A complex type that contains the codes and full continent, country, and subdivision names for the specified geolocation code. getGeoLocationResponse :: Int -- ^ 'gglrsResponseStatus' -> GeoLocationDetails -- ^ 'gglrsGeoLocationDetails'@@ -149,7 +140,7 @@ , _gglrsGeoLocationDetails = pGeoLocationDetails_ } --- | The response status code.+-- | -- | The response status code. gglrsResponseStatus :: Lens' GetGeoLocationResponse Int gglrsResponseStatus = lens _gglrsResponseStatus (\ s a -> s{_gglrsResponseStatus = a});
gen/Network/AWS/Route53/GetHealthCheck.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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@@ -44,10 +46,12 @@ -- | 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/.+-- 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@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghcHealthCheckId'+-- * 'ghcHealthCheckId' - 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. getHealthCheck :: Text -- ^ 'ghcHealthCheckId' -> GetHealthCheck@@ -94,8 +98,10 @@ instance ToQuery GetHealthCheck where toQuery = const mempty --- | A complex type that contains the response to a 'GetHealthCheck' request.+-- | A complex type that contains the response to a @GetHealthCheck@ request. --+--+-- -- /See:/ 'getHealthCheckResponse' smart constructor. data GetHealthCheckResponse = GetHealthCheckResponse' { _ghcrsResponseStatus :: !Int@@ -106,9 +112,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghcrsResponseStatus'+-- * 'ghcrsResponseStatus' - -- | The response status code. ----- * 'ghcrsHealthCheck'+-- * 'ghcrsHealthCheck' - A complex type that contains information about one health check that is associated with the current AWS account. getHealthCheckResponse :: Int -- ^ 'ghcrsResponseStatus' -> HealthCheck -- ^ 'ghcrsHealthCheck'@@ -119,7 +125,7 @@ , _ghcrsHealthCheck = pHealthCheck_ } --- | The response status code.+-- | -- | The response status code. ghcrsResponseStatus :: Lens' GetHealthCheckResponse Int ghcrsResponseStatus = lens _ghcrsResponseStatus (\ s a -> s{_ghcrsResponseStatus = a});
gen/Network/AWS/Route53/GetHealthCheckCount.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- To retrieve a count of all your health checks, send a 'GET' request to the '\/2013-04-01\/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,8 +42,10 @@ 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 '\/2013-04-01\/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 = GetHealthCheckCount'@@ -76,8 +80,10 @@ instance ToQuery GetHealthCheckCount where toQuery = const mempty --- | A complex type that contains the response to a 'healthcheckcount' request.+-- | A complex type that contains the response to a @healthcheckcount@ request. --+--+-- -- /See:/ 'getHealthCheckCountResponse' smart constructor. data GetHealthCheckCountResponse = GetHealthCheckCountResponse' { _ghccrsResponseStatus :: !Int@@ -88,9 +94,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghccrsResponseStatus'+-- * 'ghccrsResponseStatus' - -- | The response status code. ----- * 'ghccrsHealthCheckCount'+-- * 'ghccrsHealthCheckCount' - The number of health checks associated with the current AWS account. getHealthCheckCountResponse :: Int -- ^ 'ghccrsResponseStatus' -> Integer -- ^ 'ghccrsHealthCheckCount'@@ -101,7 +107,7 @@ , _ghccrsHealthCheckCount = pHealthCheckCount_ } --- | The response status code.+-- | -- | The response status code. ghccrsResponseStatus :: Lens' GetHealthCheckCountResponse Int ghccrsResponseStatus = lens _ghccrsResponseStatus (\ s a -> s{_ghccrsResponseStatus = a});
gen/Network/AWS/Route53/GetHealthCheckLastFailureReason.hs view
@@ -18,7 +18,9 @@ -- 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 '\/Amazon 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@@ -44,10 +46,12 @@ -- | 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/.+-- 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@@ -57,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghclfrHealthCheckId'+-- * 'ghclfrHealthCheckId' - 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. getHealthCheckLastFailureReason :: Text -- ^ 'ghclfrHealthCheckId' -> GetHealthCheckLastFailureReason@@ -66,7 +70,7 @@ { _ghclfrHealthCheckId = pHealthCheckId_ } --- | 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.+-- | 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}); @@ -101,8 +105,10 @@ where toQuery = const mempty --- | A complex type that contains the response to a 'GetHealthCheckLastFailureReason' request.+-- | A complex type that contains the response to a @GetHealthCheckLastFailureReason@ request. --+--+-- -- /See:/ 'getHealthCheckLastFailureReasonResponse' smart constructor. data GetHealthCheckLastFailureReasonResponse = GetHealthCheckLastFailureReasonResponse' { _ghclfrrsResponseStatus :: !Int@@ -113,9 +119,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghclfrrsResponseStatus'+-- * 'ghclfrrsResponseStatus' - -- | The response status code. ----- * 'ghclfrrsHealthCheckObservations'+-- * 'ghclfrrsHealthCheckObservations' - A list that contains one @Observation@ element for each Amazon Route 53 health checker that is reporting a last failure reason. getHealthCheckLastFailureReasonResponse :: Int -- ^ 'ghclfrrsResponseStatus' -> GetHealthCheckLastFailureReasonResponse@@ -125,11 +131,11 @@ , _ghclfrrsHealthCheckObservations = mempty } --- | The response status code.+-- | -- | The response status code. ghclfrrsResponseStatus :: Lens' GetHealthCheckLastFailureReasonResponse Int ghclfrrsResponseStatus = lens _ghclfrrsResponseStatus (\ s a -> s{_ghclfrrsResponseStatus = a}); --- | A list that contains one 'Observation' element for each Amazon Route 53 health checker that is reporting a last failure reason.+-- | 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,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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@@ -44,6 +46,8 @@ -- | A complex type that contains information about the request to get health check status for a health check. --+--+-- -- /See:/ 'getHealthCheckStatus' smart constructor. newtype GetHealthCheckStatus = GetHealthCheckStatus' { _ghcsHealthCheckId :: Text@@ -53,7 +57,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghcsHealthCheckId'+-- * 'ghcsHealthCheckId' - 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 by periodically sending a request to the endpoint that is specified in the health check. If that endpoint returns an HTTP status code of 2xx or 3xx, the endpoint is healthy. If the endpoint returns an HTTP status code of 400 or greater, or if the endpoint doesn't respond for a certain amount of time, Amazon Route 53 considers the endpoint unhealthy and also considers the resource record set unhealthy. 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@ . 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). /Important:/ In 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. getHealthCheckStatus :: Text -- ^ 'ghcsHealthCheckId' -> GetHealthCheckStatus@@ -62,23 +66,7 @@ { _ghcsHealthCheckId = pHealthCheckId_ } --- | 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 by periodically sending a request to the endpoint that is specified in the health check. If that endpoint returns an HTTP status code of 2xx or 3xx, the endpoint is healthy. If the endpoint returns an HTTP status code of 400 or greater, or if the endpoint doesn\'t respond for a certain amount of time, Amazon Route 53 considers the endpoint unhealthy and also considers the resource record set unhealthy.------ 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'.------ 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).------ In 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.+-- | 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 by periodically sending a request to the endpoint that is specified in the health check. If that endpoint returns an HTTP status code of 2xx or 3xx, the endpoint is healthy. If the endpoint returns an HTTP status code of 400 or greater, or if the endpoint doesn't respond for a certain amount of time, Amazon Route 53 considers the endpoint unhealthy and also considers the resource record set unhealthy. 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@ . 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). /Important:/ In 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. ghcsHealthCheckId :: Lens' GetHealthCheckStatus Text ghcsHealthCheckId = lens _ghcsHealthCheckId (\ s a -> s{_ghcsHealthCheckId = a}); @@ -110,8 +98,10 @@ instance ToQuery GetHealthCheckStatus where toQuery = const mempty --- | A complex type that contains the response to a 'GetHealthCheck' request.+-- | A complex type that contains the response to a @GetHealthCheck@ request. --+--+-- -- /See:/ 'getHealthCheckStatusResponse' smart constructor. data GetHealthCheckStatusResponse = GetHealthCheckStatusResponse' { _ghcsrsResponseStatus :: !Int@@ -122,9 +112,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghcsrsResponseStatus'+-- * 'ghcsrsResponseStatus' - -- | The response status code. ----- * 'ghcsrsHealthCheckObservations'+-- * 'ghcsrsHealthCheckObservations' - A list that contains one @HealthCheckObservation@ element for each Amazon Route 53 health checker that is reporting a status about the health check endpoint. getHealthCheckStatusResponse :: Int -- ^ 'ghcsrsResponseStatus' -> GetHealthCheckStatusResponse@@ -134,11 +124,11 @@ , _ghcsrsHealthCheckObservations = mempty } --- | The response status code.+-- | -- | The response status code. 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 that is reporting a status about the health check endpoint.+-- | 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,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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@@ -46,18 +48,20 @@ -- | The input for a GetHostedZone request. --+--+-- -- /See:/ 'getHostedZone' smart constructor. newtype GetHostedZone = GetHostedZone'- { _ghzId :: Text+ { _ghzId :: ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'GetHostedZone' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghzId'+-- * 'ghzId' - The ID of the hosted zone for which you want to get a list of the name servers in the delegation set. getHostedZone- :: Text -- ^ 'ghzId'+ :: ResourceId -- ^ 'ghzId' -> GetHostedZone getHostedZone pId_ = GetHostedZone'@@ -65,7 +69,7 @@ } -- | The ID of the hosted zone for which you want to get a list of the name servers in the delegation set.-ghzId :: Lens' GetHostedZone Text+ghzId :: Lens' GetHostedZone ResourceId ghzId = lens _ghzId (\ s a -> s{_ghzId = a}); instance AWSRequest GetHostedZone where@@ -97,6 +101,8 @@ -- | A complex type containing the response information for the hosted zone. --+--+-- -- /See:/ 'getHostedZoneResponse' smart constructor. data GetHostedZoneResponse = GetHostedZoneResponse' { _ghzrsVPCs :: !(Maybe (List1 VPC))@@ -109,13 +115,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghzrsVPCs'+-- * 'ghzrsVPCs' - A complex type that contains information about VPCs associated with the specified hosted zone. ----- * 'ghzrsDelegationSet'+-- * 'ghzrsDelegationSet' - A complex type that describes the name servers for this hosted zone. ----- * 'ghzrsResponseStatus'+-- * 'ghzrsResponseStatus' - -- | The response status code. ----- * 'ghzrsHostedZone'+-- * 'ghzrsHostedZone' - A complex type that contains general information about the hosted zone. getHostedZoneResponse :: Int -- ^ 'ghzrsResponseStatus' -> HostedZone -- ^ 'ghzrsHostedZone'@@ -136,7 +142,7 @@ ghzrsDelegationSet :: Lens' GetHostedZoneResponse (Maybe DelegationSet) ghzrsDelegationSet = lens _ghzrsDelegationSet (\ s a -> s{_ghzrsDelegationSet = a}); --- | The response status code.+-- | -- | The response status code. ghzrsResponseStatus :: Lens' GetHostedZoneResponse Int ghzrsResponseStatus = lens _ghzrsResponseStatus (\ s a -> s{_ghzrsResponseStatus = a});
gen/Network/AWS/Route53/GetHostedZoneCount.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves a count of all your hosted zones. Send a 'GET' request to the '\/2013-04-01\/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,8 +42,10 @@ 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 '\/2013-04-01\/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 = GetHostedZoneCount'@@ -76,8 +80,10 @@ instance ToQuery GetHostedZoneCount where toQuery = const mempty --- | A complex type that contains the response to a 'hostedzonecount' request.+-- | A complex type that contains the response to a @hostedzonecount@ request. --+--+-- -- /See:/ 'getHostedZoneCountResponse' smart constructor. data GetHostedZoneCountResponse = GetHostedZoneCountResponse' { _ghzcrsResponseStatus :: !Int@@ -88,9 +94,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ghzcrsResponseStatus'+-- * 'ghzcrsResponseStatus' - -- | The response status code. ----- * 'ghzcrsHostedZoneCount'+-- * 'ghzcrsHostedZoneCount' - The total number of public and private hosted zones associated with the current AWS account. getHostedZoneCountResponse :: Int -- ^ 'ghzcrsResponseStatus' -> Integer -- ^ 'ghzcrsHostedZoneCount'@@ -101,7 +107,7 @@ , _ghzcrsHostedZoneCount = pHostedZoneCount_ } --- | The response status code.+-- | -- | The response status code. ghzcrsResponseStatus :: Lens' GetHostedZoneCountResponse Int ghzcrsResponseStatus = lens _ghzcrsResponseStatus (\ s a -> s{_ghzcrsResponseStatus = a});
gen/Network/AWS/Route53/GetReusableDelegationSet.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the reusable delegation set. Send a 'GET' request to the '\/2013-04-01\/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@@ -42,20 +44,22 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | The input for a 'GetReusableDelegationSet' request.+-- | The input for a @GetReusableDelegationSet@ request. --+--+-- -- /See:/ 'getReusableDelegationSet' smart constructor. newtype GetReusableDelegationSet = GetReusableDelegationSet'- { _grdsId :: Text+ { _grdsId :: ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'GetReusableDelegationSet' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grdsId'+-- * 'grdsId' - The ID of the reusable delegation set for which you want to get a list of the name server. getReusableDelegationSet- :: Text -- ^ 'grdsId'+ :: ResourceId -- ^ 'grdsId' -> GetReusableDelegationSet getReusableDelegationSet pId_ = GetReusableDelegationSet'@@ -63,7 +67,7 @@ } -- | The ID of the reusable delegation set for which you want to get a list of the name server.-grdsId :: Lens' GetReusableDelegationSet Text+grdsId :: Lens' GetReusableDelegationSet ResourceId grdsId = lens _grdsId (\ s a -> s{_grdsId = a}); instance AWSRequest GetReusableDelegationSet where@@ -91,8 +95,10 @@ instance ToQuery GetReusableDelegationSet where toQuery = const mempty --- | A complex type that contains the response to the 'GetReusableDelegationSet' request.+-- | A complex type that contains the response to the @GetReusableDelegationSet@ request. --+--+-- -- /See:/ 'getReusableDelegationSetResponse' smart constructor. data GetReusableDelegationSetResponse = GetReusableDelegationSetResponse' { _grdsrsResponseStatus :: !Int@@ -103,9 +109,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'grdsrsResponseStatus'+-- * 'grdsrsResponseStatus' - -- | The response status code. ----- * 'grdsrsDelegationSet'+-- * 'grdsrsDelegationSet' - A complex type that contains information about the reusable delegation set. getReusableDelegationSetResponse :: Int -- ^ 'grdsrsResponseStatus' -> DelegationSet -- ^ 'grdsrsDelegationSet'@@ -116,7 +122,7 @@ , _grdsrsDelegationSet = pDelegationSet_ } --- | The response status code.+-- | -- | The response status code. grdsrsResponseStatus :: Lens' GetReusableDelegationSetResponse Int grdsrsResponseStatus = lens _grdsrsResponseStatus (\ s a -> s{_grdsrsResponseStatus = a});
gen/Network/AWS/Route53/GetTrafficPolicy.hs view
@@ -20,7 +20,9 @@ -- -- Gets information about a specific traffic policy version. ----- Send a 'GET' request to the '\/Amazon Route 53 API version\/trafficpolicy' resource.+--+-- Send a @GET@ request to the @//Amazon Route 53 API version/ /trafficpolicy@ resource.+-- module Network.AWS.Route53.GetTrafficPolicy ( -- * Creating a Request@@ -45,8 +47,10 @@ 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 \/2013-04-01\/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' { _gtpId :: !Text@@ -57,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtpId'+-- * 'gtpId' - The ID of the traffic policy that you want to get information about. ----- * 'gtpVersion'+-- * 'gtpVersion' - The version number of the traffic policy that you want to get information about. getTrafficPolicy :: Text -- ^ 'gtpId' -> Natural -- ^ 'gtpVersion'@@ -105,6 +109,8 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'getTrafficPolicyResponse' smart constructor. data GetTrafficPolicyResponse = GetTrafficPolicyResponse' { _gtprsResponseStatus :: !Int@@ -115,9 +121,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtprsResponseStatus'+-- * 'gtprsResponseStatus' - -- | The response status code. ----- * 'gtprsTrafficPolicy'+-- * 'gtprsTrafficPolicy' - A complex type that contains settings for the specified traffic policy. getTrafficPolicyResponse :: Int -- ^ 'gtprsResponseStatus' -> TrafficPolicy -- ^ 'gtprsTrafficPolicy'@@ -128,7 +134,7 @@ , _gtprsTrafficPolicy = pTrafficPolicy_ } --- | The response status code.+-- | -- | The response status code. gtprsResponseStatus :: Lens' GetTrafficPolicyResponse Int gtprsResponseStatus = lens _gtprsResponseStatus (\ s a -> s{_gtprsResponseStatus = a});
gen/Network/AWS/Route53/GetTrafficPolicyInstance.hs view
@@ -20,11 +20,9 @@ -- -- Gets information about a specified traffic policy instance. ----- 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.+-- Send a @GET@ request to the @//Amazon Route 53 API version/ /trafficpolicyinstance@ resource. ----- In the Amazon Route 53 console, traffic policy instances are known as policy records. module Network.AWS.Route53.GetTrafficPolicyInstance ( -- * Creating a Request@@ -50,8 +48,10 @@ -- | Gets information about a specified traffic policy instance. ----- To get information about a traffic policy instance, send a 'GET' request to the '\/Amazon 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' { _gtpiId :: Text@@ -61,7 +61,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtpiId'+-- * 'gtpiId' - The ID of the traffic policy instance that you want to get information about. getTrafficPolicyInstance :: Text -- ^ 'gtpiId' -> GetTrafficPolicyInstance@@ -102,6 +102,8 @@ -- | A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy. --+--+-- -- /See:/ 'getTrafficPolicyInstanceResponse' smart constructor. data GetTrafficPolicyInstanceResponse = GetTrafficPolicyInstanceResponse' { _gtpirsResponseStatus :: !Int@@ -112,9 +114,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtpirsResponseStatus'+-- * 'gtpirsResponseStatus' - -- | The response status code. ----- * 'gtpirsTrafficPolicyInstance'+-- * 'gtpirsTrafficPolicyInstance' - A complex type that contains settings for the traffic policy instance. getTrafficPolicyInstanceResponse :: Int -- ^ 'gtpirsResponseStatus' -> TrafficPolicyInstance -- ^ 'gtpirsTrafficPolicyInstance'@@ -125,7 +127,7 @@ , _gtpirsTrafficPolicyInstance = pTrafficPolicyInstance_ } --- | The response status code.+-- | -- | The response status code. gtpirsResponseStatus :: Lens' GetTrafficPolicyInstanceResponse Int gtpirsResponseStatus = lens _gtpirsResponseStatus (\ s a -> s{_gtpirsResponseStatus = a});
gen/Network/AWS/Route53/GetTrafficPolicyInstanceCount.hs view
@@ -20,7 +20,9 @@ -- -- 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 '\/2013-04-01\/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,8 +44,10 @@ 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 '\/2013-04-01\/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 = GetTrafficPolicyInstanceCount'@@ -84,6 +88,8 @@ -- | 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' { _gtpicrsResponseStatus :: !Int@@ -94,9 +100,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gtpicrsResponseStatus'+-- * 'gtpicrsResponseStatus' - -- | The response status code. ----- * 'gtpicrsTrafficPolicyInstanceCount'+-- * 'gtpicrsTrafficPolicyInstanceCount' - The number of traffic policy instances that are associated with the current AWS account. getTrafficPolicyInstanceCountResponse :: Int -- ^ 'gtpicrsResponseStatus' -> Int -- ^ 'gtpicrsTrafficPolicyInstanceCount'@@ -107,7 +113,7 @@ , _gtpicrsTrafficPolicyInstanceCount = pTrafficPolicyInstanceCount_ } --- | The response status code.+-- | -- | The response status code. gtpicrsResponseStatus :: Lens' GetTrafficPolicyInstanceCountResponse Int gtpicrsResponseStatus = lens _gtpicrsResponseStatus (\ s a -> s{_gtpicrsResponseStatus = a});
gen/Network/AWS/Route53/ListGeoLocations.hs view
@@ -18,9 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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. --+-- -- 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,10 +54,12 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | 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.+-- | 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)@@ -68,13 +72,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lglStartSubdivisionCode'+-- * 'lglStartSubdivisionCode' - 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. To list subdivisions of a country, you must include both @StartCountryCode@ and @StartSubdivisionCode@ . ----- * 'lglMaxItems'+-- * 'lglMaxItems' - (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@ . ----- * 'lglStartCountryCode'+-- * 'lglStartCountryCode' - 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. 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> . ----- * 'lglStartContinentCode'+-- * 'lglStartContinentCode' - 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. Include @StartContinentCode@ only if you want to list continents. Don't include @StartContinentCode@ when you're listing countries or countries with their subdivisions. listGeoLocations :: ListGeoLocations listGeoLocations =@@ -85,25 +89,19 @@ , _lglStartContinentCode = Nothing } --- | 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.------ To list subdivisions of a country, you must include both 'StartCountryCode' and 'StartSubdivisionCode'.+-- | 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. 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}); --- | (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'.+-- | (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 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.------ 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>.+-- | 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. 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 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.------ Include 'StartContinentCode' only if you want to list continents. Don\'t include 'StartContinentCode' when you\'re listing countries or countries with their subdivisions.+-- | 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. 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}); @@ -144,6 +142,8 @@ -- | A complex type containing the response information for the request. --+--+-- -- /See:/ 'listGeoLocationsResponse' smart constructor. data ListGeoLocationsResponse = ListGeoLocationsResponse' { _lglrsNextContinentCode :: !(Maybe Text)@@ -159,19 +159,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lglrsNextContinentCode'+-- * 'lglrsNextContinentCode' - 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. ----- * 'lglrsNextCountryCode'+-- * 'lglrsNextCountryCode' - 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. ----- * 'lglrsNextSubdivisionCode'+-- * 'lglrsNextSubdivisionCode' - 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. ----- * 'lglrsResponseStatus'+-- * 'lglrsResponseStatus' - -- | The response status code. ----- * 'lglrsGeoLocationDetailsList'+-- * 'lglrsGeoLocationDetailsList' - A complex type that contains one @GeoLocationDetails@ element for each location that Amazon Route 53 supports for geolocation. ----- * 'lglrsIsTruncated'+-- * 'lglrsIsTruncated' - 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. ----- * 'lglrsMaxItems'+-- * 'lglrsMaxItems' - The value that you specified for @MaxItems@ in the request. listGeoLocationsResponse :: Int -- ^ 'lglrsResponseStatus' -> Bool -- ^ 'lglrsIsTruncated'@@ -188,31 +188,31 @@ , _lglrsMaxItems = pMaxItems_ } --- | 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.+-- | 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 '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.+-- | 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 '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.+-- | 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}); --- | The response status code.+-- | -- | The response status code. lglrsResponseStatus :: Lens' ListGeoLocationsResponse Int lglrsResponseStatus = lens _lglrsResponseStatus (\ s a -> s{_lglrsResponseStatus = a}); --- | A complex type that contains one 'GeoLocationDetails' element for each location that Amazon Route 53 supports for geolocation.+-- | 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 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.+-- | 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 value that you specified for 'MaxItems' in the request.+-- | 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,10 +18,12 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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. ----- 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>. --+-- 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,10 +54,10 @@ 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 '\/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.+-- | 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. --+-- -- /See:/ 'listHealthChecks' smart constructor. data ListHealthChecks = ListHealthChecks' { _lhcMarker :: !(Maybe Text)@@ -66,9 +68,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhcMarker'+-- * 'lhcMarker' - 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' . ----- * 'lhcMaxItems'+-- * 'lhcMaxItems' - 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. listHealthChecks :: ListHealthChecks listHealthChecks =@@ -77,18 +79,11 @@ , _lhcMaxItems = Nothing } --- | 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>.+-- | 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}); --- | 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.---+-- | 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}); @@ -128,8 +123,10 @@ = mconcat ["marker" =: _lhcMarker, "maxitems" =: _lhcMaxItems] --- | A complex type that contains the response to a 'ListHealthChecks' request.+-- | A complex type that contains the response to a @ListHealthChecks@ request. --+--+-- -- /See:/ 'listHealthChecksResponse' smart constructor. data ListHealthChecksResponse = ListHealthChecksResponse' { _lhcrsNextMarker :: !(Maybe Text)@@ -144,17 +141,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhcrsNextMarker'+-- * 'lhcrsNextMarker' - 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. ----- * 'lhcrsResponseStatus'+-- * 'lhcrsResponseStatus' - -- | The response status code. ----- * 'lhcrsHealthChecks'+-- * 'lhcrsHealthChecks' - A complex type that contains one @HealthCheck@ element for each health check that is associated with the current AWS account. ----- * 'lhcrsMarker'+-- * 'lhcrsMarker' - For the second and subsequent calls to @ListHealthChecks@ , @Marker@ is the value that you specified for the marker parameter in the previous request. ----- * 'lhcrsIsTruncated'+-- * 'lhcrsIsTruncated' - 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@ ----- * 'lhcrsMaxItems'+-- * 'lhcrsMaxItems' - The value that you specified for the @maxitems@ parameter in the call to @ListHealthChecks@ that produced the current response. listHealthChecksResponse :: Int -- ^ 'lhcrsResponseStatus' -> Text -- ^ 'lhcrsMarker'@@ -171,29 +168,27 @@ , _lhcrsMaxItems = pMaxItems_ } --- | 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.+-- | 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}); --- | The response status code.+-- | -- | The response status code. lhcrsResponseStatus :: Lens' ListHealthChecksResponse Int lhcrsResponseStatus = lens _lhcrsResponseStatus (\ s a -> s{_lhcrsResponseStatus = a}); --- | A complex type that contains one 'HealthCheck' element for each health check that is 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; --- | For the second and subsequent calls to 'ListHealthChecks', 'Marker' is the value that you specified for the marker parameter in the previous request.+-- | 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 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'+-- | 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 value that you specified for the 'maxitems' parameter in the call to 'ListHealthChecks' that produced the current response.+-- | 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,21 +18,24 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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 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.+-- 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: ----- - If the value of 'IsTruncated' in the response is true, there are more hosted zones associated with the current AWS account.+-- * @MaxItems@ is the value specified for the @maxitems@ parameter in the request that produced the current response. ----- - '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 the value of @IsTruncated@ in the response is true, there are more hosted zones associated with the current AWS account. ----- If 'IsTruncated' is false, the 'NextMarker' element is omitted from the response.+-- * @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 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.+-- 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 (@@ -64,26 +67,29 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | 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.+-- | 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 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.+-- * @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 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.+-- 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.+-- * @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 @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.+-- * 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)+ { _lhzDelegationSetId :: !(Maybe ResourceId) , _lhzMarker :: !(Maybe Text) , _lhzMaxItems :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -92,11 +98,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhzDelegationSetId'+-- * 'lhzDelegationSetId' - If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set. ----- * 'lhzMarker'+-- * 'lhzMarker' - (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. ----- * 'lhzMaxItems'+-- * 'lhzMaxItems' - (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. listHostedZones :: ListHostedZones listHostedZones =@@ -106,17 +112,15 @@ , _lhzMaxItems = Nothing } --- | Undocumented member.-lhzDelegationSetId :: Lens' ListHostedZones (Maybe Text)+-- | If you're using reusable delegation sets and you want to list all of the hosted zones that are associated with a reusable delegation set, specify the ID of that reusable delegation set.+lhzDelegationSetId :: Lens' ListHostedZones (Maybe ResourceId) lhzDelegationSetId = lens _lhzDelegationSetId (\ s a -> s{_lhzDelegationSetId = a}); --- | (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.+-- | (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}); --- | (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.+-- | (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}); @@ -172,17 +176,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhzrsMarker'+-- * 'lhzrsMarker' - 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. ----- * 'lhzrsNextMarker'+-- * 'lhzrsNextMarker' - 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@ . ----- * 'lhzrsResponseStatus'+-- * 'lhzrsResponseStatus' - -- | The response status code. ----- * 'lhzrsHostedZones'+-- * 'lhzrsHostedZones' - A complex type that contains general information about the hosted zone. ----- * 'lhzrsIsTruncated'+-- * 'lhzrsIsTruncated' - 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. ----- * 'lhzrsMaxItems'+-- * 'lhzrsMaxItems' - The value that you specified for the @maxitems@ parameter in the call to @ListHostedZones@ that produced the current response. listHostedZonesResponse :: Int -- ^ 'lhzrsResponseStatus' -> Bool -- ^ 'lhzrsIsTruncated'@@ -198,17 +202,15 @@ , _lhzrsMaxItems = pMaxItems_ } --- | 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.+-- | 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}); --- | 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'.+-- | 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}); --- | The response status code.+-- | -- | The response status code. lhzrsResponseStatus :: Lens' ListHostedZonesResponse Int lhzrsResponseStatus = lens _lhzrsResponseStatus (\ s a -> s{_lhzrsResponseStatus = a}); @@ -216,11 +218,11 @@ 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 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.+-- | 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 value that you specified for the 'maxitems' parameter in the call to 'ListHostedZones' that produced the current response.+-- | 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,32 +18,39 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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. ----- 'ListHostedZonesByName' sorts hosted zones by name with the labels reversed. For example: ----- - 'com.example.www.'+-- @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:+-- 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.'+-- * @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:+-- 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 @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.+-- * 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 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.+-- 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.+-- * 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@@ -75,30 +82,33 @@ import Network.AWS.Route53.Types import Network.AWS.Route53.Types.Product --- | 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:+-- | 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: ----- 'com.example.www.' --+-- @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/.+-- 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:+-- 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 @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.+-- * 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 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.+-- 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.+-- * 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)+ { _lhzbnHostedZoneId :: !(Maybe ResourceId) , _lhzbnMaxItems :: !(Maybe Text) , _lhzbnDNSName :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -107,11 +117,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhzbnHostedZoneId'+-- * 'lhzbnHostedZoneId' - (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. ----- * 'lhzbnMaxItems'+-- * 'lhzbnMaxItems' - 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. ----- * 'lhzbnDNSName'+-- * 'lhzbnDNSName' - (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. listHostedZonesByName :: ListHostedZonesByName listHostedZonesByName =@@ -121,17 +131,15 @@ , _lhzbnDNSName = Nothing } --- | (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)+-- | (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 ResourceId) lhzbnHostedZoneId = lens _lhzbnHostedZoneId (\ s a -> s{_lhzbnHostedZoneId = a}); --- | 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.+-- | 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}); --- | (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.+-- | (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}); @@ -172,10 +180,12 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'listHostedZonesByNameResponse' smart constructor. data ListHostedZonesByNameResponse = ListHostedZonesByNameResponse'- { _lhzbnrsHostedZoneId :: !(Maybe Text)- , _lhzbnrsNextHostedZoneId :: !(Maybe Text)+ { _lhzbnrsHostedZoneId :: !(Maybe ResourceId)+ , _lhzbnrsNextHostedZoneId :: !(Maybe ResourceId) , _lhzbnrsDNSName :: !(Maybe Text) , _lhzbnrsNextDNSName :: !(Maybe Text) , _lhzbnrsResponseStatus :: !Int@@ -188,21 +198,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lhzbnrsHostedZoneId'+-- * 'lhzbnrsHostedZoneId' - The ID that Amazon Route 53 assigned to the hosted zone when you created it. ----- * 'lhzbnrsNextHostedZoneId'+-- * 'lhzbnrsNextHostedZoneId' - 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@ . ----- * 'lhzbnrsDNSName'+-- * 'lhzbnrsDNSName' - 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. ----- * 'lhzbnrsNextDNSName'+-- * 'lhzbnrsNextDNSName' - 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@ . ----- * 'lhzbnrsResponseStatus'+-- * 'lhzbnrsResponseStatus' - -- | The response status code. ----- * 'lhzbnrsHostedZones'+-- * 'lhzbnrsHostedZones' - A complex type that contains general information about the hosted zone. ----- * 'lhzbnrsIsTruncated'+-- * 'lhzbnrsIsTruncated' - 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. ----- * 'lhzbnrsMaxItems'+-- * 'lhzbnrsMaxItems' - The value that you specified for the @maxitems@ parameter in the call to @ListHostedZonesByName@ that produced the current response. listHostedZonesByNameResponse :: Int -- ^ 'lhzbnrsResponseStatus' -> Bool -- ^ 'lhzbnrsIsTruncated'@@ -221,26 +231,22 @@ } -- | The ID that Amazon Route 53 assigned to the hosted zone when you created it.-lhzbnrsHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe Text)+lhzbnrsHostedZoneId :: Lens' ListHostedZonesByNameResponse (Maybe ResourceId) lhzbnrsHostedZoneId = lens _lhzbnrsHostedZoneId (\ s a -> s{_lhzbnrsHostedZoneId = a}); --- | 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)+-- | 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 ResourceId) lhzbnrsNextHostedZoneId = lens _lhzbnrsNextHostedZoneId (\ s a -> s{_lhzbnrsNextHostedZoneId = a}); --- | 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.+-- | 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 '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'.+-- | 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}); --- | The response status code.+-- | -- | The response status code. lhzbnrsResponseStatus :: Lens' ListHostedZonesByNameResponse Int lhzbnrsResponseStatus = lens _lhzbnrsResponseStatus (\ s a -> s{_lhzbnrsResponseStatus = a}); @@ -248,11 +254,11 @@ lhzbnrsHostedZones :: Lens' ListHostedZonesByNameResponse [HostedZone] lhzbnrsHostedZones = lens _lhzbnrsHostedZones (\ s a -> s{_lhzbnrsHostedZones = a}) . _Coerce; --- | 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.+-- | 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 value that you specified for the 'maxitems' parameter in the call to 'ListHostedZonesByName' that produced the current response.+-- | 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,8 +18,34 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Undocumented operation.+-- Lists the resource record sets in a specified hosted zone. --+--+-- @ListResourceRecordSets@ returns up to 100 resource record sets at a time in ASCII order, beginning at a position specified by the @name@ and @type@ elements. The action sorts results first by DNS name with the labels reversed, for example:+--+-- @com.example.www.@+--+-- Note the trailing dot, which can change the sort order in some circumstances.+--+-- When multiple records have the same DNS name, the action sorts results by the record type.+--+-- You can use the name and type elements to adjust the beginning position of the list of resource record sets returned:+--+-- * If you do not specify Name or Type * The results begin with the first resource record set that the hosted zone contains.+--+-- * If you specify Name but not Type * The results begin with the first resource record set in the list whose name is greater than or equal to @Name@ .+--+-- * If you specify Type but not Name * Amazon Route 53 returns the @InvalidInput@ error.+--+-- * If you specify both Name and Type * The results begin with the first resource record set in the list whose name is greater than or equal to @Name@ , and whose type is greater than or equal to @Type@ .+--+--+--+-- This action returns the most current version of the records. This includes records that are @PENDING@ , and that are not yet available on all Amazon Route 53 DNS servers.+--+-- To ensure that you get an accurate listing of the resource record sets for a hosted zone at a point in time, do not submit a @ChangeResourceRecordSets@ request while you're paging through the results of a @ListResourceRecordSets@ request. If you do, some pages may display results without the latest changes while other pages display results with the latest changes.+--+-- -- This operation returns paginated results. module Network.AWS.Route53.ListResourceRecordSets (@@ -56,30 +82,32 @@ -- | The input for a ListResourceRecordSets request. --+--+-- -- /See:/ 'listResourceRecordSets' smart constructor. data ListResourceRecordSets = ListResourceRecordSets' { _lrrsStartRecordName :: !(Maybe Text) , _lrrsStartRecordType :: !(Maybe RecordType) , _lrrsStartRecordIdentifier :: !(Maybe Text) , _lrrsMaxItems :: !(Maybe Text)- , _lrrsHostedZoneId :: !Text+ , _lrrsHostedZoneId :: !ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'ListResourceRecordSets' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrrsStartRecordName'+-- * 'lrrsStartRecordName' - The first name in the lexicographic ordering of domain names that you want the @ListResourceRecordSets@ request to list. ----- * 'lrrsStartRecordType'+-- * 'lrrsStartRecordType' - The type of resource record set to begin the record listing from. Valid values for basic resource record sets: @A@ | @AAAA@ | @CNAME@ | @MX@ | @NAPTR@ | @NS@ | @PTR@ | @SOA@ | @SPF@ | @SRV@ | @TXT@ Values for weighted, latency, geo, and failover resource record sets: @A@ | @AAAA@ | @CNAME@ | @MX@ | @NAPTR@ | @PTR@ | @SPF@ | @SRV@ | @TXT@ Values for alias resource record sets: * __CloudFront distribution__ : A or AAAA * __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. ----- * 'lrrsStartRecordIdentifier'+-- * 'lrrsStartRecordIdentifier' - /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. ----- * 'lrrsMaxItems'+-- * 'lrrsMaxItems' - (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. ----- * 'lrrsHostedZoneId'+-- * 'lrrsHostedZoneId' - The ID of the hosted zone that contains the resource record sets that you want to get. listResourceRecordSets- :: Text -- ^ 'lrrsHostedZoneId'+ :: ResourceId -- ^ 'lrrsHostedZoneId' -> ListResourceRecordSets listResourceRecordSets pHostedZoneId_ = ListResourceRecordSets'@@ -90,40 +118,24 @@ , _lrrsHostedZoneId = pHostedZoneId_ } --- | The first name in the lexicographic ordering of domain names that you want the 'ListResourceRecordSets' request to list.+-- | The first name in the lexicographic ordering of domain names that you want the @ListResourceRecordSets@ request to list. lrrsStartRecordName :: Lens' ListResourceRecordSets (Maybe Text) lrrsStartRecordName = lens _lrrsStartRecordName (\ s a -> s{_lrrsStartRecordName = a}); --- | The type of resource record set to begin the record listing from.------ Valid values for basic resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NAPTR' | 'NS' | 'PTR' | 'SOA' | 'SPF' | 'SRV' | 'TXT'------ Values for weighted, latency, geo, and failover resource record sets: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'NAPTR' | 'PTR' | 'SPF' | 'SRV' | 'TXT'------ Values for alias resource record sets:------ - __CloudFront distribution__: A------ - __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.+-- | The type of resource record set to begin the record listing from. Valid values for basic resource record sets: @A@ | @AAAA@ | @CNAME@ | @MX@ | @NAPTR@ | @NS@ | @PTR@ | @SOA@ | @SPF@ | @SRV@ | @TXT@ Values for weighted, latency, geo, and failover resource record sets: @A@ | @AAAA@ | @CNAME@ | @MX@ | @NAPTR@ | @PTR@ | @SPF@ | @SRV@ | @TXT@ Values for alias resource record sets: * __CloudFront distribution__ : A or AAAA * __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 '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}); --- | (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.+-- | (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}); -- | The ID of the hosted zone that contains the resource record sets that you want to get.-lrrsHostedZoneId :: Lens' ListResourceRecordSets Text+lrrsHostedZoneId :: Lens' ListResourceRecordSets ResourceId lrrsHostedZoneId = lens _lrrsHostedZoneId (\ s a -> s{_lrrsHostedZoneId = a}); instance AWSPager ListResourceRecordSets where@@ -181,6 +193,8 @@ -- | A complex type that contains list information for the resource record set. --+--+-- -- /See:/ 'listResourceRecordSetsResponse' smart constructor. data ListResourceRecordSetsResponse = ListResourceRecordSetsResponse' { _lrrsrsNextRecordType :: !(Maybe RecordType)@@ -196,19 +210,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrrsrsNextRecordType'+-- * 'lrrsrsNextRecordType' - If the results were truncated, the type of the next record in the list. This element is present only if @IsTruncated@ is true. ----- * 'lrrsrsNextRecordName'+-- * 'lrrsrsNextRecordName' - If the results were truncated, the name of the next record in the list. This element is present only if @IsTruncated@ is true. ----- * 'lrrsrsNextRecordIdentifier'+-- * 'lrrsrsNextRecordIdentifier' - /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. ----- * 'lrrsrsResponseStatus'+-- * 'lrrsrsResponseStatus' - -- | The response status code. ----- * 'lrrsrsResourceRecordSets'+-- * 'lrrsrsResourceRecordSets' - Information about multiple resource record sets. ----- * 'lrrsrsIsTruncated'+-- * 'lrrsrsIsTruncated' - 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. ----- * 'lrrsrsMaxItems'+-- * 'lrrsrsMaxItems' - The maximum number of records you requested. listResourceRecordSetsResponse :: Int -- ^ 'lrrsrsResponseStatus' -> Bool -- ^ 'lrrsrsIsTruncated'@@ -225,23 +239,19 @@ , _lrrsrsMaxItems = pMaxItems_ } --- | If the results were truncated, the type of the next record in the list.------ This element is present only if '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 '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, 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.+-- | /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}); --- | The response status code.+-- | -- | The response status code. lrrsrsResponseStatus :: Lens' ListResourceRecordSetsResponse Int lrrsrsResponseStatus = lens _lrrsrsResponseStatus (\ s a -> s{_lrrsrsResponseStatus = a}); @@ -249,7 +259,7 @@ lrrsrsResourceRecordSets :: Lens' ListResourceRecordSetsResponse [ResourceRecordSet] lrrsrsResourceRecordSets = lens _lrrsrsResourceRecordSets (\ s a -> s{_lrrsrsResourceRecordSets = a}) . _Coerce; --- | 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.+-- | 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});
gen/Network/AWS/Route53/ListReusableDelegationSets.hs view
@@ -18,9 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- 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.+-- 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 ( -- * Creating a Request@@ -49,10 +49,10 @@ 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 '\/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.+-- | 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. --+-- -- /See:/ 'listReusableDelegationSets' smart constructor. data ListReusableDelegationSets = ListReusableDelegationSets' { _lrdsMarker :: !(Maybe Text)@@ -63,9 +63,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrdsMarker'+-- * 'lrdsMarker' - 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. ----- * 'lrdsMaxItems'+-- * 'lrdsMaxItems' - The value that you specified for the @maxitems@ parameter in the request that produced the current response. listReusableDelegationSets :: ListReusableDelegationSets listReusableDelegationSets =@@ -74,11 +74,11 @@ , _lrdsMaxItems = Nothing } --- | 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.+-- | 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}); --- | The value that you specified for the 'maxitems' parameter in the request that produced the current response.+-- | 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}); @@ -115,6 +115,8 @@ -- | 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' { _lrdsrsNextMarker :: !(Maybe Text)@@ -129,17 +131,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrdsrsNextMarker'+-- * 'lrdsrsNextMarker' - 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. ----- * 'lrdsrsResponseStatus'+-- * 'lrdsrsResponseStatus' - -- | The response status code. ----- * 'lrdsrsDelegationSets'+-- * 'lrdsrsDelegationSets' - A complex type that contains one @DelegationSet@ element for each reusable delegation set that was created by the current AWS account. ----- * 'lrdsrsMarker'+-- * 'lrdsrsMarker' - 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. ----- * 'lrdsrsIsTruncated'+-- * 'lrdsrsIsTruncated' - 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. ----- * 'lrdsrsMaxItems'+-- * 'lrdsrsMaxItems' - The value that you specified for the @maxitems@ parameter in the call to @ListReusableDelegationSets@ that produced the current response. listReusableDelegationSetsResponse :: Int -- ^ 'lrdsrsResponseStatus' -> Text -- ^ 'lrdsrsMarker'@@ -156,27 +158,27 @@ , _lrdsrsMaxItems = pMaxItems_ } --- | 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.+-- | 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}); --- | The response status code.+-- | -- | The response status code. lrdsrsResponseStatus :: Lens' ListReusableDelegationSetsResponse Int lrdsrsResponseStatus = lens _lrdsrsResponseStatus (\ s a -> s{_lrdsrsResponseStatus = a}); --- | A complex type that contains one 'DelegationSet' element for each reusable delegation set that was created by 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; --- | 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.+-- | 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 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.+-- | 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 value that you specified for the 'maxitems' parameter in the call to 'ListReusableDelegationSets' that produced the current response.+-- | 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
@@ -18,7 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Undocumented operation.+-- Lists tags for one health check or hosted zone.+--+--+-- For information about using tags for cost allocation, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html Using Cost Allocation Tags> in the /AWS Billing and Cost Management User Guide/ .+-- module Network.AWS.Route53.ListTagsForResource ( -- * Creating a Request@@ -45,6 +49,8 @@ -- | A complex type containing information about a request for a list of the tags that are associated with an individual resource. --+--+-- -- /See:/ 'listTagsForResource' smart constructor. data ListTagsForResource = ListTagsForResource' { _ltfrResourceType :: !TagResourceType@@ -55,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltfrResourceType'+-- * 'ltfrResourceType' - The type of the resource. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . ----- * 'ltfrResourceId'+-- * 'ltfrResourceId' - The ID of the resource for which you want to retrieve tags. listTagsForResource :: TagResourceType -- ^ 'ltfrResourceType' -> Text -- ^ 'ltfrResourceId'@@ -68,12 +74,7 @@ , _ltfrResourceId = pResourceId_ } --- | The type of the resource.------ - The resource type for health checks is 'healthcheck'.------ - The resource type for hosted zones is 'hostedzone'.---+-- | The type of the resource. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . ltfrResourceType :: Lens' ListTagsForResource TagResourceType ltfrResourceType = lens _ltfrResourceType (\ s a -> s{_ltfrResourceType = a}); @@ -109,6 +110,8 @@ -- | 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' { _ltfrrsResponseStatus :: !Int@@ -119,9 +122,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltfrrsResponseStatus'+-- * 'ltfrrsResponseStatus' - -- | The response status code. ----- * 'ltfrrsResourceTagSet'+-- * 'ltfrrsResourceTagSet' - A @ResourceTagSet@ containing tags associated with the specified resource. listTagsForResourceResponse :: Int -- ^ 'ltfrrsResponseStatus' -> ResourceTagSet -- ^ 'ltfrrsResourceTagSet'@@ -132,11 +135,11 @@ , _ltfrrsResourceTagSet = pResourceTagSet_ } --- | The response status code.+-- | -- | The response status code. ltfrrsResponseStatus :: Lens' ListTagsForResourceResponse Int ltfrrsResponseStatus = lens _ltfrrsResponseStatus (\ s a -> s{_ltfrrsResponseStatus = a}); --- | A 'ResourceTagSet' containing tags associated with the specified resource.+-- | A @ResourceTagSet@ containing tags associated with the specified resource. ltfrrsResourceTagSet :: Lens' ListTagsForResourceResponse ResourceTagSet ltfrrsResourceTagSet = lens _ltfrrsResourceTagSet (\ s a -> s{_ltfrrsResourceTagSet = a});
gen/Network/AWS/Route53/ListTagsForResources.hs view
@@ -18,7 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Undocumented operation.+-- Lists tags for up to 10 health checks or hosted zones.+--+--+-- For information about using tags for cost allocation, see <http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html Using Cost Allocation Tags> in the /AWS Billing and Cost Management User Guide/ .+-- module Network.AWS.Route53.ListTagsForResources ( -- * Creating a Request@@ -45,6 +49,8 @@ -- | 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' { _lResourceType :: !TagResourceType@@ -55,9 +61,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lResourceType'+-- * 'lResourceType' - The type of the resources. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . ----- * 'lResourceIds'+-- * 'lResourceIds' - A complex type that contains the ResourceId element for each resource for which you want to get a list of tags. listTagsForResources :: TagResourceType -- ^ 'lResourceType' -> NonEmpty Text -- ^ 'lResourceIds'@@ -68,12 +74,7 @@ , _lResourceIds = _List1 # pResourceIds_ } --- | The type of the resources.------ - The resource type for health checks is 'healthcheck'.------ - The resource type for hosted zones is 'hostedzone'.---+-- | The type of the resources. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . lResourceType :: Lens' ListTagsForResources TagResourceType lResourceType = lens _lResourceType (\ s a -> s{_lResourceType = a}); @@ -120,6 +121,8 @@ -- | A complex type containing tags for the specified resources. --+--+-- -- /See:/ 'listTagsForResourcesResponse' smart constructor. data ListTagsForResourcesResponse = ListTagsForResourcesResponse' { _lrsResponseStatus :: !Int@@ -130,9 +133,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'lrsResponseStatus'+-- * 'lrsResponseStatus' - -- | The response status code. ----- * 'lrsResourceTagSets'+-- * 'lrsResourceTagSets' - A list of @ResourceTagSet@ s containing tags associated with the specified resources. listTagsForResourcesResponse :: Int -- ^ 'lrsResponseStatus' -> ListTagsForResourcesResponse@@ -142,11 +145,11 @@ , _lrsResourceTagSets = mempty } --- | The response status code.+-- | -- | The response status code. lrsResponseStatus :: Lens' ListTagsForResourcesResponse Int lrsResponseStatus = lens _lrsResponseStatus (\ s a -> s{_lrsResponseStatus = a}); --- | A list of 'ResourceTagSet's containing tags associated with the specified resources.+-- | A list of @ResourceTagSet@ s containing tags associated with the specified resources. lrsResourceTagSets :: Lens' ListTagsForResourcesResponse [ResourceTagSet] lrsResourceTagSets = lens _lrsResourceTagSets (\ s a -> s{_lrsResourceTagSets = a}) . _Coerce;
gen/Network/AWS/Route53/ListTrafficPolicies.hs view
@@ -18,28 +18,31 @@ -- 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. Send a 'GET' request to the '\/Amazon 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:+-- 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. ----- - __IsTruncated__+-- The response includes three values that help you navigate from one group of @maxitems@ traffic policies to the next: ----- If the value of 'IsTruncated' in the response is 'true', there are more traffic policies associated with the current AWS account.+-- * __IsTruncated__ ----- If 'IsTruncated' is 'false', this response includes the last traffic policy that is associated with the current account.+-- If the value of @IsTruncated@ in the response is @true@ , there are more traffic policies associated with the current AWS account. ----- - __TrafficPolicyIdMarker__+-- If @IsTruncated@ is @false@ , this response includes the last traffic policy that is associated with the current account. ----- 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.+-- * __TrafficPolicyIdMarker__ ----- If 'IsTruncated' is 'false', the 'TrafficPolicyIdMarker' element is omitted from the response.+-- 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. ----- - __MaxItems__+-- If @IsTruncated@ is @false@ , the @TrafficPolicyIdMarker@ element is omitted from the response. ----- The value that you specified for the 'MaxItems' parameter in the request that produced the current 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@@ -69,6 +72,8 @@ -- | A complex type that contains the information about the request to list the traffic policies that are associated with the current AWS account. --+--+-- -- /See:/ 'listTrafficPolicies' smart constructor. data ListTrafficPolicies = ListTrafficPolicies' { _ltpTrafficPolicyIdMarker :: !(Maybe Text)@@ -79,9 +84,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpTrafficPolicyIdMarker'+-- * 'ltpTrafficPolicyIdMarker' - (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. Policies are listed in the order in which they were created. ----- * 'ltpMaxItems'+-- * 'ltpMaxItems' - (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. listTrafficPolicies :: ListTrafficPolicies listTrafficPolicies =@@ -90,15 +95,11 @@ , _ltpMaxItems = Nothing } --- | (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.------ Policies are listed in the order in which they were created.+-- | (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. Policies are listed in the order in which they were created. ltpTrafficPolicyIdMarker :: Lens' ListTrafficPolicies (Maybe Text) ltpTrafficPolicyIdMarker = lens _ltpTrafficPolicyIdMarker (\ s a -> s{_ltpTrafficPolicyIdMarker = a}); --- | (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.+-- | (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}); @@ -135,6 +136,8 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'listTrafficPoliciesResponse' smart constructor. data ListTrafficPoliciesResponse = ListTrafficPoliciesResponse' { _ltprsResponseStatus :: !Int@@ -148,15 +151,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltprsResponseStatus'+-- * 'ltprsResponseStatus' - -- | The response status code. ----- * 'ltprsTrafficPolicySummaries'+-- * 'ltprsTrafficPolicySummaries' - A list that contains one @TrafficPolicySummary@ element for each traffic policy that was created by the current AWS account. ----- * 'ltprsIsTruncated'+-- * 'ltprsIsTruncated' - 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 @ListTrafficPolicies@ again and specifying the value of the @TrafficPolicyIdMarker@ element in the @TrafficPolicyIdMarker@ request parameter. Valid Values: @true@ | @false@ ----- * 'ltprsTrafficPolicyIdMarker'+-- * 'ltprsTrafficPolicyIdMarker' - If the value of @IsTruncated@ is @true@ , @TrafficPolicyIdMarker@ is the ID of the first traffic policy in the next group of @MaxItems@ traffic policies. ----- * 'ltprsMaxItems'+-- * 'ltprsMaxItems' - The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicies@ that produced the current response. listTrafficPoliciesResponse :: Int -- ^ 'ltprsResponseStatus' -> Bool -- ^ 'ltprsIsTruncated'@@ -172,25 +175,23 @@ , _ltprsMaxItems = pMaxItems_ } --- | The response status code.+-- | -- | The response status code. ltprsResponseStatus :: Lens' ListTrafficPoliciesResponse Int ltprsResponseStatus = lens _ltprsResponseStatus (\ s a -> s{_ltprsResponseStatus = a}); --- | A list that contains one 'TrafficPolicySummary' element for each traffic policy that was created by the current AWS account.+-- | A list that contains one @TrafficPolicySummary@ element for each traffic policy that was created by the current AWS account. ltprsTrafficPolicySummaries :: Lens' ListTrafficPoliciesResponse [TrafficPolicySummary] ltprsTrafficPolicySummaries = lens _ltprsTrafficPolicySummaries (\ s a -> s{_ltprsTrafficPolicySummaries = 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 'ListTrafficPolicies' again and specifying the value of the 'TrafficPolicyIdMarker' element in the 'TrafficPolicyIdMarker' request 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 @ListTrafficPolicies@ again and specifying the value of the @TrafficPolicyIdMarker@ element in the @TrafficPolicyIdMarker@ request parameter. Valid Values: @true@ | @false@ ltprsIsTruncated :: Lens' ListTrafficPoliciesResponse Bool ltprsIsTruncated = lens _ltprsIsTruncated (\ s a -> s{_ltprsIsTruncated = a}); --- | If the value of 'IsTruncated' is 'true', 'TrafficPolicyIdMarker' is the ID of the first traffic policy in the next group of 'MaxItems' traffic policies.+-- | If the value of @IsTruncated@ is @true@ , @TrafficPolicyIdMarker@ is the ID of the first traffic policy in the next group of @MaxItems@ traffic policies. ltprsTrafficPolicyIdMarker :: Lens' ListTrafficPoliciesResponse Text ltprsTrafficPolicyIdMarker = lens _ltprsTrafficPolicyIdMarker (\ s a -> s{_ltprsTrafficPolicyIdMarker = a}); --- | The value that you specified for the 'MaxItems' parameter in the call to 'ListTrafficPolicies' that produced the current response.+-- | The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicies@ that produced the current response. ltprsMaxItems :: Lens' ListTrafficPoliciesResponse Text ltprsMaxItems = lens _ltprsMaxItems (\ s a -> s{_ltprsMaxItems = a});
gen/Network/AWS/Route53/ListTrafficPolicyInstances.hs view
@@ -20,30 +20,31 @@ -- -- 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. ----- Send a 'GET' request to the '\/Amazon 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.+-- 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:+-- The response includes five values that help you navigate from one group of @MaxItems@ traffic policy instances to the next: ----- - __IsTruncated__+-- * __IsTruncated__ ----- If the value of 'IsTruncated' in the response is 'true', there are more traffic policy instances associated with the current AWS account.+-- 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.+-- If @IsTruncated@ is @false@ , this response includes the last traffic policy instance that is associated with the current account. ----- - __MaxItems__+-- * __MaxItems__ ----- The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- The value that you specified for the @MaxItems@ parameter in the request that produced the current response. ----- - __HostedZoneIdMarker__, __TrafficPolicyInstanceNameMarker__, and __TrafficPolicyInstanceTypeMarker__+-- * __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 @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.+-- If @IsTruncated@ is @false@ , all three elements are omitted from the response. --+--+-- module Network.AWS.Route53.ListTrafficPolicyInstances ( -- * Creating a Request@@ -77,11 +78,13 @@ -- | A complex type that contains the information about the request to list your traffic policy instances. --+--+-- -- /See:/ 'listTrafficPolicyInstances' smart constructor. data ListTrafficPolicyInstances = ListTrafficPolicyInstances' { _ltpiTrafficPolicyInstanceTypeMarker :: !(Maybe RecordType) , _ltpiMaxItems :: !(Maybe Text)- , _ltpiHostedZoneIdMarker :: !(Maybe Text)+ , _ltpiHostedZoneIdMarker :: !(Maybe ResourceId) , _ltpiTrafficPolicyInstanceNameMarker :: !(Maybe Text) } deriving (Eq,Read,Show,Data,Typeable,Generic) @@ -89,13 +92,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpiTrafficPolicyInstanceTypeMarker'+-- * 'ltpiTrafficPolicyInstanceTypeMarker' - For the first request to @ListTrafficPolicyInstances@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get. ----- * 'ltpiMaxItems'+-- * 'ltpiMaxItems' - The maximum number of traffic policy instances to be included in the response body for this request. If you have more than @MaxItems@ traffic policy instances, the value of the @IsTruncated@ element in the response is @true@ , and the values of @HostedZoneIdMarker@ , @TrafficPolicyInstanceNameMarker@ , and @TrafficPolicyInstanceTypeMarker@ represent the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpiHostedZoneIdMarker'+-- * 'ltpiHostedZoneIdMarker' - For the first request to @ListTrafficPolicyInstances@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , you have more traffic policy instances. To get the next group of @MaxItems@ traffic policy instances, submit another @ListTrafficPolicyInstances@ request. For the value of @HostedZoneIdMarker@ , specify the value of @HostedZoneIdMarker@ from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get. ----- * 'ltpiTrafficPolicyInstanceNameMarker'+-- * 'ltpiTrafficPolicyInstanceNameMarker' - For the first request to @ListTrafficPolicyInstances@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get. listTrafficPolicyInstances :: ListTrafficPolicyInstances listTrafficPolicyInstances =@@ -106,31 +109,19 @@ , _ltpiTrafficPolicyInstanceNameMarker = Nothing } --- | For the first request to 'ListTrafficPolicyInstances', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'TrafficPolicyInstanceTypeMarker' is the DNS type of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get.+-- | For the first request to @ListTrafficPolicyInstances@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get. ltpiTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstances (Maybe RecordType) ltpiTrafficPolicyInstanceTypeMarker = lens _ltpiTrafficPolicyInstanceTypeMarker (\ s a -> s{_ltpiTrafficPolicyInstanceTypeMarker = a}); --- | The maximum number of traffic policy instances to be included in the response body for this request. If you have more than 'MaxItems' traffic policy instances, the value of the 'IsTruncated' element in the response is 'true', and the values of 'HostedZoneIdMarker', 'TrafficPolicyInstanceNameMarker', and 'TrafficPolicyInstanceTypeMarker' represent the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | The maximum number of traffic policy instances to be included in the response body for this request. If you have more than @MaxItems@ traffic policy instances, the value of the @IsTruncated@ element in the response is @true@ , and the values of @HostedZoneIdMarker@ , @TrafficPolicyInstanceNameMarker@ , and @TrafficPolicyInstanceTypeMarker@ represent the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpiMaxItems :: Lens' ListTrafficPolicyInstances (Maybe Text) ltpiMaxItems = lens _ltpiMaxItems (\ s a -> s{_ltpiMaxItems = a}); --- | For the first request to 'ListTrafficPolicyInstances', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', you have more traffic policy instances. To get the next group of 'MaxItems' traffic policy instances, submit another 'ListTrafficPolicyInstances' request. For the value of 'HostedZoneIdMarker', specify the value of 'HostedZoneIdMarker' from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get.-ltpiHostedZoneIdMarker :: Lens' ListTrafficPolicyInstances (Maybe Text)+-- | For the first request to @ListTrafficPolicyInstances@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , you have more traffic policy instances. To get the next group of @MaxItems@ traffic policy instances, submit another @ListTrafficPolicyInstances@ request. For the value of @HostedZoneIdMarker@ , specify the value of @HostedZoneIdMarker@ from the previous response, which is the hosted zone ID of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get.+ltpiHostedZoneIdMarker :: Lens' ListTrafficPolicyInstances (Maybe ResourceId) ltpiHostedZoneIdMarker = lens _ltpiHostedZoneIdMarker (\ s a -> s{_ltpiHostedZoneIdMarker = a}); --- | For the first request to 'ListTrafficPolicyInstances', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'TrafficPolicyInstanceNameMarker' is the name of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get.+-- | For the first request to @ListTrafficPolicyInstances@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get. ltpiTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstances (Maybe Text) ltpiTrafficPolicyInstanceNameMarker = lens _ltpiTrafficPolicyInstanceNameMarker (\ s a -> s{_ltpiTrafficPolicyInstanceNameMarker = a}); @@ -174,10 +165,12 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'listTrafficPolicyInstancesResponse' smart constructor. data ListTrafficPolicyInstancesResponse = ListTrafficPolicyInstancesResponse' { _ltpirsTrafficPolicyInstanceTypeMarker :: !(Maybe RecordType)- , _ltpirsHostedZoneIdMarker :: !(Maybe Text)+ , _ltpirsHostedZoneIdMarker :: !(Maybe ResourceId) , _ltpirsTrafficPolicyInstanceNameMarker :: !(Maybe Text) , _ltpirsResponseStatus :: !Int , _ltpirsTrafficPolicyInstances :: ![TrafficPolicyInstance]@@ -189,19 +182,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpirsTrafficPolicyInstanceTypeMarker'+-- * 'ltpirsTrafficPolicyInstanceTypeMarker' - If @IsTruncated@ is @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpirsHostedZoneIdMarker'+-- * 'ltpirsHostedZoneIdMarker' - If @IsTruncated@ is @true@ , @HostedZoneIdMarker@ is the ID of the hosted zone of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpirsTrafficPolicyInstanceNameMarker'+-- * 'ltpirsTrafficPolicyInstanceNameMarker' - If @IsTruncated@ is @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpirsResponseStatus'+-- * 'ltpirsResponseStatus' - -- | The response status code. ----- * 'ltpirsTrafficPolicyInstances'+-- * 'ltpirsTrafficPolicyInstances' - A list that contains one @TrafficPolicyInstance@ element for each traffic policy instance that matches the elements in the request. ----- * 'ltpirsIsTruncated'+-- * 'ltpirsIsTruncated' - 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. ----- * 'ltpirsMaxItems'+-- * 'ltpirsMaxItems' - The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicyInstances@ that produced the current response. listTrafficPolicyInstancesResponse :: Int -- ^ 'ltpirsResponseStatus' -> Bool -- ^ 'ltpirsIsTruncated'@@ -218,31 +211,31 @@ , _ltpirsMaxItems = pMaxItems_ } --- | If 'IsTruncated' is 'true', 'TrafficPolicyInstanceTypeMarker' is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | If @IsTruncated@ is @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpirsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe RecordType) ltpirsTrafficPolicyInstanceTypeMarker = lens _ltpirsTrafficPolicyInstanceTypeMarker (\ s a -> s{_ltpirsTrafficPolicyInstanceTypeMarker = a}); --- | If 'IsTruncated' is 'true', 'HostedZoneIdMarker' is the ID of the hosted zone of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.-ltpirsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe Text)+-- | If @IsTruncated@ is @true@ , @HostedZoneIdMarker@ is the ID of the hosted zone of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances.+ltpirsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe ResourceId) ltpirsHostedZoneIdMarker = lens _ltpirsHostedZoneIdMarker (\ s a -> s{_ltpirsHostedZoneIdMarker = a}); --- | If 'IsTruncated' is 'true', 'TrafficPolicyInstanceNameMarker' is the name of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | If @IsTruncated@ is @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpirsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesResponse (Maybe Text) ltpirsTrafficPolicyInstanceNameMarker = lens _ltpirsTrafficPolicyInstanceNameMarker (\ s a -> s{_ltpirsTrafficPolicyInstanceNameMarker = a}); --- | The response status code.+-- | -- | The response status code. ltpirsResponseStatus :: Lens' ListTrafficPolicyInstancesResponse Int ltpirsResponseStatus = lens _ltpirsResponseStatus (\ s a -> s{_ltpirsResponseStatus = a}); --- | A list that contains one 'TrafficPolicyInstance' element for each traffic policy instance that matches the elements in the request.+-- | A list that contains one @TrafficPolicyInstance@ element for each traffic policy instance that matches the elements in the request. ltpirsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesResponse [TrafficPolicyInstance] 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.+-- | 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. ltpirsIsTruncated :: Lens' ListTrafficPolicyInstancesResponse Bool ltpirsIsTruncated = lens _ltpirsIsTruncated (\ s a -> s{_ltpirsIsTruncated = a}); --- | The value that you specified for the 'MaxItems' parameter in the call to 'ListTrafficPolicyInstances' that produced the current response.+-- | The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicyInstances@ that produced the current response. ltpirsMaxItems :: Lens' ListTrafficPolicyInstancesResponse Text ltpirsMaxItems = lens _ltpirsMaxItems (\ s a -> s{_ltpirsMaxItems = a});
gen/Network/AWS/Route53/ListTrafficPolicyInstancesByHostedZone.hs view
@@ -20,30 +20,31 @@ -- -- 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. ----- Send a 'GET' request to the '\/Amazon 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.+-- 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:+-- The response includes four values that help you navigate from one group of @MaxItems@ traffic policy instances to the next: ----- - __IsTruncated__+-- * __IsTruncated__ ----- If the value of ''IsTruncated in the response is 'true', there are more traffic policy instances associated with the current AWS account.+-- 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.+-- If @IsTruncated@ is @false@ , this response includes the last traffic policy instance that is associated with the current account. ----- - __MaxItems__+-- * __MaxItems__ ----- The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- The value that you specified for the @MaxItems@ parameter in the request that produced the current response. ----- - __TrafficPolicyInstanceNameMarker__ and __TrafficPolicyInstanceTypeMarker__+-- * __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 @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.+-- If @IsTruncated@ is @false@ , all three elements are omitted from the response. --+--+-- module Network.AWS.Route53.ListTrafficPolicyInstancesByHostedZone ( -- * Creating a Request@@ -76,27 +77,29 @@ -- | A request for the traffic policy instances that you created in a specified hosted zone. --+--+-- -- /See:/ 'listTrafficPolicyInstancesByHostedZone' smart constructor. data ListTrafficPolicyInstancesByHostedZone = ListTrafficPolicyInstancesByHostedZone' { _ltpibhzTrafficPolicyInstanceTypeMarker :: !(Maybe RecordType) , _ltpibhzMaxItems :: !(Maybe Text) , _ltpibhzTrafficPolicyInstanceNameMarker :: !(Maybe Text)- , _ltpibhzHostedZoneId :: !Text+ , _ltpibhzHostedZoneId :: !ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'ListTrafficPolicyInstancesByHostedZone' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpibhzTrafficPolicyInstanceTypeMarker'+-- * 'ltpibhzTrafficPolicyInstanceTypeMarker' - For the first request to @ListTrafficPolicyInstancesByHostedZone@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. ----- * 'ltpibhzMaxItems'+-- * 'ltpibhzMaxItems' - The maximum number of traffic policy instances to be included in the response body for this request. If you have more than @MaxItems@ traffic policy instances, the value of the @IsTruncated@ element in the response is @true@ , and the values of @HostedZoneIdMarker@ , @TrafficPolicyInstanceNameMarker@ , and @TrafficPolicyInstanceTypeMarker@ represent the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibhzTrafficPolicyInstanceNameMarker'+-- * 'ltpibhzTrafficPolicyInstanceNameMarker' - For the first request to @ListTrafficPolicyInstancesByHostedZone@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. If the value of @IsTruncated@ in the previous response was @false@ , omit this value. ----- * 'ltpibhzHostedZoneId'+-- * 'ltpibhzHostedZoneId' - The ID of the hosted zone for which you want to list traffic policy instances. listTrafficPolicyInstancesByHostedZone- :: Text -- ^ 'ltpibhzHostedZoneId'+ :: ResourceId -- ^ 'ltpibhzHostedZoneId' -> ListTrafficPolicyInstancesByHostedZone listTrafficPolicyInstancesByHostedZone pHostedZoneId_ = ListTrafficPolicyInstancesByHostedZone'@@ -106,30 +109,20 @@ , _ltpibhzHostedZoneId = pHostedZoneId_ } --- | For the first request to 'ListTrafficPolicyInstancesByHostedZone', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'TrafficPolicyInstanceTypeMarker' is the DNS type of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get for this hosted zone.+-- | For the first request to @ListTrafficPolicyInstancesByHostedZone@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. ltpibhzTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe RecordType) ltpibhzTrafficPolicyInstanceTypeMarker = lens _ltpibhzTrafficPolicyInstanceTypeMarker (\ s a -> s{_ltpibhzTrafficPolicyInstanceTypeMarker = a}); --- | The maximum number of traffic policy instances to be included in the response body for this request. If you have more than 'MaxItems' traffic policy instances, the value of the 'IsTruncated' element in the response is 'true', and the values of 'HostedZoneIdMarker', 'TrafficPolicyInstanceNameMarker', and 'TrafficPolicyInstanceTypeMarker' represent the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | The maximum number of traffic policy instances to be included in the response body for this request. If you have more than @MaxItems@ traffic policy instances, the value of the @IsTruncated@ element in the response is @true@ , and the values of @HostedZoneIdMarker@ , @TrafficPolicyInstanceNameMarker@ , and @TrafficPolicyInstanceTypeMarker@ represent the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpibhzMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text) ltpibhzMaxItems = lens _ltpibhzMaxItems (\ s a -> s{_ltpibhzMaxItems = a}); --- | For the first request to 'ListTrafficPolicyInstancesByHostedZone', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'TrafficPolicyInstanceNameMarker' is the name of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get for this hosted zone.------ If the value of 'IsTruncated' in the previous response was 'false', omit this value.+-- | For the first request to @ListTrafficPolicyInstancesByHostedZone@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. If the value of @IsTruncated@ in the previous response was @false@ , omit this value. ltpibhzTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZone (Maybe Text) ltpibhzTrafficPolicyInstanceNameMarker = lens _ltpibhzTrafficPolicyInstanceNameMarker (\ s a -> s{_ltpibhzTrafficPolicyInstanceNameMarker = a}); -- | The ID of the hosted zone for which you want to list traffic policy instances.-ltpibhzHostedZoneId :: Lens' ListTrafficPolicyInstancesByHostedZone Text+ltpibhzHostedZoneId :: Lens' ListTrafficPolicyInstancesByHostedZone ResourceId ltpibhzHostedZoneId = lens _ltpibhzHostedZoneId (\ s a -> s{_ltpibhzHostedZoneId = a}); instance AWSRequest@@ -179,6 +172,8 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'listTrafficPolicyInstancesByHostedZoneResponse' smart constructor. data ListTrafficPolicyInstancesByHostedZoneResponse = ListTrafficPolicyInstancesByHostedZoneResponse' { _ltpibhzrsTrafficPolicyInstanceTypeMarker :: !(Maybe RecordType)@@ -193,17 +188,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpibhzrsTrafficPolicyInstanceTypeMarker'+-- * 'ltpibhzrsTrafficPolicyInstanceTypeMarker' - If @IsTruncated@ is true, @TrafficPolicyInstanceTypeMarker@ is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibhzrsTrafficPolicyInstanceNameMarker'+-- * 'ltpibhzrsTrafficPolicyInstanceNameMarker' - If @IsTruncated@ is @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibhzrsResponseStatus'+-- * 'ltpibhzrsResponseStatus' - -- | The response status code. ----- * 'ltpibhzrsTrafficPolicyInstances'+-- * 'ltpibhzrsTrafficPolicyInstances' - A list that contains one @TrafficPolicyInstance@ element for each traffic policy instance that matches the elements in the request. ----- * 'ltpibhzrsIsTruncated'+-- * 'ltpibhzrsIsTruncated' - 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. ----- * 'ltpibhzrsMaxItems'+-- * 'ltpibhzrsMaxItems' - The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicyInstancesByHostedZone@ that produced the current response. listTrafficPolicyInstancesByHostedZoneResponse :: Int -- ^ 'ltpibhzrsResponseStatus' -> Bool -- ^ 'ltpibhzrsIsTruncated'@@ -219,27 +214,27 @@ , _ltpibhzrsMaxItems = pMaxItems_ } --- | If 'IsTruncated' is true, 'TrafficPolicyInstanceTypeMarker' is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | If @IsTruncated@ is true, @TrafficPolicyInstanceTypeMarker@ is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpibhzrsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse (Maybe RecordType) ltpibhzrsTrafficPolicyInstanceTypeMarker = lens _ltpibhzrsTrafficPolicyInstanceTypeMarker (\ s a -> s{_ltpibhzrsTrafficPolicyInstanceTypeMarker = a}); --- | If 'IsTruncated' is 'true', 'TrafficPolicyInstanceNameMarker' is the name of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | If @IsTruncated@ is @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpibhzrsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse (Maybe Text) ltpibhzrsTrafficPolicyInstanceNameMarker = lens _ltpibhzrsTrafficPolicyInstanceNameMarker (\ s a -> s{_ltpibhzrsTrafficPolicyInstanceNameMarker = a}); --- | The response status code.+-- | -- | The response status code. ltpibhzrsResponseStatus :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Int ltpibhzrsResponseStatus = lens _ltpibhzrsResponseStatus (\ s a -> s{_ltpibhzrsResponseStatus = a}); --- | A list that contains one 'TrafficPolicyInstance' element for each traffic policy instance that matches the elements in the request.+-- | A list that contains one @TrafficPolicyInstance@ element for each traffic policy instance that matches the elements in the request. ltpibhzrsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse [TrafficPolicyInstance] 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.+-- | 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. ltpibhzrsIsTruncated :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Bool ltpibhzrsIsTruncated = lens _ltpibhzrsIsTruncated (\ s a -> s{_ltpibhzrsIsTruncated = a}); --- | The value that you specified for the 'MaxItems' parameter in the call to 'ListTrafficPolicyInstancesByHostedZone' that produced the current response.+-- | The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicyInstancesByHostedZone@ that produced the current response. ltpibhzrsMaxItems :: Lens' ListTrafficPolicyInstancesByHostedZoneResponse Text ltpibhzrsMaxItems = lens _ltpibhzrsMaxItems (\ s a -> s{_ltpibhzrsMaxItems = a});
gen/Network/AWS/Route53/ListTrafficPolicyInstancesByPolicy.hs view
@@ -20,30 +20,31 @@ -- -- 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. ----- 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.+-- 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:+-- The response includes five values that help you navigate from one group of @MaxItems@ traffic policy instances to the next: ----- - __IsTruncated__+-- * __IsTruncated__ ----- If the value of 'IsTruncated' in the response is 'true', there are more traffic policy instances associated with the specified traffic policy.+-- If the value of @IsTruncated@ in the response is @true@ , there are more traffic policy instances associated with the specified traffic policy. ----- If 'IsTruncated' is 'false', this response includes the last traffic policy instance that is associated with the specified traffic policy.+-- If @IsTruncated@ is @false@ , this response includes the last traffic policy instance that is associated with the specified traffic policy. ----- - __MaxItems__+-- * __MaxItems__ ----- The value that you specified for the 'MaxItems' parameter in the request that produced the current response.+-- The value that you specified for the @MaxItems@ parameter in the request that produced the current response. ----- - __HostedZoneIdMarker__, __TrafficPolicyInstanceNameMarker__, and __TrafficPolicyInstanceTypeMarker__+-- * __HostedZoneIdMarker__ , __TrafficPolicyInstanceNameMarker__ , and __TrafficPolicyInstanceTypeMarker__ ----- If 'IsTruncated' is 'true', these 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 'ListTrafficPolicyInstancesByPolicy', and specify these values in the corresponding request parameters.+-- If @IsTruncated@ is @true@ , these 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 @ListTrafficPolicyInstancesByPolicy@ , and specify these values in the corresponding request parameters. ----- If 'IsTruncated' is 'false', all three elements are omitted from the response.+-- If @IsTruncated@ is @false@ , all three elements are omitted from the response. --+--+-- module Network.AWS.Route53.ListTrafficPolicyInstancesByPolicy ( -- * Creating a Request@@ -79,11 +80,13 @@ -- | A complex type that contains the information about the request to list your traffic policy instances. --+--+-- -- /See:/ 'listTrafficPolicyInstancesByPolicy' smart constructor. data ListTrafficPolicyInstancesByPolicy = ListTrafficPolicyInstancesByPolicy' { _ltpibpTrafficPolicyInstanceTypeMarker :: !(Maybe RecordType) , _ltpibpMaxItems :: !(Maybe Text)- , _ltpibpHostedZoneIdMarker :: !(Maybe Text)+ , _ltpibpHostedZoneIdMarker :: !(Maybe ResourceId) , _ltpibpTrafficPolicyInstanceNameMarker :: !(Maybe Text) , _ltpibpTrafficPolicyId :: !Text , _ltpibpTrafficPolicyVersion :: !Nat@@ -93,17 +96,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpibpTrafficPolicyInstanceTypeMarker'+-- * 'ltpibpTrafficPolicyInstanceTypeMarker' - For the first request to @ListTrafficPolicyInstancesByPolicy@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. ----- * 'ltpibpMaxItems'+-- * 'ltpibpMaxItems' - The maximum number of traffic policy instances to be included in the response body for this request. If you have more than @MaxItems@ traffic policy instances, the value of the @IsTruncated@ element in the response is @true@ , and the values of @HostedZoneIdMarker@ , @TrafficPolicyInstanceNameMarker@ , and @TrafficPolicyInstanceTypeMarker@ represent the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibpHostedZoneIdMarker'+-- * 'ltpibpHostedZoneIdMarker' - For the first request to @ListTrafficPolicyInstancesByPolicy@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @HostedZoneIdMarker@ is the ID of the hosted zone for the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. If the value of @IsTruncated@ in the previous response was @false@ , omit this value. ----- * 'ltpibpTrafficPolicyInstanceNameMarker'+-- * 'ltpibpTrafficPolicyInstanceNameMarker' - For the first request to @ListTrafficPolicyInstancesByPolicy@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. If the value of @IsTruncated@ in the previous response was @false@ , omit this value. ----- * 'ltpibpTrafficPolicyId'+-- * 'ltpibpTrafficPolicyId' - The ID of the traffic policy for which you want to list traffic policy instances. ----- * 'ltpibpTrafficPolicyVersion'+-- * 'ltpibpTrafficPolicyVersion' - The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by @TrafficPolicyId@ . listTrafficPolicyInstancesByPolicy :: Text -- ^ 'ltpibpTrafficPolicyId' -> Natural -- ^ 'ltpibpTrafficPolicyVersion'@@ -118,35 +121,19 @@ , _ltpibpTrafficPolicyVersion = _Nat # pTrafficPolicyVersion_ } --- | For the first request to 'ListTrafficPolicyInstancesByPolicy', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'TrafficPolicyInstanceTypeMarker' is the DNS type of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get for this hosted zone.+-- | For the first request to @ListTrafficPolicyInstancesByPolicy@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. ltpibpTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe RecordType) ltpibpTrafficPolicyInstanceTypeMarker = lens _ltpibpTrafficPolicyInstanceTypeMarker (\ s a -> s{_ltpibpTrafficPolicyInstanceTypeMarker = a}); --- | The maximum number of traffic policy instances to be included in the response body for this request. If you have more than 'MaxItems' traffic policy instances, the value of the 'IsTruncated' element in the response is 'true', and the values of 'HostedZoneIdMarker', 'TrafficPolicyInstanceNameMarker', and 'TrafficPolicyInstanceTypeMarker' represent the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | The maximum number of traffic policy instances to be included in the response body for this request. If you have more than @MaxItems@ traffic policy instances, the value of the @IsTruncated@ element in the response is @true@ , and the values of @HostedZoneIdMarker@ , @TrafficPolicyInstanceNameMarker@ , and @TrafficPolicyInstanceTypeMarker@ represent the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpibpMaxItems :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text) ltpibpMaxItems = lens _ltpibpMaxItems (\ s a -> s{_ltpibpMaxItems = a}); --- | For the first request to 'ListTrafficPolicyInstancesByPolicy', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'HostedZoneIdMarker' is the ID of the hosted zone for the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get for this hosted zone.------ If the value of 'IsTruncated' in the previous response was 'false', omit this value.-ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text)+-- | For the first request to @ListTrafficPolicyInstancesByPolicy@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @HostedZoneIdMarker@ is the ID of the hosted zone for the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. If the value of @IsTruncated@ in the previous response was @false@ , omit this value.+ltpibpHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe ResourceId) ltpibpHostedZoneIdMarker = lens _ltpibpHostedZoneIdMarker (\ s a -> s{_ltpibpHostedZoneIdMarker = a}); --- | For the first request to 'ListTrafficPolicyInstancesByPolicy', omit this value.------ If the value of 'IsTruncated' in the previous response was 'true', 'TrafficPolicyInstanceNameMarker' is the name of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.------ If the value of 'IsTruncated' in the previous response was 'false', there are no more traffic policy instances to get for this hosted zone.------ If the value of 'IsTruncated' in the previous response was 'false', omit this value.+-- | For the first request to @ListTrafficPolicyInstancesByPolicy@ , omit this value. If the value of @IsTruncated@ in the previous response was @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. If the value of @IsTruncated@ in the previous response was @false@ , there are no more traffic policy instances to get for this hosted zone. If the value of @IsTruncated@ in the previous response was @false@ , omit this value. ltpibpTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicy (Maybe Text) ltpibpTrafficPolicyInstanceNameMarker = lens _ltpibpTrafficPolicyInstanceNameMarker (\ s a -> s{_ltpibpTrafficPolicyInstanceNameMarker = a}); @@ -154,7 +141,7 @@ ltpibpTrafficPolicyId :: Lens' ListTrafficPolicyInstancesByPolicy Text ltpibpTrafficPolicyId = lens _ltpibpTrafficPolicyId (\ s a -> s{_ltpibpTrafficPolicyId = a}); --- | The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by 'TrafficPolicyId'.+-- | The version of the traffic policy for which you want to list traffic policy instances. The version must be associated with the traffic policy that is specified by @TrafficPolicyId@ . ltpibpTrafficPolicyVersion :: Lens' ListTrafficPolicyInstancesByPolicy Natural ltpibpTrafficPolicyVersion = lens _ltpibpTrafficPolicyVersion (\ s a -> s{_ltpibpTrafficPolicyVersion = a}) . _Nat; @@ -206,10 +193,12 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'listTrafficPolicyInstancesByPolicyResponse' smart constructor. data ListTrafficPolicyInstancesByPolicyResponse = ListTrafficPolicyInstancesByPolicyResponse' { _ltpibprsTrafficPolicyInstanceTypeMarker :: !(Maybe RecordType)- , _ltpibprsHostedZoneIdMarker :: !(Maybe Text)+ , _ltpibprsHostedZoneIdMarker :: !(Maybe ResourceId) , _ltpibprsTrafficPolicyInstanceNameMarker :: !(Maybe Text) , _ltpibprsResponseStatus :: !Int , _ltpibprsTrafficPolicyInstances :: ![TrafficPolicyInstance]@@ -221,19 +210,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpibprsTrafficPolicyInstanceTypeMarker'+-- * 'ltpibprsTrafficPolicyInstanceTypeMarker' - If @IsTruncated@ is @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibprsHostedZoneIdMarker'+-- * 'ltpibprsHostedZoneIdMarker' - If @IsTruncated@ is @true@ , @HostedZoneIdMarker@ is the ID of the hosted zone of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibprsTrafficPolicyInstanceNameMarker'+-- * 'ltpibprsTrafficPolicyInstanceNameMarker' - If @IsTruncated@ is @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ----- * 'ltpibprsResponseStatus'+-- * 'ltpibprsResponseStatus' - -- | The response status code. ----- * 'ltpibprsTrafficPolicyInstances'+-- * 'ltpibprsTrafficPolicyInstances' - A list that contains one @TrafficPolicyInstance@ element for each traffic policy instance that matches the elements in the request. ----- * 'ltpibprsIsTruncated'+-- * 'ltpibprsIsTruncated' - 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. ----- * 'ltpibprsMaxItems'+-- * 'ltpibprsMaxItems' - The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicyInstancesByPolicy@ that produced the current response. listTrafficPolicyInstancesByPolicyResponse :: Int -- ^ 'ltpibprsResponseStatus' -> Bool -- ^ 'ltpibprsIsTruncated'@@ -250,31 +239,31 @@ , _ltpibprsMaxItems = pMaxItems_ } --- | If 'IsTruncated' is 'true', 'TrafficPolicyInstanceTypeMarker' is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | If @IsTruncated@ is @true@ , @TrafficPolicyInstanceTypeMarker@ is the DNS type of the resource record sets that are associated with the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpibprsTrafficPolicyInstanceTypeMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe RecordType) ltpibprsTrafficPolicyInstanceTypeMarker = lens _ltpibprsTrafficPolicyInstanceTypeMarker (\ s a -> s{_ltpibprsTrafficPolicyInstanceTypeMarker = a}); --- | If 'IsTruncated' is 'true', 'HostedZoneIdMarker' is the ID of the hosted zone of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.-ltpibprsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe Text)+-- | If @IsTruncated@ is @true@ , @HostedZoneIdMarker@ is the ID of the hosted zone of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances.+ltpibprsHostedZoneIdMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe ResourceId) ltpibprsHostedZoneIdMarker = lens _ltpibprsHostedZoneIdMarker (\ s a -> s{_ltpibprsHostedZoneIdMarker = a}); --- | If 'IsTruncated' is 'true', 'TrafficPolicyInstanceNameMarker' is the name of the first traffic policy instance in the next group of 'MaxItems' traffic policy instances.+-- | If @IsTruncated@ is @true@ , @TrafficPolicyInstanceNameMarker@ is the name of the first traffic policy instance in the next group of @MaxItems@ traffic policy instances. ltpibprsTrafficPolicyInstanceNameMarker :: Lens' ListTrafficPolicyInstancesByPolicyResponse (Maybe Text) ltpibprsTrafficPolicyInstanceNameMarker = lens _ltpibprsTrafficPolicyInstanceNameMarker (\ s a -> s{_ltpibprsTrafficPolicyInstanceNameMarker = a}); --- | The response status code.+-- | -- | The response status code. ltpibprsResponseStatus :: Lens' ListTrafficPolicyInstancesByPolicyResponse Int ltpibprsResponseStatus = lens _ltpibprsResponseStatus (\ s a -> s{_ltpibprsResponseStatus = a}); --- | A list that contains one 'TrafficPolicyInstance' element for each traffic policy instance that matches the elements in the request.+-- | A list that contains one @TrafficPolicyInstance@ element for each traffic policy instance that matches the elements in the request. ltpibprsTrafficPolicyInstances :: Lens' ListTrafficPolicyInstancesByPolicyResponse [TrafficPolicyInstance] 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.+-- | 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. ltpibprsIsTruncated :: Lens' ListTrafficPolicyInstancesByPolicyResponse Bool ltpibprsIsTruncated = lens _ltpibprsIsTruncated (\ s a -> s{_ltpibprsIsTruncated = a}); --- | The value that you specified for the 'MaxItems' parameter in the call to 'ListTrafficPolicyInstancesByPolicy' that produced the current response.+-- | The value that you specified for the @MaxItems@ parameter in the call to @ListTrafficPolicyInstancesByPolicy@ that produced the current response. ltpibprsMaxItems :: Lens' ListTrafficPolicyInstancesByPolicyResponse Text ltpibprsMaxItems = lens _ltpibprsMaxItems (\ s a -> s{_ltpibprsMaxItems = a});
gen/Network/AWS/Route53/ListTrafficPolicyVersions.hs view
@@ -20,28 +20,31 @@ -- -- 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.+-- 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. ----- The response includes three values that help you navigate from one group of 'maxitems'maxitems traffic policies to the next:+-- 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. ----- - __IsTruncated__+-- The response includes three values that help you navigate from one group of @maxitems@ traffic policies to the next: ----- If the value of 'IsTruncated' in the response is 'true', there are more traffic policy versions associated with the specified traffic policy.+-- * __IsTruncated__ ----- If 'IsTruncated' is 'false', this response includes the last traffic policy version that is associated with the specified traffic policy.+-- If the value of @IsTruncated@ in the response is @true@ , there are more traffic policy versions associated with the specified traffic policy. ----- - __TrafficPolicyVersionMarker__+-- If @IsTruncated@ is @false@ , this response includes the last traffic policy version that is associated with the specified traffic policy. ----- 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.+-- * __TrafficPolicyVersionMarker__ ----- If 'IsTruncated' is 'false', Amazon Route 53 omits the 'TrafficPolicyVersionMarker' element from the response.+-- 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. ----- - __MaxItems__+-- If @IsTruncated@ is @false@ , Amazon Route 53 omits the @TrafficPolicyVersionMarker@ element from the response. ----- The value that you specified for the 'MaxItems' parameter in the request that produced the current 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@@ -72,6 +75,8 @@ -- | A complex type that contains the information about the request to list your traffic policies. --+--+-- -- /See:/ 'listTrafficPolicyVersions' smart constructor. data ListTrafficPolicyVersions = ListTrafficPolicyVersions' { _ltpvMaxItems :: !(Maybe Text)@@ -83,11 +88,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpvMaxItems'+-- * 'ltpvMaxItems' - The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than @MaxItems@ versions, the value of the @IsTruncated@ element in the response is @true@ , and the value of the @TrafficPolicyVersionMarker@ element is the ID of the first version in the next group of @MaxItems@ traffic policy versions. ----- * 'ltpvTrafficPolicyVersionMarker'+-- * 'ltpvTrafficPolicyVersionMarker' - For your first request to @ListTrafficPolicyVersions@ , do not include the @TrafficPolicyVersionMarker@ parameter. If you have more traffic policy versions than the value of @MaxItems@ , @ListTrafficPolicyVersions@ returns only the first group of @MaxItems@ versions. To get the next group of @MaxItems@ traffic policy versions, submit another request to @ListTrafficPolicyVersions@ . For the value of @TrafficPolicyVersionMarker@ , specify the value of the @TrafficPolicyVersionMarker@ element that was returned in the previous response. Traffic policy versions are listed in sequential order. ----- * 'ltpvId'+-- * 'ltpvId' - Specify the value of @Id@ of the traffic policy for which you want to list all versions. listTrafficPolicyVersions :: Text -- ^ 'ltpvId' -> ListTrafficPolicyVersions@@ -98,19 +103,15 @@ , _ltpvId = pId_ } --- | The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than 'MaxItems' versions, the value of the 'IsTruncated' element in the response is 'true', and the value of the 'TrafficPolicyVersionMarker' element is the ID of the first version in the next group of 'MaxItems' traffic policy versions.+-- | The maximum number of traffic policy versions that you want Amazon Route 53 to include in the response body for this request. If the specified traffic policy has more than @MaxItems@ versions, the value of the @IsTruncated@ element in the response is @true@ , and the value of the @TrafficPolicyVersionMarker@ element is the ID of the first version in the next group of @MaxItems@ traffic policy versions. ltpvMaxItems :: Lens' ListTrafficPolicyVersions (Maybe Text) ltpvMaxItems = lens _ltpvMaxItems (\ s a -> s{_ltpvMaxItems = a}); --- | For your first request to 'ListTrafficPolicyVersions', do not include the 'TrafficPolicyVersionMarker' parameter.------ If you have more traffic policy versions than the value of 'MaxItems', 'ListTrafficPolicyVersions' returns only the first group of 'MaxItems' versions. To get the next group of 'MaxItems' traffic policy versions, submit another request to 'ListTrafficPolicyVersions'. For the value of 'TrafficPolicyVersionMarker', specify the value of the 'TrafficPolicyVersionMarker' element that was returned in the previous response.------ Traffic policy versions are listed in sequential order.+-- | For your first request to @ListTrafficPolicyVersions@ , do not include the @TrafficPolicyVersionMarker@ parameter. If you have more traffic policy versions than the value of @MaxItems@ , @ListTrafficPolicyVersions@ returns only the first group of @MaxItems@ versions. To get the next group of @MaxItems@ traffic policy versions, submit another request to @ListTrafficPolicyVersions@ . For the value of @TrafficPolicyVersionMarker@ , specify the value of the @TrafficPolicyVersionMarker@ element that was returned in the previous response. Traffic policy versions are listed in sequential order. ltpvTrafficPolicyVersionMarker :: Lens' ListTrafficPolicyVersions (Maybe Text) ltpvTrafficPolicyVersionMarker = lens _ltpvTrafficPolicyVersionMarker (\ s a -> s{_ltpvTrafficPolicyVersionMarker = a}); --- | Specify the value of 'Id' of the traffic policy for which you want to list all versions.+-- | Specify the value of @Id@ of the traffic policy for which you want to list all versions. ltpvId :: Lens' ListTrafficPolicyVersions Text ltpvId = lens _ltpvId (\ s a -> s{_ltpvId = a}); @@ -151,6 +152,8 @@ -- | A complex type that contains the response information for the request. --+--+-- -- /See:/ 'listTrafficPolicyVersionsResponse' smart constructor. data ListTrafficPolicyVersionsResponse = ListTrafficPolicyVersionsResponse' { _ltpvrsResponseStatus :: !Int@@ -164,15 +167,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ltpvrsResponseStatus'+-- * 'ltpvrsResponseStatus' - -- | The response status code. ----- * 'ltpvrsTrafficPolicies'+-- * 'ltpvrsTrafficPolicies' - A list that contains one @TrafficPolicy@ element for each traffic policy version that is associated with the specified traffic policy. ----- * 'ltpvrsIsTruncated'+-- * 'ltpvrsIsTruncated' - 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. ----- * 'ltpvrsTrafficPolicyVersionMarker'+-- * 'ltpvrsTrafficPolicyVersionMarker' - If @IsTruncated@ is @true@ , the value of @TrafficPolicyVersionMarker@ identifies the first traffic policy in the next group of @MaxItems@ traffic policies. Call @ListTrafficPolicyVersions@ again and specify the value of @TrafficPolicyVersionMarker@ in the @TrafficPolicyVersionMarker@ request parameter. This element is present only if @IsTruncated@ is @true@ . ----- * 'ltpvrsMaxItems'+-- * 'ltpvrsMaxItems' - The value that you specified for the @maxitems@ parameter in the call to @ListTrafficPolicyVersions@ that produced the current response. listTrafficPolicyVersionsResponse :: Int -- ^ 'ltpvrsResponseStatus' -> Bool -- ^ 'ltpvrsIsTruncated'@@ -188,25 +191,23 @@ , _ltpvrsMaxItems = pMaxItems_ } --- | The response status code.+-- | -- | The response status code. ltpvrsResponseStatus :: Lens' ListTrafficPolicyVersionsResponse Int ltpvrsResponseStatus = lens _ltpvrsResponseStatus (\ s a -> s{_ltpvrsResponseStatus = a}); --- | A list that contains one 'TrafficPolicy' element for each traffic policy version that is associated with the specified traffic policy.+-- | A list that contains one @TrafficPolicy@ element for each traffic policy version that is associated with the specified traffic policy. 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.+-- | 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}); --- | If 'IsTruncated' is 'true', the value of 'TrafficPolicyVersionMarker' identifies the first traffic policy in the next group of 'MaxItems' traffic policies. Call 'ListTrafficPolicyVersions' again and specify the value of 'TrafficPolicyVersionMarker' in the 'TrafficPolicyVersionMarker' request parameter.------ This element is present only if 'IsTruncated' is 'true'.+-- | If @IsTruncated@ is @true@ , the value of @TrafficPolicyVersionMarker@ identifies the first traffic policy in the next group of @MaxItems@ traffic policies. Call @ListTrafficPolicyVersions@ again and specify the value of @TrafficPolicyVersionMarker@ in the @TrafficPolicyVersionMarker@ request parameter. This element is present only if @IsTruncated@ is @true@ . ltpvrsTrafficPolicyVersionMarker :: Lens' ListTrafficPolicyVersionsResponse Text ltpvrsTrafficPolicyVersionMarker = lens _ltpvrsTrafficPolicyVersionMarker (\ s a -> s{_ltpvrsTrafficPolicyVersionMarker = a}); --- | The value that you specified for the 'maxitems' parameter in the call to 'ListTrafficPolicyVersions' that produced the current response.+-- | The value that you specified for the @maxitems@ parameter in the call to @ListTrafficPolicyVersions@ that produced the current response. ltpvrsMaxItems :: Lens' ListTrafficPolicyVersionsResponse Text ltpvrsMaxItems = lens _ltpvrsMaxItems (\ s a -> s{_ltpvrsMaxItems = a});
+ gen/Network/AWS/Route53/ListVPCAssociationAuthorizations.hs view
@@ -0,0 +1,192 @@+{-# 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.ListVPCAssociationAuthorizations+-- 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)+--+-- Gets a list of the VPCs that were created by other accounts and that can be associated with a specified hosted zone because you've submitted one or more @CreateVPCAssociationAuthorization@ requests.+--+--+-- Send a @GET@ request to the @/2013-04-01/hostedzone//hosted zone ID/ /authorizevpcassociation@ resource. The response to this request includes a @VPCs@ element with a @VPC@ child element for each VPC that can be associated with the hosted zone.+--+-- Amazon Route 53 returns up to 50 VPCs per page. To return fewer VPCs per page, include the @MaxResults@ parameter:+--+-- @/2013-04-01/hostedzone//hosted zone ID/ /authorizevpcassociation?MaxItems=/VPCs per page/ @+--+-- If the response includes a @NextToken@ element, there are more VPCs to list. To get the next page of VPCs, submit another @ListVPCAssociationAuthorizations@ request, and include the value of the @NextToken@ element from the response in the @NextToken@ request parameter:+--+-- @/2013-04-01/hostedzone//hosted zone ID/ /authorizevpcassociation?MaxItems=/VPCs per page/ &NextToken=// @+--+module Network.AWS.Route53.ListVPCAssociationAuthorizations+ (+ -- * Creating a Request+ listVPCAssociationAuthorizations+ , ListVPCAssociationAuthorizations+ -- * Request Lenses+ , lvaaNextToken+ , lvaaMaxResults+ , lvaaHostedZoneId++ -- * Destructuring the Response+ , listVPCAssociationAuthorizationsResponse+ , ListVPCAssociationAuthorizationsResponse+ -- * Response Lenses+ , lvaarsNextToken+ , lvaarsResponseStatus+ , lvaarsHostedZoneId+ , lvaarsVPCs+ ) 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++-- | A complex type that contains information about that can be associated with your hosted zone.+--+--+--+-- /See:/ 'listVPCAssociationAuthorizations' smart constructor.+data ListVPCAssociationAuthorizations = ListVPCAssociationAuthorizations'+ { _lvaaNextToken :: !(Maybe Text)+ , _lvaaMaxResults :: !(Maybe Text)+ , _lvaaHostedZoneId :: !ResourceId+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'ListVPCAssociationAuthorizations' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lvaaNextToken' - /Optional/ : If a response includes a @NextToken@ element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of the @NextToken@ element in from the response in the @NextToken@ parameter in another @ListVPCAssociationAuthorizations@ request.+--+-- * 'lvaaMaxResults' - /Optional/ : An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return.+--+-- * 'lvaaHostedZoneId' - The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.+listVPCAssociationAuthorizations+ :: ResourceId -- ^ 'lvaaHostedZoneId'+ -> ListVPCAssociationAuthorizations+listVPCAssociationAuthorizations pHostedZoneId_ =+ ListVPCAssociationAuthorizations'+ { _lvaaNextToken = Nothing+ , _lvaaMaxResults = Nothing+ , _lvaaHostedZoneId = pHostedZoneId_+ }++-- | /Optional/ : If a response includes a @NextToken@ element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of results, submit another request, and include the value of the @NextToken@ element in from the response in the @NextToken@ parameter in another @ListVPCAssociationAuthorizations@ request.+lvaaNextToken :: Lens' ListVPCAssociationAuthorizations (Maybe Text)+lvaaNextToken = lens _lvaaNextToken (\ s a -> s{_lvaaNextToken = a});++-- | /Optional/ : An integer that specifies the maximum number of VPCs that you want Amazon Route 53 to return.+lvaaMaxResults :: Lens' ListVPCAssociationAuthorizations (Maybe Text)+lvaaMaxResults = lens _lvaaMaxResults (\ s a -> s{_lvaaMaxResults = a});++-- | The ID of the hosted zone for which you want a list of VPCs that can be associated with the hosted zone.+lvaaHostedZoneId :: Lens' ListVPCAssociationAuthorizations ResourceId+lvaaHostedZoneId = lens _lvaaHostedZoneId (\ s a -> s{_lvaaHostedZoneId = a});++instance AWSRequest ListVPCAssociationAuthorizations+ where+ type Rs ListVPCAssociationAuthorizations =+ ListVPCAssociationAuthorizationsResponse+ request = get route53+ response+ = receiveXML+ (\ s h x ->+ ListVPCAssociationAuthorizationsResponse' <$>+ (x .@? "NextToken") <*> (pure (fromEnum s)) <*>+ (x .@ "HostedZoneId")+ <*>+ (x .@? "VPCs" .!@ mempty >>= parseXMLList1 "VPC"))++instance Hashable ListVPCAssociationAuthorizations++instance NFData ListVPCAssociationAuthorizations++instance ToHeaders ListVPCAssociationAuthorizations+ where+ toHeaders = const mempty++instance ToPath ListVPCAssociationAuthorizations+ where+ toPath ListVPCAssociationAuthorizations'{..}+ = mconcat+ ["/2013-04-01/hostedzone/", toBS _lvaaHostedZoneId,+ "/authorizevpcassociation"]++instance ToQuery ListVPCAssociationAuthorizations+ where+ toQuery ListVPCAssociationAuthorizations'{..}+ = mconcat+ ["nexttoken" =: _lvaaNextToken,+ "maxresults" =: _lvaaMaxResults]++-- | A complex type that contains the response information for the request.+--+--+--+-- /See:/ 'listVPCAssociationAuthorizationsResponse' smart constructor.+data ListVPCAssociationAuthorizationsResponse = ListVPCAssociationAuthorizationsResponse'+ { _lvaarsNextToken :: !(Maybe Text)+ , _lvaarsResponseStatus :: !Int+ , _lvaarsHostedZoneId :: !ResourceId+ , _lvaarsVPCs :: !(List1 VPC)+ } deriving (Eq,Read,Show,Data,Typeable,Generic)++-- | Creates a value of 'ListVPCAssociationAuthorizationsResponse' with the minimum fields required to make a request.+--+-- Use one of the following lenses to modify other fields as desired:+--+-- * 'lvaarsNextToken' - When the response includes a @NextToken@ element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another @ListVPCAssociationAuthorizations@ request, and include the value of the @NextToken@ element from the response in the @NextToken@ request parameter: @/2013-04-01/hostedzone//hosted zone ID/ /authorizevpcassociation?MaxItems=/VPCs per page/ &NextToken=// @+--+-- * 'lvaarsResponseStatus' - -- | The response status code.+--+-- * 'lvaarsHostedZoneId' - The ID of the hosted zone that you can associate the listed VPCs with.+--+-- * 'lvaarsVPCs' - The list of VPCs that are authorized to be associated with the specified hosted zone.+listVPCAssociationAuthorizationsResponse+ :: Int -- ^ 'lvaarsResponseStatus'+ -> ResourceId -- ^ 'lvaarsHostedZoneId'+ -> NonEmpty VPC -- ^ 'lvaarsVPCs'+ -> ListVPCAssociationAuthorizationsResponse+listVPCAssociationAuthorizationsResponse pResponseStatus_ pHostedZoneId_ pVPCs_ =+ ListVPCAssociationAuthorizationsResponse'+ { _lvaarsNextToken = Nothing+ , _lvaarsResponseStatus = pResponseStatus_+ , _lvaarsHostedZoneId = pHostedZoneId_+ , _lvaarsVPCs = _List1 # pVPCs_+ }++-- | When the response includes a @NextToken@ element, there are more VPCs that can be associated with the specified hosted zone. To get the next page of VPCs, submit another @ListVPCAssociationAuthorizations@ request, and include the value of the @NextToken@ element from the response in the @NextToken@ request parameter: @/2013-04-01/hostedzone//hosted zone ID/ /authorizevpcassociation?MaxItems=/VPCs per page/ &NextToken=// @+lvaarsNextToken :: Lens' ListVPCAssociationAuthorizationsResponse (Maybe Text)+lvaarsNextToken = lens _lvaarsNextToken (\ s a -> s{_lvaarsNextToken = a});++-- | -- | The response status code.+lvaarsResponseStatus :: Lens' ListVPCAssociationAuthorizationsResponse Int+lvaarsResponseStatus = lens _lvaarsResponseStatus (\ s a -> s{_lvaarsResponseStatus = a});++-- | The ID of the hosted zone that you can associate the listed VPCs with.+lvaarsHostedZoneId :: Lens' ListVPCAssociationAuthorizationsResponse ResourceId+lvaarsHostedZoneId = lens _lvaarsHostedZoneId (\ s a -> s{_lvaarsHostedZoneId = a});++-- | The list of VPCs that are authorized to be associated with the specified hosted zone.+lvaarsVPCs :: Lens' ListVPCAssociationAuthorizationsResponse (NonEmpty VPC)+lvaarsVPCs = lens _lvaarsVPCs (\ s a -> s{_lvaarsVPCs = a}) . _List1;++instance NFData+ ListVPCAssociationAuthorizationsResponse
gen/Network/AWS/Route53/TestDNSAnswer.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Undocumented operation.+-- 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.+--+-- module Network.AWS.Route53.TestDNSAnswer ( -- * Creating a Request@@ -54,33 +56,30 @@ -- | 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.+-- * 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.+-- * 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.+-- * 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.+-- * 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.+-- * 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.+-- * 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+ , _tdaHostedZoneId :: !ResourceId , _tdaRecordName :: !Text , _tdaRecordType :: !RecordType } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -89,19 +88,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tdaResolverIP'+-- * 'tdaResolverIP' - 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. ----- * 'tdaEDNS0ClientSubnetIP'+-- * 'tdaEDNS0ClientSubnetIP' - If the resolver that you specified for resolverip supports EDNS0, specify the IP address of a client in the applicable location. ----- * 'tdaEDNS0ClientSubnetMask'+-- * 'tdaEDNS0ClientSubnetMask' - 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. ----- * 'tdaHostedZoneId'+-- * 'tdaHostedZoneId' - The ID of the hosted zone that you want Amazon Route 53 to simulate a query for. ----- * 'tdaRecordName'+-- * 'tdaRecordName' - The name of the resource record set that you want Amazon Route 53 to simulate a query for. ----- * 'tdaRecordType'+-- * 'tdaRecordType' - The type of the resource record set. testDNSAnswer- :: Text -- ^ 'tdaHostedZoneId'+ :: ResourceId -- ^ 'tdaHostedZoneId' -> Text -- ^ 'tdaRecordName' -> RecordType -- ^ 'tdaRecordType' -> TestDNSAnswer@@ -115,27 +114,27 @@ , _tdaRecordType = pRecordType_ } --- | Undocumented member.+-- | 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. tdaResolverIP :: Lens' TestDNSAnswer (Maybe Text) tdaResolverIP = lens _tdaResolverIP (\ s a -> s{_tdaResolverIP = a}); --- | Undocumented member.+-- | If the resolver that you specified for resolverip supports EDNS0, specify the IP address of a client in the applicable location. tdaEDNS0ClientSubnetIP :: Lens' TestDNSAnswer (Maybe Text) tdaEDNS0ClientSubnetIP = lens _tdaEDNS0ClientSubnetIP (\ s a -> s{_tdaEDNS0ClientSubnetIP = a}); --- | Undocumented member.+-- | 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. tdaEDNS0ClientSubnetMask :: Lens' TestDNSAnswer (Maybe Text) tdaEDNS0ClientSubnetMask = lens _tdaEDNS0ClientSubnetMask (\ s a -> s{_tdaEDNS0ClientSubnetMask = a}); --- | Undocumented member.-tdaHostedZoneId :: Lens' TestDNSAnswer Text+-- | The ID of the hosted zone that you want Amazon Route 53 to simulate a query for.+tdaHostedZoneId :: Lens' TestDNSAnswer ResourceId tdaHostedZoneId = lens _tdaHostedZoneId (\ s a -> s{_tdaHostedZoneId = a}); --- | Undocumented member.+-- | The name of the resource record set that you want Amazon Route 53 to simulate a query for. tdaRecordName :: Lens' TestDNSAnswer Text tdaRecordName = lens _tdaRecordName (\ s a -> s{_tdaRecordName = a}); --- | Undocumented member.+-- | The type of the resource record set. tdaRecordType :: Lens' TestDNSAnswer RecordType tdaRecordType = lens _tdaRecordType (\ s a -> s{_tdaRecordType = a}); @@ -175,8 +174,10 @@ "recordname" =: _tdaRecordName, "recordtype" =: _tdaRecordType] --- | A complex type that contains the response to a 'TestDNSAnswer' request.+-- | A complex type that contains the response to a @TestDNSAnswer@ request. --+--+-- -- /See:/ 'testDNSAnswerResponse' smart constructor. data TestDNSAnswerResponse = TestDNSAnswerResponse' { _tdarsResponseStatus :: !Int@@ -192,19 +193,19 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tdarsResponseStatus'+-- * 'tdarsResponseStatus' - -- | The response status code. ----- * 'tdarsNameserver'+-- * 'tdarsNameserver' - The Amazon Route 53 name server used to respond to the request. ----- * 'tdarsRecordName'+-- * 'tdarsRecordName' - The name of the resource record set that you submitted a request for. ----- * 'tdarsRecordType'+-- * 'tdarsRecordType' - The type of the resource record set that you submitted a request for. ----- * 'tdarsRecordData'+-- * 'tdarsRecordData' - A list that contains values that Amazon Route 53 returned for this resource record set. ----- * 'tdarsResponseCode'+-- * 'tdarsResponseCode' - 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. ----- * 'tdarsProtocol'+-- * 'tdarsProtocol' - The protocol that Amazon Route 53 used to respond to the request, either @UDP@ or @TCP@ . testDNSAnswerResponse :: Int -- ^ 'tdarsResponseStatus' -> Text -- ^ 'tdarsNameserver'@@ -224,7 +225,7 @@ , _tdarsProtocol = pProtocol_ } --- | The response status code.+-- | -- | The response status code. tdarsResponseStatus :: Lens' TestDNSAnswerResponse Int tdarsResponseStatus = lens _tdarsResponseStatus (\ s a -> s{_tdarsResponseStatus = a}); @@ -244,11 +245,11 @@ 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.+-- | 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'.+-- | 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});
gen/Network/AWS/Route53/Types.hs view
@@ -24,10 +24,13 @@ , _ConflictingTypes , _ConcurrentModification , _DelegationSetAlreadyReusable+ , _NotAuthorizedException , _PriorRequestNotComplete , _InvalidChangeBatch+ , _TooManyVPCAssociationAuthorizations , _TrafficPolicyAlreadyExists , _InvalidTrafficPolicyDocument+ , _InvalidPaginationToken , _DelegationSetNotReusable , _InvalidDomainName , _NoSuchTrafficPolicy@@ -36,6 +39,7 @@ , _NoSuchDelegationSet , _HealthCheckAlreadyExists , _TooManyTrafficPolicies+ , _VPCAssociationAuthorizationNotFound , _NoSuchGeoLocation , _DelegationSetNotAvailable , _VPCAssociationNotFound@@ -309,7 +313,7 @@ import Network.AWS.Route53.Types.Sum import Network.AWS.Sign.V4 --- | API version '2013-04-01' of the Amazon Route 53 SDK configuration.+-- | API version @2013-04-01@ of the Amazon Route 53 SDK configuration. route53 :: Service route53 = Service@@ -347,195 +351,305 @@ | has (hasStatus 509) e = Just "limit_exceeded" | otherwise = Nothing --- | Prism for HealthCheckVersionMismatch' errors.+-- | The value of @HealthCheckVersion@ in the request doesn't match the value of @HealthCheckVersion@ in the health check.+--+-- _HealthCheckVersionMismatch :: AsError a => Getting (First ServiceError) a ServiceError _HealthCheckVersionMismatch = _ServiceError . hasStatus 409 . hasCode "HealthCheckVersionMismatch" -- | The input is not valid.+--+-- _InvalidInput :: AsError a => Getting (First ServiceError) a ServiceError _InvalidInput = _ServiceError . hasStatus 400 . hasCode "InvalidInput" -- | 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" -- | Parameter name and problem.+--+-- _InvalidArgument :: AsError a => Getting (First ServiceError) a ServiceError _InvalidArgument = _ServiceError . hasCode "InvalidArgument" -- | Traffic policy instance with given Id already exists.+--+-- _TrafficPolicyInstanceAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError _TrafficPolicyInstanceAlreadyExists = _ServiceError . hasStatus 409 . hasCode "TrafficPolicyInstanceAlreadyExists" --- | You tried to update a traffic policy instance by using a traffic policy version that has a different DNS type than the current type for the instance. You specified the type in the JSON document in the 'CreateTrafficPolicy' or 'CreateTrafficPolicyVersion'request.+-- | You tried to update a traffic policy instance by using a traffic policy version that has a different DNS type than the current type for the instance. You specified the type in the JSON document in the @CreateTrafficPolicy@ or @CreateTrafficPolicyVersion@ request.+--+-- _ConflictingTypes :: AsError a => Getting (First ServiceError) a ServiceError _ConflictingTypes = _ServiceError . hasStatus 400 . hasCode "ConflictingTypes" -- | Another user submitted a request to update the object at the same time that you did. Retry the request.+--+-- _ConcurrentModification :: AsError a => Getting (First ServiceError) a ServiceError _ConcurrentModification = _ServiceError . hasStatus 400 . hasCode "ConcurrentModification" -- | The specified delegation set has already been marked as reusable.+--+-- _DelegationSetAlreadyReusable :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetAlreadyReusable = _ServiceError . hasCode "DelegationSetAlreadyReusable" --- | 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.+-- | Associating the specified VPC with the specified hosted zone has not been authorized.+--+--+_NotAuthorizedException :: AsError a => Getting (First ServiceError) a ServiceError+_NotAuthorizedException =+ _ServiceError . hasStatus 401 . hasCode "NotAuthorizedException"++-- | 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 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" --- | A traffic policy that has the same value for 'Name' already exists.+-- | You've created the maximum number of authorizations that can be created for the specified hosted zone. To authorize another VPC to be associated with the hosted zone, submit a @DeleteVPCAssociationAuthorization@ request to remove an existing authorization. To get a list of existing authorizations, submit a @ListVPCAssociationAuthorizations@ request.+--+--+_TooManyVPCAssociationAuthorizations :: AsError a => Getting (First ServiceError) a ServiceError+_TooManyVPCAssociationAuthorizations =+ _ServiceError .+ hasStatus 400 . hasCode "TooManyVPCAssociationAuthorizations"++-- | A traffic policy that has the same value for @Name@ already exists.+--+-- _TrafficPolicyAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError _TrafficPolicyAlreadyExists = _ServiceError . hasStatus 409 . hasCode "TrafficPolicyAlreadyExists" --- | The format of the traffic policy document that you specified in the 'Document' element is invalid.+-- | The format of the traffic policy document that you specified in the @Document@ element is invalid.+--+-- _InvalidTrafficPolicyDocument :: AsError a => Getting (First ServiceError) a ServiceError _InvalidTrafficPolicyDocument = _ServiceError . hasStatus 400 . hasCode "InvalidTrafficPolicyDocument" +-- | Prism for InvalidPaginationToken' errors.+_InvalidPaginationToken :: AsError a => Getting (First ServiceError) a ServiceError+_InvalidPaginationToken =+ _ServiceError . hasStatus 400 . hasCode "InvalidPaginationToken"+ -- | A reusable delegation set with the specified ID does not exist.+--+-- _DelegationSetNotReusable :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetNotReusable = _ServiceError . hasCode "DelegationSetNotReusable" -- | The specified domain name is not valid.+--+-- _InvalidDomainName :: AsError a => Getting (First ServiceError) a ServiceError _InvalidDomainName = _ServiceError . hasStatus 400 . hasCode "InvalidDomainName" -- | No traffic policy exists with the specified ID.+--+-- _NoSuchTrafficPolicy :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchTrafficPolicy = _ServiceError . hasStatus 404 . hasCode "NoSuchTrafficPolicy" --- | The specified HostedZone cannot be found.+-- | The specified HostedZone can't be found.+--+-- _HostedZoneNotFound :: AsError a => Getting (First ServiceError) a ServiceError _HostedZoneNotFound = _ServiceError . hasCode "HostedZoneNotFound" -- | The specified delegation contains associated hosted zones which must be deleted before the reusable delegation set can be deleted.+--+-- _DelegationSetInUse :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetInUse = _ServiceError . hasCode "DelegationSetInUse" -- | 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\'re attempting to create already exists.+-- | 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'.+--+-- 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" --- | You\'ve created the maximum number of traffic policies 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.+-- | You've created the maximum number of traffic policies 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.+--+-- _TooManyTrafficPolicies :: AsError a => Getting (First ServiceError) a ServiceError _TooManyTrafficPolicies = _ServiceError . hasStatus 400 . hasCode "TooManyTrafficPolicies" --- | Amazon Route 53 doesn\'t support the specified geolocation.+-- | The VPC that you specified is not authorized to be associated with the hosted zone.+--+--+_VPCAssociationAuthorizationNotFound :: AsError a => Getting (First ServiceError) a ServiceError+_VPCAssociationAuthorizationNotFound =+ _ServiceError .+ hasStatus 404 . hasCode "VPCAssociationAuthorizationNotFound"++-- | Amazon Route 53 doesn't support the specified geolocation.+--+-- _NoSuchGeoLocation :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchGeoLocation = _ServiceError . hasStatus 404 . hasCode "NoSuchGeoLocation" -- | 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 specified VPC and hosted zone are not currently associated.+--+-- _VPCAssociationNotFound :: AsError a => Getting (First ServiceError) a ServiceError _VPCAssociationNotFound = _ServiceError . hasStatus 404 . hasCode "VPCAssociationNotFound" --- | Prism for ThrottlingException' errors.+-- |+--+-- _ThrottlingException :: AsError a => Getting (First ServiceError) a ServiceError _ThrottlingException = _ServiceError . hasStatus 400 . hasCode "ThrottlingException" --- | Prism for NoSuchChange' errors.+-- | A change with the specified change ID does not exist.+--+-- _NoSuchChange :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchChange = _ServiceError . hasStatus 404 . hasCode "NoSuchChange" -- | The limits specified for a resource have been exceeded.+--+-- _LimitsExceeded :: AsError a => Getting (First ServiceError) a ServiceError _LimitsExceeded = _ServiceError . hasCode "LimitsExceeded" --- | You\'ve created the maximum number of traffic policy instances 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.+-- | You've created the maximum number of traffic policy instances 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.+--+-- _TooManyTrafficPolicyInstances :: AsError a => Getting (First ServiceError) a ServiceError _TooManyTrafficPolicyInstances = _ServiceError . hasStatus 400 . hasCode "TooManyTrafficPolicyInstances" -- | No traffic policy instance exists with the specified ID.+--+-- _NoSuchTrafficPolicyInstance :: AsError a => Getting (First ServiceError) a ServiceError _NoSuchTrafficPolicyInstance = _ServiceError . hasStatus 404 . hasCode "NoSuchTrafficPolicyInstance" -- | The resource you are trying to access is unsupported on this Amazon Route 53 endpoint. Please consider using a newer endpoint or a tool that does so.+--+-- _IncompatibleVersion :: AsError a => Getting (First ServiceError) a ServiceError _IncompatibleVersion = _ServiceError . hasStatus 400 . hasCode "IncompatibleVersion" --- | The hosted zone specified in 'HostedZoneId' is a public hosted zone.+-- | You're trying to associate a VPC with a public hosted zone. Amazon Route 53 doesn't support associating a VPC with a public hosted zone.+--+-- _PublicZoneVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError _PublicZoneVPCAssociation = _ServiceError . hasStatus 400 . hasCode "PublicZoneVPCAssociation" -- | 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 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.+-- | This hosted zone can't 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" --- | 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.+-- | 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" -- | A delegation set with the same owner and caller reference combination has already been created.+--+-- _DelegationSetAlreadyCreated :: AsError a => Getting (First ServiceError) a ServiceError _DelegationSetAlreadyCreated = _ServiceError . hasCode "DelegationSetAlreadyCreated" --- | Prism for ConflictingDomainExists' errors.+-- | You specified an Amazon VPC that you're already using for another hosted zone, and the domain that you specified for one of the hosted zones is a subdomain of the domain that you specified for the other hosted zone. For example, you can't use the same Amazon VPC for the hosted zones for example.com and test.example.com.+--+-- _ConflictingDomainExists :: AsError a => Getting (First ServiceError) a ServiceError _ConflictingDomainExists = _ServiceError . hasCode "ConflictingDomainExists" --- | 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.+-- | The VPC that you're trying to disassociate from the private hosted zone is the last VPC that is associated with the hosted zone. Amazon Route 53 doesn't support disassociating the last VPC from a hosted zone.+--+-- _LastVPCAssociation :: AsError a => Getting (First ServiceError) a ServiceError _LastVPCAssociation = _ServiceError . hasStatus 400 . hasCode "LastVPCAssociation" --- | Prism for TooManyHealthChecks' errors.+-- | You have reached the maximum number of active health checks for an AWS account. The default limit is 100. To request a higher limit, <http://aws.amazon.com/route53-request create a case> with the AWS Support Center.+--+-- _TooManyHealthChecks :: AsError a => Getting (First ServiceError) a ServiceError _TooManyHealthChecks = _ServiceError . hasCode "TooManyHealthChecks" --- | No health check exists with the ID that you specified in the 'DeleteHealthCheck' request.+-- | 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" -- | One or more traffic policy instances were created by using the specified traffic policy.+--+-- _TrafficPolicyInUse :: AsError a => Getting (First ServiceError) a ServiceError _TrafficPolicyInUse = _ServiceError . hasStatus 400 . hasCode "TrafficPolicyInUse" --- | The hosted zone you are trying to create for your VPC_ID does not belong to you. Amazon Route 53 returns this error when the VPC specified by 'VPCId' does not belong to you.+-- | The VPC ID that you specified either isn't a valid ID or the current account is not authorized to access this VPC.+--+-- _InvalidVPCId :: AsError a => Getting (First ServiceError) a ServiceError _InvalidVPCId = _ServiceError . hasStatus 400 . hasCode "InvalidVPCId" --- | The hosted zone you are trying to create already exists. Amazon Route 53 returns this error when a hosted zone has already been created with the specified 'CallerReference'.+-- | The hosted zone you are trying to create already exists. Amazon Route 53 returns this error when a hosted zone has already been created with the specified @CallerReference@ .+--+-- _HostedZoneAlreadyExists :: AsError a => Getting (First ServiceError) a ServiceError _HostedZoneAlreadyExists = _ServiceError . hasStatus 409 . hasCode "HostedZoneAlreadyExists"
gen/Network/AWS/Route53/Types/Product.hs view
@@ -24,6 +24,8 @@ -- | 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' { _aiRegion :: !CloudWatchRegion@@ -34,9 +36,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'aiRegion'+-- * 'aiRegion' - 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/ . ----- * 'aiName'+-- * 'aiName' - The name of the CloudWatch alarm that you want Amazon Route 53 health checkers to use to determine whether this health check is healthy. alarmIdentifier :: CloudWatchRegion -- ^ 'aiRegion' -> Text -- ^ 'aiName'@@ -47,9 +49,7 @@ , _aiName = pName_ } --- | 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/.+-- | 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}); @@ -70,20 +70,23 @@ toXML AlarmIdentifier'{..} = mconcat ["Region" @= _aiRegion, "Name" @= _aiName] --- | /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.+-- | /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 that you're redirecting queries to. The Elastic Beanstalk environment must have a regionalized subdomain. --+-- -- When creating resource record sets for a private hosted zone, note the following: ----- - Resource record sets cannot be created for CloudFront distributions in a private hosted zone.+-- * Resource record sets can't be created 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.+-- * 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>.+-- * 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+ { _atHostedZoneId :: !ResourceId , _atDNSName :: !Text , _atEvaluateTargetHealth :: !Bool } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -92,13 +95,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'atHostedZoneId'+-- * 'atHostedZoneId' - /Alias resource records sets only/ : The value used depends on where the queries are routed: * A CloudFront distribution * Specify @Z2FDTNDATAQYW2@ . * 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 /Amazon Web Services General Reference/ . * ELB load balancer * Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID: * 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 value of __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 @<http://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html 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 can't reference a resource record set in a different hosted zone.) ----- * 'atDNSName'+-- * 'atDNSName' - /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/ . * __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 AWS 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 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 @<http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html DescribeLoadBalancers> @ to get the value of @CanonicalHostedZoneName@ . Use the same process to get the @CanonicalHostedZoneNameId@ . See 'HostedZone$Id' . * /AWS CLI/ : Use @<http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html 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 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 S3 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. ----- * 'atEvaluateTargetHealth'+-- * 'atEvaluateTargetHealth' - /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: * 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 can't 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 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 EC2 instance.) If you set @EvaluateTargetHealth@ to @true@ and either no 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 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 EC2 instances that are registered with the load balancer. If no 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 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/ . aliasTarget- :: Text -- ^ 'atHostedZoneId'+ :: ResourceId -- ^ 'atHostedZoneId' -> Text -- ^ 'atDNSName' -> Bool -- ^ 'atEvaluateTargetHealth' -> AliasTarget@@ -109,92 +112,15 @@ , _atEvaluateTargetHealth = pEvaluateTargetHealth_ } --- | /Alias resource records sets only/: The value used depends on where the queries are routed:------ [A CloudFront distribution]--- Specify 'Z2FDTNDATAQYW2'.------ 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+-- | /Alias resource records sets only/ : The value used depends on where the queries are routed: * A CloudFront distribution * Specify @Z2FDTNDATAQYW2@ . * 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 /Amazon Web Services General Reference/ . * ELB load balancer * Specify the value of the hosted zone ID for the load balancer. Use the following methods to get the hosted zone ID: * 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 value of __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 @<http://docs.aws.amazon.com/cli/latest/reference/elb/describe-load-balancers.html 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 can't reference a resource record set in a different hosted zone.)+atHostedZoneId :: Lens' AliasTarget ResourceId atHostedZoneId = lens _atHostedZoneId (\ s a -> s{_atHostedZoneId = a}); --- | /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/.------ - __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.---+-- | /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/ . * __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 AWS 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 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 @<http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html DescribeLoadBalancers> @ to get the value of @CanonicalHostedZoneName@ . Use the same process to get the @CanonicalHostedZoneNameId@ . See 'HostedZone$Id' . * /AWS CLI/ : Use @<http://docs.aws.amazon.com/ElasticLoadBalancing/latest/APIReference/API_DescribeLoadBalancers.html 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 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 S3 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}); --- | /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:------ - 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 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/.+-- | /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: * 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 can't 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 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 EC2 instance.) If you set @EvaluateTargetHealth@ to @true@ and either no 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 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 EC2 instances that are registered with the load balancer. If no 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 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}); @@ -217,6 +143,8 @@ -- | The information for each resource record set that you want to change. --+--+-- -- /See:/ 'change' smart constructor. data Change = Change' { _cAction :: !ChangeAction@@ -227,9 +155,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cAction'+-- * 'cAction' - The action to perform: * @CREATE@ : Creates a resource record set that has the specified values. * @DELETE@ : Deletes a existing resource record set. /Important:/ To delete the resource record set that is associated with a traffic policy instance, use @'DeleteTrafficPolicyInstance' @ . Amazon Route 53 will 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 doesn't 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. The values that you need to include in the request depend on the type of resource record set that you're creating, deleting, or updating: __Basic resource record sets (excluding alias, failover, geolocation, latency, and weighted resource record sets)__ * @Name@ * @Type@ * @TTL@ __Failover, geolocation, latency, or weighted resource record sets (excluding alias resource record sets)__ * @Name@ * @Type@ * @TTL@ * @SetIdentifier@ __Alias resource record sets (including failover alias, geolocation alias, latency alias, and weighted alias resource record sets)__ * @Name@ * @Type@ * @AliasTarget@ (includes @DNSName@ , @EvaluateTargetHealth@ , and @HostedZoneId@ ) * @SetIdentifier@ (for failover, geolocation, latency, and weighted resource record sets) ----- * 'cResourceRecordSet'+-- * 'cResourceRecordSet' - Information about the resource record set to create, delete, or update. change :: ChangeAction -- ^ 'cAction' -> ResourceRecordSet -- ^ 'cResourceRecordSet'@@ -240,20 +168,11 @@ , _cResourceRecordSet = pResourceRecordSet_ } --- | 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).---+-- | The action to perform: * @CREATE@ : Creates a resource record set that has the specified values. * @DELETE@ : Deletes a existing resource record set. /Important:/ To delete the resource record set that is associated with a traffic policy instance, use @'DeleteTrafficPolicyInstance' @ . Amazon Route 53 will 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 doesn't 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. The values that you need to include in the request depend on the type of resource record set that you're creating, deleting, or updating: __Basic resource record sets (excluding alias, failover, geolocation, latency, and weighted resource record sets)__ * @Name@ * @Type@ * @TTL@ __Failover, geolocation, latency, or weighted resource record sets (excluding alias resource record sets)__ * @Name@ * @Type@ * @TTL@ * @SetIdentifier@ __Alias resource record sets (including failover alias, geolocation alias, latency alias, and weighted alias resource record sets)__ * @Name@ * @Type@ * @AliasTarget@ (includes @DNSName@ , @EvaluateTargetHealth@ , and @HostedZoneId@ ) * @SetIdentifier@ (for failover, geolocation, latency, and weighted resource record sets) cAction :: Lens' Change ChangeAction cAction = lens _cAction (\ s a -> s{_cAction = a}); --- | Information about the resource record set to create or delete.+-- | Information about the resource record set to create, delete, or update. cResourceRecordSet :: Lens' Change ResourceRecordSet cResourceRecordSet = lens _cResourceRecordSet (\ s a -> s{_cResourceRecordSet = a}); @@ -269,6 +188,8 @@ -- | The information for a change request. --+--+-- -- /See:/ 'changeBatch' smart constructor. data ChangeBatch = ChangeBatch' { _cbComment :: !(Maybe Text)@@ -279,9 +200,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cbComment'+-- * 'cbComment' - /Optional:/ Any comments you want to include about a change batch request. ----- * 'cbChanges'+-- * 'cbChanges' - Information about the changes to make to the record sets. changeBatch :: NonEmpty Change -- ^ 'cbChanges' -> ChangeBatch@@ -311,10 +232,12 @@ -- | A complex type that describes change information about changes made to your hosted zone. --+--+-- -- /See:/ 'changeInfo' smart constructor. data ChangeInfo = ChangeInfo' { _ciComment :: !(Maybe Text)- , _ciId :: !Text+ , _ciId :: !ResourceId , _ciStatus :: !ChangeStatus , _ciSubmittedAt :: !ISO8601 } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -323,15 +246,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'ciComment'+-- * 'ciComment' - 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. ----- * 'ciId'+-- * 'ciId' - The ID of the request. ----- * 'ciStatus'+-- * 'ciStatus' - The current state of the request. @PENDING@ indicates that this request has not yet been applied to all Amazon Route 53 DNS servers. ----- * 'ciSubmittedAt'+-- * 'ciSubmittedAt' - 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> . changeInfo- :: Text -- ^ 'ciId'+ :: ResourceId -- ^ 'ciId' -> ChangeStatus -- ^ 'ciStatus' -> UTCTime -- ^ 'ciSubmittedAt' -> ChangeInfo@@ -343,21 +266,19 @@ , _ciSubmittedAt = _Time # pSubmittedAt_ } --- | 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.+-- | 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. ciComment :: Lens' ChangeInfo (Maybe Text) ciComment = lens _ciComment (\ s a -> s{_ciComment = a}); -- | The ID of the request.-ciId :: Lens' ChangeInfo Text+ciId :: Lens' ChangeInfo ResourceId 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.+-- | The current state of the request. @PENDING@ indicates that this request has not yet been applied to all Amazon Route 53 DNS servers. ciStatus :: Lens' ChangeInfo ChangeStatus ciStatus = lens _ciStatus (\ s a -> s{_ciStatus = a}); --- | 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>.+-- | 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; @@ -373,6 +294,8 @@ -- | 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' { _cwacDimensions :: !(Maybe [Dimension])@@ -389,21 +312,21 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'cwacDimensions'+-- * 'cwacDimensions' - 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 < http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference> in the /Amazon CloudWatch User Guide/ . ----- * 'cwacEvaluationPeriods'+-- * 'cwacEvaluationPeriods' - For the metric that the CloudWatch alarm is associated with, the number of periods that the metric is compared to the threshold. ----- * 'cwacThreshold'+-- * 'cwacThreshold' - For the metric that the CloudWatch alarm is associated with, the value the metric is compared with. ----- * 'cwacComparisonOperator'+-- * 'cwacComparisonOperator' - For the metric that the CloudWatch alarm is associated with, the arithmetic operation that is used for the comparison. ----- * 'cwacPeriod'+-- * 'cwacPeriod' - For the metric that the CloudWatch alarm is associated with, the duration of one evaluation period in seconds. ----- * 'cwacMetricName'+-- * 'cwacMetricName' - The name of the CloudWatch metric that the alarm is associated with. ----- * 'cwacNamespace'+-- * 'cwacNamespace' - 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 User Guide/ . ----- * 'cwacStatistic'+-- * 'cwacStatistic' - For the metric that the CloudWatch alarm is associated with, the statistic that is applied to the metric. cloudWatchAlarmConfiguration :: Natural -- ^ 'cwacEvaluationPeriods' -> Double -- ^ 'cwacThreshold'@@ -425,7 +348,7 @@ , _cwacStatistic = pStatistic_ } --- | 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/.+-- | 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 < http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html Amazon CloudWatch Namespaces, Dimensions, and Metrics Reference> in the /Amazon CloudWatch User Guide/ . cwacDimensions :: Lens' CloudWatchAlarmConfiguration [Dimension] cwacDimensions = lens _cwacDimensions (\ s a -> s{_cwacDimensions = a}) . _Default . _Coerce; @@ -449,7 +372,7 @@ cwacMetricName :: Lens' CloudWatchAlarmConfiguration Text cwacMetricName = lens _cwacMetricName (\ s a -> s{_cwacMetricName = a}); --- | 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/.+-- | 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 User Guide/ . cwacNamespace :: Lens' CloudWatchAlarmConfiguration Text cwacNamespace = lens _cwacNamespace (\ s a -> s{_cwacNamespace = a}); @@ -476,9 +399,11 @@ -- | A complex type that describes the name servers for this hosted zone. --+--+-- -- /See:/ 'delegationSet' smart constructor. data DelegationSet = DelegationSet'- { _dsId :: !(Maybe Text)+ { _dsId :: !(Maybe ResourceId) , _dsCallerReference :: !(Maybe Text) , _dsNameServers :: !(List1 Text) } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -487,11 +412,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dsId'+-- * 'dsId' - The ID that Amazon Route 53 assigns to a reusable delegation set. ----- * 'dsCallerReference'+-- * 'dsCallerReference' - 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. ----- * 'dsNameServers'+-- * 'dsNameServers' - A complex type that contains a list of the authoritative name servers for the hosted zone. delegationSet :: NonEmpty Text -- ^ 'dsNameServers' -> DelegationSet@@ -502,11 +427,11 @@ , _dsNameServers = _List1 # pNameServers_ } --- | Undocumented member.-dsId :: Lens' DelegationSet (Maybe Text)+-- | The ID that Amazon Route 53 assigns to a reusable delegation set.+dsId :: Lens' DelegationSet (Maybe ResourceId) dsId = lens _dsId (\ s a -> s{_dsId = a}); --- | Undocumented member.+-- | 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. dsCallerReference :: Lens' DelegationSet (Maybe Text) dsCallerReference = lens _dsCallerReference (\ s a -> s{_dsCallerReference = a}); @@ -527,6 +452,8 @@ -- | 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' { _dName :: !Text@@ -537,9 +464,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'dName'+-- * 'dName' - For the metric that the CloudWatch alarm is associated with, the name of one dimension. ----- * 'dValue'+-- * 'dValue' - For the metric that the CloudWatch alarm is associated with, the value of one dimension. dimension :: Text -- ^ 'dName' -> Text -- ^ 'dValue'@@ -568,6 +495,8 @@ -- | A complex type that contains information about a geo location. --+--+-- -- /See:/ 'geoLocation' smart constructor. data GeoLocation = GeoLocation' { _glSubdivisionCode :: !(Maybe Text)@@ -579,11 +508,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'glSubdivisionCode'+-- * 'glSubdivisionCode' - The code for the subdivision, for example, a state in the United States or a province in Canada. ----- * 'glCountryCode'+-- * 'glCountryCode' - The two-letter code for the country. ----- * 'glContinentCode'+-- * 'glContinentCode' - 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. geoLocation :: GeoLocation geoLocation =@@ -601,11 +530,7 @@ glCountryCode :: Lens' GeoLocation (Maybe Text) glCountryCode = lens _glCountryCode (\ s a -> s{_glCountryCode = a}); --- | 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.+-- | 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. glContinentCode :: Lens' GeoLocation (Maybe Text) glContinentCode = lens _glContinentCode (\ s a -> s{_glContinentCode = a}); @@ -626,8 +551,10 @@ "CountryCode" @= _glCountryCode, "ContinentCode" @= _glContinentCode] --- | A complex type that contains the codes and full continent, country, and subdivision names for the specified 'geolocation' code.+-- | 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' { _gldSubdivisionName :: !(Maybe Text)@@ -642,17 +569,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'gldSubdivisionName'+-- * 'gldSubdivisionName' - The full name of the subdivision, for example, a state in the United States or a province in Canada. ----- * 'gldSubdivisionCode'+-- * 'gldSubdivisionCode' - The code for the subdivision, for example, a state in the United States or a province in Canada. ----- * 'gldCountryName'+-- * 'gldCountryName' - The name of the country. ----- * 'gldCountryCode'+-- * 'gldCountryCode' - The two-letter code for the country. ----- * 'gldContinentCode'+-- * 'gldContinentCode' - The two-letter code for the continent. ----- * 'gldContinentName'+-- * 'gldContinentName' - The full name of the continent. geoLocationDetails :: GeoLocationDetails geoLocationDetails =@@ -705,6 +632,8 @@ -- | 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' { _hcCloudWatchAlarmConfiguration :: !(Maybe CloudWatchAlarmConfiguration)@@ -718,15 +647,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'hcCloudWatchAlarmConfiguration'+-- * 'hcCloudWatchAlarmConfiguration' - A complex type that contains information about the CloudWatch alarm that Amazon Route 53 is monitoring for this health check. ----- * 'hcId'+-- * 'hcId' - 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. ----- * 'hcCallerReference'+-- * 'hcCallerReference' - A unique string that you specified when you created the health check. ----- * 'hcHealthCheckConfig'+-- * 'hcHealthCheckConfig' - A complex type that contains detailed information about one health check. ----- * 'hcHealthCheckVersion'+-- * 'hcHealthCheckVersion' - The version of the health check. You can optionally pass this value in a call to @UpdateHealthCheck@ to prevent overwriting another change to the health check. healthCheck :: Text -- ^ 'hcId' -> Text -- ^ 'hcCallerReference'@@ -758,7 +687,7 @@ hcHealthCheckConfig :: Lens' HealthCheck HealthCheckConfig hcHealthCheckConfig = lens _hcHealthCheckConfig (\ s a -> s{_hcHealthCheckConfig = a}); --- | The version of the health check. You can optionally pass this value in a call to 'UpdateHealthCheck' to prevent overwriting another change to the health check.+-- | The version of the health check. You can optionally pass this value in a call to @UpdateHealthCheck@ to prevent overwriting another change to the health check. hcHealthCheckVersion :: Lens' HealthCheck Natural hcHealthCheckVersion = lens _hcHealthCheckVersion (\ s a -> s{_hcHealthCheckVersion = a}) . _Nat; @@ -777,6 +706,8 @@ -- | A complex type that contains information about the health check. --+--+-- -- /See:/ 'healthCheckConfig' smart constructor. data HealthCheckConfig = HealthCheckConfig' { _hccFailureThreshold :: !(Maybe Nat)@@ -801,37 +732,37 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'hccFailureThreshold'+-- * 'hccFailureThreshold' - 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/ . ----- * 'hccIPAddress'+-- * 'hccIPAddress' - The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for @IPAddress@ , 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 returned by DNS, Amazon Route 53 then checks the health of the endpoint. If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for @IPAddress@ . This ensures that the IP address of your instance will never change. For more information, see 'HealthCheckConfig$FullyQualifiedDomainName' . Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: * <https://tools.ietf.org/html/rfc5735 RFC 5735, Special Use IPv4 Addresses> * <https://tools.ietf.org/html/rfc6598 RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space> * <https://tools.ietf.org/html/rfc5156 RFC 5156, Special-Use IPv6 Addresses> When the value of @Type@ is @CALCULATED@ or @CLOUDWATCH_METRIC@ , omit @IPAddress@ . ----- * 'hccEnableSNI'+-- * 'hccEnableSNI' - 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. ----- * 'hccSearchString'+-- * 'hccSearchString' - 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. ----- * 'hccHealthThreshold'+-- * 'hccHealthThreshold' - 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. ----- * 'hccRegions'+-- * 'hccRegions' - 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. ----- * 'hccResourcePath'+-- * 'hccResourcePath' - 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. ----- * 'hccInsufficientDataHealthStatus'+-- * 'hccInsufficientDataHealthStatus' - 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. ----- * 'hccAlarmIdentifier'+-- * 'hccAlarmIdentifier' - 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. ----- * 'hccMeasureLatency'+-- * 'hccMeasureLatency' - 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. /Important:/ You can't change the value of @MeasureLatency@ after you create a health check. ----- * 'hccInverted'+-- * 'hccInverted' - 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. ----- * 'hccFullyQualifiedDomainName'+-- * 'hccFullyQualifiedDomainName' - Amazon Route 53 behavior depends on whether you specify a value for @IPAddress@ . __If you specify a value for__ @IPAddress@ : Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of @FullyQualifiedDomainName@ in the @Host@ header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want 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 preceding cases. __If you don't specify a value for @IPAddress@ __ : Amazon Route 53 sends a DNS request to the domain that you specify for @FullyQualifiedDomainName@ at the interval that you specify for @RequestInterval@ . Using an IPv4 address that DNS returns, 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). /Important:/ 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. ----- * 'hccChildHealthChecks'+-- * 'hccChildHealthChecks' - (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. ----- * 'hccRequestInterval'+-- * 'hccRequestInterval' - 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. /Important:/ You can't change the value of @RequestInterval@ after you create a health check. ----- * 'hccPort'+-- * 'hccPort' - 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@ . ----- * 'hccType'+-- * 'hccType' - The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy. /Important:/ 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. /Important:/ 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. healthCheckConfig :: HealthCheckType -- ^ 'hccType' -> HealthCheckConfig@@ -855,44 +786,23 @@ , _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. 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/.+-- | 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; --- | 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.+-- | The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for @IPAddress@ , 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 returned by DNS, Amazon Route 53 then checks the health of the endpoint. If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for @IPAddress@ . This ensures that the IP address of your instance will never change. For more information, see 'HealthCheckConfig$FullyQualifiedDomainName' . Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: * <https://tools.ietf.org/html/rfc5735 RFC 5735, Special Use IPv4 Addresses> * <https://tools.ietf.org/html/rfc6598 RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space> * <https://tools.ietf.org/html/rfc5156 RFC 5156, Special-Use IPv6 Addresses> 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. 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.+-- | 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}); --- | 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.+-- | 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 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.---+-- | 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; @@ -900,18 +810,11 @@ hccRegions :: Lens' HealthCheckConfig (Maybe (NonEmpty HealthCheckRegion)) hccRegions = lens _hccRegions (\ s a -> s{_hccRegions = a}) . mapping _List1; --- | 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.+-- | 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}); --- | 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.---+-- | 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}); @@ -919,9 +822,7 @@ hccAlarmIdentifier :: Lens' HealthCheckConfig (Maybe AlarmIdentifier) hccAlarmIdentifier = lens _hccAlarmIdentifier (\ s a -> s{_hccAlarmIdentifier = a}); --- | 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.+-- | 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. /Important:/ 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}); @@ -929,69 +830,23 @@ hccInverted :: Lens' HealthCheckConfig (Maybe Bool) hccInverted = lens _hccInverted (\ s a -> s{_hccInverted = a}); --- | 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.+-- | Amazon Route 53 behavior depends on whether you specify a value for @IPAddress@ . __If you specify a value for__ @IPAddress@ : Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of @FullyQualifiedDomainName@ in the @Host@ header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want 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 preceding cases. __If you don't specify a value for @IPAddress@ __ : Amazon Route 53 sends a DNS request to the domain that you specify for @FullyQualifiedDomainName@ at the interval that you specify for @RequestInterval@ . Using an IPv4 address that DNS returns, 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). /Important:/ 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}); --- | (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.+-- | (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. Each Amazon Route 53 health checker makes requests at this interval.------ You can\'t change the value of 'RequestInterval' after you create a health check.+-- | 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. /Important:/ 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; --- | 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'.+-- | 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 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.+-- | The type of health check that you want to create, which indicates how Amazon Route 53 determines whether an endpoint is healthy. /Important:/ 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. /Important:/ 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}); @@ -1049,6 +904,8 @@ -- | 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' { _hcoIPAddress :: !(Maybe Text)@@ -1060,11 +917,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'hcoIPAddress'+-- * 'hcoIPAddress' - The IP address of the Amazon Route 53 health checker that provided the failure reason in @StatusReport@ . ----- * 'hcoStatusReport'+-- * 'hcoStatusReport' - 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. ----- * 'hcoRegion'+-- * 'hcoRegion' - The region of the Amazon Route 53 health checker that provided the status in StatusReport. healthCheckObservation :: HealthCheckObservation healthCheckObservation =@@ -1074,7 +931,7 @@ , _hcoRegion = Nothing } --- | The IP address of the Amazon Route 53 health checker that provided the failure reason in 'StatusReport'.+-- | 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}); @@ -1098,11 +955,13 @@ -- | A complex type that contains general information about the hosted zone. --+--+-- -- /See:/ 'hostedZone' smart constructor. data HostedZone = HostedZone' { _hzConfig :: !(Maybe HostedZoneConfig) , _hzResourceRecordSetCount :: !(Maybe Integer)- , _hzId :: !Text+ , _hzId :: !ResourceId , _hzName :: !Text , _hzCallerReference :: !Text } deriving (Eq,Read,Show,Data,Typeable,Generic)@@ -1111,17 +970,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'hzConfig'+-- * 'hzConfig' - 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. ----- * 'hzResourceRecordSetCount'+-- * 'hzResourceRecordSetCount' - The number of resource record sets in the hosted zone. ----- * 'hzId'+-- * 'hzId' - The ID that Amazon Route 53 assigned to the hosted zone when you created it. ----- * 'hzName'+-- * 'hzName' - The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar. For information about how to specify characters other than @a-z@ , @0-9@ , and @-@ (hyphen) and how to specify internationalized domain names, see 'CreateHostedZone' . ----- * 'hzCallerReference'+-- * 'hzCallerReference' - The value that you specified for @CallerReference@ when you created the hosted zone. hostedZone- :: Text -- ^ 'hzId'+ :: ResourceId -- ^ 'hzId' -> Text -- ^ 'hzName' -> Text -- ^ 'hzCallerReference' -> HostedZone@@ -1134,7 +993,7 @@ , _hzCallerReference = pCallerReference_ } --- | 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.+-- | 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}); @@ -1143,16 +1002,14 @@ hzResourceRecordSetCount = lens _hzResourceRecordSetCount (\ s a -> s{_hzResourceRecordSetCount = a}); -- | The ID that Amazon Route 53 assigned to the hosted zone when you created it.-hzId :: Lens' HostedZone Text+hzId :: Lens' HostedZone ResourceId hzId = lens _hzId (\ s a -> s{_hzId = a}); --- | The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar.------ For information about how to specify characters other than 'a-z', '0-9', and '-' (hyphen) and how to specify internationalized domain names, see < CreateHostedZone>.+-- | The name of the domain. For public hosted zones, this is the name that you have registered with your DNS registrar. For information about how to specify characters other than @a-z@ , @0-9@ , and @-@ (hyphen) and how to specify internationalized domain names, see 'CreateHostedZone' . hzName :: Lens' HostedZone Text hzName = lens _hzName (\ s a -> s{_hzName = a}); --- | The value that you specified for 'CallerReference' when you created 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}); @@ -1168,8 +1025,10 @@ instance NFData HostedZone --- | 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.+-- | 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' { _hzcPrivateZone :: !(Maybe Bool)@@ -1180,9 +1039,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'hzcPrivateZone'+-- * 'hzcPrivateZone' - A value that indicates whether this is a private hosted zone. ----- * 'hzcComment'+-- * 'hzcComment' - Any comments that you want to include about the hosted zone. hostedZoneConfig :: HostedZoneConfig hostedZoneConfig =@@ -1216,8 +1075,8 @@ -- | 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@@ -1227,7 +1086,7 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rrValue'+-- * 'rrValue' - 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/ . You can specify more than one value for all record types except @CNAME@ and @SOA@ . resourceRecord :: Text -- ^ 'rrValue' -> ResourceRecord@@ -1236,11 +1095,7 @@ { _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/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'.+-- | 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/ . You can specify more than one value for all record types except @CNAME@ and @SOA@ . rrValue :: Lens' ResourceRecord Text rrValue = lens _rrValue (\ s a -> s{_rrValue = a}); @@ -1257,6 +1112,8 @@ -- | Information about the resource record set to create or delete. --+--+-- -- /See:/ 'resourceRecordSet' smart constructor. data ResourceRecordSet = ResourceRecordSet' { _rrsTTL :: !(Maybe Nat)@@ -1277,29 +1134,29 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rrsTTL'+-- * 'rrsTTL' - 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@ . ----- * 'rrsResourceRecords'+-- * 'rrsResourceRecords' - Information about the resource records to act upon. ----- * 'rrsAliasTarget'+-- * 'rrsAliasTarget' - /Alias resource record sets only:/ Information about the CloudFront distribution, AWS Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The AWS 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/ . ----- * 'rrsWeight'+-- * 'rrsWeight' - /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 can't 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/ . ----- * 'rrsTrafficPolicyInstanceId'+-- * 'rrsTrafficPolicyInstanceId' - When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set. @TrafficPolicyInstanceId@ is the ID of the traffic policy instance that Amazon Route 53 created this resource record set for. /Important:/ To delete the resource record set that is associated with a traffic policy instance, use @DeleteTrafficPolicyInstance@ . Amazon Route 53 will 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. ----- * 'rrsSetIdentifier'+-- * 'rrsSetIdentifier' - /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. ----- * 'rrsFailover'+-- * 'rrsFailover' - /Failover resource record sets only:/ To configure failover, you add the @Failover@ element to two resource record sets. For one resource record set, you specify @PRIMARY@ as the value for @Failover@ ; for the other resource record set, you specify @SECONDARY@ . In addition, you include the @HealthCheckId@ element and specify the health check that you want Amazon Route 53 to perform for each resource record set. Except where noted, the following failover behaviors assume that you have included the @HealthCheckId@ element in both resource record sets: * 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 can't create non-failover resource record sets that have the same values for the @Name@ and @Type@ elements as failover resource record sets. For failover alias resource record sets, you must also include the @EvaluateTargetHealth@ element and set the value to true. For more information about configuring failover for 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@ ----- * 'rrsHealthCheckId'+-- * 'rrsHealthCheckId' - 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. /Important:/ 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). /Important:/ 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 information, 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> ----- * 'rrsRegion'+-- * 'rrsRegion' - /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 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. 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 can't create non-latency resource record sets that have the same values for the @Name@ and @Type@ elements as latency resource record sets. ----- * 'rrsGeoLocation'+-- * 'rrsGeoLocation' - /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@ . If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource. You can't create two geolocation resource record sets that specify the same geographic location. The value @*@ in the @CountryCode@ element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the @Name@ and @Type@ elements. /Important:/ Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Amazon Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of @CountryCode@ is @*@ , which handles both queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a @*@ resource record set, Amazon Route 53 returns a "no answer" response for queries from those locations. You can't create non-geolocation resource record sets that have the same values for the @Name@ and @Type@ elements as geolocation resource record sets. ----- * 'rrsName'+-- * 'rrsName' - The name of the domain you want to perform the action on. 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/ . You can use the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, @*.example.com@ . Note the following: * 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. /Important:/ 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 can't use an * for one of the middle labels, for example, @marketing.*.example.com@ . In addition, the * must replace the entire label; for example, you can't specify @prod*.example.com@ . ----- * 'rrsType'+-- * 'rrsType' - 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@ | @NAPTR@ | @NS@ | @PTR@ | @SOA@ | @SPF@ | @SRV@ | @TXT@ 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. Values for alias resource record sets: * __CloudFront distributions:__ @A@ If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value of @A@ and one with a value of @AAAA@ . * __AWS Elastic Beanstalk environment that has a regionalized subdomain__ : @A@ * __ELB load balancers:__ @A@ | @AAAA@ * __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@ . resourceRecordSet :: Text -- ^ 'rrsName' -> RecordType -- ^ 'rrsType'@@ -1320,199 +1177,51 @@ , _rrsType = pType_ } --- | 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'.---+-- | 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; -- | 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 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/.---+-- | /Alias resource record sets only:/ Information about the CloudFront distribution, AWS Elastic Beanstalk environment, ELB load balancer, Amazon S3 bucket, or Amazon Route 53 resource record set to which you are redirecting queries. The AWS 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/.---+-- | /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 can't 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/ . rrsWeight :: Lens' ResourceRecordSet (Maybe Natural) rrsWeight = lens _rrsWeight (\ s a -> s{_rrsWeight = a}) . mapping _Nat; --- | Undocumented member.+-- | When you create a traffic policy instance, Amazon Route 53 automatically creates a resource record set. @TrafficPolicyInstanceId@ is the ID of the traffic policy instance that Amazon Route 53 created this resource record set for. /Important:/ To delete the resource record set that is associated with a traffic policy instance, use @DeleteTrafficPolicyInstance@ . Amazon Route 53 will 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. 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. Omit 'SetIdentifier' for any other types of record sets.+-- | /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.------ 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 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'+-- | /Failover resource record sets only:/ To configure failover, you add the @Failover@ element to two resource record sets. For one resource record set, you specify @PRIMARY@ as the value for @Failover@ ; for the other resource record set, you specify @SECONDARY@ . In addition, you include the @HealthCheckId@ element and specify the health check that you want Amazon Route 53 to perform for each resource record set. Except where noted, the following failover behaviors assume that you have included the @HealthCheckId@ element in both resource record sets: * 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 can't create non-failover resource record sets that have the same values for the @Name@ and @Type@ elements as failover resource record sets. For failover alias resource record sets, you must also include the @EvaluateTargetHealth@ element and set the value to true. For more information about configuring failover for 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}); --- | 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>---+-- | 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. /Important:/ 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). /Important:/ 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 information, 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.------ 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.---+-- | /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 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. 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 can't 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'.------ 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.------ You cannot create two geolocation resource record sets that specify the same geographic location.------ The value '*' in the 'CountryCode' element matches all geographic locations that aren\'t specified in other geolocation resource record sets that have the same values for the 'Name' and 'Type' elements.------ Geolocation works by mapping IP addresses to locations. However, some IP addresses aren\'t mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Amazon Route 53 will receive some DNS queries from locations that it can\'t identify. We recommend that you create a resource record set for which the value of 'CountryCode' is '*', which handles both queries that come from locations for which you haven\'t created geolocation resource record sets and queries from IP addresses that aren\'t mapped to a location. If you don\'t create a '*' resource record set, Amazon Route 53 returns a \"no answer\" response for queries from those locations.------ You cannot create non-geolocation resource record sets that have the same values for the 'Name' and 'Type' elements as geolocation resource record sets.+-- | /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@ . If you create separate resource record sets for overlapping geographic regions (for example, one resource record set for a continent and one for a country on the same continent), priority goes to the smallest geographic region. This allows you to route most queries for a continent to one resource and to route queries for a country on that continent to a different resource. You can't create two geolocation resource record sets that specify the same geographic location. The value @*@ in the @CountryCode@ element matches all geographic locations that aren't specified in other geolocation resource record sets that have the same values for the @Name@ and @Type@ elements. /Important:/ Geolocation works by mapping IP addresses to locations. However, some IP addresses aren't mapped to geographic locations, so even if you create geolocation resource record sets that cover all seven continents, Amazon Route 53 will receive some DNS queries from locations that it can't identify. We recommend that you create a resource record set for which the value of @CountryCode@ is @*@ , which handles both queries that come from locations for which you haven't created geolocation resource record sets and queries from IP addresses that aren't mapped to a location. If you don't create a @*@ resource record set, Amazon Route 53 returns a "no answer" response for queries from those locations. You can't create non-geolocation resource record sets that have the same values for the @Name@ and @Type@ elements as geolocation resource record sets. rrsGeoLocation :: Lens' ResourceRecordSet (Maybe GeoLocation) rrsGeoLocation = lens _rrsGeoLocation (\ s a -> s{_rrsGeoLocation = a}); --- | The name of the domain you want to perform the action on.------ 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/.------ You can use the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, '*.example.com'. Note the following:------ - 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'.+-- | The name of the domain you want to perform the action on. 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/ . You can use the asterisk (*) wildcard to replace the leftmost label in a domain name. For example, @*.example.com@ . Note the following: * 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. /Important:/ 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 can't use an * for one of the middle labels, for example, @marketing.*.example.com@ . In addition, the * must replace the entire label; for example, you can't specify @prod*.example.com@ . 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' | 'NAPTR' | 'NS' | 'PTR' | 'SOA' | 'SPF' | 'SRV' | 'TXT'------ 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'------ - __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'.---+-- | 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@ | @NAPTR@ | @NS@ | @PTR@ | @SOA@ | @SPF@ | @SRV@ | @TXT@ 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. Values for alias resource record sets: * __CloudFront distributions:__ @A@ If IPv6 is enabled for the distribution, create two resource record sets to route traffic to your distribution, one with a value of @A@ and one with a value of @AAAA@ . * __AWS Elastic Beanstalk environment that has a regionalized subdomain__ : @A@ * __ELB load balancers:__ @A@ | @AAAA@ * __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}); @@ -1557,6 +1266,8 @@ -- | A complex type containing a resource and its associated tags. --+--+-- -- /See:/ 'resourceTagSet' smart constructor. data ResourceTagSet = ResourceTagSet' { _rtsResourceId :: !(Maybe Text)@@ -1568,11 +1279,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'rtsResourceId'+-- * 'rtsResourceId' - The ID for the specified resource. ----- * 'rtsResourceType'+-- * 'rtsResourceType' - The type of the resource. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . ----- * 'rtsTags'+-- * 'rtsTags' - The tags associated with the specified resource. resourceTagSet :: ResourceTagSet resourceTagSet =@@ -1586,12 +1297,7 @@ rtsResourceId :: Lens' ResourceTagSet (Maybe Text) rtsResourceId = lens _rtsResourceId (\ s a -> s{_rtsResourceId = a}); --- | The type of the resource.------ - The resource type for health checks is 'healthcheck'.------ - The resource type for hosted zones is 'hostedzone'.---+-- | The type of the resource. * The resource type for health checks is @healthcheck@ . * The resource type for hosted zones is @hostedzone@ . rtsResourceType :: Lens' ResourceTagSet (Maybe TagResourceType) rtsResourceType = lens _rtsResourceType (\ s a -> s{_rtsResourceType = a}); @@ -1612,6 +1318,8 @@ -- | 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' { _srStatus :: !(Maybe Text)@@ -1622,9 +1330,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'srStatus'+-- * 'srStatus' - A description of the status of the health check endpoint as reported by one of the Amazon Route 53 health checkers. ----- * 'srCheckedTime'+-- * 'srCheckedTime' - 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. statusReport :: StatusReport statusReport =@@ -1637,7 +1345,7 @@ srStatus :: Lens' StatusReport (Maybe Text) srStatus = lens _srStatus (\ s a -> s{_srStatus = a}); --- | 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.+-- | 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; @@ -1652,6 +1360,8 @@ -- | 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' { _tagValue :: !(Maybe Text)@@ -1662,9 +1372,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tagValue'+-- * 'tagValue' - 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. ----- * 'tagKey'+-- * 'tagKey' - 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. tag :: Tag tag =@@ -1673,25 +1383,11 @@ , _tagKey = Nothing } --- | 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.---+-- | 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 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.---+-- | 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}); @@ -1707,7 +1403,11 @@ toXML Tag'{..} = mconcat ["Value" @= _tagValue, "Key" @= _tagKey] --- | /See:/ 'trafficPolicy' smart constructor.+-- | A complex type that contains settings for a traffic policy.+--+--+--+-- /See:/ 'trafficPolicy' smart constructor. data TrafficPolicy = TrafficPolicy' { _tpComment :: !(Maybe Text) , _tpId :: !Text@@ -1721,17 +1421,17 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tpComment'+-- * 'tpComment' - The comment that you specify in the @CreateTrafficPolicy@ request, if any. ----- * 'tpId'+-- * 'tpId' - The ID that Amazon Route 53 assigned to a traffic policy when you created it. ----- * 'tpVersion'+-- * 'tpVersion' - The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of @Version@ is always 1. ----- * 'tpName'+-- * 'tpName' - The name that you specified when you created the traffic policy. ----- * 'tpType'+-- * 'tpType' - The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance. ----- * 'tpDocument'+-- * 'tpDocument' - The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the @CreateTrafficPolicy@ request. For more information about the JSON format, see <http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html Traffic Policy Document Format> . trafficPolicy :: Text -- ^ 'tpId' -> Natural -- ^ 'tpVersion'@@ -1749,27 +1449,27 @@ , _tpDocument = pDocument_ } --- | Undocumented member.+-- | The comment that you specify in the @CreateTrafficPolicy@ request, if any. tpComment :: Lens' TrafficPolicy (Maybe Text) tpComment = lens _tpComment (\ s a -> s{_tpComment = a}); --- | Undocumented member.+-- | The ID that Amazon Route 53 assigned to a traffic policy when you created it. tpId :: Lens' TrafficPolicy Text tpId = lens _tpId (\ s a -> s{_tpId = a}); --- | Undocumented member.+-- | The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of @Version@ is always 1. tpVersion :: Lens' TrafficPolicy Natural tpVersion = lens _tpVersion (\ s a -> s{_tpVersion = a}) . _Nat; --- | Undocumented member.+-- | The name that you specified when you created the traffic policy. tpName :: Lens' TrafficPolicy Text tpName = lens _tpName (\ s a -> s{_tpName = a}); --- | Undocumented member.+-- | The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance. tpType :: Lens' TrafficPolicy RecordType tpType = lens _tpType (\ s a -> s{_tpType = a}); --- | Undocumented member.+-- | The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy in the @CreateTrafficPolicy@ request. For more information about the JSON format, see <http://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html Traffic Policy Document Format> . tpDocument :: Lens' TrafficPolicy Text tpDocument = lens _tpDocument (\ s a -> s{_tpDocument = a}); @@ -1786,10 +1486,14 @@ instance NFData TrafficPolicy --- | /See:/ 'trafficPolicyInstance' smart constructor.+-- | A complex type that contains settings for the new traffic policy instance.+--+--+--+-- /See:/ 'trafficPolicyInstance' smart constructor. data TrafficPolicyInstance = TrafficPolicyInstance' { _tpiId :: !Text- , _tpiHostedZoneId :: !Text+ , _tpiHostedZoneId :: !ResourceId , _tpiName :: !Text , _tpiTTL :: !Nat , _tpiState :: !Text@@ -1803,26 +1507,26 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tpiId'+-- * 'tpiId' - The ID that Amazon Route 53 assigned to the new traffic policy instance. ----- * 'tpiHostedZoneId'+-- * 'tpiHostedZoneId' - The ID of the hosted zone that Amazon Route 53 created resource record sets in. ----- * 'tpiName'+-- * 'tpiName' - The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance. ----- * 'tpiTTL'+-- * 'tpiTTL' - The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone. ----- * 'tpiState'+-- * 'tpiState' - The value of @State@ is one of the following values: * Applied * Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations. * Creating * Amazon Route 53 is creating the resource record sets. Use @GetTrafficPolicyInstance@ to confirm that the @CreateTrafficPolicyInstance@ request completed successfully. * Failed * Amazon Route 53 wasn't able to create or update the resource record sets. When the value of @State@ is @Failed@ , see @Message@ for an explanation of what caused the request to fail. ----- * 'tpiMessage'+-- * 'tpiMessage' - If @State@ is @Failed@ , an explanation of the reason for the failure. If @State@ is another value, @Message@ is empty. ----- * 'tpiTrafficPolicyId'+-- * 'tpiTrafficPolicyId' - The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone. ----- * 'tpiTrafficPolicyVersion'+-- * 'tpiTrafficPolicyVersion' - The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone. ----- * 'tpiTrafficPolicyType'+-- * 'tpiTrafficPolicyType' - The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance. trafficPolicyInstance :: Text -- ^ 'tpiId'- -> Text -- ^ 'tpiHostedZoneId'+ -> ResourceId -- ^ 'tpiHostedZoneId' -> Text -- ^ 'tpiName' -> Natural -- ^ 'tpiTTL' -> Text -- ^ 'tpiState'@@ -1844,39 +1548,39 @@ , _tpiTrafficPolicyType = pTrafficPolicyType_ } --- | Undocumented member.+-- | The ID that Amazon Route 53 assigned to the new traffic policy instance. tpiId :: Lens' TrafficPolicyInstance Text tpiId = lens _tpiId (\ s a -> s{_tpiId = a}); --- | Undocumented member.-tpiHostedZoneId :: Lens' TrafficPolicyInstance Text+-- | The ID of the hosted zone that Amazon Route 53 created resource record sets in.+tpiHostedZoneId :: Lens' TrafficPolicyInstance ResourceId tpiHostedZoneId = lens _tpiHostedZoneId (\ s a -> s{_tpiHostedZoneId = a}); --- | Undocumented member.+-- | The DNS name, such as www.example.com, for which Amazon Route 53 responds to queries by using the resource record sets that are associated with this traffic policy instance. tpiName :: Lens' TrafficPolicyInstance Text tpiName = lens _tpiName (\ s a -> s{_tpiName = a}); --- | Undocumented member.+-- | The TTL that Amazon Route 53 assigned to all of the resource record sets that it created in the specified hosted zone. tpiTTL :: Lens' TrafficPolicyInstance Natural tpiTTL = lens _tpiTTL (\ s a -> s{_tpiTTL = a}) . _Nat; --- | Undocumented member.+-- | The value of @State@ is one of the following values: * Applied * Amazon Route 53 has finished creating resource record sets, and changes have propagated to all Amazon Route 53 edge locations. * Creating * Amazon Route 53 is creating the resource record sets. Use @GetTrafficPolicyInstance@ to confirm that the @CreateTrafficPolicyInstance@ request completed successfully. * Failed * Amazon Route 53 wasn't able to create or update the resource record sets. When the value of @State@ is @Failed@ , see @Message@ for an explanation of what caused the request to fail. tpiState :: Lens' TrafficPolicyInstance Text tpiState = lens _tpiState (\ s a -> s{_tpiState = a}); --- | Undocumented member.+-- | If @State@ is @Failed@ , an explanation of the reason for the failure. If @State@ is another value, @Message@ is empty. tpiMessage :: Lens' TrafficPolicyInstance Text tpiMessage = lens _tpiMessage (\ s a -> s{_tpiMessage = a}); --- | Undocumented member.+-- | The ID of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone. tpiTrafficPolicyId :: Lens' TrafficPolicyInstance Text tpiTrafficPolicyId = lens _tpiTrafficPolicyId (\ s a -> s{_tpiTrafficPolicyId = a}); --- | Undocumented member.+-- | The version of the traffic policy that Amazon Route 53 used to create resource record sets in the specified hosted zone. tpiTrafficPolicyVersion :: Lens' TrafficPolicyInstance Natural tpiTrafficPolicyVersion = lens _tpiTrafficPolicyVersion (\ s a -> s{_tpiTrafficPolicyVersion = a}) . _Nat; --- | Undocumented member.+-- | The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic policy instance. tpiTrafficPolicyType :: Lens' TrafficPolicyInstance RecordType tpiTrafficPolicyType = lens _tpiTrafficPolicyType (\ s a -> s{_tpiTrafficPolicyType = a}); @@ -1896,7 +1600,11 @@ instance NFData TrafficPolicyInstance --- | /See:/ 'trafficPolicySummary' smart constructor.+-- | A complex type that contains information about the latest version of one traffic policy that is associated with the current AWS account.+--+--+--+-- /See:/ 'trafficPolicySummary' smart constructor. data TrafficPolicySummary = TrafficPolicySummary' { _tpsId :: !Text , _tpsName :: !Text@@ -1909,15 +1617,15 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'tpsId'+-- * 'tpsId' - The ID that Amazon Route 53 assigned to the traffic policy when you created it. ----- * 'tpsName'+-- * 'tpsName' - The name that you specified for the traffic policy when you created it. ----- * 'tpsType'+-- * 'tpsType' - The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance. ----- * 'tpsLatestVersion'+-- * 'tpsLatestVersion' - The version number of the latest version of the traffic policy. ----- * 'tpsTrafficPolicyCount'+-- * 'tpsTrafficPolicyCount' - The number of traffic policies that are associated with the current AWS account. trafficPolicySummary :: Text -- ^ 'tpsId' -> Text -- ^ 'tpsName'@@ -1934,23 +1642,23 @@ , _tpsTrafficPolicyCount = _Nat # pTrafficPolicyCount_ } --- | Undocumented member.+-- | The ID that Amazon Route 53 assigned to the traffic policy when you created it. tpsId :: Lens' TrafficPolicySummary Text tpsId = lens _tpsId (\ s a -> s{_tpsId = a}); --- | Undocumented member.+-- | The name that you specified for the traffic policy when you created it. tpsName :: Lens' TrafficPolicySummary Text tpsName = lens _tpsName (\ s a -> s{_tpsName = a}); --- | Undocumented member.+-- | The DNS type of the resource record sets that Amazon Route 53 creates when you use a traffic policy to create a traffic policy instance. tpsType :: Lens' TrafficPolicySummary RecordType tpsType = lens _tpsType (\ s a -> s{_tpsType = a}); --- | Undocumented member.+-- | The version number of the latest version of the traffic policy. tpsLatestVersion :: Lens' TrafficPolicySummary Natural tpsLatestVersion = lens _tpsLatestVersion (\ s a -> s{_tpsLatestVersion = a}) . _Nat; --- | Undocumented member.+-- | The number of traffic policies that are associated with the current AWS account. tpsTrafficPolicyCount :: Lens' TrafficPolicySummary Natural tpsTrafficPolicyCount = lens _tpsTrafficPolicyCount (\ s a -> s{_tpsTrafficPolicyCount = a}) . _Nat; @@ -1965,7 +1673,11 @@ instance NFData TrafficPolicySummary --- | /See:/ 'vpc' smart constructor.+-- | A complex type that contains information about an Amazon VPC that is associated with a private hosted zone.+--+--+--+-- /See:/ 'vpc' smart constructor. data VPC = VPC' { _vpcVPCRegion :: !(Maybe VPCRegion) , _vpcVPCId :: !(Maybe Text)@@ -1975,9 +1687,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'vpcVPCRegion'+-- * 'vpcVPCRegion' - The region in which you created the VPC that you want to associate with the specified Amazon Route 53 hosted zone. ----- * 'vpcVPCId'+-- * 'vpcVPCId' - Undocumented member. vpc :: VPC vpc =@@ -1986,7 +1698,7 @@ , _vpcVPCId = Nothing } --- | Undocumented member.+-- | The region in which you created the VPC that you want to associate with the specified Amazon Route 53 hosted zone. vpcVPCRegion :: Lens' VPC (Maybe VPCRegion) vpcVPCRegion = lens _vpcVPCRegion (\ s a -> s{_vpcVPCRegion = a});
gen/Network/AWS/Route53/Types/Sum.hs view
@@ -85,6 +85,7 @@ | CWREuWest1 | CWRSaEast1 | CWRUsEast1+ | CWRUsEast2 | CWRUsWest1 | CWRUsWest2 deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)@@ -100,10 +101,11 @@ "eu-west-1" -> pure CWREuWest1 "sa-east-1" -> pure CWRSaEast1 "us-east-1" -> pure CWRUsEast1+ "us-east-2" -> pure CWRUsEast2 "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-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"+ <> "'. 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-east-2, us-west-1, us-west-2" instance ToText CloudWatchRegion where toText = \case@@ -116,6 +118,7 @@ CWREuWest1 -> "eu-west-1" CWRSaEast1 -> "sa-east-1" CWRUsEast1 -> "us-east-1"+ CWRUsEast2 -> "us-east-2" CWRUsWest1 -> "us-west-1" CWRUsWest2 -> "us-west-2" @@ -192,7 +195,9 @@ instance ToXML Failover where toXML = toXMLText --- | An Amazon EC2 region that you want Amazon Route 53 to use to perform health checks.+-- | An Amazon EC2 Region that you want Amazon Route 53 to use to perform health checks.+--+-- data HealthCheckRegion = HCRApNortheast1 | HCRApSoutheast1@@ -447,6 +452,7 @@ | EuWest1 | SaEast1 | UsEast1+ | UsEast2 | UsWest1 | UsWest2 deriving (Eq,Ord,Read,Show,Enum,Bounded,Data,Typeable,Generic)@@ -463,10 +469,11 @@ "eu-west-1" -> pure EuWest1 "sa-east-1" -> pure SaEast1 "us-east-1" -> pure UsEast1+ "us-east-2" -> pure UsEast2 "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-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"+ <> "'. 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-east-2, us-west-1, us-west-2" instance ToText VPCRegion where toText = \case@@ -480,6 +487,7 @@ EuWest1 -> "eu-west-1" SaEast1 -> "sa-east-1" UsEast1 -> "us-east-1"+ UsEast2 -> "us-east-2" UsWest1 -> "us-west-1" UsWest2 -> "us-west-2"
gen/Network/AWS/Route53/UpdateHealthCheck.hs view
@@ -20,7 +20,9 @@ -- -- Updates an existing 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.+--+-- Send a @POST@ request to the @/2013-04-01/healthcheck//health check ID/ @ resource. The request body must include a 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@@ -60,6 +62,8 @@ -- | A complex type that contains the health check request information. --+--+-- -- /See:/ 'updateHealthCheck' smart constructor. data UpdateHealthCheck = UpdateHealthCheck' { _uhcFailureThreshold :: !(Maybe Nat)@@ -83,35 +87,35 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uhcFailureThreshold'+-- * 'uhcFailureThreshold' - 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/ . ----- * 'uhcIPAddress'+-- * 'uhcIPAddress' - The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for @IPAddress@ , 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 is returned by DNS, Amazon Route 53 then checks the health of the endpoint. If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for @IPAddress@ . This ensures that the IP address of your instance never changes. For more information, see <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/ . For more information, see 'UpdateHealthCheckRequest$FullyQualifiedDomainName' . Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: * <https://tools.ietf.org/html/rfc5735 RFC 5735, Special Use IPv4 Addresses> * <https://tools.ietf.org/html/rfc6598 RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space> * <https://tools.ietf.org/html/rfc5156 RFC 5156, Special-Use IPv6 Addresses> ----- * 'uhcEnableSNI'+-- * 'uhcEnableSNI' - 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. ----- * 'uhcSearchString'+-- * 'uhcSearchString' - 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.) ----- * 'uhcHealthThreshold'+-- * 'uhcHealthThreshold' - The number of child health checks that are associated with a @CALCULATED@ health that Amazon Route 53 must consider healthy for the @CALCULATED@ health check to be considered healthy. To specify the child health checks that you want to associate with a @CALCULATED@ health check, use the @ChildHealthChecks@ and @ChildHealthCheck@ elements. Note the following: * 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. ----- * 'uhcRegions'+-- * 'uhcRegions' - 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. ----- * 'uhcResourcePath'+-- * 'uhcResourcePath' - The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html. Specify this value only if you want to change it. ----- * 'uhcInsufficientDataHealthStatus'+-- * 'uhcInsufficientDataHealthStatus' - 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 53 uses 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. ----- * 'uhcHealthCheckVersion'+-- * 'uhcHealthCheckVersion' - 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. ----- * 'uhcAlarmIdentifier'+-- * 'uhcAlarmIdentifier' - Undocumented member. ----- * 'uhcInverted'+-- * 'uhcInverted' - 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. ----- * 'uhcFullyQualifiedDomainName'+-- * 'uhcFullyQualifiedDomainName' - Amazon Route 53 behavior depends on whether you specify a value for @IPAddress@ . __If you specify a value for__ @IPAddress@ : Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of @FullyQualifiedDomainName@ in the @Host@ header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want 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 a value for__ @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 IPv4 address that is returned by DNS, 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). /Important:/ 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. ----- * 'uhcChildHealthChecks'+-- * 'uhcChildHealthChecks' - A complex type that contains one @ChildHealthCheck@ element for each health check that you want to associate with a @CALCULATED@ health check. ----- * 'uhcPort'+-- * 'uhcPort' - The port on the endpoint on which you want Amazon Route 53 to perform health checks. ----- * 'uhcHealthCheckId'+-- * 'uhcHealthCheckId' - 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. updateHealthCheck :: Text -- ^ 'uhcHealthCheckId' -> UpdateHealthCheck@@ -134,40 +138,23 @@ , _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. 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/.+-- | 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 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.------ 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>.+-- | The IPv4 or IPv6 IP address for the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for @IPAddress@ , 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 is returned by DNS, Amazon Route 53 then checks the health of the endpoint. If the endpoint is an EC2 instance, we recommend that you create an Elastic IP address, associate it with your EC2 instance, and specify the Elastic IP address for @IPAddress@ . This ensures that the IP address of your instance never changes. For more information, see <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/ . For more information, see 'UpdateHealthCheckRequest$FullyQualifiedDomainName' . Constraints: Amazon Route 53 can't check the health of endpoints for which the IP address is in local, private, non-routable, or multicast ranges. For more information about IP addresses for which you can't create health checks, see the following documents: * <https://tools.ietf.org/html/rfc5735 RFC 5735, Special Use IPv4 Addresses> * <https://tools.ietf.org/html/rfc6598 RFC 6598, IANA-Reserved IPv4 Prefix for Shared Address Space> * <https://tools.ietf.org/html/rfc5156 RFC 5156, Special-Use IPv6 Addresses> 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. 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.+-- | 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. 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. (You can\'t change the value of 'Type' when you update a health check.)+-- | 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 number of child health checks that are associated with a 'CALCULATED' health that Amazon Route 53 must consider healthy for the 'CALCULATED' health check to be considered healthy. To specify the child health checks that you want to associate with a 'CALCULATED' health check, use the 'ChildHealthChecks' and 'ChildHealthCheck' elements.------ Note the following:------ - 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.---+-- | The number of child health checks that are associated with a @CALCULATED@ health that Amazon Route 53 must consider healthy for the @CALCULATED@ health check to be considered healthy. To specify the child health checks that you want to associate with a @CALCULATED@ health check, use the @ChildHealthChecks@ and @ChildHealthCheck@ elements. Note the following: * 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; @@ -175,24 +162,15 @@ uhcRegions :: Lens' UpdateHealthCheck (Maybe (NonEmpty HealthCheckRegion)) uhcRegions = lens _uhcRegions (\ s a -> s{_uhcRegions = a}) . mapping _List1; --- | The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file \/docs\/route53-health-check.html.------ Specify this value only if you want to change it.+-- | The path that you want Amazon Route 53 to request when performing health checks. The path can be any value for which your endpoint will return an HTTP status code of 2xx or 3xx when the endpoint is healthy, for example the file /docs/route53-health-check.html. Specify this value only if you want to change it. uhcResourcePath :: Lens' UpdateHealthCheck (Maybe Text) uhcResourcePath = lens _uhcResourcePath (\ s a -> s{_uhcResourcePath = a}); --- | Undocumented member.+-- | 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 53 uses 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. uhcInsufficientDataHealthStatus :: Lens' UpdateHealthCheck (Maybe InsufficientDataHealthStatus) uhcInsufficientDataHealthStatus = lens _uhcInsufficientDataHealthStatus (\ s a -> s{_uhcInsufficientDataHealthStatus = a}); --- | 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.---+-- | 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; @@ -204,35 +182,11 @@ uhcInverted :: Lens' UpdateHealthCheck (Maybe Bool) uhcInverted = lens _uhcInverted (\ s a -> s{_uhcInverted = a}); --- | Amazon Route 53 behavior depends on whether you specify a value for 'IPAddress'.------ If a health check already has a value for 'IPAddress', you can change the value. However, you can\'t update an existing health check to add or remove the value of 'IPAddress'.------ __If you specify__ '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.+-- | Amazon Route 53 behavior depends on whether you specify a value for @IPAddress@ . __If you specify a value for__ @IPAddress@ : Amazon Route 53 sends health check requests to the specified IPv4 or IPv6 address and passes the value of @FullyQualifiedDomainName@ in the @Host@ header for all health checks except TCP health checks. This is typically the fully qualified DNS name of the endpoint on which you want 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 a value for__ @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 IPv4 address that is returned by DNS, 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). /Important:/ 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}); --- | A complex type that contains one 'ChildHealthCheck' element for each health check that you want to associate with a 'CALCULATED' health check.+-- | 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; @@ -240,7 +194,7 @@ uhcPort :: Lens' UpdateHealthCheck (Maybe Natural) uhcPort = lens _uhcPort (\ s a -> s{_uhcPort = a}) . mapping _Nat; --- | 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.+-- | 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}); @@ -307,9 +261,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uhcrsResponseStatus'+-- * 'uhcrsResponseStatus' - -- | The response status code. ----- * 'uhcrsHealthCheck'+-- * 'uhcrsHealthCheck' - Undocumented member. updateHealthCheckResponse :: Int -- ^ 'uhcrsResponseStatus' -> HealthCheck -- ^ 'uhcrsHealthCheck'@@ -320,7 +274,7 @@ , _uhcrsHealthCheck = pHealthCheck_ } --- | The response status code.+-- | -- | The response status code. uhcrsResponseStatus :: Lens' UpdateHealthCheckResponse Int uhcrsResponseStatus = lens _uhcrsResponseStatus (\ s a -> s{_uhcrsResponseStatus = a});
gen/Network/AWS/Route53/UpdateHostedZoneComment.hs view
@@ -18,7 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Updates the hosted zone comment. Send a 'POST' request to the '\/2013-04-01\/hostedzone\/hosted zone ID ' resource.+-- 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,21 +47,23 @@ -- | A complex type that contains the hosted zone request information. --+--+-- -- /See:/ 'updateHostedZoneComment' smart constructor. data UpdateHostedZoneComment = UpdateHostedZoneComment' { _uhzcComment :: !(Maybe Text)- , _uhzcId :: !Text+ , _uhzcId :: !ResourceId } deriving (Eq,Read,Show,Data,Typeable,Generic) -- | Creates a value of 'UpdateHostedZoneComment' with the minimum fields required to make a request. -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uhzcComment'+-- * 'uhzcComment' - 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. ----- * 'uhzcId'+-- * 'uhzcId' - The ID for the hosted zone for which you want to update the comment. updateHostedZoneComment- :: Text -- ^ 'uhzcId'+ :: ResourceId -- ^ 'uhzcId' -> UpdateHostedZoneComment updateHostedZoneComment pId_ = UpdateHostedZoneComment'@@ -67,12 +71,12 @@ , _uhzcId = pId_ } --- | 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.+-- | 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 for the hosted zone for which you want to update the comment.-uhzcId :: Lens' UpdateHostedZoneComment Text+uhzcId :: Lens' UpdateHostedZoneComment ResourceId uhzcId = lens _uhzcId (\ s a -> s{_uhzcId = a}); instance AWSRequest UpdateHostedZoneComment where@@ -110,6 +114,8 @@ -- | A complex type that contains the response to the UpdateHostedZoneCommentRequest. --+--+-- -- /See:/ 'updateHostedZoneCommentResponse' smart constructor. data UpdateHostedZoneCommentResponse = UpdateHostedZoneCommentResponse' { _uhzcrsResponseStatus :: !Int@@ -120,9 +126,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'uhzcrsResponseStatus'+-- * 'uhzcrsResponseStatus' - -- | The response status code. ----- * 'uhzcrsHostedZone'+-- * 'uhzcrsHostedZone' - Undocumented member. updateHostedZoneCommentResponse :: Int -- ^ 'uhzcrsResponseStatus' -> HostedZone -- ^ 'uhzcrsHostedZone'@@ -133,7 +139,7 @@ , _uhzcrsHostedZone = pHostedZone_ } --- | The response status code.+-- | -- | The response status code. uhzcrsResponseStatus :: Lens' UpdateHostedZoneCommentResponse Int uhzcrsResponseStatus = lens _uhzcrsResponseStatus (\ s a -> s{_uhzcrsResponseStatus = a});
gen/Network/AWS/Route53/UpdateTrafficPolicyComment.hs view
@@ -20,9 +20,11 @@ -- -- Updates the comment for a specified traffic policy version. ----- Send a 'POST' request to the '\/Amazon Route 53 API version\/trafficpolicy\/' resource. ----- The request body must include a document with an 'UpdateTrafficPolicyCommentRequest' element.+-- Send a @POST@ request to the @/2013-04-01/trafficpolicy/@ resource.+--+-- The request body must include a document with an @UpdateTrafficPolicyCommentRequest@ element.+-- module Network.AWS.Route53.UpdateTrafficPolicyComment ( -- * Creating a Request@@ -50,6 +52,8 @@ -- | A complex type that contains information about the traffic policy for which you want to update the comment. --+--+-- -- /See:/ 'updateTrafficPolicyComment' smart constructor. data UpdateTrafficPolicyComment = UpdateTrafficPolicyComment' { _utpcId :: !Text@@ -61,11 +65,11 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'utpcId'+-- * 'utpcId' - The value of @Id@ for the traffic policy for which you want to update the comment. ----- * 'utpcVersion'+-- * 'utpcVersion' - The value of @Version@ for the traffic policy for which you want to update the comment. ----- * 'utpcComment'+-- * 'utpcComment' - The new comment for the specified traffic policy and version. updateTrafficPolicyComment :: Text -- ^ 'utpcId' -> Natural -- ^ 'utpcVersion'@@ -78,11 +82,11 @@ , _utpcComment = pComment_ } --- | The value of 'Id' for the traffic policy for which you want to update the comment.+-- | The value of @Id@ for the traffic policy for which you want to update the comment. utpcId :: Lens' UpdateTrafficPolicyComment Text utpcId = lens _utpcId (\ s a -> s{_utpcId = a}); --- | The value of 'Version' for the traffic policy for which you want to update the comment.+-- | The value of @Version@ for the traffic policy for which you want to update the comment. utpcVersion :: Lens' UpdateTrafficPolicyComment Natural utpcVersion = lens _utpcVersion (\ s a -> s{_utpcVersion = a}) . _Nat; @@ -127,6 +131,8 @@ -- | A complex type that contains the response information for the traffic policy. --+--+-- -- /See:/ 'updateTrafficPolicyCommentResponse' smart constructor. data UpdateTrafficPolicyCommentResponse = UpdateTrafficPolicyCommentResponse' { _utpcrsResponseStatus :: !Int@@ -137,9 +143,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'utpcrsResponseStatus'+-- * 'utpcrsResponseStatus' - -- | The response status code. ----- * 'utpcrsTrafficPolicy'+-- * 'utpcrsTrafficPolicy' - A complex type that contains settings for the specified traffic policy. updateTrafficPolicyCommentResponse :: Int -- ^ 'utpcrsResponseStatus' -> TrafficPolicy -- ^ 'utpcrsTrafficPolicy'@@ -150,7 +156,7 @@ , _utpcrsTrafficPolicy = pTrafficPolicy_ } --- | The response status code.+-- | -- | The response status code. utpcrsResponseStatus :: Lens' UpdateTrafficPolicyCommentResponse Int utpcrsResponseStatus = lens _utpcrsResponseStatus (\ s a -> s{_utpcrsResponseStatus = a});
gen/Network/AWS/Route53/UpdateTrafficPolicyInstance.hs view
@@ -20,16 +20,19 @@ -- -- Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version. ----- 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. --+-- Send a @POST@ request to the @/2013-04-01/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.+-- * 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.+-- * 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.+-- * Amazon Route 53 deletes the old group of resource record sets that are associated with the root resource record set name. --+--+-- module Network.AWS.Route53.UpdateTrafficPolicyInstance ( -- * Creating a Request@@ -58,6 +61,8 @@ -- | A complex type that contains information about the resource record sets that you want to update based on a specified traffic policy instance. --+--+-- -- /See:/ 'updateTrafficPolicyInstance' smart constructor. data UpdateTrafficPolicyInstance = UpdateTrafficPolicyInstance' { _utpiId :: !Text@@ -70,13 +75,13 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'utpiId'+-- * 'utpiId' - The ID of the traffic policy instance that you want to update. ----- * 'utpiTTL'+-- * 'utpiTTL' - The TTL that you want Amazon Route 53 to assign to all of the updated resource record sets. ----- * 'utpiTrafficPolicyId'+-- * 'utpiTrafficPolicyId' - The ID of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance. ----- * 'utpiTrafficPolicyVersion'+-- * 'utpiTrafficPolicyVersion' - The version of the traffic policy that you want Amazon Route 53 to use to update resource record sets for the specified traffic policy instance. updateTrafficPolicyInstance :: Text -- ^ 'utpiId' -> Natural -- ^ 'utpiTTL'@@ -147,6 +152,8 @@ -- | A complex type that contains information about the resource record sets that Amazon Route 53 created based on a specified traffic policy. --+--+-- -- /See:/ 'updateTrafficPolicyInstanceResponse' smart constructor. data UpdateTrafficPolicyInstanceResponse = UpdateTrafficPolicyInstanceResponse' { _utpirsResponseStatus :: !Int@@ -157,9 +164,9 @@ -- -- Use one of the following lenses to modify other fields as desired: ----- * 'utpirsResponseStatus'+-- * 'utpirsResponseStatus' - -- | The response status code. ----- * 'utpirsTrafficPolicyInstance'+-- * 'utpirsTrafficPolicyInstance' - A complex type that contains settings for the updated traffic policy instance. updateTrafficPolicyInstanceResponse :: Int -- ^ 'utpirsResponseStatus' -> TrafficPolicyInstance -- ^ 'utpirsTrafficPolicyInstance'@@ -170,7 +177,7 @@ , _utpirsTrafficPolicyInstance = pTrafficPolicyInstance_ } --- | The response status code.+-- | -- | The response status code. utpirsResponseStatus :: Lens' UpdateTrafficPolicyInstanceResponse Int utpirsResponseStatus = lens _utpirsResponseStatus (\ s a -> s{_utpirsResponseStatus = a});
gen/Network/AWS/Route53/Waiters.hs view
@@ -21,8 +21,7 @@ import Network.AWS.Route53.Types import Network.AWS.Waiter --- | Polls 'Network.AWS.Route53.GetChange' every 30 seconds until a--- successful state is reached. An error is returned after 60 failed checks.+-- | Polls 'Network.AWS.Route53.GetChange' every 30 seconds until a successful state is reached. An error is returned after 60 failed checks. resourceRecordSetsChanged :: Wait GetChange resourceRecordSetsChanged = Wait
+ src/.gitkeep view
src/Network/AWS/Route53/Internal.hs view
@@ -1,3 +1,11 @@+{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE DeriveGeneric #-}+{-# LANGUAGE GeneralizedNewtypeDeriving #-}+{-# LANGUAGE LambdaCase #-}+{-# LANGUAGE OverloadedStrings #-}++{-# OPTIONS_GHC -Wall -Werror #-}+ -- | -- Module : Network.AWS.Route53.Internal -- Copyright : (c) 2013-2016 Brendan Hay@@ -7,7 +15,73 @@ -- Portability : non-portable (GHC extensions) -- module Network.AWS.Route53.Internal- ( Region (..)+ ( Region (..)+ , ResourceId (..)++ -- * Website Endpoints+ , getHostedZoneId ) where -import Network.AWS.Types (Region (..))+import Data.String (IsString)++import Network.AWS.Data.Log (ToLog)+import Network.AWS.Prelude++import qualified Data.Text as Text++-- | A Route53 identifier for resources such as hosted zones and delegation sets.+--+-- Since Route53 outputs prefixed resource identifiers such as+-- @/hostedzone/ABC123@, but expects unprefixed identifiers as inputs, such as+-- @ABC123@, the 'FromXML' instance will strip this prefix take care to ensure+-- the correct input format is observed and @decodeXML . encodeXML == id@+-- holds.+newtype ResourceId = ResourceId { fromResourceId :: Text }+ deriving+ ( Eq+ , Ord+ , Read+ , Show+ , Data+ , Typeable+ , Generic+ , IsString+ , FromText+ , ToText+ , ToByteString+ , ToXML+ , ToQuery+ , ToLog+ )++instance Hashable ResourceId+instance NFData ResourceId++-- | Handles prefixed Route53 resource identifiers.+instance FromXML ResourceId where+ parseXML = fmap (ResourceId . Text.takeWhileEnd (/= '/')) . parseXML++-- | Get the hosted zone identifier for an S3 website endpoint.+--+-- When you configure your bucket as a website, the website is available using+-- a region-specific website endpoint. This hosted zone identifier is used+-- adding an alias record to the website to your hosted zone.+--+-- /See:/ <http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints Amazon Simple Storage Service Website Endpoints>.+getHostedZoneId :: Region -> Maybe ResourceId+getHostedZoneId = \case+ NorthVirginia -> Just "Z3AQBSTGFYJSTF"+ Ohio -> Just "Z2O1EMRO9K5GLX"+ NorthCalifornia -> Just "Z2F56UZL2M1ACD"+ Oregon -> Just "Z3BJ6K6RIION7M"+ Tokyo -> Just "Z2M4EHUR26P7ZW"+ Seoul -> Just "Z3W03O7B5YMIYP"+ Mumbai -> Just "Z11RGJOFQNVJUP"+ Singapore -> Just "Z3O0J2DXBE1FTB"+ Sydney -> Just "Z1WCIGYICN2BYD"+ SaoPaulo -> Just "Z7KQH4QJS55SO"+ Ireland -> Just "Z1BKCTXD74EZPE"+ Frankfurt -> Just "Z21DNDUVLTQW6Q"+ GovCloud -> Just "Z31GFT0UA1I2HV"+ GovCloudFIPS -> Just "Z31GFT0UA1I2HV"+ Beijing -> Nothing
test/Test/AWS/Gen/Route53.hs view
@@ -76,6 +76,12 @@ -- , requestCreateHostedZone $ -- createHostedZone --+-- , requestCreateVPCAssociationAuthorization $+-- createVPCAssociationAuthorization+--+-- , requestListVPCAssociationAuthorizations $+-- listVPCAssociationAuthorizations+-- -- , requestListTrafficPolicyInstancesByPolicy $ -- listTrafficPolicyInstancesByPolicy --@@ -85,6 +91,9 @@ -- , requestCreateHealthCheck $ -- createHealthCheck --+-- , requestDeleteVPCAssociationAuthorization $+-- deleteVPCAssociationAuthorization+-- -- , requestChangeTagsForResource $ -- changeTagsForResource --@@ -217,6 +226,12 @@ -- , responseCreateHostedZone $ -- createHostedZoneResponse --+-- , responseCreateVPCAssociationAuthorization $+-- createVPCAssociationAuthorizationResponse+--+-- , responseListVPCAssociationAuthorizations $+-- listVPCAssociationAuthorizationsResponse+-- -- , responseListTrafficPolicyInstancesByPolicy $ -- listTrafficPolicyInstancesByPolicyResponse --@@ -226,6 +241,9 @@ -- , responseCreateHealthCheck $ -- createHealthCheckResponse --+-- , responseDeleteVPCAssociationAuthorization $+-- deleteVPCAssociationAuthorizationResponse+-- -- , responseChangeTagsForResource $ -- changeTagsForResourceResponse --@@ -392,6 +410,16 @@ "CreateHostedZone" "fixture/CreateHostedZone.yaml" +requestCreateVPCAssociationAuthorization :: CreateVPCAssociationAuthorization -> TestTree+requestCreateVPCAssociationAuthorization = req+ "CreateVPCAssociationAuthorization"+ "fixture/CreateVPCAssociationAuthorization.yaml"++requestListVPCAssociationAuthorizations :: ListVPCAssociationAuthorizations -> TestTree+requestListVPCAssociationAuthorizations = req+ "ListVPCAssociationAuthorizations"+ "fixture/ListVPCAssociationAuthorizations.yaml"+ requestListTrafficPolicyInstancesByPolicy :: ListTrafficPolicyInstancesByPolicy -> TestTree requestListTrafficPolicyInstancesByPolicy = req "ListTrafficPolicyInstancesByPolicy"@@ -407,6 +435,11 @@ "CreateHealthCheck" "fixture/CreateHealthCheck.yaml" +requestDeleteVPCAssociationAuthorization :: DeleteVPCAssociationAuthorization -> TestTree+requestDeleteVPCAssociationAuthorization = req+ "DeleteVPCAssociationAuthorization"+ "fixture/DeleteVPCAssociationAuthorization.yaml"+ requestChangeTagsForResource :: ChangeTagsForResource -> TestTree requestChangeTagsForResource = req "ChangeTagsForResource"@@ -656,6 +689,20 @@ route53 (Proxy :: Proxy CreateHostedZone) +responseCreateVPCAssociationAuthorization :: CreateVPCAssociationAuthorizationResponse -> TestTree+responseCreateVPCAssociationAuthorization = res+ "CreateVPCAssociationAuthorizationResponse"+ "fixture/CreateVPCAssociationAuthorizationResponse.proto"+ route53+ (Proxy :: Proxy CreateVPCAssociationAuthorization)++responseListVPCAssociationAuthorizations :: ListVPCAssociationAuthorizationsResponse -> TestTree+responseListVPCAssociationAuthorizations = res+ "ListVPCAssociationAuthorizationsResponse"+ "fixture/ListVPCAssociationAuthorizationsResponse.proto"+ route53+ (Proxy :: Proxy ListVPCAssociationAuthorizations)+ responseListTrafficPolicyInstancesByPolicy :: ListTrafficPolicyInstancesByPolicyResponse -> TestTree responseListTrafficPolicyInstancesByPolicy = res "ListTrafficPolicyInstancesByPolicyResponse"@@ -676,6 +723,13 @@ "fixture/CreateHealthCheckResponse.proto" route53 (Proxy :: Proxy CreateHealthCheck)++responseDeleteVPCAssociationAuthorization :: DeleteVPCAssociationAuthorizationResponse -> TestTree+responseDeleteVPCAssociationAuthorization = res+ "DeleteVPCAssociationAuthorizationResponse"+ "fixture/DeleteVPCAssociationAuthorizationResponse.proto"+ route53+ (Proxy :: Proxy DeleteVPCAssociationAuthorization) responseChangeTagsForResource :: ChangeTagsForResourceResponse -> TestTree responseChangeTagsForResource = res