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

Aws.Core

Synopsis

Logging

class Loggable a where #

Types that can be logged (textually).

Methods

toLogText :: a -> Text #

Instances

Instances details
Loggable DdbResponse # 
Instance details

Defined in Aws.DynamoDb.Core

Methods

toLogText :: DdbResponse -> Text #

Loggable IamMetadata # 
Instance details

Defined in Aws.Iam.Core

Methods

toLogText :: IamMetadata -> Text #

Loggable S3Metadata # 
Instance details

Defined in Aws.S3.Core

Methods

toLogText :: S3Metadata -> Text #

Loggable SesMetadata # 
Instance details

Defined in Aws.Ses.Core

Methods

toLogText :: SesMetadata -> Text #

Loggable SdbMetadata # 
Instance details

Defined in Aws.SimpleDb.Core

Methods

toLogText :: SdbMetadata -> Text #

Loggable SqsMetadata # 
Instance details

Defined in Aws.Sqs.Core

Methods

toLogText :: SqsMetadata -> Text #

Response

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.

tellMetadata :: m -> Response m () #

An empty response with some metadata.

tellMetadataRef :: Monoid m => IORef m -> m -> IO () #

Add metadata to an IORef (using mappend).

mapMetadata :: (m -> n) -> Response m a -> Response n a #

Apply a function to the metadata.

Response data consumers

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

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

class Monoid (ResponseMetadata resp) => ResponseConsumer req resp where #

Class for types that AWS HTTP responses can be parsed into.

The request is also passed for possibly required additional metadata.

Note that for debugging, there is an instance for ByteString.

Associated Types

type ResponseMetadata resp #

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

Methods

responseConsumer :: Request -> req -> IORef (ResponseMetadata resp) -> HTTPResponseConsumer resp #

Response parser. Takes the corresponding AWS request, the derived http-client request (for error reporting), an IORef for metadata, and HTTP response data.

Instances

Instances details
ResponseConsumer AddUserToGroup AddUserToGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

ResponseConsumer CreateAccessKey CreateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

ResponseConsumer CreateGroup CreateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

ResponseConsumer CreateUser CreateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

ResponseConsumer DeleteAccessKey DeleteAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

ResponseConsumer DeleteGroup DeleteGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

ResponseConsumer DeleteGroupPolicy DeleteGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

ResponseConsumer DeleteUser DeleteUserResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

ResponseConsumer DeleteUserPolicy DeleteUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

ResponseConsumer GetGroupPolicy GetGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

ResponseConsumer GetUser GetUserResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Associated Types

type ResponseMetadata GetUserResponse #

ResponseConsumer GetUserPolicy GetUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

ResponseConsumer ListAccessKeys ListAccessKeysResponse # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

ResponseConsumer ListGroupPolicies ListGroupPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

ResponseConsumer ListGroups ListGroupsResponse # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

ResponseConsumer ListMfaDevices ListMfaDevicesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

ResponseConsumer ListUserPolicies ListUserPoliciesResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

ResponseConsumer ListUsers ListUsersResponse # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Associated Types

type ResponseMetadata ListUsersResponse #

ResponseConsumer PutGroupPolicy PutGroupPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

ResponseConsumer PutUserPolicy PutUserPolicyResponse # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

ResponseConsumer RemoveUserFromGroup RemoveUserFromGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

ResponseConsumer UpdateAccessKey UpdateAccessKeyResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

ResponseConsumer UpdateGroup UpdateGroupResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

ResponseConsumer UpdateUser UpdateUserResponse # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

ResponseConsumer CopyObject CopyObjectResponse # 
Instance details

Defined in Aws.S3.Commands.CopyObject

ResponseConsumer DeleteBucket DeleteBucketResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteBucket

ResponseConsumer DeleteObject DeleteObjectResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObject

ResponseConsumer DeleteObjectVersion DeleteObjectVersionResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

ResponseConsumer DeleteObjects DeleteObjectsResponse # 
Instance details

Defined in Aws.S3.Commands.DeleteObjects

ResponseConsumer GetObject GetObjectResponse # 
Instance details

Defined in Aws.S3.Commands.GetObject

Associated Types

type ResponseMetadata GetObjectResponse #

ResponseConsumer HeadObject HeadObjectResponse # 
Instance details

Defined in Aws.S3.Commands.HeadObject

ResponseConsumer UploadPart UploadPartResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

ResponseConsumer PutObject PutObjectResponse # 
Instance details

Defined in Aws.S3.Commands.PutObject

Associated Types

type ResponseMetadata PutObjectResponse #

ResponseConsumer DeleteIdentity DeleteIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

ResponseConsumer GetIdentityDkimAttributes GetIdentityDkimAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

ResponseConsumer GetIdentityNotificationAttributes GetIdentityNotificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

ResponseConsumer GetIdentityVerificationAttributes GetIdentityVerificationAttributesResponse # 
Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

ResponseConsumer ListIdentities ListIdentitiesResponse # 
Instance details

Defined in Aws.Ses.Commands.ListIdentities

ResponseConsumer SendRawEmail SendRawEmailResponse # 
Instance details

Defined in Aws.Ses.Commands.SendRawEmail

ResponseConsumer SetIdentityDkimEnabled SetIdentityDkimEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

ResponseConsumer SetIdentityFeedbackForwardingEnabled SetIdentityFeedbackForwardingEnabledResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

ResponseConsumer SetIdentityNotificationTopic SetIdentityNotificationTopicResponse # 
Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

ResponseConsumer VerifyDomainDkim VerifyDomainDkimResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

ResponseConsumer VerifyDomainIdentity VerifyDomainIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

ResponseConsumer VerifyEmailIdentity VerifyEmailIdentityResponse # 
Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

ResponseConsumer r BatchGetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

ResponseConsumer r BatchWriteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

ResponseConsumer r DeleteItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

ResponseConsumer r GetItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Associated Types

type ResponseMetadata GetItemResponse #

ResponseConsumer r PutItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Associated Types

type ResponseMetadata PutItemResponse #

ResponseConsumer r QueryResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type ResponseMetadata QueryResponse #

ResponseConsumer r ScanResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Associated Types

type ResponseMetadata ScanResponse #

ResponseConsumer r CreateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ResponseMetadata CreateTableResult #

ResponseConsumer r DeleteTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ResponseMetadata DeleteTableResult #

ResponseConsumer r DescribeTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

ResponseConsumer r ListTablesResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ResponseMetadata ListTablesResult #

ResponseConsumer r UpdateTableResult # 
Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ResponseMetadata UpdateTableResult #

ResponseConsumer r UpdateItemResponse # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

ResponseConsumer r GetBucketResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucket

Associated Types

type ResponseMetadata GetBucketResponse #

ResponseConsumer r GetBucketLocationResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

ResponseConsumer r GetBucketObjectVersionsResponse # 
Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

ResponseConsumer r GetServiceResponse # 
Instance details

Defined in Aws.S3.Commands.GetService

ResponseConsumer r AbortMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

ResponseConsumer r CompleteMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

ResponseConsumer r InitiateMultipartUploadResponse # 
Instance details

Defined in Aws.S3.Commands.Multipart

ResponseConsumer r PutBucketResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucket

Associated Types

type ResponseMetadata PutBucketResponse #

ResponseConsumer r PutBucketVersioningResponse # 
Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

ResponseConsumer r BatchDeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

ResponseConsumer r BatchPutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

ResponseConsumer r DeleteAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

ResponseConsumer r GetAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

ResponseConsumer r PutAttributesResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Attributes

ResponseConsumer r CreateDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

ResponseConsumer r DeleteDomainResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

ResponseConsumer r DomainMetadataResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

ResponseConsumer r ListDomainsResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Domain

ResponseConsumer r SelectResponse # 
Instance details

Defined in Aws.SimpleDb.Commands.Select

Associated Types

type ResponseMetadata SelectResponse #

