amazonka-core-1.6.1: Core data types and functionality for Amazonka libraries.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityprovisional
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Types

Contents

Description

 
Synopsis

Authentication

Credentials

newtype AccessKey Source #

An access key ID.

For example: AKIAIOSFODNN7EXAMPLE

See: Understanding and Getting Your Security Credentials.

Constructors

AccessKey ByteString 
Instances
Eq AccessKey Source # 
Instance details

Defined in Network.AWS.Types

Data AccessKey Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AccessKey -> c AccessKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AccessKey #

toConstr :: AccessKey -> Constr #

dataTypeOf :: AccessKey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AccessKey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AccessKey) #

gmapT :: (forall b. Data b => b -> b) -> AccessKey -> AccessKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AccessKey -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AccessKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> AccessKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AccessKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AccessKey -> m AccessKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessKey -> m AccessKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AccessKey -> m AccessKey #

Read AccessKey Source # 
Instance details

Defined in Network.AWS.Types

Show AccessKey Source # 
Instance details

Defined in Network.AWS.Types

IsString AccessKey Source # 
Instance details

Defined in Network.AWS.Types

Hashable AccessKey Source # 
Instance details

Defined in Network.AWS.Types

ToJSON AccessKey Source # 
Instance details

Defined in Network.AWS.Types

FromJSON AccessKey Source # 
Instance details

Defined in Network.AWS.Types

NFData AccessKey Source # 
Instance details

Defined in Network.AWS.Types

Methods

rnf :: AccessKey -> () #

ToText AccessKey Source # 
Instance details

Defined in Network.AWS.Types

FromText AccessKey Source # 
Instance details

Defined in Network.AWS.Types

ToByteString AccessKey Source # 
Instance details

Defined in Network.AWS.Types

ToQuery AccessKey Source # 
Instance details

Defined in Network.AWS.Types

ToLog AccessKey Source # 
Instance details

Defined in Network.AWS.Types

ToXML AccessKey Source # 
Instance details

Defined in Network.AWS.Types

Methods

toXML :: AccessKey -> XML Source #

FromXML AccessKey Source # 
Instance details

Defined in Network.AWS.Types

newtype SecretKey Source #

Secret access key credential.

For example: wJalrXUtnFEMIK7MDENGbPxRfiCYEXAMPLEKE

See: Understanding and Getting Your Security Credentials.

Constructors

SecretKey ByteString 
Instances
Eq SecretKey Source # 
Instance details

Defined in Network.AWS.Types

Data SecretKey Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SecretKey -> c SecretKey #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SecretKey #

toConstr :: SecretKey -> Constr #

dataTypeOf :: SecretKey -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SecretKey) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SecretKey) #

gmapT :: (forall b. Data b => b -> b) -> SecretKey -> SecretKey #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SecretKey -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SecretKey -> r #

gmapQ :: (forall d. Data d => d -> u) -> SecretKey -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SecretKey -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SecretKey -> m SecretKey #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SecretKey -> m SecretKey #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SecretKey -> m SecretKey #

IsString SecretKey Source # 
Instance details

Defined in Network.AWS.Types

Hashable SecretKey Source # 
Instance details

Defined in Network.AWS.Types

ToJSON SecretKey Source # 
Instance details

Defined in Network.AWS.Types

FromJSON SecretKey Source # 
Instance details

Defined in Network.AWS.Types

NFData SecretKey Source # 
Instance details

Defined in Network.AWS.Types

Methods

rnf :: SecretKey -> () #

ToText SecretKey Source # 
Instance details

Defined in Network.AWS.Types

FromText SecretKey Source # 
Instance details

Defined in Network.AWS.Types

ToByteString SecretKey Source # 
Instance details

Defined in Network.AWS.Types

ToXML SecretKey Source # 
Instance details

Defined in Network.AWS.Types

Methods

toXML :: SecretKey -> XML Source #

FromXML SecretKey Source # 
Instance details

Defined in Network.AWS.Types

newtype SessionToken Source #

A session token used by STS to temporarily authorise access to an AWS resource.

See: Temporary Security Credentials.

Constructors

