aws-0.21.1: Amazon Web Services (AWS) for Haskell

Safe HaskellNone
LanguageHaskell2010

Aws

Contents

Synopsis

Logging

data LogLevel Source #

The severity of a log message, in rising order.

Constructors

Debug 
Info 
Warning 
Error 
Instances
Eq LogLevel Source # 
Instance details

Defined in Aws.Aws

Ord LogLevel Source # 
Instance details

Defined in Aws.Aws

Show LogLevel Source # 
Instance details

Defined in Aws.Aws

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

The interface for any logging function. Takes log level and a log message, and can perform an arbitrary IO action.

defaultLog :: LogLevel -> Logger Source #

The default logger defaultLog minLevel, which prints log messages above level minLevel to stderr.

Configuration

data Configuration Source #

The configuration for an AWS request. You can use multiple configurations in parallel, even over the same HTTP connection manager.

Constructors

Configuration 

Fields

baseConfiguration :: MonadIO io => io Configuration Source #

The default configuration, with credentials loaded from environment variable or configuration file (see loadCredentialsDefault).

dbgConfiguration :: MonadIO io => io Configuration Source #

Debug configuration, which logs much more verbosely.

Transaction runners

Safe runners

aws :: Transaction r a => Configuration -> ServiceConfiguration r NormalQuery -> Manager -> r -> ResourceT IO (Response (ResponseMetadata a) a) Source #

Run an AWS transaction, with HTTP manager and metadata wrapped in a Response.

All errors are caught and wrapped in the Response value.

Metadata is logged at level Info.

Usage (with existing Manager): resp <- aws cfg serviceCfg manager request

awsRef :: Transaction r a => Configuration -> ServiceConfiguration r NormalQuery -> Manager -> IORef (ResponseMetadata a) -> r -> ResourceT IO a Source #

Run an AWS transaction, with HTTP manager and metadata returned in an IORef.

Errors are not caught, and need to be handled with exception handlers.

Metadata is not logged.

Usage (with existing Manager): ref <- newIORef mempty; resp <- awsRef cfg serviceCfg manager request

pureAws :: Transaction r a => Configuration -> ServiceConfiguration r NormalQuery -> Manager -> r -> ResourceT IO a Source #

Run an AWS transaction, with HTTP manager and without metadata.

Metadata is logged at level Info.

Usage (with existing Manager): resp <- aws cfg serviceCfg manager request

simpleAws :: (Transaction r a, AsMemoryResponse a, MonadIO io) => Configuration -> ServiceConfiguration r NormalQuery -> r -> io (MemoryResponse a) Source #

Run an AWS transaction, without HTTP manager and without metadata.

Metadata is logged at level Info.

Note that this is potentially less efficient than using aws, because HTTP connections cannot be re-used.

Usage: resp <- simpleAws cfg serviceCfg request

Unsafe runners

unsafeAws :: (ResponseConsumer r a, Loggable (ResponseMetadata a), SignQuery r) => Configuration -> ServiceConfiguration r NormalQuery -> Manager -> r -> ResourceT IO (Response (ResponseMetadata a) a) Source #

Run an AWS transaction, without enforcing that response and request type form a valid transaction pair.

This is especially useful for debugging and development, you should not have to use it in production.

All errors are caught and wrapped in the Response value.

Metadata is wrapped in the Response, and also logged at level Info.

unsafeAwsRef :: (ResponseConsumer r a, SignQuery r) => Configuration -> ServiceConfiguration r NormalQuery -> Manager -> IORef (ResponseMetadata a) -> r -> ResourceT IO a Source #

Run an AWS transaction, without enforcing that response and request type form a valid transaction pair.

This is especially useful for debugging and development, you should not have to use it in production.

Errors are not caught, and need to be handled with exception handlers.

Metadata is put in the IORef, but not logged.

URI runners

awsUri :: (SignQuery request, MonadIO io) => Configuration -> ServiceConfiguration request UriOnlyQuery -> request -> io ByteString Source #

