Socket
Socket
Sign inDemoInstall

aws-sdk

Package Overview
Dependencies
Maintainers
1
Versions
1964
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.23 to 2.0.24

apis/cloudfront-2014-10-21.min.json

111

apis/cloudsearch-2013-01-01.min.json

@@ -61,3 +61,3 @@ {

"AnalysisScheme": {
"shape": "Si"
"shape": "Sl"
}

@@ -74,3 +74,3 @@ }

"AnalysisScheme": {
"shape": "So"
"shape": "Sr"
}

@@ -90,3 +90,3 @@ }

"Expression": {
"shape": "Su"
"shape": "Sx"
}

@@ -103,3 +103,3 @@ }

"Expression": {
"shape": "Sx"
"shape": "S10"
}

@@ -119,3 +119,3 @@ }

"IndexField": {
"shape": "Sz"
"shape": "S12"
}

@@ -132,3 +132,3 @@ }

"IndexField": {
"shape": "S1i"
"shape": "S1l"
}

@@ -148,3 +148,3 @@ }

"Suggester": {
"shape": "S1k"
"shape": "S1n"
}

@@ -161,3 +161,3 @@ }

"Suggester": {
"shape": "S1o"
"shape": "S1r"
}

@@ -187,3 +187,3 @@ }

"AnalysisScheme": {
"shape": "So"
"shape": "Sr"
}

@@ -233,3 +233,3 @@ }

"Expression": {
"shape": "Sx"
"shape": "S10"
}

@@ -259,3 +259,3 @@ }

"IndexField": {
"shape": "S1i"
"shape": "S1l"
}

@@ -285,3 +285,3 @@ }

"Suggester": {
"shape": "S1o"
"shape": "S1r"
}

@@ -317,3 +317,3 @@ }

"member": {
"shape": "So"
"shape": "Sr"
}

@@ -342,3 +342,3 @@ }

"AvailabilityOptions": {
"shape": "S24"
"shape": "S27"
}

@@ -400,3 +400,3 @@ }

"member": {
"shape": "Sx"
"shape": "S10"
}

@@ -433,3 +433,3 @@ }

"member": {
"shape": "S1i"
"shape": "S1l"
}

@@ -458,3 +458,3 @@ }

"ScalingParameters": {
"shape": "S2i"
"shape": "S2l"
}

@@ -485,3 +485,3 @@ }

"AccessPolicies": {
"shape": "S2n"
"shape": "S2q"
}

@@ -517,3 +517,3 @@ }

"member": {
"shape": "S1o"
"shape": "S1r"
}

@@ -576,3 +576,3 @@ }

"AvailabilityOptions": {
"shape": "S24"
"shape": "S27"
}

@@ -592,3 +592,3 @@ }

"ScalingParameters": {
"shape": "S2j"
"shape": "S2m"
}

@@ -605,3 +605,3 @@ }

"ScalingParameters": {
"shape": "S2i"
"shape": "S2l"
}

@@ -631,3 +631,3 @@ }

"AccessPolicies": {
"shape": "S2n"
"shape": "S2q"
}

@@ -678,2 +678,17 @@ }

"type": "integer"
},
"Limits": {
"type": "structure",
"required": [
"MaximumReplicationCount",
"MaximumPartitionCount"
],
"members": {
"MaximumReplicationCount": {
"type": "integer"
},
"MaximumPartitionCount": {
"type": "integer"
}
}
}

@@ -688,3 +703,3 @@ }

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

