aws -is:package
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
AWS v4 request signature.
Example (note the use of TLS):
let opts = defaults & auth ?~ 'awsAuth AWSv4' "key" "secret"
getWith opts "https://dynamodb.us-west-2.amazonaws.com"
AWS v4 request signature.
Example (note the use of TLS):
let opts = defaults & auth ?~ awsFullAuth AWSv4 "key" "secret" (Just ("service", "region"))
getWith opts "https://dynamodb.us-west-2.amazonaws.com"
AWS v4 request signature using a AWS STS Session Token.
Example (note the use of TLS):
let opts = defaults
& auth
?~ 'awsAuth AWSv4' "key" "secret" "stsSessionToken"
getWith opts "https://dynamodb.us-west-2.amazonaws.com"
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
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
A more flexible version of
awsIteratedList that uses a
user-supplied run function. Useful for embedding AWS functionality
within application specific monadic contexts.
A more flexible version of
awsIteratedSource that uses a
user-supplied run function. Useful for embedding AWS functionality
within application specific monadic contexts.
A "true"/"false" boolean as requested by some services.
Return events which occurred at or after this time.
Whether to include deleted ACLs in the result. Deleted ACLs are
represented by role equal to "none". Deleted ACLs will always be
included if syncToken is provided. Optional. The default is False.
Token obtained from the nextSyncToken field returned on the last page
of results from the previous list request. It makes the result of this
list request contain only entries that have changed since then. All
entries deleted since the previous list request will always be in the
result set and it is not allowed to set showDeleted to False. If the
syncToken expires, the server will respond with a 410 GONE response
code and the client should clear its storage and perform a full
synchronization without any syncToken. Learn more about incremental
synchronization. Optional. The default is to return all entries.
Creates a value of
AwsAccessKey with the minimum fields
required to make a request.
Use one of the following lenses to modify other fields as desired:
Creates a value of
AwsS3Data with the minimum fields required
to make a request.
Use one of the following lenses to modify other fields as desired: