| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | experimental |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Route53.Internal
Contents
Description
Synopsis
- newtype Region where
- Region' {
- fromRegion :: Text
- 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
- Region' {
- newtype ResourceId = ResourceId {}
- getHostedZoneId :: Region -> Maybe ResourceId
Documentation
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
| Eq Region | |
| Ord Region | |
| Read Region | |
| Show Region | |
| IsString Region | |
Defined in Amazonka.Types Methods fromString :: String -> Region # | |
| Generic Region | |
| NFData Region | |
Defined in Amazonka.Types | |
| Hashable Region | |
Defined in Amazonka.Types | |
| ToJSON Region | |
Defined in Amazonka.Types | |
| FromJSON Region | |
| ToLog Region | |
Defined in Amazonka.Types Methods build :: Region -> ByteStringBuilder # | |
| ToQuery Region | |
Defined in Amazonka.Types Methods toQuery :: Region -> QueryString # | |
| FromXML Region | |
| ToXML Region | |
Defined in Amazonka.Types | |
| ToByteString Region | |
Defined in Amazonka.Types Methods toBS :: Region -> ByteString # | |
| FromText Region | |
| ToText 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.
Constructors
| ResourceId | |
Fields | |
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.