SessionToken ByteString 
Instances
Eq SessionToken Source # 
Instance details

Defined in Network.AWS.Types

Data SessionToken Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SessionToken -> c SessionToken #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SessionToken #

toConstr :: SessionToken -> Constr #

dataTypeOf :: SessionToken -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SessionToken) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SessionToken) #

gmapT :: (forall b. Data b => b -> b) -> SessionToken -> SessionToken #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SessionToken -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SessionToken -> r #

gmapQ :: (forall d. Data d => d -> u) -> SessionToken -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SessionToken -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SessionToken -> m SessionToken #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SessionToken -> m SessionToken #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SessionToken -> m SessionToken #

IsString SessionToken Source # 
Instance details

Defined in Network.AWS.Types

Hashable SessionToken Source # 
Instance details

Defined in Network.AWS.Types

ToJSON SessionToken Source # 
Instance details

Defined in Network.AWS.Types

FromJSON SessionToken Source # 
Instance details

Defined in Network.AWS.Types

NFData SessionToken Source # 
Instance details

Defined in Network.AWS.Types

Methods

rnf :: SessionToken -> () #

ToText SessionToken Source # 
Instance details

Defined in Network.AWS.Types

FromText SessionToken Source # 
Instance details

Defined in Network.AWS.Types

ToByteString SessionToken Source # 
Instance details

Defined in Network.AWS.Types

ToXML SessionToken Source # 
Instance details

Defined in Network.AWS.Types

FromXML SessionToken Source # 
Instance details

Defined in Network.AWS.Types

Environment

data Auth Source #

An authorisation environment containing AWS credentials, and potentially a reference which can be refreshed out-of-band as temporary credentials expire.

Instances
ToLog Auth Source # 
Instance details

Defined in Network.AWS.Types

Methods

build :: Auth -> Builder Source #

withAuth :: MonadIO m => Auth -> (AuthEnv -> m a) -> m a Source #

data AuthEnv Source #

The AuthN/AuthZ credential environment.

Instances
Eq AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

Methods

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

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

Data AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AuthEnv -> c AuthEnv #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AuthEnv #

toConstr :: AuthEnv -> Constr #

dataTypeOf :: AuthEnv -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AuthEnv) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AuthEnv) #

gmapT :: (forall b. Data b => b -> b) -> AuthEnv -> AuthEnv #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AuthEnv -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AuthEnv -> r #

gmapQ :: (forall d. Data d => d -> u) -> AuthEnv -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AuthEnv -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AuthEnv -> m AuthEnv #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthEnv -> m AuthEnv #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AuthEnv -> m AuthEnv #

Show AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

Generic AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

Associated Types

type Rep AuthEnv :: Type -> Type #

Methods

from :: AuthEnv -> Rep AuthEnv x #

to :: Rep AuthEnv x -> AuthEnv #

FromJSON AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

NFData AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

Methods

rnf :: AuthEnv -> () #

ToLog AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

FromXML AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

type Rep AuthEnv Source # 
Instance details

Defined in Network.AWS.Types

accessKeyId :: Lens' AuthEnv AccessKey Source #

The access key ID that identifies the temporary security credentials.

secretAccessKey :: Lens' AuthEnv SecretKey Source #

The secret access key that can be used to sign requests.

sessionToken :: Lens' AuthEnv (Maybe SessionToken) Source #

The token that users must pass to the service API to use the temporary credentials.

expiration :: Lens' AuthEnv (Maybe UTCTime) Source #

The date on which the current credentials expire.

Logging

data LogLevel Source #

Constructors

Info

Info messages supplied by the user - this level is not emitted by the library.

Error

Error messages only.

Debug

Useful debug information + info + error levels.

Trace

Includes potentially sensitive signing metadata, and non-streaming response bodies.

Instances
Enum LogLevel Source # 
Instance details

Defined in Network.AWS.Types

Eq LogLevel Source # 
Instance details

Defined in Network.AWS.Types

Data LogLevel Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogLevel -> c LogLevel #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogLevel #

toConstr :: LogLevel -> Constr #

dataTypeOf :: LogLevel -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LogLevel) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogLevel) #