Run a URI-only AWS transaction. Returns a URI that can be sent anywhere. Does not work with all requests.

Usage: uri <- awsUri cfg request

Iterated runners

Response

Full HTTP response

type HTTPResponseConsumer a = Response (ConduitM () ByteString (ResourceT IO) ()) -> ResourceT IO a Source #

A full HTTP response parser. Takes HTTP status, response headers, and response body.

Metadata in responses

data Response m a Source #

A response with metadata. Can also contain an error response, or an internal error, via Attempt.

Response forms a Writer-like monad.

Instances
Monoid m => Monad (Response m) Source # 
Instance details

Defined in Aws.Core

Methods

(>>=) :: Response m a -> (a -> Response m b) -> Response m b #

(>>) :: Response m a -> Response m b -> Response m b #

return :: a -> Response m a #

fail :: String -> Response m a #

Functor (Response m) Source # 
Instance details

Defined in Aws.Core

Methods

fmap :: (a -> b) -> Response m a -> Response m b #

(<$) :: a -> Response m b -> Response m a #

Monoid m => Applicative (Response m) Source # 
Instance details

Defined in Aws.Core

Methods

pure :: a -> Response m a #

(<*>) :: Response m (a -> b) -> Response m a -> Response m b #

liftA2 :: (a -> b -> c) -> Response m a -> Response m b -> Response m c #

(*>) :: Response m a -> Response m b -> Response m b #

(<*) :: Response m a -> Response m b -> Response m a #

Monoid m => MonadThrow (Response m) Source # 
Instance details

Defined in Aws.Core

Methods

throwM :: Exception e => e -> Response m a #

(Show m, Show a) => Show (Response m a) Source # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> Response m a -> ShowS #

show :: Response m a -> String #

showList :: [Response m a] -> ShowS #

readResponse :: MonadThrow n => Response m a -> n a Source #