ResponseConsumer r ChangeMessageVisibilityResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

ResponseConsumer r DeleteMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

ResponseConsumer r ReceiveMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

ResponseConsumer r SendMessageResponse # 
Instance details

Defined in Aws.Sqs.Commands.Message

ResponseConsumer r AddPermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

ResponseConsumer r RemovePermissionResponse # 
Instance details

Defined in Aws.Sqs.Commands.Permission

ResponseConsumer r CreateQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

ResponseConsumer r DeleteQueueResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

ResponseConsumer r ListQueuesResponse # 
Instance details

Defined in Aws.Sqs.Commands.Queue

ResponseConsumer r GetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

ResponseConsumer r SetQueueAttributesResponse # 
Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

ResponseConsumer r (Response ByteString) #

Does not parse response. For debugging.

Instance details

Defined in Aws.Core

Associated Types

type ResponseMetadata (Response ByteString) #

Memory response

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

List response

class ListResponse resp item | resp -> item where #

Responses that have one main list in them, and perhaps some decoration.

Methods

listResponse :: resp -> [item] #

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 #

newtype NoCredentialsException #

No credentials were found and an invariant was violated.

Constructors

NoCredentialsException 

Fields

Response deconstruction helpers

readHex2 :: [Char] -> Maybe Word8 #

Parse a two-digit hex number.

XML

elContent :: Text -> Cursor -> [Text] #

A specific element (case-insensitive, ignoring namespace - sadly necessary), extracting only the textual contents.

elCont :: Text -> Cursor -> [String] #

Like elContent, but extracts Strings instead of Text.

force :: MonadThrow m => String -> [a] -> m a #

Extract the first element from a parser result list, and throw an XmlException if the list is empty.

forceM :: MonadThrow m => String -> [m a] -> m a #

Extract the first element from a monadic parser result list, and throw an XmlException if the list is empty.

textReadBool :: MonadThrow m => Text -> m Bool #

Read a boolean from a Text, throwing an XmlException on failure.

textReadInt :: (MonadThrow m, Num a) => Text -> m a #

Read an integer from a Text, throwing an XmlException on failure.

readInt :: (MonadThrow m, Num a) => String -> m a #

Read an integer from a String, throwing an XmlException on failure.

xmlCursorConsumer :: Monoid m => (Cursor -> Response m a) -> IORef m -> HTTPResponseConsumer a #

Create a complete HTTPResponseConsumer from a simple function that takes a Cursor to XML in the response body.

This function is highly recommended for any services that parse relatively short XML responses. (If status and response headers are required, simply take them as function parameters, and pass them through to this function.)

Query

data SignedQuery #

A pre-signed medium-level request object.

Constructors

SignedQuery 

Fields

queryToHttpRequest :: SignedQuery -> IO Request #

Create a HTTP request from a SignedQuery object.

queryToUri :: SignedQuery -> ByteString #

Create a URI fro a SignedQuery object.

Unused / incompatible fields will be silently ignored.

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 #

data AbsoluteTimeInfo #

Like TimeInfo, but with all relative times replaced by absolute UTC.

Instances

Instances details
Show AbsoluteTimeInfo # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> AbsoluteTimeInfo -> ShowS #

show :: AbsoluteTimeInfo -> String #

showList :: [AbsoluteTimeInfo] -> ShowS #

fromAbsoluteTimeInfo :: AbsoluteTimeInfo -> UTCTime #

Just the UTC time value.

makeAbsoluteTimeInfo :: TimeInfo -> UTCTime -> AbsoluteTimeInfo #

Convert TimeInfo to AbsoluteTimeInfo given the current UTC time.

Signature

data SignatureData #

Data that is always required for signing requests.

Constructors

SignatureData 

Fields

signatureData :: TimeInfo -> Credentials -> IO SignatureData #

Create signature data using the current system time.

class SignQuery request where #

A "signable" request object. Assembles together the Query, and signs it in one go.

Associated Types

type ServiceConfiguration request :: Type -> Type #

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

Methods