gmapT :: (forall b. Data b => b -> b) -> LogLevel -> LogLevel #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogLevel -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogLevel -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogLevel -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogLevel -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogLevel -> m LogLevel #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogLevel -> m LogLevel #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogLevel -> m LogLevel #

Ord LogLevel Source # 
Instance details

Defined in Network.AWS.Types

Show LogLevel Source # 
Instance details

Defined in Network.AWS.Types

ToText LogLevel Source # 
Instance details

Defined in Network.AWS.Types

Methods

toText :: LogLevel -> Text Source #

FromText LogLevel Source # 
Instance details

Defined in Network.AWS.Types

ToByteString LogLevel Source # 
Instance details

Defined in Network.AWS.Types

type Logger = LogLevel -> Builder -> IO () Source #

A function threaded through various request and serialisation routines to log informational and debug messages.

Signing

data Meta where Source #

Signing algorithm specific metadata.

Constructors

Meta :: ToLog a => a -> Meta 
Instances
ToLog Meta Source # 
Instance details

Defined in Network.AWS.Types

Methods

build :: Meta -> Builder Source #

data Signer Source #

Constructors

Signer 

Fields

data Signed a Source #

A signed ClientRequest and associated metadata specific to the signing algorithm, tagged with the initial request type to be able to obtain the associated response, 'Rs a'.

Constructors

Signed 

Service

data Abbrev Source #

Abbreviated service name.

Instances
Eq Abbrev Source # 
Instance details

Defined in Network.AWS.Types

Methods

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

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

Ord Abbrev Source # 
Instance details

Defined in Network.AWS.Types

Show Abbrev Source # 
Instance details

Defined in Network.AWS.Types

IsString Abbrev Source # 
Instance details

Defined in Network.AWS.Types

Methods

fromString :: String -> Abbrev #

FromJSON Abbrev Source # 
Instance details

Defined in Network.AWS.Types

ToText Abbrev Source # 
Instance details

Defined in Network.AWS.Types

Methods

toText :: Abbrev -> Text Source #

FromText Abbrev Source # 
Instance details

Defined in Network.AWS.Types

ToLog Abbrev Source # 
Instance details

Defined in Network.AWS.Types

Methods

build :: Abbrev -> Builder Source #

FromXML Abbrev Source # 
Instance details

Defined in Network.AWS.Types

data Service Source #

Attributes and functions specific to an AWS service.

Requests

class AWSRequest a where Source #

Specify how a request can be de/serialised.

Associated Types

type Rs a :: * Source #

The successful, expected response associated with a request.

data Request a Source #

An unsigned request.

Responses

type Response a = (Status, Rs a) Source #

Retries

data Retry Source #

Constants and predicates used to create a RetryPolicy.

Constructors

Exponential 

Fields

Errors

class AsError a where Source #

Minimal complete definition

_Error

Methods

_Error :: Prism' a Error Source #

A general Amazonka error.

_TransportError :: Prism' a HttpException Source #

An error occured while communicating over HTTP with a remote service.

_SerializeError :: Prism' a SerializeError Source #

A serialisation error occured when attempting to deserialise a response.

_ServiceError :: Prism' a ServiceError Source #

A service specific error returned by the remote service.

HTTP Errors

data HttpException #

An exception which may be generated by this library

Since: http-client-0.5.0

Serialize Errors

data SerializeError Source #

Constructors

SerializeError' 

Fields

Service Errors

Error Types

newtype ErrorCode Source #

Constructors

ErrorCode Text 
Instances
Eq ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

Ord ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

Show ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

IsString ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

FromJSON ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

ToText ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

FromText ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

ToLog ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

FromXML ErrorCode Source # 
Instance details

Defined in Network.AWS.Types

newtype ErrorMessage Source #

Constructors

ErrorMessage Text 
Instances
Eq ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

Ord ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

Show ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

IsString ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

FromJSON ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

ToText ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

FromText ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

ToLog ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

FromXML ErrorMessage Source # 
Instance details

Defined in Network.AWS.Types

newtype RequestId Source #

Constructors

RequestId Text 
Instances
Eq RequestId Source # 
Instance details

Defined in Network.AWS.Types

Ord RequestId Source # 
Instance details

Defined in Network.AWS.Types

Show RequestId Source # 
Instance details

Defined in Network.AWS.Types

IsString RequestId Source # 
Instance details

Defined in Network.AWS.Types

FromJSON RequestId Source # 
Instance details

Defined in Network.AWS.Types

ToText RequestId Source # 
Instance details

Defined in Network.AWS.Types

FromText RequestId Source # 
Instance details

Defined in Network.AWS.Types

ToLog RequestId Source # 
Instance details

Defined in Network.AWS.Types

FromXML RequestId Source # 
Instance details

Defined in Network.AWS.Types

Regions

data Region Source #

The available AWS regions.

Constructors

NorthVirginia

US East ('us-east-1').

Ohio

US East ('us-east-2').

NorthCalifornia

US West ('us-west-1').

Oregon

US West ('us-west-2').

Montreal

Canada ('ca-central-1').

Tokyo

Asia Pacific ('ap-northeast-1').

Seoul

Asia Pacific ('ap-northeast-2').

Mumbai

Asia Pacific ('ap-south-1').

Singapore

Asia Pacific ('ap-southeast-1').

Sydney

Asia Pacific ('ap-southeast-2').

SaoPaulo

South America ('sa-east-1').

Ireland

EU ('eu-west-1').

London

EU ('eu-west-2').

Frankfurt

EU ('eu-central-1').

GovCloud

US GovCloud ('us-gov-west-1').

GovCloudFIPS

US GovCloud FIPS (S3 Only, 'fips-us-gov-west-1').

Beijing

China ('cn-north-1').

Instances
Bounded Region Source # 
Instance details

Defined in Network.AWS.Types

Enum Region Source # 
Instance details

Defined in Network.AWS.Types

Eq Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

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

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

Data Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Region -> c Region #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Region #

toConstr :: Region -> Constr #

dataTypeOf :: Region -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Region) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Region) #

gmapT :: (forall b. Data b => b -> b) -> Region -> Region #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Region -> r #

gmapQ :: (forall d. Data d => d -> u) -> Region -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Region -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Region -> m Region #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Region -> m Region #

Ord Region Source # 
Instance details

Defined in Network.AWS.Types

Read Region Source # 
Instance details

Defined in Network.AWS.Types

Show Region Source # 
Instance details

Defined in Network.AWS.Types

Generic Region Source # 
Instance details

Defined in Network.AWS.Types

Associated Types

type Rep Region :: Type -> Type #

Methods

from :: Region -> Rep Region x #

to :: Rep Region x -> Region #

Hashable Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

hashWithSalt :: Int -> Region -> Int #

hash :: Region -> Int #

ToJSON Region Source # 
Instance details

Defined in Network.AWS.Types

FromJSON Region Source # 
Instance details

Defined in Network.AWS.Types

NFData Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

rnf :: Region -> () #

ToText Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

toText :: Region -> Text Source #

FromText Region Source # 
Instance details

Defined in Network.AWS.Types

ToByteString Region Source # 
Instance details

Defined in Network.AWS.Types

ToLog Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

build :: Region -> Builder Source #

ToXML Region Source # 
Instance details

Defined in Network.AWS.Types

Methods

toXML :: Region -> XML Source #

FromXML Region Source # 
Instance details

Defined in Network.AWS.Types

type Rep Region Source # 
Instance details

Defined in Network.AWS.Types

type Rep Region = D1 (MetaData "Region" "Network.AWS.Types" "amazonka-core-1.6.1-FZORvxk9gh76fGemhSgXQL" False) ((((C1 (MetaCons "NorthVirginia" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Ohio" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "NorthCalifornia" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Oregon" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "Montreal" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Tokyo" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Seoul" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Mumbai" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "Singapore" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Sydney" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SaoPaulo" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Ireland" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "London" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Frankfurt" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "GovCloud" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "GovCloudFIPS" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Beijing" PrefixI False) (U1 :: Type -> Type))))))

Endpoints

data Endpoint Source #

