aws-0.23: Amazon Web Services (AWS) for Haskell
Safe HaskellSafe-Inferred
LanguageHaskell2010

Aws

Synopsis

Logging

data LogLevel Source #

The severity of a log message, in rising order.

Constructors

Debug 
Info 
Warning 
Error 

Instances

Instances details
Show LogLevel Source # 
Instance details

Defined in Aws.Aws

Eq LogLevel Source # 
Instance details

Defined in Aws.Aws

Ord 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

Instances details
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 #

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 => 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 #

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

Instances details
type ResponseMetadata BatchGetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

type ResponseMetadata BatchWriteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

type ResponseMetadata DeleteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

type ResponseMetadata GetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

type ResponseMetadata PutItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

type ResponseMetadata QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ResponseMetadata ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

type ResponseMetadata CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ResponseMetadata AddUserToGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

type ResponseMetadata CreateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

type ResponseMetadata CreateGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

type ResponseMetadata CreateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

type ResponseMetadata DeleteAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

type ResponseMetadata DeleteGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

type ResponseMetadata DeleteGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

type ResponseMetadata DeleteUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

type ResponseMetadata DeleteUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

type ResponseMetadata GetGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

type ResponseMetadata GetUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

type ResponseMetadata GetUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

type ResponseMetadata ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

type ResponseMetadata ListGroupPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

type ResponseMetadata ListGroupsResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

type ResponseMetadata ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

type ResponseMetadata ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

type ResponseMetadata ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

type ResponseMetadata PutGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

type ResponseMetadata PutUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

type ResponseMetadata RemoveUserFromGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

type ResponseMetadata UpdateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

type ResponseMetadata UpdateGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

type ResponseMetadata UpdateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

type ResponseMetadata CopyObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

type ResponseMetadata DeleteBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

type ResponseMetadata DeleteObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

type ResponseMetadata DeleteObjectVersionResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

type ResponseMetadata DeleteObjectsResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

type ResponseMetadata GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

type ResponseMetadata GetBucketLocationResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

type ResponseMetadata GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

type ResponseMetadata GetObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

type ResponseMetadata GetServiceResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetService

type ResponseMetadata HeadObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

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

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata UploadPartResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata PutBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

type ResponseMetadata PutBucketVersioningResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

type ResponseMetadata PutObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

type ResponseMetadata DeleteIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

type ResponseMetadata GetIdentityDkimAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

type ResponseMetadata GetIdentityNotificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

type ResponseMetadata GetIdentityVerificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

type ResponseMetadata ListIdentitiesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

type ResponseMetadata SendRawEmailResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

type ResponseMetadata SetIdentityDkimEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

type ResponseMetadata SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

type ResponseMetadata SetIdentityNotificationTopicResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

type ResponseMetadata VerifyDomainDkimResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

type ResponseMetadata VerifyDomainIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

type ResponseMetadata VerifyEmailIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

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

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata PutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata CreateDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata DeleteDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata DomainMetadataResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

type ResponseMetadata ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata DeleteMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata ReceiveMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata SendMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata AddPermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ResponseMetadata RemovePermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ResponseMetadata CreateQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata DeleteQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata ListQueuesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata GetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ResponseMetadata SetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

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

Instances details
AsMemoryResponse BatchGetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

AsMemoryResponse BatchWriteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

AsMemoryResponse DeleteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

AsMemoryResponse GetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Associated Types

type MemoryResponse GetItemResponse Source #

AsMemoryResponse PutItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Associated Types

type MemoryResponse PutItemResponse Source #

AsMemoryResponse QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type MemoryResponse QueryResponse Source #

AsMemoryResponse ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Associated Types

type MemoryResponse ScanResponse Source #

AsMemoryResponse CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

AsMemoryResponse UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

AsMemoryResponse AddUserToGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

AsMemoryResponse CreateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

AsMemoryResponse CreateGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

AsMemoryResponse CreateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

AsMemoryResponse DeleteAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

AsMemoryResponse DeleteGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

AsMemoryResponse DeleteGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

AsMemoryResponse DeleteUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

AsMemoryResponse DeleteUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

AsMemoryResponse GetGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

AsMemoryResponse GetUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Associated Types

type MemoryResponse GetUserResponse Source #

AsMemoryResponse GetUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

AsMemoryResponse ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

AsMemoryResponse ListGroupPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

AsMemoryResponse ListGroupsResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

AsMemoryResponse ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

AsMemoryResponse ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

AsMemoryResponse ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

AsMemoryResponse PutGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

AsMemoryResponse PutUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

AsMemoryResponse RemoveUserFromGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

AsMemoryResponse UpdateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

AsMemoryResponse UpdateGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

AsMemoryResponse UpdateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

AsMemoryResponse CopyObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

AsMemoryResponse DeleteBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

AsMemoryResponse DeleteObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

AsMemoryResponse DeleteObjectVersionResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

AsMemoryResponse DeleteObjectsResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

AsMemoryResponse GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

AsMemoryResponse GetBucketLocationResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

AsMemoryResponse GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

AsMemoryResponse GetObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

AsMemoryResponse GetServiceResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetService

AsMemoryResponse HeadObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

AsMemoryResponse AbortMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse CompleteMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse InitiateMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse UploadPartResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse PutBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

AsMemoryResponse PutBucketVersioningResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

AsMemoryResponse PutObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

AsMemoryResponse DeleteIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

AsMemoryResponse GetIdentityDkimAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

AsMemoryResponse GetIdentityNotificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

AsMemoryResponse GetIdentityVerificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

AsMemoryResponse ListIdentitiesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

AsMemoryResponse SendRawEmailResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

AsMemoryResponse SetIdentityDkimEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

AsMemoryResponse SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

AsMemoryResponse SetIdentityNotificationTopicResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

AsMemoryResponse VerifyDomainDkimResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

AsMemoryResponse VerifyDomainIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

AsMemoryResponse VerifyEmailIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

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

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse PutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse CreateDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse DeleteDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse DomainMetadataResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Associated Types

type MemoryResponse SelectResponse Source #

AsMemoryResponse ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse DeleteMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse ReceiveMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse SendMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse AddPermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

AsMemoryResponse RemovePermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

AsMemoryResponse CreateQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

AsMemoryResponse DeleteQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

AsMemoryResponse ListQueuesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

AsMemoryResponse GetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

AsMemoryResponse SetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

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

Instances details
type ServiceConfiguration BatchGetItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

type ServiceConfiguration BatchWriteItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

type ServiceConfiguration DeleteItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

type ServiceConfiguration GetItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

type ServiceConfiguration PutItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

type ServiceConfiguration Query Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ServiceConfiguration Scan Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

type ServiceConfiguration CreateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration DeleteTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration DescribeTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration ListTables Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration UpdateTable Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration UpdateItem Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ServiceConfiguration AddUserToGroup Source # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

type ServiceConfiguration CreateAccessKey Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

type ServiceConfiguration CreateGroup Source # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

type ServiceConfiguration CreateUser Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

type ServiceConfiguration DeleteAccessKey Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

type ServiceConfiguration DeleteGroup Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

type ServiceConfiguration DeleteGroupPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

type ServiceConfiguration DeleteUser Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

type ServiceConfiguration DeleteUserPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

type ServiceConfiguration GetGroupPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

type ServiceConfiguration GetUser Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

type ServiceConfiguration GetUserPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

type ServiceConfiguration ListAccessKeys Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

type ServiceConfiguration ListGroupPolicies Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

type ServiceConfiguration ListGroups Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

type ServiceConfiguration ListMfaDevices Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

type ServiceConfiguration ListUserPolicies Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

type ServiceConfiguration ListUsers Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

type ServiceConfiguration PutGroupPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

type ServiceConfiguration PutUserPolicy Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

type ServiceConfiguration RemoveUserFromGroup Source # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

type ServiceConfiguration UpdateAccessKey Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