signQuery :: request -> ServiceConfiguration request queryType -> SignatureData -> SignedQuery #

Create a SignedQuery from a request, additional Info, and SignatureData.

Instances

Instances details
SignQuery BatchGetItem # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchGetItem

Associated Types

type ServiceConfiguration BatchGetItem :: Type -> Type #

SignQuery BatchWriteItem # 
Instance details

Defined in Aws.DynamoDb.Commands.BatchWriteItem

Associated Types

type ServiceConfiguration BatchWriteItem :: Type -> Type #

SignQuery DeleteItem # 
Instance details

Defined in Aws.DynamoDb.Commands.DeleteItem

Associated Types

type ServiceConfiguration DeleteItem :: Type -> Type #

SignQuery GetItem # 
Instance details

Defined in Aws.DynamoDb.Commands.GetItem

Associated Types

type ServiceConfiguration GetItem :: Type -> Type #

SignQuery PutItem # 
Instance details

Defined in Aws.DynamoDb.Commands.PutItem

Associated Types

type ServiceConfiguration PutItem :: Type -> Type #

SignQuery Query # 
Instance details

Defined in Aws.DynamoDb.Commands.Query

Associated Types

type ServiceConfiguration Query :: Type -> Type #

SignQuery Scan # 
Instance details

Defined in Aws.DynamoDb.Commands.Scan

Associated Types

type ServiceConfiguration Scan :: Type -> Type #

SignQuery CreateTable #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration CreateTable :: Type -> Type #

SignQuery DeleteTable #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration DeleteTable :: Type -> Type #

SignQuery DescribeTable #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration DescribeTable :: Type -> Type #

SignQuery ListTables #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration ListTables :: Type -> Type #

SignQuery UpdateTable #

ServiceConfiguration: DdbConfiguration

Instance details

Defined in Aws.DynamoDb.Commands.Table

Associated Types

type ServiceConfiguration UpdateTable :: Type -> Type #

SignQuery UpdateItem # 
Instance details

Defined in Aws.DynamoDb.Commands.UpdateItem

Associated Types

type ServiceConfiguration UpdateItem :: Type -> Type #

SignQuery AddUserToGroup # 
Instance details

Defined in Aws.Iam.Commands.AddUserToGroup

Associated Types

type ServiceConfiguration AddUserToGroup :: Type -> Type #

SignQuery CreateAccessKey # 
Instance details

Defined in Aws.Iam.Commands.CreateAccessKey

Associated Types

type ServiceConfiguration CreateAccessKey :: Type -> Type #

SignQuery CreateGroup # 
Instance details

Defined in Aws.Iam.Commands.CreateGroup

Associated Types

type ServiceConfiguration CreateGroup :: Type -> Type #

SignQuery CreateUser # 
Instance details

Defined in Aws.Iam.Commands.CreateUser

Associated Types

type ServiceConfiguration CreateUser :: Type -> Type #

SignQuery DeleteAccessKey # 
Instance details

Defined in Aws.Iam.Commands.DeleteAccessKey

Associated Types

type ServiceConfiguration DeleteAccessKey :: Type -> Type #

SignQuery DeleteGroup # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroup

Associated Types

type ServiceConfiguration DeleteGroup :: Type -> Type #

SignQuery DeleteGroupPolicy # 
Instance details

Defined in Aws.Iam.Commands.DeleteGroupPolicy

Associated Types

type ServiceConfiguration DeleteGroupPolicy :: Type -> Type #

SignQuery DeleteUser # 
Instance details

Defined in Aws.Iam.Commands.DeleteUser

Associated Types

type ServiceConfiguration DeleteUser :: Type -> Type #

SignQuery DeleteUserPolicy # 
Instance details

Defined in Aws.Iam.Commands.DeleteUserPolicy

Associated Types

type ServiceConfiguration DeleteUserPolicy :: Type -> Type #

SignQuery GetGroupPolicy # 
Instance details

Defined in Aws.Iam.Commands.GetGroupPolicy

Associated Types

