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

Aws

Synopsis

Logging

data LogLevel #

The severity of a log message, in rising order.

Constructors

Debug 
Info 
Warning 
Error 

Instances

Instances details
Show LogLevel # 
Instance details

Defined in Aws.Aws

Methods

showsPrec :: Int -> LogLevel -> ShowS #

show :: LogLevel -> String #

showList :: [LogLevel] -> ShowS #

Eq LogLevel # 
Instance details

Defined in Aws.Aws

Ord LogLevel # 
Instance details

Defined in Aws.Aws

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

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

defaultLog :: LogLevel -> Logger #

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

Configuration

data Configuration #

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 #

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

dbgConfiguration :: MonadIO io => io Configuration #

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

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 #

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 #

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

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

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 #

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 #

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 #

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

Metadata in responses

data Response m a #

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) # 
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) # 
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) # 
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) # 
Instance details

Defined in Aws.Core

Methods

throwM :: (HasCallStack, Exception e) => e -> Response m a #

(Show m, Show a) => Show (Response m a) # 
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 #

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

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

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

type family ResponseMetadata resp #

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

Instances

Instances details
type ResponseMetadata BatchGetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

type ResponseMetadata BatchWriteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

type ResponseMetadata DeleteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

type ResponseMetadata GetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

type ResponseMetadata PutItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

type ResponseMetadata QueryResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ResponseMetadata ScanResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

type ResponseMetadata CreateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata DeleteTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata DescribeTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata ListTablesResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata UpdateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ResponseMetadata UpdateItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ResponseMetadata AddUserToGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

type ResponseMetadata CreateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

type ResponseMetadata CreateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

type ResponseMetadata CreateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

type ResponseMetadata DeleteAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

type ResponseMetadata DeleteGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

type ResponseMetadata DeleteGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

type ResponseMetadata DeleteUserResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

type ResponseMetadata DeleteUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

type ResponseMetadata GetGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

type ResponseMetadata GetUserResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUser

type ResponseMetadata GetUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

type ResponseMetadata ListAccessKeysResponse # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

type ResponseMetadata ListGroupPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

type ResponseMetadata ListGroupsResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

type ResponseMetadata ListMfaDevicesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

type ResponseMetadata ListUserPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

type ResponseMetadata ListUsersResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

type ResponseMetadata PutGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

type ResponseMetadata PutUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

type ResponseMetadata RemoveUserFromGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

type ResponseMetadata UpdateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

type ResponseMetadata UpdateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

type ResponseMetadata UpdateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

type ResponseMetadata CopyObjectResponse # 
Instance details

Defined in Aws.S3.Commands.CopyObject

type ResponseMetadata DeleteBucketResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

type ResponseMetadata DeleteObjectResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

type ResponseMetadata DeleteObjectVersionResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

type ResponseMetadata DeleteObjectsResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

type ResponseMetadata GetBucketResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucket

type ResponseMetadata GetBucketLocationResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

type ResponseMetadata GetBucketObjectVersionsResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

type ResponseMetadata GetObjectResponse # 
Instance details

Defined in Aws.S3.Commands.GetObject

type ResponseMetadata GetServiceResponse # 
Instance details

Defined in Aws.S3.Commands.GetService

type ResponseMetadata HeadObjectResponse # 
Instance details

Defined in Aws.S3.Commands.HeadObject

type ResponseMetadata AbortMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata CompleteMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata InitiateMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata UploadPartResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ResponseMetadata PutBucketResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucket

type ResponseMetadata PutBucketVersioningResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

type ResponseMetadata PutObjectResponse # 
Instance details

Defined in Aws.S3.Commands.PutObject

type ResponseMetadata DeleteIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

type ResponseMetadata GetIdentityDkimAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

type ResponseMetadata GetIdentityNotificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

type ResponseMetadata GetIdentityVerificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

type ResponseMetadata ListIdentitiesResponse # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

type ResponseMetadata SendRawEmailResponse # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

type ResponseMetadata SetIdentityDkimEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

type ResponseMetadata SetIdentityFeedbackForwardingEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

