Update vendored deps, including AWS SDK, openpgp, ftp, ...

This commit is contained in:
Andrey Smirnov
2018-04-05 17:46:45 +03:00
parent cef4fefc40
commit 0e6ee35942
1497 changed files with 450721 additions and 68034 deletions
+49
View File
@@ -450,5 +450,54 @@
}
}
]
},
{
"description": "Enum output",
"metadata": {
"protocol": "ec2"
},
"shapes": {
"OutputShape": {
"type": "structure",
"members": {
"FooEnum": {
"shape": "EC2EnumType"
},
"ListEnums": {
"shape": "EC2EnumList"
}
}
},
"EC2EnumType":{
"type":"string",
"enum":[
"foo",
"bar"
]
},
"EC2EnumList":{
"type":"list",
"member": {"shape": "EC2EnumType"}
}
},
"cases": [
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
"FooEnum": "foo",
"ListEnums": ["foo", "bar"]
},
"response": {
"status_code": 200,
"headers": {},
"body": "<OperationNameResponse><FooEnum>foo</FooEnum><ListEnums><member>foo</member><member>bar</member></ListEnums></OperationNameResponse>"
}
}
]
}
]
@@ -365,5 +365,54 @@
}
}
]
},
{
"description": "Enum output",
"metadata": {
"protocol": "json"
},
"shapes": {
"OutputShape": {
"type": "structure",
"members": {
"FooEnum": {
"shape": "JSONEnumType"
},
"ListEnums": {
"shape": "JSONEnumList"
}
}
},
"JSONEnumType":{
"type":"string",
"enum":[
"foo",
"bar"
]
},
"JSONEnumList":{
"type":"list",
"member": {"shape": "JSONEnumType"}
}
},
"cases": [
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
"FooEnum": "foo",
"ListEnums": ["foo", "bar"]
},
"response": {
"status_code": 200,
"headers": {},
"body": "{\"FooEnum\": \"foo\", \"ListEnums\": [\"foo\", \"bar\"]}"
}
}
]
}
]
@@ -772,5 +772,54 @@
}
}
]
},
{
"description": "Enum output",
"metadata": {
"protocol": "query"
},
"shapes": {
"OutputShape": {
"type": "structure",
"members": {
"FooEnum": {
"shape": "EC2EnumType"
},
"ListEnums": {
"shape": "EC2EnumList"
}
}
},
"EC2EnumType":{
"type":"string",
"enum":[
"foo",
"bar"
]
},
"EC2EnumList":{
"type":"list",
"member": {"shape": "EC2EnumType"}
}
},
"cases": [
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
"FooEnum": "foo",
"ListEnums": ["foo", "bar"]
},
"response": {
"status_code": 200,
"headers": {},
"body": "<OperationNameResponse><FooEnum>foo</FooEnum><ListEnums><member>foo</member><member>bar</member></ListEnums></OperationNameResponse>"
}
}
]
}
]
+131 -5
View File
@@ -614,16 +614,30 @@
"OutputShape": {
"type": "structure",
"members": {
"Attr": {
"HeaderField": {
"shape": "StringType",
"jsonvalue": true,
"location": "header",
"locationName": "X-Amz-Foo"
"jsonvalue": true,
"location": "header",
"locationName": "X-Amz-Foo"
},
"BodyField":{
"shape": "StringType",
"jsonvalue": true
},
"BodyListField": {
"shape": "ListType"
}
}
},
"StringType": {
"type": "string"
},
"ListType": {
"type": "list",
"member": {
"shape": "StringType",
"jsonvalue": true
}
}
},
"cases": [
@@ -635,14 +649,126 @@
"name": "OperationName"
},
"result": {
"Attr": {"Foo":"Bar"}
"HeaderField": {"Foo":"Bar"},
"BodyField": {"Foo":"Bar"}
},
"response": {
"status_code": 200,
"headers": {"X-Amz-Foo": "eyJGb28iOiJCYXIifQ=="},
"body": "{\"BodyField\":\"{\\\"Foo\\\":\\\"Bar\\\"}\"}"
}
},
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
"BodyListField": [{"Foo":"Bar"}]
},
"response": {
"status_code": 200,
"headers": {},
"body": "{\"BodyListField\":[\"{\\\"Foo\\\":\\\"Bar\\\"}\"]}"
}
},
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
},
"response": {
"status_code": 200,
"headers": {},
"body": ""
}
}
]
},
{
"description": "Enum",
"metadata": {
"protocol": "rest-json",
"apiVersion": "2014-01-01"
},
"shapes": {
"OutputShape": {
"type": "structure",
"members": {
"HeaderEnum": {
"shape": "RESTJSONEnumType",
"location": "header",
"locationName": "x-amz-enum"
},
"FooEnum": {
"shape": "RESTJSONEnumType"
},
"ListEnums": {
"shape": "EnumList"
}
}
},
"RESTJSONEnumType":{
"type":"string",
"enum":[
"foo",
"bar",
"0",
"1"
]
},
"EnumList":{
"type":"list",
"member": {"shape": "RESTJSONEnumType"}
}
},
"cases": [
{
"given": {
"output": {
"shape": "OutputShape"
},
"http": {
"method": "POST",
"requestUri": "/path"
},
"name": "OperationName"
},
"result": {
"HeaderEnum": "baz",
"FooEnum": "foo",
"ListEnums": ["foo", "bar"]
},
"response": {
"status_code": 200,
"headers": {"x-amz-enum": "baz"},
"body": "{\"FooEnum\": \"foo\", \"ListEnums\": [\"foo\", \"bar\"]}"
}
},
{
"given": {
"input": {
"shape": "OutputShape"
},
"http": {
"method": "POST",
"requestUri": "/path"
},
"name": "OperationName"
},
"result": {
},
"response": {
"status_code": 200,
"headers": {}
}
}
]
}
]
@@ -716,5 +716,166 @@
}
}
]
},
{
"description": "Enum",
"metadata": {
"protocol": "rest-xml"
},
"shapes": {
"OutputShape": {
"type": "structure",
"members": {
"HeaderEnum": {
"shape": "RESTJSONEnumType",
"location": "header",
"locationName": "x-amz-enum"
},
"FooEnum": {
"shape": "RESTJSONEnumType"
},
"ListEnums": {
"shape": "EnumList"
}
}
},
"RESTJSONEnumType":{
"type":"string",
"enum":[
"foo",
"bar",
"0",
"1"
]
},
"EnumList":{
"type":"list",
"member": {"shape": "RESTJSONEnumType"}
}
},
"cases": [
{
"given": {
"output": {
"shape": "OutputShape"
},
"http": {
"method": "POST",
"requestUri": "/path"
},
"name": "OperationName"
},
"result": {
"HeaderEnum": "baz",
"FooEnum": "foo",
"ListEnums": ["0", "1"]
},
"response": {
"status_code": 200,
"headers": {"x-amz-enum": "baz"},
"body": "<OperationNameResponse><FooEnum>foo</FooEnum><ListEnums><member>0</member><member>1</member></ListEnums></OperationNameResponse>"
}
},
{
"given": {
"input": {
"shape": "OutputShape"
},
"http": {
"method": "POST",
"requestUri": "/path"
},
"name": "OperationName"
},
"result": {
},
"response": {
"status_code": 200,
"headers": {}
}
}
]
},
{
"description": "XML Attributes",
"metadata": {
"protocol": "rest-xml"
},
"shapes": {
"OutputShape":{
"type":"structure",
"members":{
"ListItems":{
"shape":"ListItemsShape",
"locationName":"ItemsList"
}
}
},
"ListItemsShape":{
"type":"list",
"member":{
"shape":"ItemShape",
"locationName":"Item"
}
},
"ItemShape":{
"type":"structure",
"members":{
"ItemDetail":{"shape":"ItemDetailShape"}
}
},
"ItemDetailShape":{
"type":"structure",
"required":["Type"],
"members":{
"ID":{"shape":"StringShape"},
"Type":{
"shape":"ItemType",
"locationName":"xsi:type",
"xmlAttribute":true
}
},
"xmlNamespace":{
"prefix":"xsi",
"uri":"http://www.w3.org/2001/XMLSchema-instance"
}
},
"StringShape":{
"type":"string"
},
"ItemType":{
"type":"string",
"enum":[
"Type1",
"Type2",
"Type3"
]
}
},
"cases": [
{
"given": {
"output": {
"shape": "OutputShape"
},
"http": {
"method": "GET",
"requestUri": "/path"
},
"name": "OperationName"
},
"result": {
"ListItems": [
{"ItemDetail": {"ID": "id1", "Type": "Type1"}},
{"ItemDetail": {"ID": "id2", "Type": "Type2"}},
{"ItemDetail": {"ID": "id3", "Type": "Type3"}}
]
},
"response": {
"status_code": 200,
"body": "<SomeOutputDoc xmlns=\"http://s3.amazonaws.com/doc/2006-03-01/\"><ItemsList><Item><ItemDetail xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"Type1\"><ID>id1</ID></ItemDetail></Item><Item><ItemDetail xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"Type2\"><ID>id2</ID></ItemDetail></Item><Item><ItemDetail xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"Type3\"><ID>id3</ID></ItemDetail></Item></ItemsList></SomeOutputDoc>"
}
}
]
}
]