change github.com/aws/aws-sdk-go to be the same revision in kubernetes

This commit is contained in:
Jingfang Liu
2018-10-16 09:34:22 -07:00
parent e0958159f3
commit c6a78cee92
462 changed files with 20605 additions and 85780 deletions

View File

@@ -452,7 +452,7 @@
]
},
{
"description": "Timestamp members",
"description": "Enum output",
"metadata": {
"protocol": "ec2"
},
@@ -460,38 +460,24 @@
"OutputShape": {
"type": "structure",
"members": {
"TimeArg": {
"shape": "TimestampType"
"FooEnum": {
"shape": "EC2EnumType"
},
"TimeCustom": {
"timestampFormat": "rfc822",
"shape": "TimestampType"
},
"TimeFormat": {
"shape": "TimestampFormatType"
},
"StructMember": {
"shape": "TimeContainer"
"ListEnums": {
"shape": "EC2EnumList"
}
}
},
"TimeContainer": {
"type": "structure",
"members": {
"foo": {
"shape": "TimestampType"
},
"bar": {
"shape": "TimestampFormatType"
}
}
"EC2EnumType":{
"type":"string",
"enum":[
"foo",
"bar"
]
},
"TimestampFormatType": {
"timestampFormat": "unixTimestamp",
"type": "timestamp"
},
"TimestampType": {
"type": "timestamp"
"EC2EnumList":{
"type":"list",
"member": {"shape": "EC2EnumType"}
}
},
"cases": [
@@ -503,18 +489,13 @@
"name": "OperationName"
},
"result": {
"TimeArg": 1398796238,
"TimeCustom": 1398796238,
"TimeFormat": 1398796238,
"StructMember": {
"foo": 1398796238,
"bar": 1398796238
}
"FooEnum": "foo",
"ListEnums": ["foo", "bar"]
},
"response": {
"status_code": 200,
"headers": {},
"body": "<OperationNameResponse><StructMember><foo>2014-04-29T18:30:38Z</foo><bar>1398796238</bar></StructMember><TimeArg>2014-04-29T18:30:38Z</TimeArg><TimeCustom>Tue, 29 Apr 2014 18:30:38 GMT</TimeCustom><TimeFormat>1398796238</TimeFormat><RequestId>requestid</RequestId></OperationNameResponse>"
"body": "<OperationNameResponse><FooEnum>foo</FooEnum><ListEnums><member>foo</member><member>bar</member></ListEnums></OperationNameResponse>"
}
}
]

View File

@@ -142,38 +142,24 @@
"OutputShape": {
"type": "structure",
"members": {
"TimeArg": {
"shape": "TimestampType"
},
"TimeCustom": {
"timestampFormat": "rfc822",
"shape": "TimestampType"
},
"TimeFormat": {
"shape": "TimestampFormatType"
"TimeMember": {
"shape": "TimeType"
},
"StructMember": {
"shape": "TimeContainer"
}
}
},
"TimeType": {
"type": "timestamp"
},
"TimeContainer": {
"type": "structure",
"members": {
"foo": {
"shape": "TimestampType"
},
"bar": {
"shape": "TimestampFormatType"
"shape": "TimeType"
}
}
},
"TimestampFormatType": {
"timestampFormat": "iso8601",
"type": "timestamp"
},
"TimestampType": {
"type": "timestamp"
}
},
"cases": [
@@ -185,18 +171,15 @@
"name": "OperationName"
},
"result": {
"TimeArg": 1398796238,
"TimeCustom": 1398796238,
"TimeFormat": 1398796238,
"TimeMember": 1398796238,
"StructMember": {
"foo": 1398796238,
"bar": 1398796238
"foo": 1398796238
}
},
"response": {
"status_code": 200,
"headers": {},
"body": "{\"TimeArg\": 1398796238, \"TimeCustom\": \"Tue, 29 Apr 2014 18:30:38 GMT\", \"TimeFormat\": \"2014-04-29T18:30:38Z\", \"StructMember\": {\"foo\": 1398796238, \"bar\": \"2014-04-29T18:30:38Z\"}}"
"body": "{\"TimeMember\": 1398796238, \"StructMember\": {\"foo\": 1398796238}}"
}
}
]
@@ -413,11 +396,11 @@
}
},
"cases": [
{
{
"given": {
"output": {
"shape": "OutputShape"
},
},
"name": "OperationName"
},
"result": {

View File

@@ -774,7 +774,7 @@
]
},
{
"description": "Timestamp members",
"description": "Enum output",
"metadata": {
"protocol": "query"
},
@@ -782,38 +782,24 @@
"OutputShape": {
"type": "structure",
"members": {
"TimeArg": {
"shape": "TimestampType"
"FooEnum": {
"shape": "EC2EnumType"
},
"TimeCustom": {
"timestampFormat": "rfc822",
"shape": "TimestampType"
},
"TimeFormat": {
"shape": "TimestampFormatType"
},
"StructMember": {
"shape": "TimeContainer"
"ListEnums": {
"shape": "EC2EnumList"
}
}
},
"TimeContainer": {
"type": "structure",
"members": {
"foo": {
"shape": "TimestampType"
},
"bar": {
"shape": "TimestampFormatType"
}
}
"EC2EnumType":{
"type":"string",
"enum":[
"foo",
"bar"
]
},
"TimestampFormatType": {
"timestampFormat": "unixTimestamp",
"type": "timestamp"
},
"TimestampType": {
"type": "timestamp"
"EC2EnumList":{
"type":"list",
"member": {"shape": "EC2EnumType"}
}
},
"cases": [
@@ -825,18 +811,13 @@
"name": "OperationName"
},
"result": {
"TimeArg": 1398796238,
"TimeCustom": 1398796238,
"TimeFormat": 1398796238,
"StructMember": {
"foo": 1398796238,
"bar": 1398796238
}
"FooEnum": "foo",
"ListEnums": ["foo", "bar"]
},
"response": {
"status_code": 200,
"headers": {},
"body": "<OperationNameResponse><StructMember><foo>2014-04-29T18:30:38Z</foo><bar>1398796238</bar></StructMember><TimeArg>2014-04-29T18:30:38Z</TimeArg><TimeCustom>Tue, 29 Apr 2014 18:30:38 GMT</TimeCustom><TimeFormat>1398796238</TimeFormat><RequestId>requestid</RequestId></OperationNameResponse>"
"body": "<OperationNameResponse><FooEnum>foo</FooEnum><ListEnums><member>foo</member><member>bar</member></ListEnums></OperationNameResponse>"
}
}
]

View File

@@ -166,54 +166,24 @@
"OutputShape": {
"type": "structure",
"members": {
"TimeArg": {
"shape": "TimestampType"
},
"TimeArgInHeader": {
"shape": "TimestampType",
"location": "header",
"locationName": "x-amz-timearg"
},
"TimeCustom": {
"timestampFormat": "rfc822",
"shape": "TimestampType"
},
"TimeCustomInHeader": {
"timestampFormat": "unixTimestamp",
"shape": "TimestampType",
"location": "header",
"locationName": "x-amz-timecustom"
},
"TimeFormat": {
"shape": "TimestampFormatType"
},
"TimeFormatInHeader": {
"shape": "TimestampFormatType",
"location": "header",
"locationName": "x-amz-timeformat"
"TimeMember": {
"shape": "TimeType"
},
"StructMember": {
"shape": "TimeContainer"
}
}
},
"TimeType": {
"type": "timestamp"
},
"TimeContainer": {
"type": "structure",
"members": {
"foo": {
"shape": "TimestampType"
},
"bar": {
"shape": "TimestampFormatType"
"shape": "TimeType"
}
}
},
"TimestampFormatType": {
"timestampFormat": "iso8601",
"type": "timestamp"
},
"TimestampType": {
"type": "timestamp"
}
},
"cases": [
@@ -225,25 +195,15 @@
"name": "OperationName"
},
"result": {
"TimeArg": 1398796238,
"TimeArgInHeader": 1398796238,
"TimeCustom": 1398796238,
"TimeCustomInHeader": 1398796238,
"TimeFormat": 1398796238,
"TimeFormatInHeader": 1398796238,
"TimeMember": 1398796238,
"StructMember": {
"foo": 1398796238,
"bar": 1398796238
"foo": 1398796238
}
},
"response": {
"status_code": 200,
"headers": {
"x-amz-timearg": "Tue, 29 Apr 2014 18:30:38 GMT",
"x-amz-timecustom": "1398796238",
"x-amz-timeformat": "2014-04-29T18:30:38Z"
},
"body": "{\"TimeArg\": 1398796238, \"TimeCustom\": \"Tue, 29 Apr 2014 18:30:38 GMT\", \"TimeFormat\": \"2014-04-29T18:30:38Z\", \"StructMember\": {\"foo\": 1398796238, \"bar\": \"2014-04-29T18:30:38Z\"}}"
"headers": {},
"body": "{\"TimeMember\": 1398796238, \"StructMember\": {\"foo\": 1398796238}}"
}
}
]
@@ -713,6 +673,21 @@
"headers": {},
"body": "{\"BodyListField\":[\"{\\\"Foo\\\":\\\"Bar\\\"}\"]}"
}
},
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
},
"response": {
"status_code": 200,
"headers": {},
"body": ""
}
}
]
},

