Module: EventMachine::AWS

Extended by:
Logger
Defined in:
lib/em-aws.rb,
lib/em-aws/sns.rb,
lib/em-aws/sqs.rb,
lib/em-aws/query.rb,
lib/em-aws/logger.rb,
lib/em-aws/version.rb,
lib/em-aws/service.rb,
lib/em-aws/request.rb,
lib/em-aws/response.rb,
lib/em-aws/inflections.rb,
lib/em-aws/query/query_error.rb,
lib/em-aws/query/query_result.rb,
lib/em-aws/query/signature_v2.rb,
lib/em-aws/query/query_params.rb,
lib/em-aws/query/query_failure.rb,
lib/em-aws/query/query_response.rb,
lib/em-aws/query/response_parser.rb

Overview

The AWS module (besides containing everything else) has module attributes that set default credentials and behavior for every interface.

Defined Under Namespace

Modules: Inflections, Logger, Query Classes: Error, FailureResponse, Request, Response, SNS, SQS, Service, SuccessResponse

Constant Summary

VERSION =
"0.0.2"

Class Attribute Summary collapse

Attributes included from Logger

#logfile, #logger, #loglevel

Class Attribute Details

.aws_access_key_idObject

(Must be set in class initializers if you don't set it here)



23
24
25
# File 'lib/em-aws.rb', line 23

def aws_access_key_id
  @aws_access_key_id
end

.aws_secret_access_keyObject

(Must be set in class initializers if you don't set it here)



23
24
25
# File 'lib/em-aws.rb', line 23

def aws_secret_access_key
  @aws_secret_access_key
end

.regionObject

Defaults to 'us-east-1'



26
27
28
# File 'lib/em-aws.rb', line 26

def region
  @region
end

.retriesObject

Defaults to 10; applies to network errors and Amazon 50x errors



32
33
34
# File 'lib/em-aws.rb', line 32

def retries
  @retries
end

.sslObject

Defaults to true



29
30
31
# File 'lib/em-aws.rb', line 29

def ssl
  @ssl
end