Instances
Eq Endpoint Source # 
Instance details

Defined in Network.AWS.Types

Data Endpoint Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Endpoint -> c Endpoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Endpoint #

toConstr :: Endpoint -> Constr #

dataTypeOf :: Endpoint -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Endpoint) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Endpoint) #

gmapT :: (forall b. Data b => b -> b) -> Endpoint -> Endpoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Endpoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Endpoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> Endpoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Endpoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Endpoint -> m Endpoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Endpoint -> m Endpoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Endpoint -> m Endpoint #

Show Endpoint Source # 
Instance details

Defined in Network.AWS.Types

HTTP

type ClientRequest = Request Source #

A convenience alias to avoid type ambiguity.

type ClientResponse = Response ResponseBody Source #

A convenience alias encapsulating the common Response.

type ResponseBody = ConduitM () ByteString (ResourceT IO) () Source #

A convenience alias encapsulating the common Response body.

clientRequest :: Endpoint -> Maybe Seconds -> ClientRequest Source #

Construct a ClientRequest using common parameters such as TLS and prevent throwing errors when receiving erroneous status codes in respones.

Seconds

newtype Seconds Source #

An integral value representing seconds.

Constructors

Seconds Int 
Instances
Bounded Seconds Source # 
Instance details

Defined in Network.AWS.Types

Enum Seconds Source # 
Instance details

Defined in Network.AWS.Types

Eq Seconds Source # 
Instance details

Defined in Network.AWS.Types

Methods

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

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

Integral Seconds Source # 
Instance details

Defined in Network.AWS.Types

Data Seconds Source # 
Instance details

Defined in Network.AWS.Types

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Seconds -> c Seconds #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Seconds #

toConstr :: Seconds -> Constr #

dataTypeOf :: Seconds -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Seconds) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Seconds) #

gmapT :: (forall b. Data b => b -> b) -> Seconds -> Seconds #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Seconds -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Seconds -> r #

gmapQ :: (forall d. Data d => d -> u) -> Seconds -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Seconds -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Seconds -> m Seconds #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Seconds -> m Seconds #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Seconds -> m Seconds #

Num Seconds Source # 
Instance details

Defined in Network.AWS.Types

Ord Seconds Source # 
Instance details

Defined in Network.AWS.Types

Read Seconds Source # 
Instance details

Defined in Network.AWS.Types

Real Seconds Source # 
Instance details

Defined in Network.AWS.Types

Show Seconds Source # 
Instance details

Defined in Network.AWS.Types

Generic Seconds Source # 
Instance details

Defined in Network.AWS.Types

Associated Types

type Rep Seconds :: Type -> Type #

Methods

from :: Seconds -> Rep Seconds x #

to :: Rep Seconds x -> Seconds #

Hashable Seconds Source # 
Instance details

Defined in Network.AWS.Types

Methods

hashWithSalt :: Int -> Seconds -> Int #

hash :: Seconds -> Int #

NFData Seconds Source # 
Instance details

Defined in Network.AWS.Types

Methods

rnf :: Seconds -> () #

ToText Seconds Source # 
Instance details

Defined in Network.AWS.Types

Methods

toText :: Seconds -> Text Source #

FromText Seconds Source # 
Instance details

Defined in Network.AWS.Types

ToByteString Seconds Source # 
Instance details

Defined in Network.AWS.Types

ToQuery Seconds Source # 
Instance details

Defined in Network.AWS.Types

ToLog Seconds Source # 
Instance details

Defined in Network.AWS.Types

type Rep Seconds Source # 
Instance details

Defined in Network.AWS.Types

type Rep Seconds = D1 (MetaData "Seconds" "Network.AWS.Types" "amazonka-core-1.6.1-FZORvxk9gh76fGemhSgXQL" True) (C1 (MetaCons "Seconds" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Isomorphisms

_Coerce :: (Coercible a b, Coercible b a) => Iso' a b Source #

_Default :: Monoid a => Iso' (Maybe a) a Source #

Invalid Iso, should be a Prism but exists for ease of composition with the current 'Lens . Iso' chaining to hide internal types from the user.