type ResponseMetadata SetIdentityNotificationTopicResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

type ResponseMetadata VerifyDomainDkimResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

type ResponseMetadata VerifyDomainIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

type ResponseMetadata VerifyEmailIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

type ResponseMetadata BatchDeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata BatchPutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata DeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata GetAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata PutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ResponseMetadata CreateDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata DeleteDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata DomainMetadataResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata ListDomainsResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ResponseMetadata SelectResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

type ResponseMetadata ChangeMessageVisibilityResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata DeleteMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata ReceiveMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata SendMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ResponseMetadata AddPermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ResponseMetadata RemovePermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ResponseMetadata CreateQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata DeleteQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata ListQueuesResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ResponseMetadata GetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ResponseMetadata SetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ResponseMetadata (Response ByteString) # 
Instance details

Defined in Aws.Core

Memory responses

class AsMemoryResponse resp where #

Class for responses that are fully loaded into memory

Associated Types

type MemoryResponse resp :: Type #

Methods

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

Instances

Instances details
AsMemoryResponse BatchGetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

AsMemoryResponse BatchWriteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

AsMemoryResponse DeleteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

Associated Types

type MemoryResponse DeleteItemResponse #

AsMemoryResponse GetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Associated Types

type MemoryResponse GetItemResponse #

AsMemoryResponse PutItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Associated Types

type MemoryResponse PutItemResponse #

AsMemoryResponse QueryResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type MemoryResponse QueryResponse #

AsMemoryResponse ScanResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Associated Types

type MemoryResponse ScanResponse #

AsMemoryResponse CreateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse CreateTableResult #

AsMemoryResponse DeleteTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse DeleteTableResult #

AsMemoryResponse DescribeTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse DescribeTableResult #

AsMemoryResponse ListTablesResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse ListTablesResult #

AsMemoryResponse UpdateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type MemoryResponse UpdateTableResult #

AsMemoryResponse UpdateItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Associated Types

type MemoryResponse UpdateItemResponse #

AsMemoryResponse AddUserToGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

AsMemoryResponse CreateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

AsMemoryResponse CreateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

Associated Types

type MemoryResponse CreateGroupResponse #

AsMemoryResponse CreateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

Associated Types

type MemoryResponse CreateUserResponse #

AsMemoryResponse DeleteAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

AsMemoryResponse DeleteGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

Associated Types

type MemoryResponse DeleteGroupResponse #

AsMemoryResponse DeleteGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

AsMemoryResponse DeleteUserResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

Associated Types

type MemoryResponse DeleteUserResponse #

AsMemoryResponse DeleteUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

AsMemoryResponse GetGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

AsMemoryResponse GetUserResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Associated Types

type MemoryResponse GetUserResponse #

AsMemoryResponse GetUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

AsMemoryResponse ListAccessKeysResponse # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

AsMemoryResponse ListGroupPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

AsMemoryResponse ListGroupsResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

Associated Types

type MemoryResponse ListGroupsResponse #

AsMemoryResponse ListMfaDevicesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

AsMemoryResponse ListUserPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

AsMemoryResponse ListUsersResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Associated Types

type MemoryResponse ListUsersResponse #

AsMemoryResponse PutGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

AsMemoryResponse PutUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

AsMemoryResponse RemoveUserFromGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

AsMemoryResponse UpdateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

AsMemoryResponse UpdateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

Associated Types

type MemoryResponse UpdateGroupResponse #

AsMemoryResponse UpdateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

Associated Types

type MemoryResponse UpdateUserResponse #

AsMemoryResponse CopyObjectResponse # 
Instance details

Defined in Aws.S3.Commands.CopyObject

Associated Types

type MemoryResponse CopyObjectResponse #

AsMemoryResponse DeleteBucketResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

AsMemoryResponse DeleteObjectResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

AsMemoryResponse DeleteObjectVersionResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

AsMemoryResponse DeleteObjectsResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

AsMemoryResponse GetBucketResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucket

Associated Types

type MemoryResponse GetBucketResponse #

