Qore AwsRestClient Module Reference
1.0
|
this class provides the REST client API for communication with AWS More...
Public Member Methods | |
constructor (hash< auto > opts, *softbool do_not_connect) | |
creates the object with the given options More... | |
Public Attributes | |
const | AwsSignatureAlgorithm = "AWS4-HMAC-SHA256" |
AWS signature algorithm used; must match QoreDigest. | |
const | AwsTermination = "aws4_request" |
Fixed termination string. | |
const | DefaultSendEncoding = "gzip" |
default send encoding | |
const | QoreDigest = CRYPTO_DIGEST_SHA256 |
Qore digest algorithm to use for HMAC calculations; must match AwsSignatureAlgorithm. | |
const | RequiredOptions |
required options | |
this class provides the REST client API for communication with AWS
This class requires the following options ... XXXX
AwsRestClient::AwsRestClient::constructor | ( | hash< auto > | opts, |
*softbool | do_not_connect | ||
) |
creates the object with the given options
opts | valid options are:
|
do_not_connect | if False (the default), then a connection will be immediately established to the remote server |
RESTCLIENT-ERROR | invalid option passed to constructor, unsupported data serialization, etc |
AWSRESTCLIENT-ERROR | missing or invalid required option for AWS REST authentication or communication |
data
option is always set to "json"