libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.Internal

Description

 
Synopsis

Documentation

newtype Region #

The available AWS regions.

Constructors

Region' 

Fields

Bundled Patterns

pattern Mumbai :: Region 
pattern Sydney :: Region 
pattern Singapore :: Region 
pattern Osaka :: Region 
pattern Seoul :: Region 
pattern Tokyo :: Region 
pattern HongKong :: Region 
pattern Ningxia :: Region 
pattern Beijing :: Region 
pattern CapeTown :: Region 
pattern Bahrain :: Region 
pattern Stockholm :: Region 
pattern Paris :: Region 
pattern Milan :: Region 
pattern London :: Region 
pattern Ireland :: Region 
pattern Frankfurt :: Region 
pattern SaoPaulo :: Region 
pattern Montreal :: Region 
pattern GovCloudEast :: Region 
pattern GovCloudWest :: Region 
pattern Oregon :: Region 
pattern NorthCalifornia :: Region 
pattern Ohio :: Region 
pattern NorthVirginia :: Region 

Instances

Instances details
Eq Region 
Instance details

Defined in Amazonka.Types

Methods

(==) :: Region -> Region -> Bool #

(/=) :: Region -> Region -> Bool #

Ord Region 
Instance details

Defined in Amazonka.Types

Read Region 
Instance details

Defined in Amazonka.Types

Show Region 
Instance details

Defined in Amazonka.Types

IsString Region 
Instance details

Defined in Amazonka.Types

Methods

fromString :: String -> Region #

Generic Region 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Region :: Type -> Type #

Methods

from :: Region -> Rep Region x #

to :: Rep Region x -> Region #

NFData Region 
Instance details

Defined in Amazonka.Types

Methods

rnf :: Region -> () #

Hashable Region 
Instance details

Defined in Amazonka.Types

Methods

hashWithSalt :: Int -> Region -> Int #

hash :: Region -> Int #

ToJSON Region 
Instance details

Defined in Amazonka.Types

FromJSON Region 
Instance details

Defined in Amazonka.Types

ToLog Region 
Instance details

Defined in Amazonka.Types

ToQuery Region 
Instance details

Defined in Amazonka.Types

FromXML Region 
Instance details

Defined in Amazonka.Types

ToXML Region 
Instance details

Defined in Amazonka.Types

Methods

toXML :: Region -> XML #

ToByteString Region 
Instance details

Defined in Amazonka.Types

Methods

toBS :: Region -> ByteString #

FromText Region 
Instance details

Defined in Amazonka.Types

ToText Region 
Instance details

Defined in Amazonka.Types

Methods

toText :: Region -> Text #

type Rep Region 
Instance details

Defined in Amazonka.Types

type Rep Region = D1 ('MetaData "Region" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'True) (C1 ('MetaCons "Region'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

newtype ResourceId Source #

A Route53 identifier for resources such as hosted zones and delegation sets.

Since Route53 outputs prefixed resource identifiers such as hostedzoneABC123, 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.

Constructors

ResourceId 

Fields

Instances

Instances details
Eq ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Ord ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Read ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Show ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

IsString ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Generic ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Associated Types

type Rep ResourceId :: Type -> Type #

NFData ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Methods

rnf :: ResourceId -> () #

Hashable ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

ToLog ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

ToQuery ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

FromXML ResourceId Source #

Handles prefixed Route53 resource identifiers.

Instance details

Defined in Amazonka.Route53.Internal

ToXML ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Methods

toXML :: ResourceId -> XML #

ToByteString ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

FromText ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

ToText ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Methods

toText :: ResourceId -> Text #

type Rep ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

type Rep ResourceId = D1 ('MetaData "ResourceId" "Amazonka.Route53.Internal" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'True) (C1 ('MetaCons "ResourceId" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromResourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Website Endpoints

getHostedZoneId :: Region -> Maybe ResourceId Source #

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: Amazon Simple Storage Service Website Endpoints.