aws-sdk-core 2.11.171 → 2.11.172
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/apis/codebuild/2016-10-06/api-2.json +8 -1
- data/apis/comprehend/2017-11-27/api-2.json +365 -1
- data/apis/directconnect/2012-10-25/api-2.json +18 -4
- data/apis/dms/2016-01-01/api-2.json +38 -5
- data/apis/dms/2016-01-01/waiters-2.json +5 -5
- data/apis/ecs/2014-11-13/api-2.json +348 -17
- data/apis/ecs/2014-11-13/examples-1.json +69 -0
- data/apis/iam/2010-05-08/api-2.json +224 -0
- data/apis/iam/2010-05-08/examples-1.json +148 -0
- data/apis/pinpoint/2016-12-01/api-2.json +254 -5
- data/apis/ram/2018-01-04/api-2.json +964 -0
- data/apis/ram/2018-01-04/examples-1.json +5 -0
- data/apis/ram/2018-01-04/paginators-1.json +34 -0
- data/apis/rds/2014-10-31/api-2.json +152 -10
- data/apis/rds/2014-10-31/paginators-1.json +6 -0
- data/apis/redshift/2012-12-01/api-2.json +499 -16
- data/apis/route53resolver/2018-04-01/api-2.json +1199 -0
- data/apis/route53resolver/2018-04-01/examples-1.json +5 -0
- data/apis/route53resolver/2018-04-01/paginators-1.json +24 -0
- data/apis/route53resolver/2018-04-01/smoke.json +18 -0
- data/apis/s3/2006-03-01/api-2.json +138 -0
- data/apis/s3/2006-03-01/examples-1.json +78 -78
- data/apis/s3control/2018-08-20/api-2.json +126 -0
- data/apis/s3control/2018-08-20/examples-1.json +5 -0
- data/apis/s3control/2018-08-20/paginators-1.json +4 -0
- data/apis/sms-voice/2018-09-05/api-2.json +559 -0
- data/apis/transcribe/2017-10-26/api-2.json +4 -1
- data/endpoints.json +200 -0
- data/lib/aws-sdk-core.rb +7 -0
- data/lib/aws-sdk-core/api/customizations.rb +7 -0
- data/lib/aws-sdk-core/pinpointsmsvoice.rb +4 -0
- data/lib/aws-sdk-core/plugins/s3_control_dns.rb +23 -0
- data/lib/aws-sdk-core/plugins/s3_control_dualstack.rb +48 -0
- data/lib/aws-sdk-core/plugins/s3_control_signer.rb +53 -0
- data/lib/aws-sdk-core/ram.rb +6 -0
- data/lib/aws-sdk-core/route53resolver.rb +6 -0
- data/lib/aws-sdk-core/s3control.rb +6 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- data/service-models.json +16 -0
- metadata +20 -2
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"pagination": {
|
3
|
+
"ListResolverEndpointIpAddresses": {
|
4
|
+
"input_token": "NextToken",
|
5
|
+
"output_token": "NextToken",
|
6
|
+
"limit_key": "MaxResults"
|
7
|
+
},
|
8
|
+
"ListResolverEndpoints": {
|
9
|
+
"input_token": "NextToken",
|
10
|
+
"output_token": "NextToken",
|
11
|
+
"limit_key": "MaxResults"
|
12
|
+
},
|
13
|
+
"ListResolverRuleAssociations": {
|
14
|
+
"input_token": "NextToken",
|
15
|
+
"output_token": "NextToken",
|
16
|
+
"limit_key": "MaxResults"
|
17
|
+
},
|
18
|
+
"ListResolverRules": {
|
19
|
+
"input_token": "NextToken",
|
20
|
+
"output_token": "NextToken",
|
21
|
+
"limit_key": "MaxResults"
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{
|
2
|
+
"version": 1,
|
3
|
+
"defaultRegion": "us-west-2",
|
4
|
+
"testCases": [
|
5
|
+
{
|
6
|
+
"operationName": "ListResolverEndpoints",
|
7
|
+
"input": {},
|
8
|
+
"errorExpectedFromService": false
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"operationName": "GetResolverRule",
|
12
|
+
"input": {
|
13
|
+
"ResolverRuleId": "fake-id"
|
14
|
+
},
|
15
|
+
"errorExpectedFromService": true
|
16
|
+
}
|
17
|
+
]
|
18
|
+
}
|
@@ -200,6 +200,14 @@
|
|
200
200
|
"documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/multiobjectdeleteapi.html",
|
201
201
|
"alias":"DeleteMultipleObjects"
|
202
202
|
},
|
203
|
+
"DeletePublicAccessBlock":{
|
204
|
+
"name":"DeletePublicAccessBlock",
|
205
|
+
"http":{
|
206
|
+
"method":"DELETE",
|
207
|
+
"requestUri":"/{Bucket}?publicAccessBlock"
|
208
|
+
},
|
209
|
+
"input":{"shape":"DeletePublicAccessBlockRequest"}
|
210
|
+
},
|
203
211
|
"GetBucketAccelerateConfiguration":{
|
204
212
|
"name":"GetBucketAccelerateConfiguration",
|
205
213
|
"http":{
|
@@ -335,6 +343,15 @@
|
|
335
343
|
"output":{"shape":"GetBucketPolicyOutput"},
|
336
344
|
"documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTBucketGETpolicy.html"
|
337
345
|
},
|
346
|
+
"GetBucketPolicyStatus":{
|
347
|
+
"name":"GetBucketPolicyStatus",
|
348
|
+
"http":{
|
349
|
+
"method":"GET",
|
350
|
+
"requestUri":"/{Bucket}?policyStatus"
|
351
|
+
},
|
352
|
+
"input":{"shape":"GetBucketPolicyStatusRequest"},
|
353
|
+
"output":{"shape":"GetBucketPolicyStatusOutput"}
|
354
|
+
},
|
338
355
|
"GetBucketReplication":{
|
339
356
|
"name":"GetBucketReplication",
|
340
357
|
"http":{
|
@@ -429,6 +446,15 @@
|
|
429
446
|
"output":{"shape":"GetObjectTorrentOutput"},
|
430
447
|
"documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGETtorrent.html"
|
431
448
|
},
|
449
|
+
"GetPublicAccessBlock":{
|
450
|
+
"name":"GetPublicAccessBlock",
|
451
|
+
"http":{
|
452
|
+
"method":"GET",
|
453
|
+
"requestUri":"/{Bucket}?publicAccessBlock"
|
454
|
+
},
|
455
|
+
"input":{"shape":"GetPublicAccessBlockRequest"},
|
456
|
+
"output":{"shape":"GetPublicAccessBlockOutput"}
|
457
|
+
},
|
432
458
|
"HeadBucket":{
|
433
459
|
"name":"HeadBucket",
|
434
460
|
"http":{
|
@@ -736,6 +762,14 @@
|
|
736
762
|
"input":{"shape":"PutObjectTaggingRequest"},
|
737
763
|
"output":{"shape":"PutObjectTaggingOutput"}
|
738
764
|
},
|
765
|
+
"PutPublicAccessBlock":{
|
766
|
+
"name":"PutPublicAccessBlock",
|
767
|
+
"http":{
|
768
|
+
"method":"PUT",
|
769
|
+
"requestUri":"/{Bucket}?publicAccessBlock"
|
770
|
+
},
|
771
|
+
"input":{"shape":"PutPublicAccessBlockRequest"}
|
772
|
+
},
|
739
773
|
"RestoreObject":{
|
740
774
|
"name":"RestoreObject",
|
741
775
|
"http":{
|
@@ -2058,6 +2092,17 @@
|
|
2058
2092
|
},
|
2059
2093
|
"payload":"Delete"
|
2060
2094
|
},
|
2095
|
+
"DeletePublicAccessBlockRequest":{
|
2096
|
+
"type":"structure",
|
2097
|
+
"required":["Bucket"],
|
2098
|
+
"members":{
|
2099
|
+
"Bucket":{
|
2100
|
+
"shape":"BucketName",
|
2101
|
+
"location":"uri",
|
2102
|
+
"locationName":"Bucket"
|
2103
|
+
}
|
2104
|
+
}
|
2105
|
+
},
|
2061
2106
|
"DeletedObject":{
|
2062
2107
|
"type":"structure",
|
2063
2108
|
"members":{
|
@@ -2462,6 +2507,24 @@
|
|
2462
2507
|
}
|
2463
2508
|
}
|
2464
2509
|
},
|
2510
|
+
"GetBucketPolicyStatusOutput":{
|
2511
|
+
"type":"structure",
|
2512
|
+
"members":{
|
2513
|
+
"PolicyStatus":{"shape":"PolicyStatus"}
|
2514
|
+
},
|
2515
|
+
"payload":"PolicyStatus"
|
2516
|
+
},
|
2517
|
+
"GetBucketPolicyStatusRequest":{
|
2518
|
+
"type":"structure",
|
2519
|
+
"required":["Bucket"],
|
2520
|
+
"members":{
|
2521
|
+
"Bucket":{
|
2522
|
+
"shape":"BucketName",
|
2523
|
+
"location":"uri",
|
2524
|
+
"locationName":"Bucket"
|
2525
|
+
}
|
2526
|
+
}
|
2527
|
+
},
|
2465
2528
|
"GetBucketReplicationOutput":{
|
2466
2529
|
"type":"structure",
|
2467
2530
|
"members":{
|
@@ -2924,6 +2987,24 @@
|
|
2924
2987
|
}
|
2925
2988
|
}
|
2926
2989
|
},
|
2990
|
+
"GetPublicAccessBlockOutput":{
|
2991
|
+
"type":"structure",
|
2992
|
+
"members":{
|
2993
|
+
"PublicAccessBlockConfiguration":{"shape":"PublicAccessBlockConfiguration"}
|
2994
|
+
},
|
2995
|
+
"payload":"PublicAccessBlockConfiguration"
|
2996
|
+
},
|
2997
|
+
"GetPublicAccessBlockRequest":{
|
2998
|
+
"type":"structure",
|
2999
|
+
"required":["Bucket"],
|
3000
|
+
"members":{
|
3001
|
+
"Bucket":{
|
3002
|
+
"shape":"BucketName",
|
3003
|
+
"location":"uri",
|
3004
|
+
"locationName":"Bucket"
|
3005
|
+
}
|
3006
|
+
}
|
3007
|
+
},
|
2927
3008
|
"GlacierJobParameters":{
|
2928
3009
|
"type":"structure",
|
2929
3010
|
"required":["Tier"],
|
@@ -3331,6 +3412,7 @@
|
|
3331
3412
|
},
|
3332
3413
|
"IsEnabled":{"type":"boolean"},
|
3333
3414
|
"IsLatest":{"type":"boolean"},
|
3415
|
+
"IsPublic":{"type":"boolean"},
|
3334
3416
|
"IsTruncated":{"type":"boolean"},
|
3335
3417
|
"JSONInput":{
|
3336
3418
|
"type":"structure",
|
@@ -4200,6 +4282,15 @@
|
|
4200
4282
|
]
|
4201
4283
|
},
|
4202
4284
|
"Policy":{"type":"string"},
|
4285
|
+
"PolicyStatus":{
|
4286
|
+
"type":"structure",
|
4287
|
+
"members":{
|
4288
|
+
"IsPublic":{
|
4289
|
+
"shape":"IsPublic",
|
4290
|
+
"locationName":"IsPublic"
|
4291
|
+
}
|
4292
|
+
}
|
4293
|
+
},
|
4203
4294
|
"Prefix":{"type":"string"},
|
4204
4295
|
"Priority":{"type":"integer"},
|
4205
4296
|
"Progress":{
|
@@ -4227,6 +4318,27 @@
|
|
4227
4318
|
"https"
|
4228
4319
|
]
|
4229
4320
|
},
|
4321
|
+
"PublicAccessBlockConfiguration":{
|
4322
|
+
"type":"structure",
|
4323
|
+
"members":{
|
4324
|
+
"BlockPublicAcls":{
|
4325
|
+
"shape":"Setting",
|
4326
|
+
"locationName":"BlockPublicAcls"
|
4327
|
+
},
|
4328
|
+
"IgnorePublicAcls":{
|
4329
|
+
"shape":"Setting",
|
4330
|
+
"locationName":"IgnorePublicAcls"
|
4331
|
+
},
|
4332
|
+
"BlockPublicPolicy":{
|
4333
|
+
"shape":"Setting",
|
4334
|
+
"locationName":"BlockPublicPolicy"
|
4335
|
+
},
|
4336
|
+
"RestrictPublicBuckets":{
|
4337
|
+
"shape":"Setting",
|
4338
|
+
"locationName":"RestrictPublicBuckets"
|
4339
|
+
}
|
4340
|
+
}
|
4341
|
+
},
|
4230
4342
|
"PutBucketAccelerateConfigurationRequest":{
|
4231
4343
|
"type":"structure",
|
4232
4344
|
"required":[
|
@@ -5002,6 +5114,31 @@
|
|
5002
5114
|
},
|
5003
5115
|
"payload":"Tagging"
|
5004
5116
|
},
|
5117
|
+
"PutPublicAccessBlockRequest":{
|
5118
|
+
"type":"structure",
|
5119
|
+
"required":[
|
5120
|
+
"Bucket",
|
5121
|
+
"PublicAccessBlockConfiguration"
|
5122
|
+
],
|
5123
|
+
"members":{
|
5124
|
+
"Bucket":{
|
5125
|
+
"shape":"BucketName",
|
5126
|
+
"location":"uri",
|
5127
|
+
"locationName":"Bucket"
|
5128
|
+
},
|
5129
|
+
"ContentMD5":{
|
5130
|
+
"shape":"ContentMD5",
|
5131
|
+
"location":"header",
|
5132
|
+
"locationName":"Content-MD5"
|
5133
|
+
},
|
5134
|
+
"PublicAccessBlockConfiguration":{
|
5135
|
+
"shape":"PublicAccessBlockConfiguration",
|
5136
|
+
"locationName":"PublicAccessBlockConfiguration",
|
5137
|
+
"xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
|
5138
|
+
}
|
5139
|
+
},
|
5140
|
+
"payload":"PublicAccessBlockConfiguration"
|
5141
|
+
},
|
5005
5142
|
"QueueArn":{"type":"string"},
|
5006
5143
|
"QueueConfiguration":{
|
5007
5144
|
"type":"structure",
|
@@ -5454,6 +5591,7 @@
|
|
5454
5591
|
"member":{"shape":"ServerSideEncryptionRule"},
|
5455
5592
|
"flattened":true
|
5456
5593
|
},
|
5594
|
+
"Setting":{"type":"boolean"},
|
5457
5595
|
"Size":{"type":"integer"},
|
5458
5596
|
"SourceSelectionCriteria":{
|
5459
5597
|
"type":"structure",
|
@@ -257,10 +257,8 @@
|
|
257
257
|
"DeleteObject": [
|
258
258
|
{
|
259
259
|
"input": {
|
260
|
-
"Bucket": "
|
261
|
-
"Key": "
|
262
|
-
},
|
263
|
-
"output": {
|
260
|
+
"Bucket": "ExampleBucket",
|
261
|
+
"Key": "HappyFace.jpg"
|
264
262
|
},
|
265
263
|
"comments": {
|
266
264
|
"input": {
|
@@ -268,14 +266,16 @@
|
|
268
266
|
"output": {
|
269
267
|
}
|
270
268
|
},
|
271
|
-
"description": "The following example deletes an object from
|
272
|
-
"id": "to-delete-an-object-
|
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)"
|
274
272
|
},
|
275
273
|
{
|
276
274
|
"input": {
|
277
|
-
"Bucket": "
|
278
|
-
"Key": "
|
275
|
+
"Bucket": "examplebucket",
|
276
|
+
"Key": "objectkey.jpg"
|
277
|
+
},
|
278
|
+
"output": {
|
279
279
|
},
|
280
280
|
"comments": {
|
281
281
|
"input": {
|
@@ -283,9 +283,9 @@
|
|
283
283
|
"output": {
|
284
284
|
}
|
285
285
|
},
|
286
|
-
"description": "The following example deletes an object from
|
287
|
-
"id": "to-delete-an-object-
|
288
|
-
"title": "To delete an object
|
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"
|
289
289
|
}
|
290
290
|
],
|
291
291
|
"DeleteObjectTagging": [
|
@@ -334,12 +334,10 @@
|
|
334
334
|
"Delete": {
|
335
335
|
"Objects": [
|
336
336
|
{
|
337
|
-
"Key": "
|
338
|
-
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
337
|
+
"Key": "objectkey1"
|
339
338
|
},
|
340
339
|
{
|
341
|
-
"Key": "
|
342
|
-
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
340
|
+
"Key": "objectkey2"
|
343
341
|
}
|
344
342
|
],
|
345
343
|
"Quiet": false
|
@@ -348,12 +346,14 @@
|
|
348
346
|
"output": {
|
349
347
|
"Deleted": [
|
350
348
|
{
|
351
|
-
"
|
352
|
-
"
|
349
|
+
"DeleteMarker": "true",
|
350
|
+
"DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
|
351
|
+
"Key": "objectkey1"
|
353
352
|
},
|
354
353
|
{
|
355
|
-
"
|
356
|
-
"
|
354
|
+
"DeleteMarker": "true",
|
355
|
+
"DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
|
356
|
+
"Key": "objectkey2"
|
357
357
|
}
|
358
358
|
]
|
359
359
|
},
|
@@ -363,9 +363,9 @@
|
|
363
363
|
"output": {
|
364
364
|
}
|
365
365
|
},
|
366
|
-
"description": "The following example deletes objects from a bucket. The request
|
367
|
-
"id": "to-delete-multiple-
|
368
|
-
"title": "To delete multiple
|
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"
|
369
369
|
},
|
370
370
|
{
|
371
371
|
"input": {
|
@@ -373,10 +373,12 @@
|
|
373
373
|
"Delete": {
|
374
374
|
"Objects": [
|
375
375
|
{
|
376
|
-
"Key": "
|
376
|
+
"Key": "HappyFace.jpg",
|
377
|
+
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
377
378
|
},
|
378
379
|
{
|
379
|
-
"Key": "
|
380
|
+
"Key": "HappyFace.jpg",
|
381
|
+
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
380
382
|
}
|
381
383
|
],
|
382
384
|
"Quiet": false
|
@@ -385,14 +387,12 @@
|
|
385
387
|
"output": {
|
386
388
|
"Deleted": [
|
387
389
|
{
|
388
|
-
"
|
389
|
-
"
|
390
|
-
"Key": "objectkey1"
|
390
|
+
"Key": "HappyFace.jpg",
|
391
|
+
"VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
|
391
392
|
},
|
392
393
|
{
|
393
|
-
"
|
394
|
-
"
|
395
|
-
"Key": "objectkey2"
|
394
|
+
"Key": "HappyFace.jpg",
|
395
|
+
"VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
|
396
396
|
}
|
397
397
|
]
|
398
398
|
},
|
@@ -402,9 +402,9 @@
|
|
402
402
|
"output": {
|
403
403
|
}
|
404
404
|
},
|
405
|
-
"description": "The following example deletes objects from a bucket. The
|
406
|
-
"id": "to-delete-multiple-
|
407
|
-
"title": "To delete multiple
|
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"
|
408
408
|
}
|
409
409
|
],
|
410
410
|
"GetBucketCors": [
|
@@ -1587,16 +1587,17 @@
|
|
1587
1587
|
},
|
1588
1588
|
{
|
1589
1589
|
"input": {
|
1590
|
-
"Body": "
|
1590
|
+
"Body": "filetoupload",
|
1591
1591
|
"Bucket": "examplebucket",
|
1592
|
-
"Key": "
|
1593
|
-
"
|
1594
|
-
|
1592
|
+
"Key": "exampleobject",
|
1593
|
+
"Metadata": {
|
1594
|
+
"metadata1": "value1",
|
1595
|
+
"metadata2": "value2"
|
1596
|
+
}
|
1595
1597
|
},
|
1596
1598
|
"output": {
|
1597
1599
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1598
|
-
"
|
1599
|
-
"VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
1600
|
+
"VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
|
1600
1601
|
},
|
1601
1602
|
"comments": {
|
1602
1603
|
"input": {
|
@@ -1604,20 +1605,20 @@
|
|
1604
1605
|
"output": {
|
1605
1606
|
}
|
1606
1607
|
},
|
1607
|
-
"description": "The following example
|
1608
|
-
"id": "to-upload-
|
1609
|
-
"title": "To upload
|
1608
|
+
"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.",
|
1609
|
+
"id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
|
1610
|
+
"title": "To upload object and specify user-defined metadata"
|
1610
1611
|
},
|
1611
1612
|
{
|
1612
1613
|
"input": {
|
1613
|
-
"
|
1614
|
-
"Body": "filetoupload",
|
1614
|
+
"Body": "c:\\HappyFace.jpg",
|
1615
1615
|
"Bucket": "examplebucket",
|
1616
|
-
"Key": "
|
1616
|
+
"Key": "HappyFace.jpg",
|
1617
|
+
"Tagging": "key1=value1&key2=value2"
|
1617
1618
|
},
|
1618
1619
|
"output": {
|
1619
1620
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1620
|
-
"VersionId": "
|
1621
|
+
"VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
|
1621
1622
|
},
|
1622
1623
|
"comments": {
|
1623
1624
|
"input": {
|
@@ -1625,9 +1626,9 @@
|
|
1625
1626
|
"output": {
|
1626
1627
|
}
|
1627
1628
|
},
|
1628
|
-
"description": "The following example uploads
|
1629
|
-
"id": "to-upload-an-object-and-specify-
|
1630
|
-
"title": "To upload an object and specify
|
1629
|
+
"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.",
|
1630
|
+
"id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
|
1631
|
+
"title": "To upload an object and specify optional tags"
|
1631
1632
|
},
|
1632
1633
|
{
|
1633
1634
|
"input": {
|
@@ -1651,17 +1652,14 @@
|
|
1651
1652
|
},
|
1652
1653
|
{
|
1653
1654
|
"input": {
|
1655
|
+
"ACL": "authenticated-read",
|
1654
1656
|
"Body": "filetoupload",
|
1655
1657
|
"Bucket": "examplebucket",
|
1656
|
-
"Key": "exampleobject"
|
1657
|
-
"Metadata": {
|
1658
|
-
"metadata1": "value1",
|
1659
|
-
"metadata2": "value2"
|
1660
|
-
}
|
1658
|
+
"Key": "exampleobject"
|
1661
1659
|
},
|
1662
1660
|
"output": {
|
1663
1661
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1664
|
-
"VersionId": "
|
1662
|
+
"VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
|
1665
1663
|
},
|
1666
1664
|
"comments": {
|
1667
1665
|
"input": {
|
@@ -1669,20 +1667,22 @@
|
|
1669
1667
|
"output": {
|
1670
1668
|
}
|
1671
1669
|
},
|
1672
|
-
"description": "The following example
|
1673
|
-
"id": "to-upload-object-and-specify-
|
1674
|
-
"title": "To upload object and specify
|
1670
|
+
"description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
|
1671
|
+
"id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
|
1672
|
+
"title": "To upload an object and specify canned ACL."
|
1675
1673
|
},
|
1676
1674
|
{
|
1677
1675
|
"input": {
|
1678
|
-
"Body": "
|
1676
|
+
"Body": "HappyFace.jpg",
|
1679
1677
|
"Bucket": "examplebucket",
|
1680
1678
|
"Key": "HappyFace.jpg",
|
1681
|
-
"
|
1679
|
+
"ServerSideEncryption": "AES256",
|
1680
|
+
"StorageClass": "STANDARD_IA"
|
1682
1681
|
},
|
1683
1682
|
"output": {
|
1684
1683
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1685
|
-
"
|
1684
|
+
"ServerSideEncryption": "AES256",
|
1685
|
+
"VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
1686
1686
|
},
|
1687
1687
|
"comments": {
|
1688
1688
|
"input": {
|
@@ -1690,9 +1690,9 @@
|
|
1690
1690
|
"output": {
|
1691
1691
|
}
|
1692
1692
|
},
|
1693
|
-
"description": "The following example uploads an object. The request specifies optional
|
1694
|
-
"id": "to-upload-an-object-
|
1695
|
-
"title": "To upload an object
|
1693
|
+
"description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
|
1694
|
+
"id": "to-upload-an-object-(specify-optional-headers)",
|
1695
|
+
"title": "To upload an object (specify optional headers)"
|
1696
1696
|
},
|
1697
1697
|
{
|
1698
1698
|
"input": {
|
@@ -1826,14 +1826,15 @@
|
|
1826
1826
|
"input": {
|
1827
1827
|
"Bucket": "examplebucket",
|
1828
1828
|
"CopySource": "/bucketname/sourceobjectkey",
|
1829
|
+
"CopySourceRange": "bytes=1-100000",
|
1829
1830
|
"Key": "examplelargeobject",
|
1830
|
-
"PartNumber": "
|
1831
|
+
"PartNumber": "2",
|
1831
1832
|
"UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
1832
1833
|
},
|
1833
1834
|
"output": {
|
1834
1835
|
"CopyPartResult": {
|
1835
|
-
"ETag": "\"
|
1836
|
-
"LastModified": "2016-12-29T21:
|
1836
|
+
"ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
|
1837
|
+
"LastModified": "2016-12-29T21:44:28.000Z"
|
1837
1838
|
}
|
1838
1839
|
},
|
1839
1840
|
"comments": {
|
@@ -1842,23 +1843,22 @@
|
|
1842
1843
|
"output": {
|
1843
1844
|
}
|
1844
1845
|
},
|
1845
|
-
"description": "The following example uploads a part of a multipart upload by copying
|
1846
|
-
"id": "to-upload-a-part-by-copying-
|
1847
|
-
"title": "To upload a part by copying
|
1846
|
+
"description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
|
1847
|
+
"id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
|
1848
|
+
"title": "To upload a part by copying byte range from an existing object as data source"
|
1848
1849
|
},
|
1849
1850
|
{
|
1850
1851
|
"input": {
|
1851
1852
|
"Bucket": "examplebucket",
|
1852
1853
|
"CopySource": "/bucketname/sourceobjectkey",
|
1853
|
-
"CopySourceRange": "bytes=1-100000",
|
1854
1854
|
"Key": "examplelargeobject",
|
1855
|
-
"PartNumber": "
|
1855
|
+
"PartNumber": "1",
|
1856
1856
|
"UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
1857
1857
|
},
|
1858
1858
|
"output": {
|
1859
1859
|
"CopyPartResult": {
|
1860
|
-
"ETag": "\"
|
1861
|
-
"LastModified": "2016-12-29T21:
|
1860
|
+
"ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
|
1861
|
+
"LastModified": "2016-12-29T21:24:43.000Z"
|
1862
1862
|
}
|
1863
1863
|
},
|
1864
1864
|
"comments": {
|
@@ -1867,9 +1867,9 @@
|
|
1867
1867
|
"output": {
|
1868
1868
|
}
|
1869
1869
|
},
|
1870
|
-
"description": "The following example uploads a part of a multipart upload by copying
|
1871
|
-
"id": "to-upload-a-part-by-copying-
|
1872
|
-
"title": "To upload a part by copying
|
1870
|
+
"description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
|
1871
|
+
"id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
|
1872
|
+
"title": "To upload a part by copying data from an existing object as data source"
|
1873
1873
|
}
|
1874
1874
|
]
|
1875
1875
|
}
|