Skip to content

Commit de0cb11

Browse files
Change the type of MpuObjectSize in CompleteMultipartUploadRequest from int to long.
1 parent 9066bdb commit de0cb11

File tree

3 files changed

+78
-78
lines changed

3 files changed

+78
-78
lines changed

generator/ServiceModels/s3/s3-2006-03-01.api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6343,7 +6343,7 @@
63436343
"box":true
63446344
},
63456345
"MissingMeta":{"type":"integer"},
6346-
"MpuObjectSize":{"type":"integer"},
6346+
"MpuObjectSize":{"type":"long"},
63476347
"MultipartUpload":{
63486348
"type":"structure",
63496349
"members":{

generator/ServiceModels/s3/s3-2006-03-01.examples.json

Lines changed: 76 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -84,40 +84,40 @@
8484
"CreateBucket": [
8585
{
8686
"input": {
87-
"Bucket": "examplebucket",
88-
"CreateBucketConfiguration": {
89-
"LocationConstraint": "eu-west-1"
90-
}
87+
"Bucket": "examplebucket"
9188
},
9289
"output": {
93-
"Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
90+
"Location": "/examplebucket"
9491
},
9592
"comments": {
9693
"input": {
9794
},
9895
"output": {
9996
}
10097
},
101-
"description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
102-
"id": "to-create-a-bucket-in-a-specific-region-1483399072992",
103-
"title": "To create a bucket in a specific region"
98+
"description": "The following example creates a bucket.",
99+
"id": "to-create-a-bucket--1472851826060",
100+
"title": "To create a bucket "
104101
},
105102
{
106103
"input": {
107-
"Bucket": "examplebucket"
104+
"Bucket": "examplebucket",
105+
"CreateBucketConfiguration": {
106+
"LocationConstraint": "eu-west-1"
107+
}
108108
},
109109
"output": {
110-
"Location": "/examplebucket"
110+
"Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
111111
},
112112
"comments": {
113113
"input": {
114114
},
115115
"output": {
116116
}
117117
},
118-
"description": "The following example creates a bucket.",
119-
"id": "to-create-a-bucket--1472851826060",
120-
"title": "To create a bucket "
118+
"description": "The following example creates a bucket. The request specifies an AWS region where to create the bucket.",
119+
"id": "to-create-a-bucket-in-a-specific-region-1483399072992",
120+
"title": "To create a bucket in a specific region"
121121
}
122122
],
123123
"CreateMultipartUpload": [
@@ -257,35 +257,35 @@
257257
"DeleteObject": [
258258
{
259259
"input": {
260-
"Bucket": "examplebucket",
261-
"Key": "objectkey.jpg"
262-
},
263-
"output": {
260+
"Bucket": "ExampleBucket",
261+
"Key": "HappyFace.jpg"
264262
},
265263
"comments": {
266264
"input": {
267265
},
268266
"output": {
269267
}
270268
},
271-
"description": "The following example deletes an object from an S3 bucket.",
272-
"id": "to-delete-an-object-1472850136595",
273-
"title": "To delete an object"
269+
"description": "The following example deletes an object from a non-versioned bucket.",
270+
"id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
271+
"title": "To delete an object (from a non-versioned bucket)"
274272
},
275273
{
276274
"input": {
277-
"Bucket": "ExampleBucket",
278-
"Key": "HappyFace.jpg"
275+
"Bucket": "examplebucket",
276+
"Key": "objectkey.jpg"
277+
},
278+
"output": {
279279
},
280280
"comments": {
281281
"input": {
282282
},
283283
"output": {
284284
}
285285
},
286-
"description": "The following example deletes an object from a non-versioned bucket.",
287-
"id": "to-delete-an-object-from-a-non-versioned-bucket-1481588533089",
288-
"title": "To delete an object (from a non-versioned bucket)"
286+
"description": "The following example deletes an object from an S3 bucket.",
287+
"id": "to-delete-an-object-1472850136595",
288+
"title": "To delete an object"
289289
}
290290
],
291291
"DeleteObjectTagging": [
@@ -334,12 +334,10 @@
334334
"Delete": {
335335
"Objects": [
336336
{
337-
"Key": "HappyFace.jpg",
338-
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
337+
"Key": "objectkey1"
339338
},
340339
{
341-
"Key": "HappyFace.jpg",
342-
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
340+
"Key": "objectkey2"
343341
}
344342
],
345343
"Quiet": false
@@ -348,12 +346,14 @@
348346
"output": {
349347
"Deleted": [
350348
{
351-
"Key": "HappyFace.jpg",
352-
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
349+
"DeleteMarker": "true",
350+
"DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
351+
"Key": "objectkey1"
353352
},
354353
{
355-
"Key": "HappyFace.jpg",
356-
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
354+
"DeleteMarker": "true",
355+
"DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
356+
"Key": "objectkey2"
357357
}
358358
]
359359
},
@@ -363,20 +363,22 @@
363363
"output": {
364364
}
365365
},
366-
"description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
367-
"id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
368-
"title": "To delete multiple object versions from a versioned bucket"
366+
"description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
367+
"id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
368+
"title": "To delete multiple objects from a versioned bucket"
369369
},
370370
{
371371
"input": {
372372
"Bucket": "examplebucket",
373373
"Delete": {
374374
"Objects": [
375375
{
376-
"Key": "objectkey1"
376+
"Key": "HappyFace.jpg",
377+
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
377378
},
378379
{
379-
"Key": "objectkey2"
380+
"Key": "HappyFace.jpg",
381+
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
380382
}
381383
],
382384
"Quiet": false
@@ -385,14 +387,12 @@
385387
"output": {
386388
"Deleted": [
387389
{
388-
"DeleteMarker": "true",
389-
"DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
390-
"Key": "objectkey1"
390+
"Key": "HappyFace.jpg",
391+
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
391392
},
392393
{
393-
"DeleteMarker": "true",
394-
"DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
395-
"Key": "objectkey2"
394+
"Key": "HappyFace.jpg",
395+
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
396396
}
397397
]
398398
},
@@ -402,9 +402,9 @@
402402
"output": {
403403
}
404404
},
405-
"description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
406-
"id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
407-
"title": "To delete multiple objects from a versioned bucket"
405+
"description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
406+
"id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
407+
"title": "To delete multiple object versions from a versioned bucket"
408408
}
409409
],
410410
"GetBucketCors": [
@@ -1587,91 +1587,91 @@
15871587
},
15881588
{
15891589
"input": {
1590-
"Body": "HappyFace.jpg",
1590+
"Body": "c:\\HappyFace.jpg",
15911591
"Bucket": "examplebucket",
1592-
"Key": "HappyFace.jpg"
1592+
"Key": "HappyFace.jpg",
1593+
"Tagging": "key1=value1&key2=value2"
15931594
},
15941595
"output": {
15951596
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1596-
"VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1597+
"VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
15971598
},
15981599
"comments": {
15991600
"input": {
16001601
},
16011602
"output": {
16021603
}
16031604
},
1604-
"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.",
1605-
"id": "to-upload-an-object-1481760101010",
1606-
"title": "To upload an object"
1605+
"description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
1606+
"id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1607+
"title": "To upload an object and specify optional tags"
16071608
},
16081609
{
16091610
"input": {
16101611
"Body": "filetoupload",
16111612
"Bucket": "examplebucket",
16121613
"Key": "exampleobject",
1613-
"ServerSideEncryption": "AES256",
1614-
"Tagging": "key1=value1&key2=value2"
1614+
"Metadata": {
1615+
"metadata1": "value1",
1616+
"metadata2": "value2"
1617+
}
16151618
},
16161619
"output": {
16171620
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1618-
"ServerSideEncryption": "AES256",
1619-
"VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1621+
"VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
16201622
},
16211623
"comments": {
16221624
"input": {
16231625
},
16241626
"output": {
16251627
}
16261628
},
1627-
"description": "The following example uploads an 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.",
1628-
"id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1629-
"title": "To upload an object and specify server-side encryption and object tags"
1629+
"description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1630+
"id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1631+
"title": "To upload object and specify user-defined metadata"
16301632
},
16311633
{
16321634
"input": {
1633-
"Body": "filetoupload",
1635+
"Body": "HappyFace.jpg",
16341636
"Bucket": "examplebucket",
1635-
"Key": "exampleobject",
1636-
"Metadata": {
1637-
"metadata1": "value1",
1638-
"metadata2": "value2"
1639-
}
1637+
"Key": "HappyFace.jpg"
16401638
},
16411639
"output": {
16421640
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1643-
"VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
1641+
"VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
16441642
},
16451643
"comments": {
16461644
"input": {
16471645
},
16481646
"output": {
16491647
}
16501648
},
1651-
"description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
1652-
"id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
1653-
"title": "To upload object and specify user-defined metadata"
1649+
"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.",
1650+
"id": "to-upload-an-object-1481760101010",
1651+
"title": "To upload an object"
16541652
},
16551653
{
16561654
"input": {
1657-
"Body": "c:\\HappyFace.jpg",
1655+
"Body": "filetoupload",
16581656
"Bucket": "examplebucket",
1659-
"Key": "HappyFace.jpg",
1657+
"Key": "exampleobject",
1658+
"ServerSideEncryption": "AES256",
16601659
"Tagging": "key1=value1&key2=value2"
16611660
},
16621661
"output": {
16631662
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1664-
"VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
1663+
"ServerSideEncryption": "AES256",
1664+
"VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
16651665
},
16661666
"comments": {
16671667
"input": {
16681668
},
16691669
"output": {
16701670
}
16711671
},
1672-
"description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
1673-
"id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
1674-
"title": "To upload an object and specify optional tags"
1672+
"description": "The following example uploads an 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.",
1673+
"id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1674+
"title": "To upload an object and specify server-side encryption and object tags"
16751675
},
16761676
{
16771677
"input": {

generator/ServiceModels/s3/s3-2006-03-01.normal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7934,7 +7934,7 @@
79347934
"box":true
79357935
},
79367936
"MissingMeta":{"type":"integer"},
7937-
"MpuObjectSize":{"type":"integer"},
7937+
"MpuObjectSize":{"type":"long"},
79387938
"MultipartUpload":{
79397939
"type":"structure",
79407940
"members":{

0 commit comments

Comments
 (0)