var fmt = require('fmt');
var awssum = require('awssum');
var amazon = awssum.load('amazon/amazon');
var Sqs = awssum.load('amazon/sqs').Sqs;

var env             = process.env;
var accessKeyId     = env.ACCESS_KEY_ID;
var secretAccessKey = env.SECRET_ACCESS_KEY;
var awsAccountId    = env.AWS_ACCOUNT_ID;

var sqs = new Sqs(accessKeyId, secretAccessKey, awsAccountId, amazon.US_EAST_1);

fmt.field('Region', sqs.region() );
fmt.field('EndPoint', sqs.host() );
fmt.field('AccessKeyId', sqs.accessKeyId() );
fmt.field('SecretAccessKey', sqs.secretAccessKey().substr(0, 3) + '...' );
fmt.field('AwsAccountId', sqs.awsAccountId() );

var options = {
    QueueName    : 'my-queue',
    Id           : [ 'janelle', 'lucy', 'sarah' ],
    MessageBody  : [ 'janelle', 'lucy', 'sarah' ],
    DelaySeconds : [ undefined, undefined, 20 ],
};

sqs.SendMessageBatch(options, function(err, data) {
    fmt.msg("Sending a message batch to a queue - expecting success");
    fmt.dump(err, 'Error');
    fmt.dump(data, 'Data');
});

@@ -318,16 +318,40 @@
 new Sqs(
+%7B%0A      'accessKeyId' : 
 accessKe
@@ -354,17 +354,24 @@
 ssKeyId,
- 
+%0A      '
 secretAc
@@ -381,40 +381,104 @@
 sKey
-, awsAccountId, amazon.US_EAST_1
+' : secretAccessKey,%0A      'region' : amazon.US_EAST_1,%0A      'awsAccountId': awsAccountId%0A    %7D
 );%0A%0A

Update examples/amazon/sqs/send-message-batch.js