View File

@@ -42,6 +42,12 @@
},
"Timestamp": {
"shape": "TimestampType"
},
"Blobs": {
"shape": "Blobs"
},
"Timestamps": {
"shape": "Timestamps"
}
}
},
@@ -76,6 +82,17 @@
},
"TimestampType": {
"type": "timestamp"
},
"BlobType": {
"type": "blob"
},
"Blobs": {
"type":"list",
"member":{"shape":"BlobType"}
},
"Timestamps":{
"type":"list",
"member":{"shape":"TimestampType"}
}
},
"cases": [
@@ -136,6 +153,23 @@
},
"body": "<OperationNameResponse><Str></Str><FooNum>123</FooNum><FalseBool>false</FalseBool><TrueBool>true</TrueBool><Float>1.2</Float><Double>1.3</Double><Long>200</Long><Char>a</Char><Timestamp>2015-01-25T08:00:00Z</Timestamp></OperationNameResponse>"
}
},
{
"given": {
"output": {
"shape": "OutputShape"
},
"name": "OperationName"
},
"result": {
"Blobs": ["value", "value2"],
"Timestamps": [1422172800, 1422172801]
},
"response": {
"status_code": 200,
"headers": {},
"body": "<OperationNameResponse><Blobs><member>dmFsdWU=</member><member>dmFsdWUy</member></Blobs><Timestamps><member>2015-01-25T08:00:00Z</member><member>2015-01-25T08:00:01Z</member></Timestamps></OperationNameResponse>"
}
}
]
},
@@ -718,7 +752,7 @@
]
},
{
"description": "Timestamp members",
"description": "Enum",
"metadata": {
"protocol": "rest-xml"
},
@@ -726,54 +760,31 @@
"OutputShape": {
"type": "structure",
"members": {
"TimeArg": {
"shape": "TimestampType"
},
"TimeArgInHeader": {
"shape": "TimestampType",
"HeaderEnum": {
"shape": "RESTJSONEnumType",
"location": "header",
"locationName": "x-amz-timearg"
"locationName": "x-amz-enum"
},
"TimeCustom": {
"timestampFormat": "rfc822",
"shape": "TimestampType"
"FooEnum": {
"shape": "RESTJSONEnumType"
},
"TimeCustomInHeader": {
"timestampFormat": "unixTimestamp",
"shape": "TimestampType",
"location": "header",
"locationName": "x-amz-timecustom"
},
"TimeFormat": {
"shape": "TimestampFormatType"
},
"TimeFormatInHeader": {
"shape": "TimestampFormatType",
"location": "header",
"locationName": "x-amz-timeformat"
},
"StructMember": {
"shape": "TimeContainer"
"ListEnums": {
"shape": "EnumList"
}
}
},
"TimeContainer": {
"type": "structure",
"members": {
"foo": {
"shape": "TimestampType"
},
"bar": {
"shape": "TimestampFormatType"
}
}
"RESTJSONEnumType":{
"type":"string",
"enum":[
"foo",
"bar",
"0",
"1"
]
},
"TimestampFormatType": {
"timestampFormat": "unixTimestamp",
"type": "timestamp"
},
"TimestampType": {
"type": "timestamp"
"EnumList":{
"type":"list",
"member": {"shape": "RESTJSONEnumType"}
}
},
"cases": [
@@ -782,28 +793,121 @@
"output": {
"shape": "OutputShape"
},
"http": {
"method": "POST",
"requestUri": "/path"
},
"name": "OperationName"
},
"result": {
"TimeArg": 1398796238,
"TimeArgInHeader": 1398796238,
"TimeCustom": 1398796238,
"TimeCustomInHeader": 1398796238,
"TimeFormat": 1398796238,
"TimeFormatInHeader": 1398796238,
"StructMember": {
"foo": 1398796238,
"bar": 1398796238
}
"HeaderEnum": "baz",
"FooEnum": "foo",
"ListEnums": ["0", "1"]
},
"response": {
"status_code": 200,
"headers": {
"x-amz-timearg": "Tue, 29 Apr 2014 18:30:38 GMT",
"x-amz-timecustom": "1398796238",
"x-amz-timeformat": "1398796238"
"headers": {"x-amz-enum": "baz"},
"body": "<OperationNameResponse><FooEnum>foo</FooEnum><ListEnums><member>0</member><member>1</member></ListEnums></OperationNameResponse>"
}
},
{
"given": {
"input": {
"shape": "OutputShape"
},
"body": "<OperationNameResponse><StructMember><foo>2014-04-29T18:30:38Z</foo><bar>1398796238</bar></StructMember><TimeArg>2014-04-29T18:30:38Z</TimeArg><TimeCustom>Tue, 29 Apr 2014 18:30:38 GMT</TimeCustom><TimeFormat>1398796238</TimeFormat><RequestId>requestid</RequestId></OperationNameResponse>"
"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>"
}
}
]