mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-05-08 22:30:41 +00:00
Update Go AWS SDK to the latest version
This commit is contained in:
committed by
Andrey Smirnov
parent
d08be990ef
commit
94a72b23ff
+732
-30
File diff suppressed because it is too large
Load Diff
+1345
-1017
File diff suppressed because it is too large
Load Diff
+176
-176
@@ -289,6 +289,24 @@
|
||||
}
|
||||
],
|
||||
"DeleteObjectTagging": [
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "HappyFace.jpg"
|
||||
},
|
||||
"output": {
|
||||
"VersionId": "null"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
|
||||
"id": "to-remove-tag-set-from-an-object-1483145342862",
|
||||
"title": "To remove tag set from an object"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
@@ -307,24 +325,6 @@
|
||||
"description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
|
||||
"id": "to-remove-tag-set-from-an-object-version-1483145285913",
|
||||
"title": "To remove tag set from an object version"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "HappyFace.jpg"
|
||||
},
|
||||
"output": {
|
||||
"VersionId": "null"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
|
||||
"id": "to-remove-tag-set-from-an-object-1483145342862",
|
||||
"title": "To remove tag set from an object"
|
||||
}
|
||||
],
|
||||
"DeleteObjects": [
|
||||
@@ -837,6 +837,31 @@
|
||||
}
|
||||
],
|
||||
"GetObjectTagging": [
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "exampleobject",
|
||||
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
||||
},
|
||||
"output": {
|
||||
"TagSet": [
|
||||
{
|
||||
"Key": "Key1",
|
||||
"Value": "Value1"
|
||||
}
|
||||
],
|
||||
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example retrieves tag set of an object. The request specifies object version.",
|
||||
"id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
|
||||
"title": "To retrieve tag set of a specific object version"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
@@ -864,31 +889,6 @@
|
||||
"description": "The following example retrieves tag set of an object.",
|
||||
"id": "to-retrieve-tag-set-of-an-object-1481833847896",
|
||||
"title": "To retrieve tag set of an object"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "exampleobject",
|
||||
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
||||
},
|
||||
"output": {
|
||||
"TagSet": [
|
||||
{
|
||||
"Key": "Key1",
|
||||
"Value": "Value1"
|
||||
}
|
||||
],
|
||||
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example retrieves tag set of an object. The request specifies object version.",
|
||||
"id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
|
||||
"title": "To retrieve tag set of a specific object version"
|
||||
}
|
||||
],
|
||||
"GetObjectTorrent": [
|
||||
@@ -987,52 +987,6 @@
|
||||
}
|
||||
],
|
||||
"ListMultipartUploads": [
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket"
|
||||
},
|
||||
"output": {
|
||||
"Uploads": [
|
||||
{
|
||||
"Initiated": "2014-05-01T05:40:58.000Z",
|
||||
"Initiator": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"Key": "JavaFile",
|
||||
"Owner": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"StorageClass": "STANDARD",
|
||||
"UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
|
||||
},
|
||||
{
|
||||
"Initiated": "2014-05-01T05:41:27.000Z",
|
||||
"Initiator": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"Key": "JavaFile",
|
||||
"Owner": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"StorageClass": "STANDARD",
|
||||
"UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example lists in-progress multipart uploads on a specific bucket.",
|
||||
"id": "to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260",
|
||||
"title": "To list in-progress multipart uploads on a bucket"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
@@ -1088,6 +1042,52 @@
|
||||
"description": "The following example specifies the upload-id-marker and key-marker from previous truncated response to retrieve next setup of multipart uploads.",
|
||||
"id": "list-next-set-of-multipart-uploads-when-previous-result-is-truncated-1482428106748",
|
||||
"title": "List next set of multipart uploads when previous result is truncated"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket"
|
||||
},
|
||||
"output": {
|
||||
"Uploads": [
|
||||
{
|
||||
"Initiated": "2014-05-01T05:40:58.000Z",
|
||||
"Initiator": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"Key": "JavaFile",
|
||||
"Owner": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"StorageClass": "STANDARD",
|
||||
"UploadId": "examplelUa.CInXklLQtSMJITdUnoZ1Y5GACB5UckOtspm5zbDMCkPF_qkfZzMiFZ6dksmcnqxJyIBvQMG9X9Q--"
|
||||
},
|
||||
{
|
||||
"Initiated": "2014-05-01T05:41:27.000Z",
|
||||
"Initiator": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"Key": "JavaFile",
|
||||
"Owner": {
|
||||
"DisplayName": "display-name",
|
||||
"ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31bebcc"
|
||||
},
|
||||
"StorageClass": "STANDARD",
|
||||
"UploadId": "examplelo91lv1iwvWpvCiJWugw2xXLPAD7Z8cJyX9.WiIRgNrdG6Ldsn.9FtS63TCl1Uf5faTB.1U5Ckcbmdw--"
|
||||
}
|
||||
]
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example lists in-progress multipart uploads on a specific bucket.",
|
||||
"id": "to-list-in-progress-multipart-uploads-on-a-bucket-1481852775260",
|
||||
"title": "To list in-progress multipart uploads on a bucket"
|
||||
}
|
||||
],
|
||||
"ListObjectVersions": [
|
||||
@@ -1565,29 +1565,6 @@
|
||||
}
|
||||
],
|
||||
"PutObject": [
|
||||
{
|
||||
"input": {
|
||||
"Body": "filetoupload",
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "exampleobject",
|
||||
"ServerSideEncryption": "AES256",
|
||||
"Tagging": "key1=value1&key2=value2"
|
||||
},
|
||||
"output": {
|
||||
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
||||
"ServerSideEncryption": "AES256",
|
||||
"VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example uploads and object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
|
||||
"id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
|
||||
"title": "To upload an object and specify server-side encryption and object tags"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"ACL": "authenticated-read",
|
||||
@@ -1609,46 +1586,6 @@
|
||||
"id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
|
||||
"title": "To upload an object and specify canned ACL."
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "HappyFace.jpg",
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "HappyFace.jpg"
|
||||
},
|
||||
"output": {
|
||||
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
||||
"VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
|
||||
"id": "to-upload-an-object-1481760101010",
|
||||
"title": "To upload an object"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "filetoupload",
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "objectkey"
|
||||
},
|
||||
"output": {
|
||||
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
||||
"VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
|
||||
"id": "to-create-an-object-1483147613675",
|
||||
"title": "To create an object."
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "c:\\HappyFace.jpg",
|
||||
@@ -1694,6 +1631,69 @@
|
||||
"id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
|
||||
"title": "To upload object and specify user-defined metadata"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "filetoupload",
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "exampleobject",
|
||||
"ServerSideEncryption": "AES256",
|
||||
"Tagging": "key1=value1&key2=value2"
|
||||
},
|
||||
"output": {
|
||||
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
||||
"ServerSideEncryption": "AES256",
|
||||
"VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example uploads and object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
|
||||
"id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
|
||||
"title": "To upload an object and specify server-side encryption and object tags"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "filetoupload",
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "objectkey"
|
||||
},
|
||||
"output": {
|
||||
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
||||
"VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
|
||||
"id": "to-create-an-object-1483147613675",
|
||||
"title": "To create an object."
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "HappyFace.jpg",
|
||||
"Bucket": "examplebucket",
|
||||
"Key": "HappyFace.jpg"
|
||||
},
|
||||
"output": {
|
||||
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
||||
"VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
|
||||
"id": "to-upload-an-object-1481760101010",
|
||||
"title": "To upload an object"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Body": "HappyFace.jpg",
|
||||
@@ -1822,6 +1822,30 @@
|
||||
}
|
||||
],
|
||||
"UploadPartCopy": [
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
"CopySource": "/bucketname/sourceobjectkey",
|
||||
"Key": "examplelargeobject",
|
||||
"PartNumber": "1",
|
||||
"UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
||||
},
|
||||
"output": {
|
||||
"CopyPartResult": {
|
||||
"ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
||||
"LastModified": "2016-12-29T21:24:43.000Z"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
|
||||
"id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
|
||||
"title": "To upload a part by copying data from an existing object as data source"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
@@ -1846,30 +1870,6 @@
|
||||
"description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
|
||||
"id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
|
||||
"title": "To upload a part by copying byte range from an existing object as data source"
|
||||
},
|
||||
{
|
||||
"input": {
|
||||
"Bucket": "examplebucket",
|
||||
"CopySource": "/bucketname/sourceobjectkey",
|
||||
"Key": "examplelargeobject",
|
||||
"PartNumber": "1",
|
||||
"UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
||||
},
|
||||
"output": {
|
||||
"CopyPartResult": {
|
||||
"ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
||||
"LastModified": "2016-12-29T21:24:43.000Z"
|
||||
}
|
||||
},
|
||||
"comments": {
|
||||
"input": {
|
||||
},
|
||||
"output": {
|
||||
}
|
||||
},
|
||||
"description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
|
||||
"id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
|
||||
"title": "To upload a part by copying data from an existing object as data source"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user