mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-07 22:20:24 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+68
@@ -451,6 +451,74 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Timestamp members",
|
||||
"metadata": {
|
||||
"protocol": "ec2"
|
||||
},
|
||||
"shapes": {
|
||||
"OutputShape": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimeArg": {
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"TimeCustom": {
|
||||
"timestampFormat": "rfc822",
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"TimeFormat": {
|
||||
"shape": "TimestampFormatType"
|
||||
},
|
||||
"StructMember": {
|
||||
"shape": "TimeContainer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimeContainer": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"foo": {
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"bar": {
|
||||
"shape": "TimestampFormatType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimestampFormatType": {
|
||||
"timestampFormat": "unixTimestamp",
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimestampType": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
"TimeArg": 1398796238,
|
||||
"TimeCustom": 1398796238,
|
||||
"TimeFormat": 1398796238,
|
||||
"StructMember": {
|
||||
"foo": 1398796238,
|
||||
"bar": 1398796238
|
||||
}
|
||||
},
|
||||
"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>"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Enum output",
|
||||
"metadata": {
|
||||
|
||||
+86
-9
@@ -142,24 +142,38 @@
|
||||
"OutputShape": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimeMember": {
|
||||
"shape": "TimeType"
|
||||
"TimeArg": {
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"TimeCustom": {
|
||||
"timestampFormat": "rfc822",
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"TimeFormat": {
|
||||
"shape": "TimestampFormatType"
|
||||
},
|
||||
"StructMember": {
|
||||
"shape": "TimeContainer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimeType": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimeContainer": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"foo": {
|
||||
"shape": "TimeType"
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"bar": {
|
||||
"shape": "TimestampFormatType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimestampFormatType": {
|
||||
"timestampFormat": "iso8601",
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimestampType": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
@@ -171,15 +185,18 @@
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
"TimeMember": 1398796238,
|
||||
"TimeArg": 1398796238,
|
||||
"TimeCustom": 1398796238,
|
||||
"TimeFormat": 1398796238,
|
||||
"StructMember": {
|
||||
"foo": 1398796238
|
||||
"foo": 1398796238,
|
||||
"bar": 1398796238
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": "{\"TimeMember\": 1398796238, \"StructMember\": {\"foo\": 1398796238}}"
|
||||
"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\"}}"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -414,5 +431,65 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "unmodeled non-json response payload",
|
||||
"metadata": {
|
||||
"protocol": "json"
|
||||
},
|
||||
"shapes": {
|
||||
"OutputShape": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": "success"
|
||||
}
|
||||
},
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": "\"success\""
|
||||
}
|
||||
},
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": "{}"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
+68
@@ -773,6 +773,74 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Timestamp members",
|
||||
"metadata": {
|
||||
"protocol": "query"
|
||||
},
|
||||
"shapes": {
|
||||
"OutputShape": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimeArg": {
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"TimeCustom": {
|
||||
"timestampFormat": "rfc822",
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"TimeFormat": {
|
||||
"shape": "TimestampFormatType"
|
||||
},
|
||||
"StructMember": {
|
||||
"shape": "TimeContainer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimeContainer": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"foo": {
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"bar": {
|
||||
"shape": "TimestampFormatType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimestampFormatType": {
|
||||
"timestampFormat": "unixTimestamp",
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimestampType": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
"TimeArg": 1398796238,
|
||||
"TimeCustom": 1398796238,
|
||||
"TimeFormat": 1398796238,
|
||||
"StructMember": {
|
||||
"foo": 1398796238,
|
||||
"bar": 1398796238
|
||||
}
|
||||
},
|
||||
"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>"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Enum output",
|
||||
"metadata": {
|
||||
|
||||
+70
-25
@@ -166,24 +166,54 @@
|
||||
"OutputShape": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"TimeMember": {
|
||||
"shape": "TimeType"
|
||||
"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"
|
||||
},
|
||||
"StructMember": {
|
||||
"shape": "TimeContainer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimeType": {
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimeContainer": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"foo": {
|
||||
"shape": "TimeType"
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"bar": {
|
||||
"shape": "TimestampFormatType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimestampFormatType": {
|
||||
"timestampFormat": "iso8601",
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimestampType": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
@@ -195,15 +225,25 @@
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
"TimeMember": 1398796238,
|
||||
"TimeArg": 1398796238,
|
||||
"TimeArgInHeader": 1398796238,
|
||||
"TimeCustom": 1398796238,
|
||||
"TimeCustomInHeader": 1398796238,
|
||||
"TimeFormat": 1398796238,
|
||||
"TimeFormatInHeader": 1398796238,
|
||||
"StructMember": {
|
||||
"foo": 1398796238
|
||||
"foo": 1398796238,
|
||||
"bar": 1398796238
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": "{\"TimeMember\": 1398796238, \"StructMember\": {\"foo\": 1398796238}}"
|
||||
"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\"}}"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -447,6 +487,26 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Ignores undefined output",
|
||||
"metadata": {
|
||||
"protocol": "rest-json"
|
||||
},
|
||||
"shapes": {},
|
||||
"cases": [
|
||||
{
|
||||
"given": {
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": "OK"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Supports header maps",
|
||||
"metadata": {
|
||||
@@ -673,21 +733,6 @@
|
||||
"headers": {},
|
||||
"body": "{\"BodyListField\":[\"{\\\"Foo\\\":\\\"Bar\\\"}\"]}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {},
|
||||
"body": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
+91
@@ -717,6 +717,97 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Timestamp members",
|
||||
"metadata": {
|
||||
"protocol": "rest-xml"
|
||||
},
|
||||
"shapes": {
|
||||
"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"
|
||||
},
|
||||
"StructMember": {
|
||||
"shape": "TimeContainer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimeContainer": {
|
||||
"type": "structure",
|
||||
"members": {
|
||||
"foo": {
|
||||
"shape": "TimestampType"
|
||||
},
|
||||
"bar": {
|
||||
"shape": "TimestampFormatType"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TimestampFormatType": {
|
||||
"timestampFormat": "unixTimestamp",
|
||||
"type": "timestamp"
|
||||
},
|
||||
"TimestampType": {
|
||||
"type": "timestamp"
|
||||
}
|
||||
},
|
||||
"cases": [
|
||||
{
|
||||
"given": {
|
||||
"output": {
|
||||
"shape": "OutputShape"
|
||||
},
|
||||
"name": "OperationName"
|
||||
},
|
||||
"result": {
|
||||
"TimeArg": 1398796238,
|
||||
"TimeArgInHeader": 1398796238,
|
||||
"TimeCustom": 1398796238,
|
||||
"TimeCustomInHeader": 1398796238,
|
||||
"TimeFormat": 1398796238,
|
||||
"TimeFormatInHeader": 1398796238,
|
||||
"StructMember": {
|
||||
"foo": 1398796238,
|
||||
"bar": 1398796238
|
||||
}
|
||||
},
|
||||
"response": {
|
||||
"status_code": 200,
|
||||
"headers": {
|
||||
"x-amz-timearg": "Tue, 29 Apr 2014 18:30:38 GMT",
|
||||
"x-amz-timecustom": "1398796238",
|
||||
"x-amz-timeformat": "1398796238"
|
||||
},
|
||||
"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>"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Enum",
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user