Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1965
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sdk - npm Package Compare versions

Comparing version 2.0.30 to 2.0.31

372

apis/opsworks-2013-02-18.min.json

@@ -12,2 +12,17 @@ {

"operations": {
"AssignInstance": {
"input": {
"type": "structure",
"required": [
"InstanceId",
"LayerIds"
],
"members": {
"InstanceId": {},
"LayerIds": {
"shape": "S3"
}
}
}
},
"AssignVolume": {

@@ -63,3 +78,3 @@ "input": {

"Attributes": {
"shape": "S6"
"shape": "S8"
},

@@ -74,6 +89,6 @@ "ServiceRoleArn": {},

"ConfigurationManager": {
"shape": "S8"
"shape": "Sa"
},
"ChefConfiguration": {
"shape": "S9"
"shape": "Sb"
},

@@ -87,3 +102,3 @@ "UseCustomCookbooks": {

"CustomCookbooksSource": {
"shape": "Sb"
"shape": "Sd"
},

@@ -95,3 +110,3 @@ "DefaultSshKeyName": {},

"CloneAppIds": {
"shape": "Sd"
"shape": "S3"
},

@@ -122,10 +137,10 @@ "DefaultRootDeviceType": {}

"DataSources": {
"shape": "Sh"
"shape": "Si"
},
"Type": {},
"AppSource": {
"shape": "Sb"
"shape": "Sd"
},
"Domains": {
"shape": "Sd"
"shape": "S3"
},

@@ -136,9 +151,9 @@ "EnableSsl": {

"SslConfiguration": {
"shape": "Sk"
"shape": "Sl"
},
"Attributes": {
"shape": "Sl"
"shape": "Sm"
},
"Environment": {
"shape": "Sn"
"shape": "So"
}

@@ -165,6 +180,6 @@ }

"InstanceIds": {
"shape": "Sd"
"shape": "S3"
},
"Command": {
"shape": "Sr"
"shape": "Ss"
},

@@ -193,3 +208,3 @@ "Comment": {},

"LayerIds": {
"shape": "Sd"
"shape": "S3"
},

@@ -237,13 +252,13 @@ "InstanceType": {},

"Attributes": {
"shape": "S11"
"shape": "S12"
},
"CustomInstanceProfileArn": {},
"CustomSecurityGroupIds": {
"shape": "Sd"
"shape": "S3"
},
"Packages": {
"shape": "Sd"
"shape": "S3"
},
"VolumeConfigurations": {
"shape": "S13"
"shape": "S14"
},

@@ -260,3 +275,3 @@ "EnableAutoHealing": {

"CustomRecipes": {
"shape": "S16"
"shape": "S17"
},

@@ -268,2 +283,5 @@ "InstallUpdatesOnBoot": {

"type": "boolean"
},
"LifecycleEventConfiguration": {
"shape": "S18"
}

@@ -293,3 +311,3 @@ }

"Attributes": {
"shape": "S6"
"shape": "S8"
},

@@ -304,6 +322,6 @@ "ServiceRoleArn": {},

"ConfigurationManager": {
"shape": "S8"
"shape": "Sa"
},
"ChefConfiguration": {
"shape": "S9"
"shape": "Sb"
},

@@ -317,3 +335,3 @@ "UseCustomCookbooks": {

"CustomCookbooksSource": {
"shape": "Sb"
"shape": "Sd"
},

@@ -425,2 +443,13 @@ "DefaultSshKeyName": {},

},
"DeregisterInstance": {
"input": {
"type": "structure",
"required": [
"InstanceId"
],
"members": {
"InstanceId": {}
}
}
},
"DeregisterRdsDbInstance": {

@@ -454,3 +483,3 @@ "input": {

"AppIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -473,10 +502,10 @@ }

"DataSources": {
"shape": "Sh"
"shape": "Si"
},
"Type": {},
"AppSource": {
"shape": "Sb"
"shape": "Sd"
},
"Domains": {
"shape": "Sd"
"shape": "S3"
},

@@ -487,10 +516,10 @@ "EnableSsl": {

"SslConfiguration": {
"shape": "Sk"
"shape": "Sl"
},
"Attributes": {
"shape": "Sl"
"shape": "Sm"
},
"CreatedAt": {},
"Environment": {
"shape": "Sn"
"shape": "So"
}

@@ -510,3 +539,3 @@ }

"CommandIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -548,3 +577,3 @@ }

"DeploymentIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -572,3 +601,3 @@ }

"Command": {
"shape": "Sr"
"shape": "Ss"
},

@@ -578,3 +607,3 @@ "Status": {},

"InstanceIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -594,3 +623,3 @@ }

"Ips": {
"shape": "Sd"
"shape": "S3"
}

@@ -624,3 +653,3 @@ }

"LayerIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -644,9 +673,9 @@ }

"AvailabilityZones": {
"shape": "Sd"
"shape": "S3"
},
"SubnetIds": {
"shape": "Sd"
"shape": "S3"
},
"Ec2InstanceIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -666,3 +695,3 @@ }

"InstanceIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -685,6 +714,6 @@ }

"LayerIds": {
"shape": "Sd"
"shape": "S3"
},
"SecurityGroupIds": {
"shape": "Sd"
"shape": "S3"
},

@@ -717,3 +746,13 @@ "InstanceType": {},

"type": "boolean"
}
},
"ReportedOs": {
"type": "structure",
"members": {
"Family": {},
"Name": {},
"Version": {}
}
},
"InfrastructureClass": {},
"RegisteredBy": {}
}

@@ -731,3 +770,3 @@ }

"LayerIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -750,16 +789,16 @@ }

"Attributes": {
"shape": "S11"
"shape": "S12"
},
"CustomInstanceProfileArn": {},
"CustomSecurityGroupIds": {
"shape": "Sd"
"shape": "S3"
},
"DefaultSecurityGroupNames": {
"shape": "Sd"
"shape": "S3"
},
"Packages": {
"shape": "Sd"
"shape": "S3"
},
"VolumeConfigurations": {
"shape": "S13"
"shape": "S14"
},

@@ -776,6 +815,6 @@ "EnableAutoHealing": {

"DefaultRecipes": {
"shape": "S16"
"shape": "S17"
},
"CustomRecipes": {
"shape": "S16"
"shape": "S17"
},

@@ -788,2 +827,5 @@ "CreatedAt": {},

"type": "boolean"
},
"LifecycleEventConfiguration": {
"shape": "S18"
}

@@ -804,3 +846,3 @@ }

"LayerIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -822,6 +864,6 @@ }

"UpScaling": {
"shape": "S2i"
"shape": "S2n"
},
"DownScaling": {
"shape": "S2i"
"shape": "S2n"
}

@@ -888,3 +930,3 @@ }

"RaidArrayIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -937,3 +979,3 @@ }

"RdsDbInstanceArns": {
"shape": "Sd"
"shape": "S3"
}

@@ -974,3 +1016,3 @@ }

"ServiceErrorIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -999,2 +1041,24 @@ }

},
"DescribeStackProvisioningParameters": {
"input": {
"type": "structure",
"required": [
"StackId"
],
"members": {
"StackId": {}
}
},
"output": {
"type": "structure",
"members": {
"AgentInstallerUrl": {},
"Parameters": {
"type": "map",
"key": {},
"value": {}
}
}
}
},
"DescribeStackSummary": {

@@ -1028,2 +1092,5 @@ "input": {

"members": {
"Assigning": {
"type": "integer"
},
"Booting": {

@@ -1035,2 +1102,5 @@ "type": "integer"

},
"Deregistering": {
"type": "integer"
},
"Online": {

@@ -1045,2 +1115,8 @@ "type": "integer"

},
"Registered": {
"type": "integer"
},
"Registering": {
"type": "integer"
},
"Requested": {

@@ -1072,2 +1148,5 @@ "type": "integer"

"type": "integer"
},
"Unassigning": {
"type": "integer"
}

@@ -1086,3 +1165,3 @@ }

"StackIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -1105,3 +1184,3 @@ }

"Attributes": {
"shape": "S6"
"shape": "S8"
},

@@ -1116,6 +1195,6 @@ "ServiceRoleArn": {},

"ConfigurationManager": {
"shape": "S8"
"shape": "Sa"
},
"ChefConfiguration": {
"shape": "S9"
"shape": "Sb"
},

@@ -1129,3 +1208,3 @@ "UseCustomCookbooks": {

"CustomCookbooksSource": {
"shape": "Sb"
"shape": "Sd"
},

@@ -1149,3 +1228,3 @@ "DefaultSshKeyName": {},

"InstanceIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -1164,3 +1243,3 @@ }

"AutoScalingSchedule": {
"shape": "S3f"
"shape": "S3n"
}

@@ -1178,3 +1257,3 @@ }

"IamUserArns": {
"shape": "Sd"
"shape": "S3"
}

@@ -1212,3 +1291,3 @@ }

"VolumeIds": {
"shape": "Sd"
"shape": "S3"
}

@@ -1320,2 +1399,31 @@ }

},
"RegisterInstance": {
"input": {
"type": "structure",
"required": [
"StackId"
],
"members": {
"StackId": {},
"Hostname": {},
"PublicIp": {},
"PrivateIp": {},
"RsaPublicKey": {},
"RsaPublicKeyFingerprint": {},
"InstanceIdentity": {
"type": "structure",
"members": {
"Document": {},
"Signature": {}
}
}
}
},
"output": {
"type": "structure",
"members": {
"InstanceId": {}
}
}
},
"RegisterRdsDbInstance": {

@@ -1368,6 +1476,6 @@ "input": {

"UpScaling": {
"shape": "S2i"
"shape": "S2n"
},
"DownScaling": {
"shape": "S2i"
"shape": "S2n"
}

@@ -1406,3 +1514,3 @@ }

"AutoScalingSchedule": {
"shape": "S3f"
"shape": "S3n"
}

@@ -1456,2 +1564,13 @@ }

},
"UnassignInstance": {
"input": {
"type": "structure",
"required": [
"InstanceId"
],
"members": {
"InstanceId": {}
}
}
},
"UnassignVolume": {

@@ -1479,10 +1598,10 @@ "input": {

"DataSources": {
"shape": "Sh"
"shape": "Si"
},
"Type": {},
"AppSource": {
"shape": "Sb"
"shape": "Sd"
},
"Domains": {
"shape": "Sd"
"shape": "S3"
},

@@ -1493,9 +1612,9 @@ "EnableSsl": {

"SslConfiguration": {
"shape": "Sk"
"shape": "Sl"
},
"Attributes": {
"shape": "Sl"
"shape": "Sm"
},
"Environment": {
"shape": "Sn"
"shape": "So"
}

@@ -1526,3 +1645,3 @@ }

"LayerIds": {
"shape": "Sd"
"shape": "S3"
},

@@ -1556,13 +1675,13 @@ "InstanceType": {},

"Attributes": {
"shape": "S11"
"shape": "S12"
},
"CustomInstanceProfileArn": {},
"CustomSecurityGroupIds": {
"shape": "Sd"
"shape": "S3"
},
"Packages": {
"shape": "Sd"
"shape": "S3"
},
"VolumeConfigurations": {
"shape": "S13"
"shape": "S14"
},

@@ -1579,3 +1698,3 @@ "EnableAutoHealing": {

"CustomRecipes": {
"shape": "S16"
"shape": "S17"
},

@@ -1587,2 +1706,5 @@ "InstallUpdatesOnBoot": {

"type": "boolean"
},
"LifecycleEventConfiguration": {
"shape": "S18"
}

@@ -1623,3 +1745,3 @@ }

"Attributes": {
"shape": "S6"
"shape": "S8"
},

@@ -1634,6 +1756,6 @@ "ServiceRoleArn": {},

"ConfigurationManager": {
"shape": "S8"
"shape": "Sa"
},
"ChefConfiguration": {
"shape": "S9"
"shape": "Sb"
},

@@ -1644,3 +1766,3 @@ "UseCustomCookbooks": {

"CustomCookbooksSource": {
"shape": "Sb"
"shape": "Sd"
},

@@ -1686,3 +1808,7 @@ "DefaultSshKeyName": {},

"shapes": {
"S6": {
"S3": {
"type": "list",
"member": {}
},
"S8": {
"type": "map",

@@ -1692,3 +1818,3 @@ "key": {},

},
"S8": {
"Sa": {
"type": "structure",

@@ -1700,3 +1826,3 @@ "members": {

},
"S9": {
"Sb": {
"type": "structure",

@@ -1710,3 +1836,3 @@ "members": {

},
"Sb": {
"Sd": {
"type": "structure",

@@ -1722,8 +1848,4 @@ "members": {

},
"Sd": {
"Si": {
"type": "list",
"member": {}
},
"Sh": {
"type": "list",
"member": {

@@ -1738,3 +1860,3 @@ "type": "structure",

},
"Sk": {
"Sl": {
"type": "structure",

@@ -1751,3 +1873,3 @@ "required": [

},
"Sl": {
"Sm": {
"type": "map",

@@ -1757,3 +1879,3 @@ "key": {},

},
"Sn": {
"So": {
"type": "list",

@@ -1775,3 +1897,3 @@ "member": {

},
"Sr": {
"Ss": {
"type": "structure",

@@ -1787,3 +1909,3 @@ "required": [

"value": {
"shape": "Sd"
"shape": "S3"
}

@@ -1793,3 +1915,3 @@ }

},
"S11": {
"S12": {
"type": "map",

@@ -1799,3 +1921,3 @@ "key": {},

},
"S13": {
"S14": {
"type": "list",

@@ -1827,25 +1949,41 @@ "member": {

},
"S16": {
"S17": {
"type": "structure",
"members": {
"Setup": {
"shape": "Sd"
"shape": "S3"
},
"Configure": {
"shape": "Sd"
"shape": "S3"
},
"Deploy": {
"shape": "Sd"
"shape": "S3"
},
"Undeploy": {
"shape": "Sd"
"shape": "S3"
},
"Shutdown": {
"shape": "Sd"
"shape": "S3"
}
}
},
"S2i": {
"S18": {
"type": "structure",
"members": {
"Shutdown": {
"type": "structure",
"members": {
"ExecutionTimeout": {
"type": "integer"
},
"DelayUntilElbConnectionsDrained": {
"type": "boolean"
}
}
}
}
},
"S2n": {
"type": "structure",
"members": {
"InstanceCount": {

@@ -1871,29 +2009,29 @@ "type": "integer"

},
"S3f": {
"S3n": {
"type": "structure",
"members": {
"Monday": {
"shape": "S3g"
"shape": "S3o"
},
"Tuesday": {
"shape": "S3g"
"shape": "S3o"
},
"Wednesday": {
"shape": "S3g"
"shape": "S3o"
},
"Thursday": {
"shape": "S3g"
"shape": "S3o"
},
"Friday": {
"shape": "S3g"
"shape": "S3o"
},
"Saturday": {
"shape": "S3g"
"shape": "S3o"
},
"Sunday": {
"shape": "S3g"
"shape": "S3o"
}
}
},
"S3g": {
"S3o": {
"type": "map",

@@ -1900,0 +2038,0 @@ "key": {},

@@ -300,2 +300,13 @@ {

},
"PurgeQueue": {
"input": {
"type": "structure",
"required": [
"QueueUrl"
],
"members": {
"QueueUrl": {}
}
}
},
"ReceiveMessage": {

@@ -350,3 +361,3 @@ "input": {

"MessageAttributes": {
"shape": "S18",
"shape": "S19",
"locationName": "MessageAttribute"

@@ -388,3 +399,3 @@ }

"MessageAttributes": {
"shape": "S18",
"shape": "S19",
"locationName": "MessageAttribute"

@@ -429,3 +440,3 @@ }

"MessageAttributes": {
"shape": "S18",
"shape": "S19",
"locationName": "MessageAttribute"

@@ -536,3 +547,3 @@ }

},
"S18": {
"S19": {
"type": "map",

@@ -539,0 +550,0 @@ "key": {

@@ -20,3 +20,3 @@ /**

*/
VERSION: '2.0.30',
VERSION: '2.0.31',

@@ -23,0 +23,0 @@ /**

@@ -17,3 +17,3 @@ var AWS = require('../core');

checkCrc32: function checkCrc32(resp) {
if (!resp.request.service.crc32IsValid(resp)) {
if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) {
resp.error = AWS.util.error(new Error(), {

@@ -20,0 +20,0 @@ code: 'CRC32CheckFailed',

@@ -469,9 +469,39 @@ /* eslint guard-for-in:0 */

if (typeof data === 'string') data = new Buffer(data);
var isBuffer = Buffer.isBuffer(data);
if (callback && typeof data === 'object' &&
typeof data.on === 'function' && !Buffer.isBuffer(data)) {
typeof data.on === 'function' && !isBuffer) {
data.on('data', function(chunk) { hash.update(chunk); });
data.on('error', function(err) { callback(err); });
data.on('end', function() { callback(null, hash.digest(digest)); });
} else if (callback && data.slice === 'function'
&& !isBuffer && typeof FileReader !== 'undefined') {
// this might be a File/Blob
var index = 0, size = 1024 * 512;
var reader = new FileReader();
reader.onerror = function() {
callback(new Error('Failed to read data.'));
};
reader.onload = function() {
var buf = new Buffer(new Uint8Array(reader.result));
hash.update(buf);
index += buf.length;
reader._continueReading();
};
reader._continueReading = function() {
if (index >= data.size) {
callback(null, hash.digest(digest));
return;
}
var back = index + size;
if (back > data.size) back = data.size;
reader.readAsArrayBuffer(data.slice(index, back));
};
reader._continueReading();
} else {
if (AWS.util.isBrowser() && typeof data === 'object' && !isBuffer) {
data = new Buffer(new Uint8Array(data));
}
var out = hash.update(data).digest(digest);

@@ -478,0 +508,0 @@ if (callback) callback(null, out);

{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.0.30",
"version": "2.0.31",
"author": {

@@ -6,0 +6,0 @@ "name":"Amazon Web Services",

@@ -27,3 +27,3 @@ # AWS SDK for JavaScript

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.30.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.0.31.min.js"></script>

@@ -30,0 +30,0 @@ The AWS SDK is also compatible with [browserify](http://browserify.org).

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc