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

Amazonka.Types

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

Instances details
Eq AccessKey Source # 
Instance details

Defined in Amazonka.Types

Read AccessKey Source # 
Instance details

Defined in Amazonka.Types

Show AccessKey Source # 
Instance details

Defined in Amazonka.Types

IsString AccessKey Source # 
Instance details

Defined in Amazonka.Types

Generic AccessKey Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep AccessKey :: Type -> Type #

NFData AccessKey Source # 
Instance details

Defined in Amazonka.Types

Methods

rnf :: AccessKey -> () #

Hashable AccessKey Source # 
Instance details

Defined in Amazonka.Types

ToJSON AccessKey Source # 
Instance details

Defined in Amazonka.Types

FromJSON AccessKey Source # 
Instance details

Defined in Amazonka.Types

ToText AccessKey Source # 
Instance details

Defined in Amazonka.Types

FromText AccessKey Source # 
Instance details

Defined in Amazonka.Types

ToByteString AccessKey Source # 
Instance details

Defined in Amazonka.Types

ToXML AccessKey Source # 
Instance details

Defined in Amazonka.Types

Methods

toXML :: AccessKey -> XML Source #

FromXML AccessKey Source # 
Instance details

Defined in Amazonka.Types

ToQuery AccessKey Source # 
Instance details

Defined in Amazonka.Types

ToLog AccessKey Source # 
Instance details

Defined in Amazonka.Types

type Rep AccessKey Source # 
Instance details

Defined in Amazonka.Types