type ServiceConfiguration GetGroupPolicy :: Type -> Type #

SignQuery GetUser # 
Instance details

Defined in Aws.Iam.Commands.GetUser

Associated Types

type ServiceConfiguration GetUser :: Type -> Type #

SignQuery GetUserPolicy # 
Instance details

Defined in Aws.Iam.Commands.GetUserPolicy

Associated Types

type ServiceConfiguration GetUserPolicy :: Type -> Type #

SignQuery ListAccessKeys # 
Instance details

Defined in Aws.Iam.Commands.ListAccessKeys

Associated Types

type ServiceConfiguration ListAccessKeys :: Type -> Type #

SignQuery ListGroupPolicies # 
Instance details

Defined in Aws.Iam.Commands.ListGroupPolicies

Associated Types

type ServiceConfiguration ListGroupPolicies :: Type -> Type #

SignQuery ListGroups # 
Instance details

Defined in Aws.Iam.Commands.ListGroups

Associated Types

type ServiceConfiguration ListGroups :: Type -> Type #

SignQuery ListMfaDevices # 
Instance details

Defined in Aws.Iam.Commands.ListMfaDevices

Associated Types

type ServiceConfiguration ListMfaDevices :: Type -> Type #

SignQuery ListUserPolicies # 
Instance details

Defined in Aws.Iam.Commands.ListUserPolicies

Associated Types

type ServiceConfiguration ListUserPolicies :: Type -> Type #

SignQuery ListUsers # 
Instance details

Defined in Aws.Iam.Commands.ListUsers

Associated Types

type ServiceConfiguration ListUsers :: Type -> Type #

SignQuery PutGroupPolicy # 
Instance details

Defined in Aws.Iam.Commands.PutGroupPolicy

Associated Types

type ServiceConfiguration PutGroupPolicy :: Type -> Type #

SignQuery PutUserPolicy # 
Instance details

Defined in Aws.Iam.Commands.PutUserPolicy

Associated Types

type ServiceConfiguration PutUserPolicy :: Type -> Type #

SignQuery RemoveUserFromGroup # 
Instance details

Defined in Aws.Iam.Commands.RemoveUserFromGroup

Associated Types

type ServiceConfiguration RemoveUserFromGroup :: Type -> Type #

SignQuery UpdateAccessKey # 
Instance details

Defined in Aws.Iam.Commands.UpdateAccessKey

Associated Types

type ServiceConfiguration UpdateAccessKey :: Type -> Type #

SignQuery UpdateGroup # 
Instance details

Defined in Aws.Iam.Commands.UpdateGroup

Associated Types

type ServiceConfiguration UpdateGroup :: Type -> Type #

SignQuery UpdateUser # 
Instance details

Defined in Aws.Iam.Commands.UpdateUser

Associated Types

type ServiceConfiguration UpdateUser :: Type -> Type #

SignQuery CopyObject #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.CopyObject

Associated Types

type ServiceConfiguration CopyObject :: Type -> Type #

SignQuery DeleteBucket #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.DeleteBucket

Associated Types

type ServiceConfiguration DeleteBucket :: Type -> Type #

SignQuery DeleteObject #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.DeleteObject

Associated Types

type ServiceConfiguration DeleteObject :: Type -> Type #

SignQuery DeleteObjectVersion #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.DeleteObjectVersion

Associated Types

type ServiceConfiguration DeleteObjectVersion :: Type -> Type #

SignQuery DeleteObjects #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.DeleteObjects

Associated Types

type ServiceConfiguration DeleteObjects :: Type -> Type #

SignQuery GetBucket #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.GetBucket

Associated Types

type ServiceConfiguration GetBucket :: Type -> Type #

SignQuery GetBucketLocation # 
Instance details

Defined in Aws.S3.Commands.GetBucketLocation

Associated Types

type ServiceConfiguration GetBucketLocation :: Type -> Type #

SignQuery GetBucketObjectVersions #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.GetBucketObjectVersions

Associated Types

type ServiceConfiguration GetBucketObjectVersions :: Type -> Type #

