amazonka-route53-2.0: Amazon Route 53 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka.com>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Route53.Internal

Description

 
Synopsis

Documentation

newtype Region #

The available AWS regions.

Constructors

Region' 

Fields

Bundled Patterns

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

Instances

Instances details
FromJSON Region 
Instance details

Defined in Amazonka.Types

ToJSON Region 
Instance details

Defined in Amazonka.Types

ToByteString Region 
Instance details

Defined in Amazonka.Types

Methods

toBS :: Region -> ByteString #

ToLog Region 
Instance details

Defined in Amazonka.Types

ToQuery Region 
Instance details

Defined in Amazonka.Types

FromText Region 
Instance details

Defined in Amazonka.Types

ToText Region 
Instance details

Defined in Amazonka.Types

Methods

toText :: Region -> Text #

FromXML Region 
Instance details

Defined in Amazonka.Types

ToXML Region 
Instance details

Defined in Amazonka.Types

Methods

toXML :: Region -> XML #

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 #

Read Region 
Instance details

Defined in Amazonka.Types

Show Region 
Instance details

Defined in Amazonka.Types

NFData Region 
Instance details

Defined in Amazonka.Types

Methods

rnf :: Region -> () #

Eq Region 
Instance details

Defined in Amazonka.Types

Methods

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

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

Ord Region 
Instance details

Defined in Amazonka.Types

Hashable Region 
Instance details

Defined in Amazonka.Types

Methods

hashWithSalt :: Int -> Region -> Int #

hash :: Region -> Int #

type Rep Region 
Instance details

Defined in Amazonka.Types

type Rep Region = D1 ('MetaData "Region" "Amazonka.Types" "amazonka-core-2.0-BFuA7FRvuklLoYhn4b6A6p" '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
ToByteString 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

FromText ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

ToText ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Methods

toText :: ResourceId -> Text #

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 #

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 #

Read ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Show ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

NFData ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Methods

rnf :: ResourceId -> () #

Eq ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Ord ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

Hashable ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

type Rep ResourceId Source # 
Instance details

Defined in Amazonka.Route53.Internal

type Rep ResourceId = D1 ('MetaData "ResourceId" "Amazonka.Route53.Internal" "amazonka-route53-2.0-8wP357MyuPX6rh87d4wklb" '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.