type ServiceConfiguration UpdateGroup Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

type ServiceConfiguration UpdateUser Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

type ServiceConfiguration CopyObject Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

type ServiceConfiguration DeleteBucket Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

type ServiceConfiguration DeleteObject Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

type ServiceConfiguration DeleteObjectVersion Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

type ServiceConfiguration DeleteObjects Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

type ServiceConfiguration GetBucket Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

type ServiceConfiguration GetBucketLocation Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

type ServiceConfiguration GetBucketObjectVersions Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

type ServiceConfiguration GetObject Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

type ServiceConfiguration GetService Source # 
Instance details

Defined in Aws.S3.Commands.GetService

type ServiceConfiguration HeadObject Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

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

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration UploadPart Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration PutBucket Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

type ServiceConfiguration PutBucketVersioning Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

type ServiceConfiguration PutObject Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

type ServiceConfiguration DeleteIdentity Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

type ServiceConfiguration GetIdentityDkimAttributes Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

type ServiceConfiguration GetIdentityNotificationAttributes Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

type ServiceConfiguration GetIdentityVerificationAttributes Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

type ServiceConfiguration ListIdentities Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

type ServiceConfiguration SendRawEmail Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

type ServiceConfiguration SetIdentityDkimEnabled Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

type ServiceConfiguration SetIdentityFeedbackForwardingEnabled Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

type ServiceConfiguration SetIdentityNotificationTopic Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

type ServiceConfiguration VerifyDomainDkim Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

type ServiceConfiguration VerifyDomainIdentity Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

type ServiceConfiguration VerifyEmailIdentity Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

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

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration PutAttributes Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration CreateDomain Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration DeleteDomain Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration DomainMetadata Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration ListDomains Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration Select Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

type ServiceConfiguration ChangeMessageVisibility Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration DeleteMessage Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration ReceiveMessage Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration SendMessage Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration AddPermission Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ServiceConfiguration RemovePermission Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ServiceConfiguration CreateQueue Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration DeleteQueue Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration ListQueues Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration GetQueueAttributes Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ServiceConfiguration SetQueueAttributes Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

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