SignQuery GetObject #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.GetObject

Associated Types

type ServiceConfiguration GetObject :: Type -> Type #

SignQuery GetService #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.GetService

Associated Types

type ServiceConfiguration GetService :: Type -> Type #

SignQuery HeadObject #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.HeadObject

Associated Types

type ServiceConfiguration HeadObject :: Type -> Type #

SignQuery AbortMultipartUpload #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.Multipart

Associated Types

type ServiceConfiguration AbortMultipartUpload :: Type -> Type #

SignQuery CompleteMultipartUpload #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.Multipart

Associated Types

type ServiceConfiguration CompleteMultipartUpload :: Type -> Type #

SignQuery InitiateMultipartUpload #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.Multipart

Associated Types

type ServiceConfiguration InitiateMultipartUpload :: Type -> Type #

SignQuery UploadPart #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.Multipart

Associated Types

type ServiceConfiguration UploadPart :: Type -> Type #

SignQuery PutBucket #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.PutBucket

Associated Types

type ServiceConfiguration PutBucket :: Type -> Type #

SignQuery PutBucketVersioning #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.PutBucketVersioning

Associated Types

type ServiceConfiguration PutBucketVersioning :: Type -> Type #

SignQuery PutObject #

ServiceConfiguration: S3Configuration

Instance details

Defined in Aws.S3.Commands.PutObject

Associated Types

type ServiceConfiguration PutObject :: Type -> Type #

SignQuery DeleteIdentity #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.DeleteIdentity

Associated Types

type ServiceConfiguration DeleteIdentity :: Type -> Type #

SignQuery GetIdentityDkimAttributes #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.GetIdentityDkimAttributes

Associated Types

type ServiceConfiguration GetIdentityDkimAttributes :: Type -> Type #

SignQuery GetIdentityNotificationAttributes #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.GetIdentityNotificationAttributes

Associated Types

type ServiceConfiguration GetIdentityNotificationAttributes :: Type -> Type #

SignQuery GetIdentityVerificationAttributes #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.GetIdentityVerificationAttributes

Associated Types

type ServiceConfiguration GetIdentityVerificationAttributes :: Type -> Type #

SignQuery ListIdentities #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.ListIdentities

Associated Types

type ServiceConfiguration ListIdentities :: Type -> Type #

SignQuery SendRawEmail #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.SendRawEmail

Associated Types

type ServiceConfiguration SendRawEmail :: Type -> Type #

SignQuery SetIdentityDkimEnabled #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.SetIdentityDkimEnabled

Associated Types

type ServiceConfiguration SetIdentityDkimEnabled :: Type -> Type #

SignQuery SetIdentityFeedbackForwardingEnabled #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.SetIdentityFeedbackForwardingEnabled

Associated Types

type ServiceConfiguration SetIdentityFeedbackForwardingEnabled :: Type -> Type #

SignQuery SetIdentityNotificationTopic #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.SetIdentityNotificationTopic

Associated Types

type ServiceConfiguration SetIdentityNotificationTopic :: Type -> Type #

SignQuery VerifyDomainDkim #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.VerifyDomainDkim

Associated Types

type ServiceConfiguration VerifyDomainDkim :: Type -> Type #

SignQuery VerifyDomainIdentity #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.VerifyDomainIdentity

Associated Types

type ServiceConfiguration VerifyDomainIdentity :: Type -> Type #

SignQuery VerifyEmailIdentity #

ServiceConfiguration: SesConfiguration

Instance details

Defined in Aws.Ses.Commands.VerifyEmailIdentity

Associated Types

type ServiceConfiguration VerifyEmailIdentity :: Type -> Type #

SignQuery BatchDeleteAttributes #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Associated Types

type ServiceConfiguration BatchDeleteAttributes :: Type -> Type #

SignQuery BatchPutAttributes #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Associated Types

type ServiceConfiguration BatchPutAttributes :: Type -> Type #

SignQuery DeleteAttributes #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Associated Types

type ServiceConfiguration DeleteAttributes :: Type -> Type #

SignQuery GetAttributes #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Associated Types

type ServiceConfiguration GetAttributes :: Type -> Type #

SignQuery PutAttributes #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Attributes

Associated Types

type ServiceConfiguration PutAttributes :: Type -> Type #

SignQuery CreateDomain #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Domain

Associated Types

type ServiceConfiguration CreateDomain :: Type -> Type #

SignQuery DeleteDomain #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Domain

Associated Types

type ServiceConfiguration DeleteDomain :: Type -> Type #

SignQuery DomainMetadata #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Domain

Associated Types

type ServiceConfiguration DomainMetadata :: Type -> Type #

SignQuery ListDomains #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Domain

Associated Types

type ServiceConfiguration ListDomains :: Type -> Type #

SignQuery Select #

ServiceConfiguration: SdbConfiguration

Instance details

Defined in Aws.SimpleDb.Commands.Select

Associated Types

type ServiceConfiguration Select :: Type -> Type #

SignQuery ChangeMessageVisibility #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.Message

Associated Types

type ServiceConfiguration ChangeMessageVisibility :: Type -> Type #

SignQuery DeleteMessage # 
Instance details

Defined in Aws.Sqs.Commands.Message

Associated Types

type ServiceConfiguration DeleteMessage :: Type -> Type #

SignQuery ReceiveMessage # 
Instance details

Defined in Aws.Sqs.Commands.Message

Associated Types

type ServiceConfiguration ReceiveMessage :: Type -> Type #

SignQuery SendMessage # 
Instance details

Defined in Aws.Sqs.Commands.Message

Associated Types

type ServiceConfiguration SendMessage :: Type -> Type #

SignQuery AddPermission #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.Permission

Associated Types

type ServiceConfiguration AddPermission :: Type -> Type #

SignQuery RemovePermission #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.Permission

Associated Types

type ServiceConfiguration RemovePermission :: Type -> Type #

SignQuery CreateQueue #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.Queue

Associated Types

type ServiceConfiguration CreateQueue :: Type -> Type #

SignQuery DeleteQueue #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.Queue

Associated Types

type ServiceConfiguration DeleteQueue :: Type -> Type #

SignQuery ListQueues #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.Queue

Associated Types

type ServiceConfiguration ListQueues :: Type -> Type #

SignQuery GetQueueAttributes #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Associated Types

type ServiceConfiguration GetQueueAttributes :: Type -> Type #

SignQuery SetQueueAttributes #

ServiceConfiguration: SqsConfiguration

Instance details

Defined in Aws.Sqs.Commands.QueueAttributes

Associated Types

type ServiceConfiguration SetQueueAttributes :: Type -> Type #

data AuthorizationHash #

Supported crypto hashes for the signature.

Constructors

HmacSHA1 
HmacSHA256 

Instances

Instances details
Show AuthorizationHash # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> AuthorizationHash -> ShowS #

show :: AuthorizationHash -> String #

showList :: [AuthorizationHash] -> ShowS #

amzHash :: AuthorizationHash -> ByteString #

Authorization hash identifier as expected by Amazon.

signature :: Credentials -> AuthorizationHash -> ByteString -> ByteString #

Create a signature. Usually, AWS wants a specifically constructed string to be signed.

The signature is a HMAC-based hash of the string and the secret access key.

credentialV4 #

Arguments

:: SignatureData 
-> ByteString

region, e.g. us-east-1

-> ByteString

service, e.g. dynamodb

-> ByteString 

Generates the Credential string, required for V4 signatures.

authorizationV4 #

Arguments

:: SignatureData 
-> AuthorizationHash 
-> ByteString

region, e.g. us-east-1

-> ByteString

service, e.g. dynamodb

-> ByteString

SignedHeaders, e.g. content-type;host;x-amz-date;x-amz-target

-> ByteString

canonicalRequest (before hashing)

-> IO ByteString 

Use this to create the Authorization header to set into sqAuthorization. See http://docs.aws.amazon.com/general/latest/gr/signature-version-4.html: you must create the canonical request as explained by Step 1 and this function takes care of Steps 2 and 3.

