Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka.com> |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- newtype Region where
- Region' {
- fromRegion :: Text
- 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
- Region' {
- newtype ResourceId = ResourceId {}
- _ResourceId :: Iso' ResourceId Text
- getHostedZoneId :: Region -> Maybe ResourceId
Documentation
The available AWS regions.
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
FromJSON Region | |
ToJSON Region | |
Defined in Amazonka.Types | |
ToByteString Region | |
Defined in Amazonka.Types toBS :: Region -> ByteString # | |
ToLog Region | |
Defined in Amazonka.Types build :: Region -> ByteStringBuilder # | |
ToQuery Region | |
Defined in Amazonka.Types toQuery :: Region -> QueryString # | |
FromText Region | |
ToText Region | |
Defined in Amazonka.Types | |
FromXML Region | |
ToXML Region | |
Defined in Amazonka.Types | |
IsString Region | |
Defined in Amazonka.Types fromString :: String -> Region # | |
Generic Region | |
Read Region | |
Show Region | |
NFData Region | |
Defined in Amazonka.Types | |
Eq Region | |
Ord Region | |
Hashable Region | |
Defined in Amazonka.Types | |
type Rep Region | |
Defined in Amazonka.Types |
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.
Instances
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.