Read a response result (if it's a success response, fail otherwise).

readResponseIO :: MonadIO io => Response m a -> io a Source #

Read a response result (if it's a success response, fail otherwise). In MonadIO.

type family ResponseMetadata resp Source #

Metadata associated with a response. Typically there is one metadata type for each AWS service.

Instances
type ResponseMetadata UpdateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

type ResponseMetadata UpdateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

type ResponseMetadata PutUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

type ResponseMetadata ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

type ResponseMetadata ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

type ResponseMetadata ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

type ResponseMetadata ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

type ResponseMetadata GetUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

type ResponseMetadata GetUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

type ResponseMetadata DeleteUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

type ResponseMetadata DeleteUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

type ResponseMetadata DeleteAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

type ResponseMetadata CreateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

type ResponseMetadata CreateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

type ResponseMetadata UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ResponseMetadata ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

type ResponseMetadata QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ResponseMetadata PutItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

type ResponseMetadata GetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

type ResponseMetadata DeleteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

type ResponseMetadata BatchWriteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

type ResponseMetadata BatchGetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

type ResponseMetadata PutObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

type ResponseMetadata PutBucketVersioningResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

type ResponseMetadata PutBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

type ResponseMetadata AbortMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata CompleteMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata UploadPartResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata InitiateMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata HeadObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

type ResponseMetadata GetServiceResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetService

type ResponseMetadata GetObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

type ResponseMetadata GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

type ResponseMetadata GetBucketLocationResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

type ResponseMetadata GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

type ResponseMetadata DeleteObjectsResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

type ResponseMetadata DeleteObjectVersionResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

type ResponseMetadata DeleteObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

type ResponseMetadata DeleteBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

type ResponseMetadata CopyObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

type ResponseMetadata VerifyEmailIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

type ResponseMetadata VerifyDomainIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

type ResponseMetadata VerifyDomainDkimResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

type ResponseMetadata SetIdentityNotificationTopicResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

type ResponseMetadata SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

type ResponseMetadata SetIdentityDkimEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

type ResponseMetadata SendRawEmailResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

type ResponseMetadata ListIdentitiesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

type ResponseMetadata GetIdentityVerificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

type ResponseMetadata GetIdentityNotificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

type ResponseMetadata GetIdentityDkimAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

type ResponseMetadata DeleteIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

type ResponseMetadata SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

type ResponseMetadata ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata DomainMetadataResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata DeleteDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata CreateDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata BatchDeleteAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata BatchPutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata DeleteAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata PutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata GetAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata SetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ResponseMetadata GetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ResponseMetadata ListQueuesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata DeleteQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata CreateQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata RemovePermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ResponseMetadata AddPermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ResponseMetadata ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata ReceiveMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata DeleteMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata SendMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata (Response ByteString) Source # 
Instance details

Defined in Aws.Core

Memory responses

class AsMemoryResponse resp where Source #

Class for responses that are fully loaded into memory

Associated Types

type MemoryResponse resp :: * Source #

Methods

loadToMemory :: resp -> ResourceT IO (MemoryResponse resp) Source #

Instances
AsMemoryResponse UpdateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

AsMemoryResponse UpdateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

AsMemoryResponse PutUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

AsMemoryResponse ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Associated Types

type MemoryResponse ListUsersResponse :: Type Source #

AsMemoryResponse ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

AsMemoryResponse ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

AsMemoryResponse ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

AsMemoryResponse GetUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

AsMemoryResponse GetUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Associated Types

type MemoryResponse GetUserResponse :: Type Source #

AsMemoryResponse DeleteUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

AsMemoryResponse DeleteUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

AsMemoryResponse DeleteAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

AsMemoryResponse CreateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

AsMemoryResponse CreateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

AsMemoryResponse UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

AsMemoryResponse ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse ListTablesResult :: Type Source #

AsMemoryResponse DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse DeleteTableResult :: Type Source #

AsMemoryResponse UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse UpdateTableResult :: Type Source #

AsMemoryResponse DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse CreateTableResult :: Type Source #

AsMemoryResponse ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Associated Types

type MemoryResponse ScanResponse :: Type Source #

AsMemoryResponse QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type MemoryResponse QueryResponse :: Type Source #

AsMemoryResponse PutItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Associated Types

type MemoryResponse PutItemResponse :: Type Source #

AsMemoryResponse GetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Associated Types

type MemoryResponse GetItemResponse :: Type Source #

AsMemoryResponse DeleteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

AsMemoryResponse BatchWriteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

AsMemoryResponse BatchGetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

AsMemoryResponse PutObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

Associated Types

type MemoryResponse PutObjectResponse :: Type Source #

AsMemoryResponse PutBucketVersioningResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

AsMemoryResponse PutBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

Associated Types

type MemoryResponse PutBucketResponse :: Type Source #

AsMemoryResponse AbortMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse CompleteMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse UploadPartResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse InitiateMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse HeadObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

AsMemoryResponse GetServiceResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetService

AsMemoryResponse GetObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

Associated Types

type MemoryResponse GetObjectResponse :: Type Source #

AsMemoryResponse GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

AsMemoryResponse GetBucketLocationResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

AsMemoryResponse GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

Associated Types

type MemoryResponse GetBucketResponse :: Type Source #

AsMemoryResponse DeleteObjectsResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

AsMemoryResponse DeleteObjectVersionResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

AsMemoryResponse DeleteObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

AsMemoryResponse DeleteBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

AsMemoryResponse CopyObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

AsMemoryResponse VerifyEmailIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

AsMemoryResponse VerifyDomainIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

AsMemoryResponse VerifyDomainDkimResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

AsMemoryResponse SetIdentityNotificationTopicResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

AsMemoryResponse SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

AsMemoryResponse SetIdentityDkimEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

AsMemoryResponse SendRawEmailResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

AsMemoryResponse ListIdentitiesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

AsMemoryResponse GetIdentityVerificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

AsMemoryResponse GetIdentityNotificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

AsMemoryResponse GetIdentityDkimAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

AsMemoryResponse DeleteIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

AsMemoryResponse SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Associated Types

type MemoryResponse SelectResponse :: Type Source #

AsMemoryResponse ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse DomainMetadataResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse DeleteDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse CreateDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse BatchDeleteAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse BatchPutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse DeleteAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse PutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse GetAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse SetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

AsMemoryResponse GetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

AsMemoryResponse ListQueuesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

AsMemoryResponse DeleteQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

AsMemoryResponse CreateQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

AsMemoryResponse RemovePermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

AsMemoryResponse AddPermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

AsMemoryResponse ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse ReceiveMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse DeleteMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse SendMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Exception types

newtype XmlException Source #

An error that occurred during XML parsing / validation.

Constructors

XmlException 

newtype HeaderException Source #

An error that occurred during header parsing / validation.

Constructors

HeaderException 

newtype FormException Source #

An error that occurred during form parsing / validation.

Constructors

FormException 

Query

Service configuration

type family ServiceConfiguration request :: * -> * Source #

Additional information, like API endpoints and service-specific preferences.

Instances
type ServiceConfiguration UpdateUser Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

type ServiceConfiguration UpdateAccessKey Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

type ServiceConfiguration PutUserPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

type ServiceConfiguration ListUsers Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

type ServiceConfiguration ListUserPolicies Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

type ServiceConfiguration ListMfaDevices Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

type ServiceConfiguration ListAccessKeys Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

type ServiceConfiguration GetUserPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

type ServiceConfiguration GetUser Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

type ServiceConfiguration DeleteUserPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

type ServiceConfiguration DeleteUser Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

type ServiceConfiguration DeleteAccessKey Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

type ServiceConfiguration CreateUser Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

type ServiceConfiguration CreateAccessKey Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

type ServiceConfiguration UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ServiceConfiguration ListTables Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration UpdateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration Scan Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

type ServiceConfiguration Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ServiceConfiguration PutItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

type ServiceConfiguration GetItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

type ServiceConfiguration DeleteItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

type ServiceConfiguration BatchWriteItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

type ServiceConfiguration BatchGetItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

type ServiceConfiguration PutObject Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

type ServiceConfiguration PutBucketVersioning Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

type ServiceConfiguration PutBucket Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

type ServiceConfiguration AbortMultipartUpload Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration CompleteMultipartUpload Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration UploadPart Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration InitiateMultipartUpload Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration HeadObject Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

type ServiceConfiguration GetService Source # 
Instance details

Defined in Aws.S3.Commands.GetService

type ServiceConfiguration GetObject Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

type ServiceConfiguration GetBucketObjectVersions Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

type ServiceConfiguration GetBucketLocation Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

type ServiceConfiguration GetBucket Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

type ServiceConfiguration DeleteObjects Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

type ServiceConfiguration DeleteObjectVersion Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

type ServiceConfiguration DeleteObject Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

type ServiceConfiguration DeleteBucket Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

type ServiceConfiguration CopyObject Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

type ServiceConfiguration VerifyEmailIdentity Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

type ServiceConfiguration VerifyDomainIdentity Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

type ServiceConfiguration VerifyDomainDkim Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

type ServiceConfiguration SetIdentityNotificationTopic Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

type ServiceConfiguration SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

type ServiceConfiguration SetIdentityDkimEnabled Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

type ServiceConfiguration SendRawEmail Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

type ServiceConfiguration ListIdentities Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

type ServiceConfiguration GetIdentityVerificationAttributes Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

type ServiceConfiguration GetIdentityNotificationAttributes Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

type ServiceConfiguration GetIdentityDkimAttributes Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

type ServiceConfiguration DeleteIdentity Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

type ServiceConfiguration Select Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

type ServiceConfiguration ListDomains Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration DomainMetadata Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration DeleteDomain Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration CreateDomain Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration BatchDeleteAttributes Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration BatchPutAttributes Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration DeleteAttributes Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration PutAttributes Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration GetAttributes Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration SetQueueAttributes Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ServiceConfiguration GetQueueAttributes Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ServiceConfiguration ListQueues Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration DeleteQueue Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration CreateQueue Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration RemovePermission Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ServiceConfiguration AddPermission Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ServiceConfiguration ChangeMessageVisibility Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration ReceiveMessage Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration DeleteMessage Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration SendMessage Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

class DefaultServiceConfiguration config where Source #

Default configuration for a specific service.

Minimal complete definition

defServiceConfig

Methods

defServiceConfig :: config Source #

Default service configuration.

debugServiceConfig :: config Source #

Default debugging-only configuration. (Normally using HTTP instead of HTTPS for easier debugging.)

Instances
DefaultServiceConfiguration (IamConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (IamConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (DdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.DynamoDb.Core

DefaultServiceConfiguration (S3Configuration UriOnlyQuery) Source # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (S3Configuration NormalQuery) Source # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (SesConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SesConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SdbConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SqsConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.Sqs.Core

DefaultServiceConfiguration (SqsConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Sqs.Core

data NormalQuery Source #

Tag type for normal queries.

Instances
Default (DdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.DynamoDb.Core

DefaultServiceConfiguration (IamConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (DdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.DynamoDb.Core

DefaultServiceConfiguration (S3Configuration NormalQuery) Source # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (SesConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SqsConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Sqs.Core

Expiration

data TimeInfo Source #

Whether to restrict the signature validity with a plain timestamp, or with explicit expiration (absolute or relative).

Constructors

Timestamp

Use a simple timestamp to let AWS check the request validity.

ExpiresAt

Let requests expire at a specific fixed time.

ExpiresIn

Let requests expire a specific number of seconds after they were generated.

Instances
Show TimeInfo Source # 
Instance details

Defined in Aws.Core

Transactions

class (SignQuery r, ResponseConsumer r a, Loggable (ResponseMetadata a)) => Transaction r a | r -> a Source #

Associates a request type and a response type in a bi-directional way.

This allows the type-checker to infer the response type when given the request type and vice versa.

Note that the actual request generation and response parsing resides in SignQuery and ResponseConsumer respectively.

Instances
Transaction UpdateUser UpdateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

Transaction UpdateAccessKey UpdateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

Transaction PutUserPolicy PutUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

Transaction ListUsers ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Transaction ListUserPolicies ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

Transaction ListMfaDevices ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

Transaction ListAccessKeys ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

Transaction GetUserPolicy GetUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

Transaction GetUser GetUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Transaction DeleteUserPolicy DeleteUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

Transaction DeleteUser DeleteUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

Transaction DeleteAccessKey DeleteAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

Transaction CreateUser CreateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

Transaction CreateAccessKey CreateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

Transaction UpdateItem UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Transaction ListTables ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction DeleteTable DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction UpdateTable UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction DescribeTable DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction CreateTable CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction Scan ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Transaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Transaction PutItem PutItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Transaction GetItem GetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Transaction DeleteItem DeleteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

Transaction BatchWriteItem BatchWriteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

Transaction BatchGetItem BatchGetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

Transaction PutObject PutObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

Transaction PutBucketVersioning PutBucketVersioningResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

Transaction PutBucket PutBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

Transaction AbortMultipartUpload AbortMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction CompleteMultipartUpload CompleteMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction UploadPart UploadPartResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction InitiateMultipartUpload InitiateMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction HeadObject HeadObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

Transaction GetService GetServiceResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetService

Transaction GetObject GetObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

Transaction GetBucketObjectVersions GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

Transaction GetBucketLocation GetBucketLocationResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

Transaction GetBucket GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

Transaction DeleteObjects DeleteObjectsResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

Transaction DeleteObjectVersion DeleteObjectVersionResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

Transaction DeleteObject DeleteObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

Transaction DeleteBucket DeleteBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

Transaction CopyObject CopyObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

Transaction VerifyEmailIdentity VerifyEmailIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

Transaction VerifyDomainIdentity VerifyDomainIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

Transaction VerifyDomainDkim VerifyDomainDkimResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

Transaction SetIdentityNotificationTopic SetIdentityNotificationTopicResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

Transaction SetIdentityFeedbackForwardingEnabled SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

Transaction SetIdentityDkimEnabled SetIdentityDkimEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

Transaction SendRawEmail SendRawEmailResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

Transaction ListIdentities ListIdentitiesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

Transaction GetIdentityVerificationAttributes GetIdentityVerificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

Transaction GetIdentityNotificationAttributes GetIdentityNotificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

Transaction GetIdentityDkimAttributes GetIdentityDkimAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

Transaction DeleteIdentity DeleteIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

Transaction Select SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Transaction ListDomains ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction DomainMetadata DomainMetadataResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction DeleteDomain DeleteDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction CreateDomain CreateDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction BatchDeleteAttributes BatchDeleteAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction BatchPutAttributes BatchPutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction DeleteAttributes DeleteAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction PutAttributes PutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction GetAttributes GetAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction SetQueueAttributes SetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Transaction GetQueueAttributes GetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Transaction ListQueues ListQueuesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction DeleteQueue DeleteQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction CreateQueue CreateQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction RemovePermission RemovePermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

Transaction AddPermission AddPermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

Transaction ChangeMessageVisibility ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction ReceiveMessage ReceiveMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction DeleteMessage DeleteMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction SendMessage SendMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

class Transaction r a => IteratedTransaction r a | r -> a Source #

A transaction that may need to be split over multiple requests, for example because of upstream response size limits.

Minimal complete definition

nextIteratedRequest

Instances
IteratedTransaction ListUsers ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

IteratedTransaction ListUserPolicies ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

IteratedTransaction ListMfaDevices ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

IteratedTransaction ListAccessKeys ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

IteratedTransaction Scan ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

IteratedTransaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

IteratedTransaction GetBucketObjectVersions GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

IteratedTransaction GetBucket GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

IteratedTransaction Select SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

IteratedTransaction ListDomains ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Credentials

data Credentials Source #

AWS access credentials.

Constructors

Credentials 

Fields

Instances
Show Credentials Source # 
Instance details

Defined in Aws.Core

makeCredentials Source #

Arguments

:: MonadIO io 
=> ByteString

AWS Access Key ID

-> ByteString

AWS Secret Access Key

-> io Credentials 

credentialsDefaultFile :: MonadIO io => io (Maybe FilePath) Source #

The file where access credentials are loaded, when using loadCredentialsDefault. May return Nothing if HOME is unset.

Value: directory/.aws-keys

credentialsDefaultKey :: Text Source #

The key to be used in the access credential file that is loaded, when using loadCredentialsDefault.

Value: default

loadCredentialsFromFile :: MonadIO io => FilePath -> Text -> io (Maybe Credentials) Source #

Load credentials from a (text) file given a key name.

The file consists of a sequence of lines, each in the following format:

keyName awsKeyID awsKeySecret

loadCredentialsFromEnv :: MonadIO io => io (Maybe Credentials) Source #

Load credentials from the environment variables AWS_ACCESS_KEY_ID and AWS_ACCESS_KEY_SECRET (or AWS_SECRET_ACCESS_KEY), if possible.

loadCredentialsFromEnvOrFile :: MonadIO io => FilePath -> Text -> io (Maybe Credentials) Source #

Load credentials from environment variables if possible, or alternatively from a file with a given key name.

See loadCredentialsFromEnv and loadCredentialsFromFile for details.

loadCredentialsFromEnvOrFileOrInstanceMetadata :: MonadIO io => FilePath -> Text -> io (Maybe Credentials) Source #

Load credentials from environment variables if possible, or alternatively from the instance metadata store, or alternatively from a file with a given key name.

See loadCredentialsFromEnv, loadCredentialsFromFile and loadCredentialsFromInstanceMetadata for details.

loadCredentialsDefault :: MonadIO io => io (Maybe Credentials) Source #

Load credentials from environment variables if possible, or alternative from the default file with the default key name.

Default file: directory/.aws-keys Default key name: default

See loadCredentialsFromEnv and loadCredentialsFromFile for details.