type Rep AccessKey = D1 ('MetaData "AccessKey" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'True) (C1 ('MetaCons "AccessKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

newtype SecretKey Source #

Secret access key credential.

For example: wJalrXUtnFEMIK7MDENGbPxRfiCYEXAMPLEKE

See: Understanding and Getting Your Security Credentials.

Constructors

SecretKey ByteString 

Instances

Instances details
Eq SecretKey Source # 
Instance details

Defined in Amazonka.Types

IsString SecretKey Source # 
Instance details

Defined in Amazonka.Types

Generic SecretKey Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep SecretKey :: Type -> Type #

NFData SecretKey Source # 
Instance details

Defined in Amazonka.Types

Methods

rnf :: SecretKey -> () #

Hashable SecretKey Source # 
Instance details

Defined in Amazonka.Types

ToJSON SecretKey Source # 
Instance details

Defined in Amazonka.Types

FromJSON SecretKey Source # 
Instance details

Defined in Amazonka.Types

ToText SecretKey Source # 
Instance details

Defined in Amazonka.Types

FromText SecretKey Source # 
Instance details

Defined in Amazonka.Types

ToByteString SecretKey Source # 
Instance details

Defined in Amazonka.Types

ToXML SecretKey Source # 
Instance details

Defined in Amazonka.Types

Methods

toXML :: SecretKey -> XML Source #

FromXML SecretKey Source # 
Instance details

Defined in Amazonka.Types

type Rep SecretKey Source # 
Instance details

Defined in Amazonka.Types

type Rep SecretKey = D1 ('MetaData "SecretKey" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'True) (C1 ('MetaCons "SecretKey" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

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

Instances details
Eq SessionToken Source # 
Instance details

Defined in Amazonka.Types

IsString SessionToken Source # 
Instance details

Defined in Amazonka.Types

Generic SessionToken Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep SessionToken :: Type -> Type #

NFData SessionToken Source # 
Instance details

Defined in Amazonka.Types

Methods

rnf :: SessionToken -> () #

Hashable SessionToken Source # 
Instance details

Defined in Amazonka.Types

ToJSON SessionToken Source # 
Instance details

Defined in Amazonka.Types

FromJSON SessionToken Source # 
Instance details

Defined in Amazonka.Types

ToText SessionToken Source # 
Instance details

Defined in Amazonka.Types

FromText SessionToken Source # 
Instance details

Defined in Amazonka.Types

ToByteString SessionToken Source # 
Instance details

Defined in Amazonka.Types

ToXML SessionToken Source # 
Instance details

Defined in Amazonka.Types

FromXML SessionToken Source # 
Instance details

Defined in Amazonka.Types

type Rep SessionToken Source # 
Instance details

Defined in Amazonka.Types

type Rep SessionToken = D1 ('MetaData "SessionToken" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'True) (C1 ('MetaCons "SessionToken" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 ByteString)))

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

Instances details
ToLog Auth Source # 
Instance details

Defined in Amazonka.Types

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

data AuthEnv Source #

The AuthN/AuthZ credential environment.

Instances

Instances details
Eq AuthEnv Source # 
Instance details

Defined in Amazonka.Types

Methods

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

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

Show AuthEnv Source # 
Instance details

Defined in Amazonka.Types

Generic AuthEnv Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep AuthEnv :: Type -> Type #

Methods

from :: AuthEnv -> Rep AuthEnv x #

to :: Rep AuthEnv x -> AuthEnv #

NFData AuthEnv Source # 
Instance details

Defined in Amazonka.Types

Methods

rnf :: AuthEnv -> () #

FromJSON AuthEnv Source # 
Instance details

Defined in Amazonka.Types

FromXML AuthEnv Source # 
Instance details

Defined in Amazonka.Types

ToLog AuthEnv Source # 
Instance details

Defined in Amazonka.Types

type Rep AuthEnv Source # 
Instance details

Defined in Amazonka.Types

type Rep AuthEnv = D1 ('MetaData "AuthEnv" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'False) (C1 ('MetaCons "AuthEnv" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_authAccessKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 AccessKey) :*: S1 ('MetaSel ('Just "_authSecretAccessKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive SecretKey))) :*: (S1 ('MetaSel ('Just "_authSessionToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive SessionToken))) :*: S1 ('MetaSel ('Just "_authExpiration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))))

authAccessKeyId :: Lens' AuthEnv AccessKey Source #

The access key ID that identifies the temporary security credentials.

authSecretAccessKey :: Lens' AuthEnv SecretKey Source #

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

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

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

authExpiration :: 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

Instances details
Enum LogLevel Source # 
Instance details

Defined in Amazonka.Types

Eq LogLevel Source # 
Instance details

Defined in Amazonka.Types

Ord LogLevel Source # 
Instance details

Defined in Amazonka.Types

Show LogLevel Source # 
Instance details

Defined in Amazonka.Types

Generic LogLevel Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep LogLevel :: Type -> Type #

Methods

from :: LogLevel -> Rep LogLevel x #

to :: Rep LogLevel x -> LogLevel #

ToText LogLevel Source # 
Instance details

Defined in Amazonka.Types

Methods

toText :: LogLevel -> Text Source #

FromText LogLevel Source # 
Instance details

Defined in Amazonka.Types

ToByteString LogLevel Source # 
Instance details

Defined in Amazonka.Types

type Rep LogLevel Source # 
Instance details

Defined in Amazonka.Types

type Rep LogLevel = D1 ('MetaData "LogLevel" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'False) ((C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Trace" 'PrefixI 'False) (U1 :: Type -> Type)))

type Logger = LogLevel -> ByteStringBuilder -> 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

Instances details
ToLog Meta Source # 
Instance details

Defined in Amazonka.Types

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, AWSResponse a.

Constructors

Signed 

Service

data Abbrev Source #

Abbreviated service name.

Instances

Instances details
Eq Abbrev Source # 
Instance details

Defined in Amazonka.Types

Methods

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

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

Ord Abbrev Source # 
Instance details

Defined in Amazonka.Types

Show Abbrev Source # 
Instance details

Defined in Amazonka.Types

IsString Abbrev Source # 
Instance details

Defined in Amazonka.Types

Methods

fromString :: String -> Abbrev #

Generic Abbrev Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Abbrev :: Type -> Type #

Methods

from :: Abbrev -> Rep Abbrev x #

to :: Rep Abbrev x -> Abbrev #

FromJSON Abbrev Source # 
Instance details

Defined in Amazonka.Types

ToText Abbrev Source # 
Instance details

Defined in Amazonka.Types

Methods

toText :: Abbrev -> Text Source #

FromText Abbrev Source # 
Instance details

Defined in Amazonka.Types

FromXML Abbrev Source # 
Instance details

Defined in Amazonka.Types

ToLog Abbrev Source # 
Instance details

Defined in Amazonka.Types

type Rep Abbrev Source # 
Instance details

Defined in Amazonka.Types

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

data Service Source #

Attributes and functions specific to an AWS service.

Instances

Instances details
Generic Service Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Service :: Type -> Type #

Methods

from :: Service -> Rep Service x #

to :: Rep Service x -> Service #

type Rep Service Source # 
Instance details

Defined in Amazonka.Types

Requests

class AWSRequest a where Source #

Specify how a request can be de/serialised.

Associated Types

type AWSResponse a :: * Source #

The successful, expected response associated with a request.

data Request a Source #

An unsigned request.

Instances

Instances details
Generic (Request a) Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep (Request a) :: Type -> Type #

Methods

from :: Request a -> Rep (Request a) x #

to :: Rep (Request a) x -> Request a #

type Rep (Request a) Source # 
Instance details

Defined in Amazonka.Types

requestUnsigned :: Request a -> Region -> ClientRequest Source #

Create an unsigned ClientRequest. You will almost never need to do this.

Retries

data Retry Source #

Constants and predicates used to create a RetryPolicy.

Constructors

Exponential 

Fields

Instances

Instances details
Generic Retry Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Retry :: Type -> Type #

Methods

from :: Retry -> Rep Retry x #

to :: Rep Retry x -> Retry #

type Rep Retry Source # 
Instance details

Defined in Amazonka.Types

type Rep Retry = D1 ('MetaData "Retry" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'False) (C1 ('MetaCons "Exponential" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_retryBase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double) :*: S1 ('MetaSel ('Just "_retryGrowth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "_retryAttempts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "_retryCheck") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (ServiceError -> Maybe Text)))))

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.

data Error Source #

An error type representing errors that can be attributed to this library.

Instances

Instances details
Show Error Source # 
Instance details

Defined in Amazonka.Types

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Generic Error Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Error :: Type -> Type #

Methods

from :: Error -> Rep Error x #

to :: Rep Error x -> Error #

Exception Error Source # 
Instance details

Defined in Amazonka.Types

ToLog Error Source # 
Instance details

Defined in Amazonka.Types

AsError Error Source # 
Instance details

Defined in Amazonka.Types

type Rep Error Source # 
Instance details

Defined in Amazonka.Types

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

Instances

Instances details
Eq SerializeError Source # 
Instance details

Defined in Amazonka.Types

Show SerializeError Source # 
Instance details

Defined in Amazonka.Types

Generic SerializeError Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep SerializeError :: Type -> Type #

ToLog SerializeError Source # 
Instance details

Defined in Amazonka.Types

type Rep SerializeError Source # 
Instance details

Defined in Amazonka.Types

type Rep SerializeError = D1 ('MetaData "SerializeError" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'False) (C1 ('MetaCons "SerializeError'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_serializeErrorAbbrev") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Abbrev) :*: S1 ('MetaSel ('Just "_serializeErrorStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status)) :*: (S1 ('MetaSel ('Just "_serializeErrorBody") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteStringLazy)) :*: S1 ('MetaSel ('Just "_serializeErrorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 String))))

Service Errors

data ServiceError Source #

Instances

Instances details
Eq ServiceError Source # 
Instance details

Defined in Amazonka.Types

Show ServiceError Source # 
Instance details

Defined in Amazonka.Types

Generic ServiceError Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep ServiceError :: Type -> Type #

ToLog ServiceError Source # 
Instance details

Defined in Amazonka.Types

type Rep ServiceError Source # 
Instance details

Defined in Amazonka.Types

type Rep ServiceError = D1 ('MetaData "ServiceError" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'False) (C1 ('MetaCons "ServiceError'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_serviceErrorAbbrev") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Abbrev) :*: (S1 ('MetaSel ('Just "_serviceErrorStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Status) :*: S1 ('MetaSel ('Just "_serviceErrorHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Header]))) :*: (S1 ('MetaSel ('Just "_serviceErrorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ErrorCode) :*: (S1 ('MetaSel ('Just "_serviceErrorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorMessage)) :*: S1 ('MetaSel ('Just "_serviceErrorRequestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RequestId))))))

Error Types

newtype ErrorCode Source #

Constructors

ErrorCode Text 

Instances

Instances details
Eq ErrorCode Source # 
Instance details

Defined in Amazonka.Types

Ord ErrorCode Source # 
Instance details

Defined in Amazonka.Types

Show ErrorCode Source # 
Instance details

Defined in Amazonka.Types

IsString ErrorCode Source # 
Instance details

Defined in Amazonka.Types

FromJSON ErrorCode Source # 
Instance details

Defined in Amazonka.Types

ToText ErrorCode Source # 
Instance details

Defined in Amazonka.Types

FromText ErrorCode Source # 
Instance details

Defined in Amazonka.Types

FromXML ErrorCode Source # 
Instance details

Defined in Amazonka.Types

ToLog ErrorCode Source # 
Instance details

Defined in Amazonka.Types

newtype ErrorMessage Source #

Constructors

ErrorMessage 

Instances

Instances details
Eq ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

Ord ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

Show ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

IsString ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

Generic ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep ErrorMessage :: Type -> Type #

FromJSON ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

ToText ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

FromText ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

FromXML ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

ToLog ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

type Rep ErrorMessage Source # 
Instance details

Defined in Amazonka.Types

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

newtype RequestId Source #

Constructors

RequestId 

Fields

Instances

Instances details
Eq RequestId Source # 
Instance details

Defined in Amazonka.Types

Ord RequestId Source # 
Instance details

Defined in Amazonka.Types

Show RequestId Source # 
Instance details

Defined in Amazonka.Types

IsString RequestId Source # 
Instance details

Defined in Amazonka.Types

Generic RequestId Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep RequestId :: Type -> Type #

FromJSON RequestId Source # 
Instance details

Defined in Amazonka.Types

ToText RequestId Source # 
Instance details

Defined in Amazonka.Types

FromText RequestId Source # 
Instance details

Defined in Amazonka.Types

FromXML RequestId Source # 
Instance details

Defined in Amazonka.Types

ToLog RequestId Source # 
Instance details

Defined in Amazonka.Types

type Rep RequestId Source # 
Instance details

Defined in Amazonka.Types

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

Regions

newtype Region Source #

The available AWS regions.

Constructors

Region' 

Fields

Bundled Patterns

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

Instances

Instances details
Eq Region Source # 
Instance details

Defined in Amazonka.Types

Methods

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

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

Ord Region Source # 
Instance details

Defined in Amazonka.Types

Read Region Source # 
Instance details

Defined in Amazonka.Types

Show Region Source # 
Instance details

Defined in Amazonka.Types

IsString Region Source # 
Instance details

Defined in Amazonka.Types

Methods

fromString :: String -> Region #

Generic Region Source # 
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 Source # 
Instance details

Defined in Amazonka.Types

Methods

rnf :: Region -> () #

Hashable Region Source # 
Instance details

Defined in Amazonka.Types

Methods

hashWithSalt :: Int -> Region -> Int #

hash :: Region -> Int #

ToJSON Region Source # 
Instance details

Defined in Amazonka.Types

FromJSON Region Source # 
Instance details

Defined in Amazonka.Types

ToText Region Source # 
Instance details

Defined in Amazonka.Types

Methods

toText :: Region -> Text Source #

FromText Region Source # 
Instance details

Defined in Amazonka.Types

ToByteString Region Source # 
Instance details

Defined in Amazonka.Types

ToXML Region Source # 
Instance details

Defined in Amazonka.Types

Methods

toXML :: Region -> XML Source #

FromXML Region Source # 
Instance details

Defined in Amazonka.Types

ToQuery Region Source # 
Instance details

Defined in Amazonka.Types

ToLog Region Source # 
Instance details

Defined in Amazonka.Types

type Rep Region Source # 
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)))

Endpoints

data Endpoint Source #

Instances

Instances details
Eq Endpoint Source # 
Instance details

Defined in Amazonka.Types

Show Endpoint Source # 
Instance details

Defined in Amazonka.Types

HTTP

type ClientRequest = Request Source #

A convenience alias to avoid type ambiguity.

type ClientResponse = Response Source #

A convenience alias encapsulating the common Response.

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

A convenience alias encapsulating the common Response body.

newClientRequest :: 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

Instances details
Bounded Seconds Source # 
Instance details

Defined in Amazonka.Types

Enum Seconds Source # 
Instance details

Defined in Amazonka.Types

Eq Seconds Source # 
Instance details

Defined in Amazonka.Types

Methods

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

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

Integral Seconds Source # 
Instance details

Defined in Amazonka.Types

Num Seconds Source # 
Instance details

Defined in Amazonka.Types

Ord Seconds Source # 
Instance details

Defined in Amazonka.Types

Read Seconds Source # 
Instance details

Defined in Amazonka.Types

Real Seconds Source # 
Instance details

Defined in Amazonka.Types

Show Seconds Source # 
Instance details

Defined in Amazonka.Types

Generic Seconds Source # 
Instance details

Defined in Amazonka.Types

Associated Types

type Rep Seconds :: Type -> Type #

Methods

from :: Seconds -> Rep Seconds x #

to :: Rep Seconds x -> Seconds #

NFData Seconds Source # 
Instance details

Defined in Amazonka.Types

Methods

rnf :: Seconds -> () #

Hashable Seconds Source # 
Instance details

Defined in Amazonka.Types

Methods

hashWithSalt :: Int -> Seconds -> Int #

hash :: Seconds -> Int #

ToText Seconds Source # 
Instance details

Defined in Amazonka.Types

Methods

toText :: Seconds -> Text Source #

FromText Seconds Source # 
Instance details

Defined in Amazonka.Types

ToByteString Seconds Source # 
Instance details

Defined in Amazonka.Types

ToQuery Seconds Source # 
Instance details

Defined in Amazonka.Types

ToLog Seconds Source # 
Instance details

Defined in Amazonka.Types

type Rep Seconds Source # 
Instance details

Defined in Amazonka.Types

type Rep Seconds = D1 ('MetaData "Seconds" "Amazonka.Types" "libZSamazonka-coreZSamazonka-core" 'True) (C1 ('MetaCons "Seconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))