authorizationV4' #

Arguments

:: SignatureData 
-> AuthorizationHash 
-> ByteString

region, e.g. us-east-1

-> ByteString

service, e.g. dynamodb

-> ByteString

SignedHeaders, e.g. content-type;host;x-amz-date;x-amz-target

-> ByteString

canonicalRequest (before hashing)

-> ByteString 

IO free version of authorizationV4, use this if you need to compute the signature outside of IO.

signatureV4 #

Arguments

:: SignatureData 
-> AuthorizationHash 
-> ByteString

region, e.g. us-east-1

-> ByteString

service, e.g. dynamodb

-> ByteString

canonicalRequest (before hashing)

-> ByteString 

Query construction helpers

queryList :: (a -> [(ByteString, ByteString)]) -> ByteString -> [a] -> [(ByteString, ByteString)] #

queryList f prefix xs constructs a query list from a list of elements xs, using a common prefix prefix, and a transformer function f.

A dot (.) is interspersed between prefix and generated key.

Example:

queryList swap "pfx" [("a", "b"), ("c", "d")] evaluates to [("pfx.b", "a"), ("pfx.d", "c")] (except with ByteString instead of String, of course).

awsBool :: Bool -> ByteString #

A "true"/"false" boolean as requested by some services.

fmtTime :: String -> UTCTime -> ByteString #

Format time according to a format string, as a ByteString.

fmtRfc822Time :: UTCTime -> ByteString #

Format time in RFC 822 format.

rfc822Time :: String #

fmtAmzTime :: UTCTime -> ByteString #

Format time in yyyy-mm-ddThh-mm-ss format.

fmtTimeEpochSeconds :: UTCTime -> ByteString #

Format time as seconds since the Unix epoch.

parseHttpDate :: String -> Maybe UTCTime #

Parse HTTP-date (section 3.3.1 of RFC 2616)

httpDate1 :: String #

HTTP-date (section 3.3.1 of RFC 2616, first type - RFC1123-style)

textHttpDate :: UTCTime -> Text #

Format (as Text) HTTP-date (section 3.3.1 of RFC 2616, first type - RFC1123-style)

iso8601UtcDate :: String #

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

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

Methods

nextIteratedRequest :: r -> a -> Maybe r #

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.

Service configuration

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

HTTP types

data Protocol #

Protocols supported by AWS. Currently, all AWS services use the HTTP or HTTPS protocols.

Constructors

HTTP 
HTTPS 

Instances

Instances details
Read Protocol # 
Instance details

Defined in Aws.Core

Methods

readsPrec :: Int -> ReadS Protocol

readList :: ReadS [Protocol]

readPrec :: ReadPrec Protocol

readListPrec :: ReadPrec [Protocol]

Show Protocol # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> Protocol -> ShowS #

show :: Protocol -> String #

showList :: [Protocol] -> ShowS #

Eq Protocol # 
Instance details

Defined in Aws.Core

Ord Protocol # 
Instance details

Defined in Aws.Core

defaultPort :: Protocol -> Int #

The default port to be used for a protocol if no specific port is specified.

data Method #

Request method. Not all request methods are supported by all services.

Constructors

Head

HEAD method. Put all request parameters in a query string and HTTP headers.

Get

GET method. Put all request parameters in a query string and HTTP headers.

PostQuery

POST method. Put all request parameters in a query string and HTTP headers, but send the query string as a POST payload

Post

POST method. Sends a service- and request-specific request body.

Put

PUT method.

Delete

DELETE method.

Instances

Instances details
Show Method # 
Instance details

Defined in Aws.Core

Methods

showsPrec :: Int -> Method -> ShowS #

show :: Method -> String #

showList :: [Method] -> ShowS #

Eq Method # 
Instance details

Defined in Aws.Core

Methods

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

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

Ord Method # 
Instance details

Defined in Aws.Core

httpMethod :: Method -> Method #

HTTP method associated with a request method.