AsMemoryResponse GetBucketLocationResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

AsMemoryResponse GetBucketObjectVersionsResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

AsMemoryResponse GetObjectResponse # 
Instance details

Defined in Aws.S3.Commands.GetObject

Associated Types

type MemoryResponse GetObjectResponse #

AsMemoryResponse GetServiceResponse # 
Instance details

Defined in Aws.S3.Commands.GetService

Associated Types

type MemoryResponse GetServiceResponse #

AsMemoryResponse HeadObjectResponse # 
Instance details

Defined in Aws.S3.Commands.HeadObject

Associated Types

type MemoryResponse HeadObjectResponse #

AsMemoryResponse AbortMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse CompleteMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse InitiateMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

AsMemoryResponse UploadPartResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

Associated Types

type MemoryResponse UploadPartResponse #

AsMemoryResponse PutBucketResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucket

Associated Types

type MemoryResponse PutBucketResponse #

AsMemoryResponse PutBucketVersioningResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

AsMemoryResponse PutObjectResponse # 
Instance details

Defined in Aws.S3.Commands.PutObject

Associated Types

type MemoryResponse PutObjectResponse #

AsMemoryResponse DeleteIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

AsMemoryResponse GetIdentityDkimAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

AsMemoryResponse GetIdentityNotificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

AsMemoryResponse GetIdentityVerificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

AsMemoryResponse ListIdentitiesResponse # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

AsMemoryResponse SendRawEmailResponse # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

AsMemoryResponse SetIdentityDkimEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

AsMemoryResponse SetIdentityFeedbackForwardingEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

AsMemoryResponse SetIdentityNotificationTopicResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

AsMemoryResponse VerifyDomainDkimResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

AsMemoryResponse VerifyDomainIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

AsMemoryResponse VerifyEmailIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

AsMemoryResponse BatchDeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse BatchPutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse DeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse GetAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse PutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

AsMemoryResponse CreateDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse DeleteDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse DomainMetadataResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

AsMemoryResponse ListDomainsResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Associated Types

type MemoryResponse ListDomainsResponse #

AsMemoryResponse SelectResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Associated Types

type MemoryResponse SelectResponse #

AsMemoryResponse ChangeMessageVisibilityResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse DeleteMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse ReceiveMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

AsMemoryResponse SendMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

Associated Types

type MemoryResponse SendMessageResponse #

AsMemoryResponse AddPermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

AsMemoryResponse RemovePermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

AsMemoryResponse CreateQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Associated Types

type MemoryResponse CreateQueueResponse #

AsMemoryResponse DeleteQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Associated Types

type MemoryResponse DeleteQueueResponse #

AsMemoryResponse ListQueuesResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Associated Types

type MemoryResponse ListQueuesResponse #

AsMemoryResponse GetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

AsMemoryResponse SetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Exception types

newtype XmlException #

An error that occurred during XML parsing / validation.

Constructors

XmlException 

Fields

Instances

Instances details
Exception XmlException # 
Instance details

Defined in Aws.Core

Show XmlException # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> XmlException -> ShowS #

show :: XmlException -> String #

showList :: [XmlException] -> ShowS #

newtype HeaderException #

An error that occurred during header parsing / validation.

Constructors

HeaderException 

Fields

Instances

Instances details
Exception HeaderException # 
Instance details

Defined in Aws.Core

Show HeaderException # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> HeaderException -> ShowS #

show :: HeaderException -> String #

showList :: [HeaderException] -> ShowS #

newtype FormException #

An error that occurred during form parsing / validation.

Constructors

FormException 

Fields

Instances

Instances details
Exception FormException # 
Instance details

Defined in Aws.Core

Show FormException # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> FormException -> ShowS #

show :: FormException -> String #

showList :: [FormException] -> ShowS #

Query

Service configuration

type family ServiceConfiguration request :: Type -> Type #

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

Instances

Instances details
type ServiceConfiguration BatchGetItem # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

type ServiceConfiguration BatchWriteItem # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

type ServiceConfiguration DeleteItem # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