Instances details
DefaultServiceConfiguration (DdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.DynamoDb.Core

DefaultServiceConfiguration (IamConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (IamConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (S3Configuration NormalQuery) Source # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (S3Configuration UriOnlyQuery) Source # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (SesConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SesConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SdbConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SqsConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Sqs.Core

DefaultServiceConfiguration (SqsConfiguration UriOnlyQuery) Source # 
Instance details

Defined in Aws.Sqs.Core

data NormalQuery Source #

Tag type for normal queries.

Instances

Instances details
DefaultServiceConfiguration (DdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.DynamoDb.Core

DefaultServiceConfiguration (IamConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.Iam.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

Default (DdbConfiguration NormalQuery) Source # 
Instance details

Defined in Aws.DynamoDb.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

Instances details
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

Instances details
Transaction BatchGetItem BatchGetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

Transaction BatchWriteItem BatchWriteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

Transaction DeleteItem DeleteItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

Transaction GetItem GetItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Transaction PutItem PutItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Transaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Transaction Scan ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Transaction CreateTable CreateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction DeleteTable DeleteTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction DescribeTable DescribeTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction ListTables ListTablesResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction UpdateTable UpdateTableResult Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction UpdateItem UpdateItemResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Transaction AddUserToGroup AddUserToGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

Transaction CreateAccessKey CreateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

Transaction CreateGroup CreateGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

Transaction CreateUser CreateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

Transaction DeleteAccessKey DeleteAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

Transaction DeleteGroup DeleteGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

Transaction DeleteGroupPolicy DeleteGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

Transaction DeleteUser DeleteUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

Transaction DeleteUserPolicy DeleteUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

Transaction GetGroupPolicy GetGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

Transaction GetUser GetUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Transaction GetUserPolicy GetUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

Transaction ListAccessKeys ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

Transaction ListGroupPolicies ListGroupPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

Transaction ListGroups ListGroupsResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

Transaction ListMfaDevices ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

Transaction ListUserPolicies ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

Transaction ListUsers ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Transaction PutGroupPolicy PutGroupPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

Transaction PutUserPolicy PutUserPolicyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

Transaction RemoveUserFromGroup RemoveUserFromGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

Transaction UpdateAccessKey UpdateAccessKeyResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

Transaction UpdateGroup UpdateGroupResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

Transaction UpdateUser UpdateUserResponse Source # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

Transaction CopyObject CopyObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.CopyObject

Transaction DeleteBucket DeleteBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

Transaction DeleteObject DeleteObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

Transaction DeleteObjectVersion DeleteObjectVersionResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

Transaction DeleteObjects DeleteObjectsResponse Source # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

Transaction GetBucket GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

Transaction GetBucketLocation GetBucketLocationResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

Transaction GetBucketObjectVersions GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

Transaction GetObject GetObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetObject

Transaction GetService GetServiceResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetService

Transaction HeadObject HeadObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.HeadObject

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 InitiateMultipartUpload InitiateMultipartUploadResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction UploadPart UploadPartResponse Source # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction PutBucket PutBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucket

Transaction PutBucketVersioning PutBucketVersioningResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

Transaction PutObject PutObjectResponse Source # 
Instance details

Defined in Aws.S3.Commands.PutObject

Transaction DeleteIdentity DeleteIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

Transaction GetIdentityDkimAttributes GetIdentityDkimAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

Transaction GetIdentityNotificationAttributes GetIdentityNotificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

Transaction GetIdentityVerificationAttributes GetIdentityVerificationAttributesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

Transaction ListIdentities ListIdentitiesResponse Source # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

Transaction SendRawEmail SendRawEmailResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

Transaction SetIdentityDkimEnabled SetIdentityDkimEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

Transaction SetIdentityFeedbackForwardingEnabled SetIdentityFeedbackForwardingEnabledResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

Transaction SetIdentityNotificationTopic SetIdentityNotificationTopicResponse Source # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

Transaction VerifyDomainDkim VerifyDomainDkimResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

Transaction VerifyDomainIdentity VerifyDomainIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

Transaction VerifyEmailIdentity VerifyEmailIdentityResponse Source # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

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 GetAttributes GetAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction PutAttributes PutAttributesResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction CreateDomain CreateDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction DeleteDomain DeleteDomainResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction DomainMetadata DomainMetadataResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction ListDomains ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction Select SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Transaction ChangeMessageVisibility ChangeMessageVisibilityResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction DeleteMessage DeleteMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction ReceiveMessage ReceiveMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction SendMessage SendMessageResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction AddPermission AddPermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

Transaction RemovePermission RemovePermissionResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Permission

Transaction CreateQueue CreateQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction DeleteQueue DeleteQueueResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction ListQueues ListQueuesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction GetQueueAttributes GetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Transaction SetQueueAttributes SetQueueAttributesResponse Source # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

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

Instances details
IteratedTransaction Query QueryResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

IteratedTransaction Scan ScanResponse Source # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

IteratedTransaction ListAccessKeys ListAccessKeysResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

IteratedTransaction ListGroupPolicies ListGroupPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

IteratedTransaction ListGroups ListGroupsResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

IteratedTransaction ListMfaDevices ListMfaDevicesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

IteratedTransaction ListUserPolicies ListUserPoliciesResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

IteratedTransaction ListUsers ListUsersResponse Source # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

IteratedTransaction GetBucket GetBucketResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucket

IteratedTransaction GetBucketObjectVersions GetBucketObjectVersionsResponse Source # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

IteratedTransaction ListDomains ListDomainsResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

IteratedTransaction Select SelectResponse Source # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Credentials

data Credentials Source #

AWS access credentials.

Constructors

Credentials 

Fields

Instances

Instances details
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.

anonymousCredentials :: MonadIO io => io Credentials Source #

Make a dummy Credentials that can be used to access some AWS services anonymously.