aws-sdk
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -28,3 +28,3 @@ /** | ||
*/ | ||
VERSION: '1.4.0', | ||
VERSION: 'v1.4.1', | ||
@@ -31,0 +31,0 @@ /** |
@@ -77,2 +77,11 @@ /** | ||
}, | ||
ConfigurationManager: { | ||
type: 'structure', | ||
members: { | ||
Name: { | ||
}, | ||
Version: { | ||
} | ||
} | ||
}, | ||
UseCustomCookbooks: { | ||
@@ -264,2 +273,4 @@ type: 'boolean' | ||
}, | ||
AmiId: { | ||
}, | ||
SshKeyName: { | ||
@@ -272,2 +283,5 @@ }, | ||
RootDeviceType: { | ||
}, | ||
InstallUpdatesOnBoot: { | ||
type: 'boolean' | ||
} | ||
@@ -377,2 +391,5 @@ } | ||
} | ||
}, | ||
InstallUpdatesOnBoot: { | ||
type: 'boolean' | ||
} | ||
@@ -421,2 +438,11 @@ } | ||
}, | ||
ConfigurationManager: { | ||
type: 'structure', | ||
members: { | ||
Name: { | ||
}, | ||
Version: { | ||
} | ||
} | ||
}, | ||
UseCustomCookbooks: { | ||
@@ -799,2 +825,4 @@ type: 'boolean' | ||
}, | ||
Domain: { | ||
}, | ||
Region: { | ||
@@ -840,2 +868,4 @@ } | ||
}, | ||
VpcId: { | ||
}, | ||
AvailabilityZones: { | ||
@@ -907,2 +937,4 @@ type: 'list', | ||
}, | ||
AmiId: { | ||
}, | ||
AvailabilityZone: { | ||
@@ -937,2 +969,5 @@ }, | ||
RootDeviceVolumeId: { | ||
}, | ||
InstallUpdatesOnBoot: { | ||
type: 'boolean' | ||
} | ||
@@ -1088,2 +1123,5 @@ } | ||
CreatedAt: { | ||
}, | ||
InstallUpdatesOnBoot: { | ||
type: 'boolean' | ||
} | ||
@@ -1349,2 +1387,11 @@ } | ||
}, | ||
ConfigurationManager: { | ||
type: 'structure', | ||
members: { | ||
Name: { | ||
}, | ||
Version: { | ||
} | ||
} | ||
}, | ||
UseCustomCookbooks: { | ||
@@ -1920,5 +1967,10 @@ type: 'boolean' | ||
}, | ||
AmiId: { | ||
}, | ||
SshKeyName: { | ||
}, | ||
Architecture: { | ||
}, | ||
InstallUpdatesOnBoot: { | ||
type: 'boolean' | ||
} | ||
@@ -2021,2 +2073,5 @@ } | ||
} | ||
}, | ||
InstallUpdatesOnBoot: { | ||
type: 'boolean' | ||
} | ||
@@ -2060,2 +2115,11 @@ } | ||
}, | ||
ConfigurationManager: { | ||
type: 'structure', | ||
members: { | ||
Name: { | ||
}, | ||
Version: { | ||
} | ||
} | ||
}, | ||
UseCustomCookbooks: { | ||
@@ -2062,0 +2126,0 @@ type: 'boolean' |
@@ -18,3 +18,3 @@ /** | ||
AWS.EC2 = AWS.Service.defineService('ec2', ['2013-02-01'], { | ||
AWS.EC2 = AWS.Service.defineService('ec2', ['2013-06-15'], { | ||
setupRequestListeners: function setupRequestListeners(request) { | ||
@@ -21,0 +21,0 @@ request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR); |
@@ -277,6 +277,8 @@ /** | ||
getSignedUrl: function getSignedUrl(operation, params, callback) { | ||
var expires = params.Expires || 900; | ||
delete params.Expires; // we can't validate this | ||
var url = require('url'); | ||
var events = ['validate', 'build', 'sign']; | ||
var request = this.makeRequest(operation, params); | ||
var expires = params.Expires || 900; | ||
var expiresHeader = 'presigned-expires'; | ||
@@ -319,3 +321,2 @@ | ||
} | ||
delete params.Expires; // we can't validate this | ||
@@ -322,0 +323,0 @@ if (callback) { |
@@ -64,4 +64,6 @@ /** | ||
if (credentials.sessionToken) | ||
this.request.headers['X-Amz-Security-Token'] = credentials.sessionToken; | ||
if (credentials.sessionToken) { | ||
// presigned URLs require this header to be lowercased | ||
this.request.headers['x-amz-security-token'] = credentials.sessionToken; | ||
} | ||
@@ -68,0 +70,0 @@ var signature = this.sign(credentials.secretAccessKey, this.stringToSign()); |
@@ -31,3 +31,3 @@ /** | ||
if (credentials.sessionToken) { | ||
this.request.headers['X-Amz-Security-Token'] = credentials.sessionToken; | ||
this.request.headers['x-amz-security-token'] = credentials.sessionToken; | ||
} | ||
@@ -34,0 +34,0 @@ |
@@ -39,3 +39,3 @@ /** | ||
if (credentials.sessionToken) { | ||
this.request.headers['X-Amz-Security-Token'] = credentials.sessionToken; | ||
this.request.headers['x-amz-security-token'] = credentials.sessionToken; | ||
} | ||
@@ -42,0 +42,0 @@ }, |
{ | ||
"name": "aws-sdk", | ||
"description": "AWS SDK for JavaScript", | ||
"version": "1.4.0", | ||
"version": "v1.4.1", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name":"Amazon Web Services", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2431138
77520