type ServiceConfiguration GetItem # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

type ServiceConfiguration PutItem # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

type ServiceConfiguration Query # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

type ServiceConfiguration Scan # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

type ServiceConfiguration CreateTable # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration DeleteTable # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration DescribeTable # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration ListTables # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration UpdateTable # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

type ServiceConfiguration UpdateItem # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

type ServiceConfiguration AddUserToGroup # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

type ServiceConfiguration CreateAccessKey # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

type ServiceConfiguration CreateGroup # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

type ServiceConfiguration CreateUser # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

type ServiceConfiguration DeleteAccessKey # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

type ServiceConfiguration DeleteGroup # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

type ServiceConfiguration DeleteGroupPolicy # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

type ServiceConfiguration DeleteUser # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

type ServiceConfiguration DeleteUserPolicy # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

type ServiceConfiguration GetGroupPolicy # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

type ServiceConfiguration GetUser # 
Instance details

Defined in Aws.Iam.Commands.GetUser

type ServiceConfiguration GetUserPolicy # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

type ServiceConfiguration ListAccessKeys # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

type ServiceConfiguration ListGroupPolicies # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

type ServiceConfiguration ListGroups # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

type ServiceConfiguration ListMfaDevices # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

type ServiceConfiguration ListUserPolicies # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

type ServiceConfiguration ListUsers # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

type ServiceConfiguration PutGroupPolicy # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

type ServiceConfiguration PutUserPolicy # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

type ServiceConfiguration RemoveUserFromGroup # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

type ServiceConfiguration UpdateAccessKey # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

type ServiceConfiguration UpdateGroup # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

type ServiceConfiguration UpdateUser # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

type ServiceConfiguration CopyObject # 
Instance details

Defined in Aws.S3.Commands.CopyObject

type ServiceConfiguration DeleteBucket # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

type ServiceConfiguration DeleteObject # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

type ServiceConfiguration DeleteObjectVersion # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

type ServiceConfiguration DeleteObjects # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

type ServiceConfiguration GetBucket # 
Instance details

Defined in Aws.S3.Commands.GetBucket

type ServiceConfiguration GetBucketLocation # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

type ServiceConfiguration GetBucketObjectVersions # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

type ServiceConfiguration GetObject # 
Instance details

Defined in Aws.S3.Commands.GetObject

type ServiceConfiguration GetService # 
Instance details

Defined in Aws.S3.Commands.GetService

type ServiceConfiguration HeadObject # 
Instance details

Defined in Aws.S3.Commands.HeadObject

type ServiceConfiguration AbortMultipartUpload # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration CompleteMultipartUpload # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration InitiateMultipartUpload # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration UploadPart # 
Instance details

Defined in Aws.S3.Commands.Multipart

type ServiceConfiguration PutBucket # 
Instance details

Defined in Aws.S3.Commands.PutBucket

type ServiceConfiguration PutBucketVersioning # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

type ServiceConfiguration PutObject # 
Instance details

Defined in Aws.S3.Commands.PutObject

type ServiceConfiguration DeleteIdentity # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

type ServiceConfiguration GetIdentityDkimAttributes # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

type ServiceConfiguration GetIdentityNotificationAttributes # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

type ServiceConfiguration GetIdentityVerificationAttributes # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

type ServiceConfiguration ListIdentities # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

type ServiceConfiguration SendRawEmail # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

type ServiceConfiguration SetIdentityDkimEnabled # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

type ServiceConfiguration SetIdentityFeedbackForwardingEnabled # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

type ServiceConfiguration SetIdentityNotificationTopic # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

type ServiceConfiguration VerifyDomainDkim # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

type ServiceConfiguration VerifyDomainIdentity # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

type ServiceConfiguration VerifyEmailIdentity # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

type ServiceConfiguration BatchDeleteAttributes # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration BatchPutAttributes # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration DeleteAttributes # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration GetAttributes # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration PutAttributes # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

type ServiceConfiguration CreateDomain # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration DeleteDomain # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration DomainMetadata # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration ListDomains # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

type ServiceConfiguration Select # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

type ServiceConfiguration ChangeMessageVisibility # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration DeleteMessage # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration ReceiveMessage # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration SendMessage # 
Instance details

Defined in Aws.Sqs.Commands.Message

type ServiceConfiguration AddPermission # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ServiceConfiguration RemovePermission # 
Instance details

Defined in Aws.Sqs.Commands.Permission

type ServiceConfiguration CreateQueue # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration DeleteQueue # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration ListQueues # 
Instance details

Defined in Aws.Sqs.Commands.Queue

type ServiceConfiguration GetQueueAttributes # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

type ServiceConfiguration SetQueueAttributes # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

class DefaultServiceConfiguration config where #

Default configuration for a specific service.

Minimal complete definition

defServiceConfig

Methods

defServiceConfig :: config #

Default service configuration.

debugServiceConfig :: config #

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

Instances

Instances details
DefaultServiceConfiguration (DdbConfiguration NormalQuery) # 
Instance details

Defined in Aws.DynamoDb.Core

DefaultServiceConfiguration (IamConfiguration NormalQuery) # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (IamConfiguration UriOnlyQuery) # 
Instance details

Defined in Aws.Iam.Core

DefaultServiceConfiguration (S3Configuration NormalQuery) # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (S3Configuration UriOnlyQuery) # 
Instance details

Defined in Aws.S3.Core

DefaultServiceConfiguration (SesConfiguration NormalQuery) # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SesConfiguration UriOnlyQuery) # 
Instance details

Defined in Aws.Ses.Core

DefaultServiceConfiguration (SdbConfiguration NormalQuery) # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SdbConfiguration UriOnlyQuery) # 
Instance details

Defined in Aws.SimpleDb.Core

DefaultServiceConfiguration (SqsConfiguration NormalQuery) # 
Instance details

Defined in Aws.Sqs.Core

DefaultServiceConfiguration (SqsConfiguration UriOnlyQuery) # 
Instance details

Defined in Aws.Sqs.Core

Expiration

data TimeInfo #

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

Defined in Aws.Core

Methods

showsPrec :: Int -> TimeInfo -> ShowS #

show :: TimeInfo -> String #

showList :: [TimeInfo] -> ShowS #

Transactions

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

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

Defined in Aws.DynamoDb.Commands.BatchGetItem

Transaction BatchWriteItem BatchWriteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

Transaction DeleteItem DeleteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

Transaction GetItem GetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Transaction PutItem PutItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Transaction Query QueryResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Transaction Scan ScanResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Transaction CreateTable CreateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction DeleteTable DeleteTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction DescribeTable DescribeTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction ListTables ListTablesResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction UpdateTable UpdateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Transaction UpdateItem UpdateItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Transaction AddUserToGroup AddUserToGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

Transaction CreateAccessKey CreateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

Transaction CreateGroup CreateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

Transaction CreateUser CreateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

Transaction DeleteAccessKey DeleteAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

Transaction DeleteGroup DeleteGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

Transaction DeleteGroupPolicy DeleteGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

Transaction DeleteUser DeleteUserResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

Transaction DeleteUserPolicy DeleteUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

Transaction GetGroupPolicy GetGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

Transaction GetUser GetUserResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Transaction GetUserPolicy GetUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

Transaction ListAccessKeys ListAccessKeysResponse # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

Transaction ListGroupPolicies ListGroupPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

Transaction ListGroups ListGroupsResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

Transaction ListMfaDevices ListMfaDevicesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

Transaction ListUserPolicies ListUserPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

Transaction ListUsers ListUsersResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Transaction PutGroupPolicy PutGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

Transaction PutUserPolicy PutUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

Transaction RemoveUserFromGroup RemoveUserFromGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

Transaction UpdateAccessKey UpdateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

Transaction UpdateGroup UpdateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

Transaction UpdateUser UpdateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

Transaction CopyObject CopyObjectResponse # 
Instance details

Defined in Aws.S3.Commands.CopyObject

Transaction DeleteBucket DeleteBucketResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

Transaction DeleteObject DeleteObjectResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

Transaction DeleteObjectVersion DeleteObjectVersionResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

Transaction DeleteObjects DeleteObjectsResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

Transaction GetBucket GetBucketResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucket

Transaction GetBucketLocation GetBucketLocationResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

Transaction GetBucketObjectVersions GetBucketObjectVersionsResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

Transaction GetObject GetObjectResponse # 
Instance details

Defined in Aws.S3.Commands.GetObject

Transaction GetService GetServiceResponse # 
Instance details

Defined in Aws.S3.Commands.GetService

Transaction HeadObject HeadObjectResponse # 
Instance details

Defined in Aws.S3.Commands.HeadObject

Transaction AbortMultipartUpload AbortMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction CompleteMultipartUpload CompleteMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction InitiateMultipartUpload InitiateMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction UploadPart UploadPartResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

Transaction PutBucket PutBucketResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucket

Transaction PutBucketVersioning PutBucketVersioningResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

Transaction PutObject PutObjectResponse # 
Instance details

Defined in Aws.S3.Commands.PutObject

Transaction DeleteIdentity DeleteIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

Transaction GetIdentityDkimAttributes GetIdentityDkimAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

Transaction GetIdentityNotificationAttributes GetIdentityNotificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

Transaction GetIdentityVerificationAttributes GetIdentityVerificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

Transaction ListIdentities ListIdentitiesResponse # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

Transaction SendRawEmail SendRawEmailResponse # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

Transaction SetIdentityDkimEnabled SetIdentityDkimEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

Transaction SetIdentityFeedbackForwardingEnabled SetIdentityFeedbackForwardingEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

Transaction SetIdentityNotificationTopic SetIdentityNotificationTopicResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

Transaction VerifyDomainDkim VerifyDomainDkimResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

Transaction VerifyDomainIdentity VerifyDomainIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

Transaction VerifyEmailIdentity VerifyEmailIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

Transaction BatchDeleteAttributes BatchDeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction BatchPutAttributes BatchPutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction DeleteAttributes DeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction GetAttributes GetAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction PutAttributes PutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Transaction CreateDomain CreateDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction DeleteDomain DeleteDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction DomainMetadata DomainMetadataResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction ListDomains ListDomainsResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

Transaction Select SelectResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Transaction ChangeMessageVisibility ChangeMessageVisibilityResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction DeleteMessage DeleteMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction ReceiveMessage ReceiveMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction SendMessage SendMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

Transaction AddPermission AddPermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

Transaction RemovePermission RemovePermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

Transaction CreateQueue CreateQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction DeleteQueue DeleteQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction ListQueues ListQueuesResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

Transaction GetQueueAttributes GetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Transaction SetQueueAttributes SetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

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

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

Defined in Aws.DynamoDb.Commands.Query

IteratedTransaction Scan ScanResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

IteratedTransaction ListAccessKeys ListAccessKeysResponse # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

IteratedTransaction ListGroupPolicies ListGroupPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

IteratedTransaction ListGroups ListGroupsResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

IteratedTransaction ListMfaDevices ListMfaDevicesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

IteratedTransaction ListUserPolicies ListUserPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

IteratedTransaction ListUsers ListUsersResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

IteratedTransaction GetBucket GetBucketResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucket

IteratedTransaction GetBucketObjectVersions GetBucketObjectVersionsResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

IteratedTransaction ListDomains ListDomainsResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

IteratedTransaction Select SelectResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Credentials

data Credentials #

AWS access credentials.

Constructors

Credentials 

Fields

Instances

Instances details
Show Credentials # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> Credentials -> ShowS #

show :: Credentials -> String #

showList :: [Credentials] -> ShowS #

makeCredentials #

Arguments

:: MonadIO io 
=> ByteString

AWS Access Key ID

-> ByteString

AWS Secret Access Key

-> io Credentials 

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

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

Value: directory/.aws-keys

credentialsDefaultKey :: Text #

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

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

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

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

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

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 #

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