@@ -710,3 +725,3 @@ "required": [

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

@@ -719,10 +734,10 @@ "required": [

"Options": {
"shape": "Si"
"shape": "Sl"
},
"Status": {
"shape": "Sp"
"shape": "Ss"
}
}
},
"Sp": {
"Ss": {
"type": "structure",

@@ -750,3 +765,3 @@ "required": [

},
"Su": {
"Sx": {
"type": "structure",

@@ -762,3 +777,3 @@ "required": [

},
"Sx": {
"S10": {
"type": "structure",

@@ -771,10 +786,10 @@ "required": [

"Options": {
"shape": "Su"
"shape": "Sx"
},
"Status": {
"shape": "Sp"
"shape": "Ss"
}
}
},
"Sz": {
"S12": {
"type": "structure",

@@ -988,3 +1003,3 @@ "required": [

},
"S1i": {
"S1l": {
"type": "structure",

@@ -997,10 +1012,10 @@ "required": [

"Options": {
"shape": "Sz"
"shape": "S12"
},
"Status": {
"shape": "Sp"
"shape": "Ss"
}
}
},
"S1k": {
"S1n": {
"type": "structure",

@@ -1026,3 +1041,3 @@ "required": [

},
"S1o": {
"S1r": {
"type": "structure",

@@ -1035,10 +1050,10 @@ "required": [

"Options": {
"shape": "S1k"
"shape": "S1n"
},
"Status": {
"shape": "Sp"
"shape": "Ss"
}
}
},
"S24": {
"S27": {
"type": "structure",

@@ -1054,7 +1069,7 @@ "required": [

"Status": {
"shape": "Sp"
"shape": "Ss"
}
}
},
"S2i": {
"S2l": {
"type": "structure",

@@ -1067,10 +1082,10 @@ "required": [

"Options": {
"shape": "S2j"
"shape": "S2m"
},
"Status": {
"shape": "Sp"
"shape": "Ss"
}
}
},
"S2j": {
"S2m": {
"type": "structure",

@@ -1087,3 +1102,3 @@ "members": {

},
"S2n": {
"S2q": {
"type": "structure",

@@ -1097,3 +1112,3 @@ "required": [

"Status": {
"shape": "Sp"
"shape": "Ss"
}

@@ -1100,0 +1115,0 @@ }

@@ -157,2 +157,30 @@ {

},
"GetIdentityPoolConfiguration": {
"http": {
"method": "GET",
"requestUri": "/identitypools/{IdentityPoolId}/configuration",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"IdentityPoolId"
],
"members": {
"IdentityPoolId": {
"location": "uri",
"locationName": "IdentityPoolId"
}
}
},
"output": {
"type": "structure",
"members": {
"IdentityPoolId": {},
"PushSync": {
"shape": "Sl"
}
}
}
},
"ListDatasets": {

@@ -295,3 +323,3 @@ "http": {

"Records": {
"shape": "St"
"shape": "Sz"
},

@@ -320,2 +348,140 @@ "NextToken": {},

},
"RegisterDevice": {
"http": {
"requestUri": "/identitypools/{IdentityPoolId}/identity/{IdentityId}/device",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"IdentityPoolId",
"IdentityId",
"Platform",
"Token"
],
"members": {
"IdentityPoolId": {
"location": "uri",
"locationName": "IdentityPoolId"
},
"IdentityId": {
"location": "uri",
"locationName": "IdentityId"
},
"Platform": {},
"Token": {}
}
},
"output": {
"type": "structure",
"members": {
"DeviceId": {}
}
}
},
"SetIdentityPoolConfiguration": {
"http": {
"requestUri": "/identitypools/{IdentityPoolId}/configuration",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"IdentityPoolId"
],
"members": {
"IdentityPoolId": {
"location": "uri",
"locationName": "IdentityPoolId"
},
"PushSync": {
"shape": "Sl"
}
}
},
"output": {
"type": "structure",
"members": {
"IdentityPoolId": {},
"PushSync": {
"shape": "Sl"
}
}
}
},
"SubscribeToDataset": {
"http": {
"requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"IdentityPoolId",
"IdentityId",
"DatasetName",
"DeviceId"
],
"members": {
"IdentityPoolId": {
"location": "uri",
"locationName": "IdentityPoolId"
},
"IdentityId": {
"location": "uri",
"locationName": "IdentityId"
},
"DatasetName": {
"location": "uri",
"locationName": "DatasetName"
},
"DeviceId": {
"location": "uri",
"locationName": "DeviceId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UnsubscribeFromDataset": {
"http": {
"method": "DELETE",
"requestUri": "/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
"responseCode": 200
},
"input": {
"type": "structure",
"required": [
"IdentityPoolId",
"IdentityId",
"DatasetName",
"DeviceId"
],
"members": {
"IdentityPoolId": {
"location": "uri",
"locationName": "IdentityPoolId"
},
"IdentityId": {
"location": "uri",
"locationName": "IdentityId"
},
"DatasetName": {
"location": "uri",
"locationName": "DatasetName"
},
"DeviceId": {
"location": "uri",
"locationName": "DeviceId"
}
}
},
"output": {
"type": "structure",
"members": {}
}
},
"UpdateRecords": {

@@ -347,2 +513,3 @@ "http": {

},
"DeviceId": {},
"RecordPatches": {

@@ -381,3 +548,3 @@ "type": "list",

"Records": {
"shape": "St"
"shape": "Sz"
}

@@ -424,3 +591,13 @@ }

},
"St": {
"Sl": {
"type": "structure",
"members": {
"ApplicationArns": {
"type": "list",
"member": {}
},
"RoleArn": {}
}
},
"Sz": {
"type": "list",

@@ -427,0 +604,0 @@ "member": {

@@ -370,3 +370,3 @@ {

"PolicyNames": {
"shape": "S2g"
"shape": "S2j"
}

@@ -477,3 +477,3 @@ }

"PolicyNames": {
"shape": "S2g"
"shape": "S2j"
}

@@ -509,3 +509,3 @@ }

"OtherPolicies": {
"shape": "S2g"
"shape": "S2j"
}

@@ -523,3 +523,3 @@ }

"PolicyNames": {
"shape": "S2g"
"shape": "S2j"
}

@@ -780,3 +780,3 @@ }

"PolicyNames": {
"shape": "S2g"
"shape": "S2j"
}

@@ -805,3 +805,3 @@ }

"PolicyNames": {
"shape": "S2g"
"shape": "S2j"
}

@@ -960,6 +960,16 @@ }

}
},
"AdditionalAttributes": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Key": {},
"Value": {}
}
}
}
}
},
"S2g": {
"S2j": {
"type": "list",

@@ -966,0 +976,0 @@ "member": {}

@@ -10,3 +10,3 @@ {

"name": "CloudFront",
"versions": ["2013-05-12*", "2013-11-11*"]
"versions": ["2013-05-12*", "2013-11-11*", "2014-05-31*"]
},

@@ -13,0 +13,0 @@ "cloudsearch": {

@@ -12,2 +12,39 @@ {

"operations": {
"AssociateVPCWithHostedZone": {
"http": {
"requestUri": "/2013-04-01/hostedzone/{Id}/associatevpc"
},
"input": {
"xmlNamespace": {
"uri": "https://route53.amazonaws.com/doc/2013-04-01/"
},
"locationName": "AssociateVPCWithHostedZoneRequest",
"type": "structure",
"required": [
"HostedZoneId",
"VPC"
],
"members": {
"HostedZoneId": {
"location": "uri",
"locationName": "Id"
},
"VPC": {
"shape": "S3"
},
"Comment": {}
}
},
"output": {
"type": "structure",
"required": [
"ChangeInfo"
],
"members": {
"ChangeInfo": {
"shape": "S8"
}
}
}
},
"ChangeResourceRecordSets": {

@@ -18,6 +55,2 @@ "http": {

"input": {
"xmlOrder": [
"HostedZoneId",
"ChangeBatch"
],
"xmlNamespace": {

@@ -56,16 +89,8 @@ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"

"ResourceRecordSet": {
"shape": "S8"
"shape": "Sh"
}
},
"xmlOrder": [
"Action",
"ResourceRecordSet"
]
}
}
}
},
"xmlOrder": [
"Comment",
"Changes"
]
}
}

@@ -75,5 +100,2 @@ }

"output": {
"xmlOrder": [
"ChangeInfo"
],
"type": "structure",

@@ -85,3 +107,3 @@ "required": [

"ChangeInfo": {
"shape": "Sr"
"shape": "S8"
}

@@ -96,8 +118,2 @@ }

"input": {
"xmlOrder": [
"ResourceType",
"ResourceId",
"AddTags",
"RemoveTagKeys"
],
"xmlNamespace": {

@@ -122,3 +138,3 @@ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"

"AddTags": {
"shape": "Sx"
"shape": "S13"
},

@@ -144,6 +160,2 @@ "RemoveTagKeys": {

"input": {
"xmlOrder": [
"CallerReference",
"HealthCheckConfig"
],
"xmlNamespace": {

@@ -161,3 +173,3 @@ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"

"HealthCheckConfig": {
"shape": "S15"
"shape": "S1b"
}

@@ -167,6 +179,2 @@ }

"output": {
"xmlOrder": [
"HealthCheck",
"Location"
],
"type": "structure",

@@ -179,3 +187,3 @@ "required": [

"HealthCheck": {
"shape": "S1f"
"shape": "S1l"
},

@@ -195,7 +203,2 @@ "Location": {

"input": {
"xmlOrder": [
"Name",
"CallerReference",
"HostedZoneConfig"
],
"xmlNamespace": {

@@ -212,15 +215,13 @@ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"

"Name": {},
"VPC": {
"shape": "S3"
},
"CallerReference": {},
"HostedZoneConfig": {
"shape": "S1k"
}
"shape": "S1q"
},
"DelegationSetId": {}
}
},
"output": {
"xmlOrder": [
"HostedZone",
"ChangeInfo",
"DelegationSet",
"Location"
],
"type": "structure",

@@ -235,10 +236,13 @@ "required": [

"HostedZone": {
"shape": "S1m"
"shape": "S1t"
},
"ChangeInfo": {
"shape": "Sr"
"shape": "S8"
},
"DelegationSet": {
"shape": "S1o"
"shape": "S1v"
},
"VPC": {
"shape": "S3"
},
"Location": {

@@ -251,2 +255,38 @@ "location": "header",

},
"CreateReusableDelegationSet": {
"http": {
"requestUri": "/2013-04-01/delegationset",
"responseCode": 201
},
"input": {
"xmlNamespace": {
"uri": "https://route53.amazonaws.com/doc/2013-04-01/"
},
"locationName": "CreateReusableDelegationSetRequest",
"type": "structure",
"required": [
"CallerReference"
],
"members": {
"CallerReference": {},
"HostedZoneId": {}
}
},
"output": {
"type": "structure",
"required": [
"DelegationSet",
"Location"
],
"members": {
"DelegationSet": {
"shape": "S1v"
},
"Location": {
"location": "header",
"locationName": "Location"
}
}
}
},
"DeleteHealthCheck": {

@@ -258,5 +298,2 @@ "http": {

"input": {
"xmlOrder": [
"HealthCheckId"
],
"type": "structure",

@@ -284,7 +321,33 @@ "required": [

"input": {
"xmlOrder": [
"type": "structure",
"required": [
"Id"
],
"members": {
"Id": {
"location": "uri",
"locationName": "Id"
}
}
},
"output": {
"type": "structure",
"required": [
"ChangeInfo"
],
"members": {
"ChangeInfo": {
"shape": "S8"
}
}
}
},
"DeleteReusableDelegationSet": {
"http": {
"method": "DELETE",
"requestUri": "/2013-04-01/delegationset/{Id}"
},
"input": {
"type": "structure",
"required": [
"Id"

@@ -300,5 +363,32 @@ ],

"output": {
"xmlOrder": [
"ChangeInfo"
"type": "structure",
"members": {}
}
},
"DisassociateVPCFromHostedZone": {
"http": {
"requestUri": "/2013-04-01/hostedzone/{Id}/disassociatevpc"
},
"input": {
"xmlNamespace": {
"uri": "https://route53.amazonaws.com/doc/2013-04-01/"
},
"locationName": "DisassociateVPCFromHostedZoneRequest",
"type": "structure",
"required": [
"HostedZoneId",
"VPC"
],
"members": {
"HostedZoneId": {
"location": "uri",
"locationName": "Id"
},
"VPC": {
"shape": "S3"
},
"Comment": {}
}
},
"output": {
"type": "structure",

@@ -310,3 +400,3 @@ "required": [

"ChangeInfo": {
"shape": "Sr"
"shape": "S8"
}

@@ -322,5 +412,2 @@ }

"input": {
"xmlOrder": [
"Id"
],
"type": "structure",

@@ -338,5 +425,2 @@ "required": [

"output": {
"xmlOrder": [
"ChangeInfo"
],
"type": "structure",

@@ -348,3 +432,3 @@ "required": [

"ChangeInfo": {
"shape": "Sr"
"shape": "S8"
}

@@ -382,7 +466,2 @@ }

"input": {
"xmlOrder": [
"ContinentCode",
"CountryCode",
"SubdivisionCode"
],
"type": "structure",

@@ -405,5 +484,2 @@ "members": {

"output": {
"xmlOrder": [
"GeoLocationDetails"
],
"type": "structure",

@@ -415,3 +491,3 @@ "required": [

"GeoLocationDetails": {
"shape": "S22"
"shape": "S2g"
}

@@ -427,5 +503,2 @@ }

"input": {
"xmlOrder": [
"HealthCheckId"
],
"type": "structure",

@@ -443,5 +516,2 @@ "required": [

"output": {
"xmlOrder": [
"HealthCheck"
],
"type": "structure",

@@ -453,3 +523,3 @@ "required": [

"HealthCheck": {
"shape": "S1f"
"shape": "S1l"
}

@@ -480,2 +550,60 @@ }

},
"GetHealthCheckLastFailureReason": {
"http": {
"method": "GET",
"requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/lastfailurereason"
},
"input": {
"type": "structure",
"required": [
"HealthCheckId"
],
"members": {
"HealthCheckId": {
"location": "uri",
"locationName": "HealthCheckId"
}
}
},
"output": {
"type": "structure",
"required": [
"HealthCheckObservations"
],
"members": {
"HealthCheckObservations": {
"shape": "S2r"
}
}
}
},
"GetHealthCheckStatus": {
"http": {
"method": "GET",
"requestUri": "/2013-04-01/healthcheck/{HealthCheckId}/status"
},
"input": {
"type": "structure",
"required": [
"HealthCheckId"
],
"members": {
"HealthCheckId": {
"location": "uri",
"locationName": "HealthCheckId"
}
}
},
"output": {
"type": "structure",
"required": [
"HealthCheckObservations"
],
"members": {
"HealthCheckObservations": {
"shape": "S2r"
}
}
}
},
"GetHostedZone": {

@@ -487,7 +615,43 @@ "http": {

"input": {
"xmlOrder": [
"type": "structure",
"required": [
"Id"
],
"members": {
"Id": {
"location": "uri",
"locationName": "Id"
}
}
},
"output": {
"type": "structure",
"required": [
"HostedZone"
],
"members": {
"HostedZone": {
"shape": "S1t"
},
"DelegationSet": {
"shape": "S1v"
},
"VPCs": {
"type": "list",
"member": {
"shape": "S3",
"locationName": "VPC"
}
}
}
}
},
"GetReusableDelegationSet": {
"http": {
"method": "GET",
"requestUri": "/2013-04-01/delegationset/{Id}"
},
"input": {
"type": "structure",
"required": [
"Id"

@@ -503,17 +667,9 @@ ],

"output": {
"xmlOrder": [
"HostedZone",
"DelegationSet"
],
"type": "structure",
"required": [
"HostedZone",
"DelegationSet"
],
"members": {
"HostedZone": {
"shape": "S1m"
},
"DelegationSet": {
"shape": "S1o"
"shape": "S1v"
}

@@ -529,8 +685,2 @@ }

"input": {
"xmlOrder": [
"StartContinentCode",
"StartCountryCode",
"StartSubdivisionCode",
"MaxItems"
],
"type": "structure",

@@ -557,10 +707,2 @@ "members": {

"output": {
"xmlOrder": [
"GeoLocationDetailsList",
"IsTruncated",
"NextContinentCode",
"NextCountryCode",
"NextSubdivisionCode",
"MaxItems"
],
"type": "structure",

@@ -576,3 +718,3 @@ "required": [

"member": {
"shape": "S22",
"shape": "S2g",
"locationName": "GeoLocationDetails"

@@ -597,6 +739,2 @@ }

"input": {
"xmlOrder": [
"Marker",
"MaxItems"
],
"type": "structure",

@@ -615,9 +753,2 @@ "members": {

"output": {
"xmlOrder": [
"HealthChecks",
"Marker",
"IsTruncated",
"NextMarker",
"MaxItems"
],
"type": "structure",

@@ -634,3 +765,3 @@ "required": [

"member": {
"shape": "S1f",
"shape": "S1l",
"locationName": "HealthCheck"

@@ -654,6 +785,2 @@ }

"input": {
"xmlOrder": [
"Marker",
"MaxItems"
],
"type": "structure",

@@ -668,2 +795,6 @@ "members": {

"locationName": "maxitems"
},
"DelegationSetId": {
"location": "querystring",
"locationName": "delegationsetid"
}

@@ -673,9 +804,2 @@ }

"output": {
"xmlOrder": [
"HostedZones",
"Marker",
"IsTruncated",
"NextMarker",
"MaxItems"
],
"type": "structure",

@@ -692,3 +816,3 @@ "required": [

"member": {
"shape": "S1m",
"shape": "S1t",
"locationName": "HostedZone"

@@ -712,9 +836,2 @@ }

"input": {
"xmlOrder": [
"HostedZoneId",
"StartRecordName",
"StartRecordType",
"StartRecordIdentifier",
"MaxItems"
],
"type": "structure",

@@ -748,10 +865,2 @@ "required": [

"output": {
"xmlOrder": [
"ResourceRecordSets",
"IsTruncated",
"NextRecordName",
"NextRecordType",
"NextRecordIdentifier",
"MaxItems"
],
"type": "structure",

@@ -767,3 +876,3 @@ "required": [

"member": {
"shape": "S8",
"shape": "Sh",
"locationName": "ResourceRecordSet"

@@ -782,2 +891,45 @@ }

},
"ListReusableDelegationSets": {
"http": {
"method": "GET",
"requestUri": "/2013-04-01/delegationset"
},
"input": {
"type": "structure",
"members": {
"Marker": {
"location": "querystring",
"locationName": "marker"
},
"MaxItems": {
"location": "querystring",
"locationName": "maxitems"
}
}
},
"output": {
"type": "structure",
"required": [
"DelegationSets",
"Marker",
"IsTruncated",
"MaxItems"
],
"members": {
"DelegationSets": {
"type": "list",
"member": {
"shape": "S1v",
"locationName": "DelegationSet"
}
},
"Marker": {},
"IsTruncated": {
"type": "boolean"
},
"NextMarker": {},
"MaxItems": {}
}
}
},
"ListTagsForResource": {

@@ -789,6 +941,2 @@ "http": {

"input": {
"xmlOrder": [
"ResourceType",
"ResourceId"
],
"type": "structure",

@@ -811,5 +959,2 @@ "required": [

"output": {
"xmlOrder": [
"ResourceTagSet"
],
"type": "structure",

@@ -821,3 +966,3 @@ "required": [

"ResourceTagSet": {
"shape": "S2u"
"shape": "S3m"
}

@@ -832,6 +977,2 @@ }

"input": {
"xmlOrder": [
"ResourceType",
"ResourceIds"
],
"xmlNamespace": {

@@ -860,5 +1001,2 @@ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"

"output": {
"xmlOrder": [
"ResourceTagSets"
],
"type": "structure",

@@ -872,3 +1010,3 @@ "required": [

"member": {
"shape": "S2u",
"shape": "S3m",
"locationName": "ResourceTagSet"

@@ -885,12 +1023,2 @@ }

"input": {
"xmlOrder": [
"HealthCheckId",
"HealthCheckVersion",
"IPAddress",
"Port",
"ResourcePath",
"FullyQualifiedDomainName",
"SearchString",
"FailureThreshold"
],
"xmlNamespace": {

@@ -925,5 +1053,2 @@ "uri": "https://route53.amazonaws.com/doc/2013-04-01/"

"output": {
"xmlOrder": [
"HealthCheck"
],
"type": "structure",

@@ -935,3 +1060,3 @@ "required": [

"HealthCheck": {
"shape": "S1f"
"shape": "S1l"
}

@@ -943,5 +1068,28 @@ }

"shapes": {
"S3": {
"type": "structure",
"members": {
"VPCRegion": {},
"VPCId": {}
}
},
"S8": {
"type": "structure",
"required": [
"Id",
"Status",
"SubmittedAt"
],
"members": {
"Id": {},
"Status": {},
"SubmittedAt": {
"type": "timestamp"
},
"Comment": {}
}
},
"Sh": {
"type": "structure",
"required": [
"Name",

@@ -964,8 +1112,3 @@ "Type"

"SubdivisionCode": {}
},
"xmlOrder": [
"ContinentCode",
"CountryCode",
"SubdivisionCode"
]
}
},

@@ -986,6 +1129,3 @@ "Failover": {},

"Value": {}
},
"xmlOrder": [
"Value"
]
}
}

@@ -1006,48 +1146,8 @@ },

}
},
"xmlOrder": [
"HostedZoneId",
"DNSName",
"EvaluateTargetHealth"
]
}
},
"HealthCheckId": {}
},
"xmlOrder": [
"Name",
"Type",
"SetIdentifier",
"Weight",
"Region",
"GeoLocation",
"Failover",
"TTL",
"ResourceRecords",
"AliasTarget",
"HealthCheckId"
]
}
},
"Sr": {
"type": "structure",
"required": [
"Id",
"Status",
"SubmittedAt"
],
"members": {
"Id": {},
"Status": {},
"SubmittedAt": {
"type": "timestamp"
},
"Comment": {}
},
"xmlOrder": [
"Id",
"Status",
"SubmittedAt",
"Comment"
]
},
"Sx": {
"S13": {
"type": "list",

@@ -1063,3 +1163,3 @@ "member": {

},
"S15": {
"S1b": {
"type": "structure",

@@ -1084,15 +1184,5 @@ "required": [

}
},
"xmlOrder": [
"IPAddress",
"Port",
"Type",
"ResourcePath",
"FullyQualifiedDomainName",
"SearchString",
"RequestInterval",
"FailureThreshold"
]
}
},
"S1f": {
"S1l": {
"type": "structure",

@@ -1109,3 +1199,3 @@ "required": [

"HealthCheckConfig": {
"shape": "S15"
"shape": "S1b"
},

@@ -1115,20 +1205,14 @@ "HealthCheckVersion": {

}
},
"xmlOrder": [
"Id",
"CallerReference",
"HealthCheckConfig",
"HealthCheckVersion"
]
}
},
"S1k": {
"S1q": {
"type": "structure",
"members": {
"Comment": {}
},
"xmlOrder": [
"Comment"
]
"Comment": {},
"PrivateZone": {
"type": "boolean"
}
}
},
"S1m": {
"S1t": {
"type": "structure",

@@ -1145,3 +1229,3 @@ "required": [

"Config": {
"shape": "S1k"
"shape": "S1q"
},

@@ -1151,12 +1235,5 @@ "ResourceRecordSetCount": {

}
},
"xmlOrder": [
"Id",
"Name",
"CallerReference",
"Config",
"ResourceRecordSetCount"
]
}
},
"S1o": {
"S1v": {
"type": "structure",

@@ -1167,2 +1244,4 @@ "required": [

"members": {
"Id": {},
"CallerReference": {},
"NameServers": {

@@ -1174,8 +1253,5 @@ "type": "list",

}
},
"xmlOrder": [
"NameServers"
]
}
},
"S22": {
"S2g": {
"type": "structure",

@@ -1189,13 +1265,24 @@ "members": {

"SubdivisionName": {}
},
"xmlOrder": [
"ContinentCode",
"ContinentName",
"CountryCode",
"CountryName",
"SubdivisionCode",
"SubdivisionName"
]
}
},
"S2u": {
"S2r": {
"type": "list",
"member": {
"locationName": "HealthCheckObservation",
"type": "structure",
"members": {
"IPAddress": {},
"StatusReport": {
"type": "structure",
"members": {
"Status": {},
"CheckedTime": {
"type": "timestamp"
}
}
}
}
}
},
"S3m": {
"type": "structure",

@@ -1206,3 +1293,3 @@ "members": {

"Tags": {
"shape": "Sx"
"shape": "S13"
}

@@ -1209,0 +1296,0 @@ }

@@ -42,3 +42,3 @@ {

"limit_key": "MaxKeys",
"output_token": "NextMarker or Contents[-1].Key",
"output_token": "NextMarker || Contents[-1].Key",
"input_token": "Marker",

@@ -45,0 +45,0 @@ "result_key": [

@@ -18,2 +18,4 @@ var AWS = require('./core');

*
* @!group General Configuration Options
*
* @!attribute credentials

@@ -69,3 +71,3 @@ * @return [AWS.Credentials] the AWS credentials to sign requests with.

* * **timeout** [Integer] — The number of milliseconds to wait before
* giving up on a connection attempt. Defaults to no timeout (0).
* giving up on a connection attempt. Defaults to one minute (60000).
* * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous

@@ -82,2 +84,9 @@ * HTTP requests. Used in the browser environment only. Set to false to

*
* @!attribute systemClockOffset
* @return [Number] an offset value in milliseconds to apply to all signing
* times. Use this to compensate for clock skew when your system may be
* out of sync with the service time. Note that this configuration option
* can only be applied to the global `AWS.config` object and cannot be
* overridden in service-specific configuration. Defaults to 0 milliseconds.
*
* @!attribute signatureVersion

@@ -88,2 +97,5 @@ * @return [String] the signature version to sign requests with (overriding

AWS.Config = AWS.util.inherit({
/**
* @!endgroup
*/

@@ -139,3 +151,4 @@ /**

* * **timeout** [Integer] — Sets the socket to timeout after timeout
* milliseconds of inactivity on the socket. Defaults to no timeout.
* milliseconds of inactivity on the socket. Defaults to one minute
* (60000).
* * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous

@@ -158,2 +171,8 @@ * HTTP requests. Used in the browser environment only. Set to false to

* information about requests
* @option options systemClockOffset [Number] an offset value in milliseconds
* to apply to all signing times. Use this to compensate for clock skew
* when your system may be out of sync with the service time. Note that
* this configuration option can only be applied to the global `AWS.config`
* object and cannot be overridden in service-specific configuration.
* Defaults to 0 milliseconds.
* @option options signatureVersion [String] the signature version to sign

@@ -173,22 +192,4 @@ * requests with (overriding the API configuration). Possible values are:

/**
* @overload update(options, allowUnknownKeys = false)
* Updates the current configuration object with new options.
*
* @example Update maxRetries property of a configuration object
* config.update({maxRetries: 10});
* @param [Object] options a map of option keys and values.
* @param [Boolean] allowUnknownKeys whether unknown keys can be set on
* the configuration object. Defaults to `false`.
* @see constructor
* @!group Managing Credentials
*/
update: function update(options, allowUnknownKeys) {
allowUnknownKeys = allowUnknownKeys || false;
options = this.extractCredentials(options);
AWS.util.each.call(this, options, function (key, value) {
if (allowUnknownKeys || this.keys.hasOwnProperty(key) ||
AWS.Service.hasService(key)) {
this[key] = value;
}
});
},

@@ -272,2 +273,28 @@ /**

/**
* @!group Loading and Setting Configuration Options
*/
/**
* @overload update(options, allowUnknownKeys = false)
* Updates the current configuration object with new options.
*
* @example Update maxRetries property of a configuration object
* config.update({maxRetries: 10});
* @param [Object] options a map of option keys and values.
* @param [Boolean] allowUnknownKeys whether unknown keys can be set on
* the configuration object. Defaults to `false`.
* @see constructor
*/
update: function update(options, allowUnknownKeys) {
allowUnknownKeys = allowUnknownKeys || false;
options = this.extractCredentials(options);
AWS.util.each.call(this, options, function (key, value) {
if (allowUnknownKeys || this.keys.hasOwnProperty(key) ||
AWS.Service.hasService(key)) {
this.set(key, value);
}
});
},
/**
* Loads configuration data from a JSON file into this config object.

@@ -328,2 +355,5 @@ * @note Loading configuration will reset all existing configuration

}
} else if (property === 'httpOptions' && this[property]) {
// deep merge httpOptions
this[property] = AWS.util.merge(this[property], value);
} else {

@@ -348,3 +378,5 @@ this[property] = value;

endpoint: undefined,
httpOptions: {},
httpOptions: {
timeout: 60000
},
maxRetries: undefined,

@@ -358,2 +390,3 @@ maxRedirects: 10,

dynamoDbCrc32: true,
systemClockOffset: 0,
signatureVersion: null

@@ -360,0 +393,0 @@ },

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

*/
VERSION: '2.0.23',
VERSION: '2.0.24',

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

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

try {
return AWS.util.isBrowser() ? window.localStorage : {};
return AWS.util.isBrowser() && typeof window.localStorage === 'object' ?
window.localStorage : {};
} catch (_) {

@@ -238,0 +239,0 @@ return {};

@@ -285,2 +285,12 @@ var AWS = require('./core');

add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) {
var err = resp.error;
if (!err) return;
if (typeof err.code === 'string' && typeof err.message === 'string') {
if (err.code.match(/Signature/) && err.message.match(/expired/)) {
resp.error.retryable = true;
}
}
});
add('REDIRECT', 'retry', function REDIRECT(resp) {

@@ -300,3 +310,3 @@ if (resp.error && resp.error.statusCode >= 300 &&

resp.error.retryDelay = 0;
} else if (resp.error.retryable && resp.retryCount < resp.maxRetries) {
} else if (resp.retryCount < resp.maxRetries) {
var delays = this.service.retryDelays();

@@ -340,2 +350,17 @@ resp.error.retryDelay = delays[resp.retryCount] || 0;

});
add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) {
if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') {
var message = 'Inaccessible host: `' + err.hostname +
'\'. This service may not be available in the `' + err.region +
'\' region.';
this.response.error = AWS.util.error(new Error(message), {
code: 'UnknownEndpoint',
region: err.region,
hostname: err.hostname,
retryable: false,
originalError: err
});
}
});
}),

@@ -342,0 +367,0 @@

@@ -10,3 +10,3 @@ var Shape = require('./shape');

property(this, 'name', name);
property(this, 'name', operation.name || name);
property(this, 'api', options.api, false);

@@ -13,0 +13,0 @@

@@ -24,7 +24,8 @@ var Collection = require('./collection');

property(this, 'location', shape.location || 'body');
property(this, 'name', this.name || shape.xmlName || shape.locationName ||
memberName);
property(this, 'name', this.name || shape.xmlName || shape.queryName ||
shape.locationName || memberName);
property(this, 'isStreaming', shape.streaming || false);
property(this, 'isComposite', shape.isComposite || false);
property(this, 'isShape', true, false);
property(this, 'isQueryName', shape.queryName ? true : false, false);

@@ -257,2 +258,3 @@ if (options.documentation) {

case 'query':
case 'ec2':
property(this, 'timestampFormat', 'iso8601');

@@ -283,2 +285,3 @@ break;

case 'query':
case 'ec2':
this.toType = function(value) { return value || ''; };

@@ -285,0 +288,0 @@ }

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

this.validateMember(shape.value, params[param],
context + '[\'' + param + '\']');
context + '[\'' + param + '\']');
}

@@ -89,0 +89,0 @@ },

@@ -13,6 +13,2 @@ var util = require('../util');

var escapePathParamFn = req.service.escapePathParam || escapePathParam;
var escapeQuerystringParamFn = req.service.escapeQuerystringParam ||
escapeQuerystringParam;
var queryString = {}, queryStringSet = false;

@@ -23,6 +19,10 @@ util.each(input.members, function (name, member) {

if (member.location === 'uri') {
uri = uri.replace('{' + member.name + '}', escapePathParamFn(paramValue));
var regex = new RegExp('\\{' + member.name + '(\\+)?\\}');
uri = uri.replace(regex, function(_, plus) {
var fn = plus ? util.uriEscapePath : util.uriEscape;
return fn(String(paramValue));
});
} else if (member.location === 'querystring') {
queryStringSet = true;
queryString[member.name] = escapeQuerystringParamFn(paramValue);
queryString[member.name] = util.uriEscape(String(paramValue));
}

@@ -35,3 +35,3 @@ });

util.arrayEach(Object.keys(queryString).sort(), function(key) {
parts.push(escapeQuerystringParam(key) + '=' + queryString[key]);
parts.push(util.uriEscape(String(key)) + '=' + queryString[key]);
});

@@ -44,10 +44,2 @@ uri += parts.join('&');

function escapePathParam(value) {
return util.uriEscape(String(value));
}
function escapeQuerystringParam(value) {
return util.uriEscape(String(value));
}
function populateHeaders(req) {

@@ -54,0 +46,0 @@ var operation = req.service.api.operations[req.operation];

var util = require('../util');
function QueryParamSerializer() { }
function QueryParamSerializer() {
}

@@ -9,2 +10,10 @@ QueryParamSerializer.prototype.serialize = function(params, shape, fn) {

function ucfirst(shape) {
if (shape.isQueryName || shape.api.protocol !== 'ec2') {
return shape.name;
} else {
return shape.name[0].toUpperCase() + shape.name.substr(1);
}
}
function serializeStructure(prefix, struct, rules, fn) {

@@ -15,3 +24,4 @@ util.each(rules.members, function(name, member) {

var memberName = prefix ? prefix + '.' + member.name : member.name;
var memberName = ucfirst(member);
memberName = prefix ? prefix + '.' + memberName : memberName;
serializeMember(memberName, value, member, fn);

@@ -43,7 +53,7 @@ });

var suffix = '.' + (n + 1);
if (rules.flattened) {
if (rules.flattened || rules.api.protocol === 'ec2') {
if (memberRules.name) {
var parts = name.split('.');
parts.pop();
parts.push(memberRules.name);
parts.push(ucfirst(memberRules));
name = parts.join('.');

@@ -50,0 +60,0 @@ }

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

*/
var hardErrorStates = {success:1, error:1, complete:1};
var hardErrorStates = {success: 1, error: 1, complete: 1};

@@ -654,3 +654,4 @@ function isTerminalState(machine) {

toGet: function toGet() {
if (this.service.api.protocol === 'query') {
if (this.service.api.protocol === 'query' ||
this.service.api.protocol === 'ec2') {
this.removeListener('build', this.buildAsGet);

@@ -657,0 +658,0 @@ this.addListener('build', this.buildAsGet);

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

switch (this.api.protocol) {
case 'ec2': return AWS.EventListeners.Query;
case 'query': return AWS.EventListeners.Query;

@@ -268,0 +269,0 @@ case 'json': return AWS.EventListeners.Json;

@@ -251,11 +251,2 @@ var AWS = require('../core');

/**
* S3 requires that path params not escape forward slashes.
*
* @api private
*/
escapePathParam: function escapePathParam(value) {
return AWS.util.uriEscapePath(String(value));
},
/**
* @return [Boolean] whether response contains an error

@@ -262,0 +253,0 @@ * @api private

@@ -5,2 +5,3 @@ /* eslint guard-for-in:0 */

var Buffer = require('buffer').Buffer;
var AWS;

@@ -237,3 +238,3 @@ /**

var results = [];
var expressions = expression.split(/\s+or\s+/);
var expressions = expression.split(/\s+\|\|\s+/);
util.arrayEach.call(this, expressions, function (expr) {

@@ -301,3 +302,10 @@ var objects = [data];

*/
getDate: function getDate() { return new Date(); },
getDate: function getDate() {
if (!AWS) AWS = require('./core');
if (AWS.config.systemClockOffset) { // use offset when non-zero
return new Date(new Date().getTime() + AWS.config.systemClockOffset);
} else {
return new Date();
}
},

@@ -304,0 +312,0 @@ /**

{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.0.23",
"version": "2.0.24",
"author": {

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

# AWS SDK for JavaScript
[![NPM](https://nodei.co/npm/aws-sdk.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/aws-sdk/)
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/aws/aws-sdk-js)
[![Version](https://badge.fury.io/js/aws-sdk.png)](http://badge.fury.io/js/aws-sdk) [![Build Status](https://travis-ci.org/aws/aws-sdk-js.png?branch=master)](https://travis-ci.org/aws/aws-sdk-js) [![Coverage Status](https://coveralls.io/repos/aws/aws-sdk-js/badge.png?branch=master)](https://coveralls.io/r/aws/aws-sdk-js?branch=master)

@@ -23,3 +27,3 @@

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

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

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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