aws-sdk-core 2.11.622 → 2.11.623

Sign up to get free protection for your applications and to get access to all the features.
@@ -4584,6 +4584,10 @@
4584
4584
  "Record": {
4585
4585
  "type": "structure",
4586
4586
  "members": {
4587
+ "jsonPath": {
4588
+ "shape": "__string",
4589
+ "locationName": "jsonPath"
4590
+ },
4587
4591
  "recordIndex": {
4588
4592
  "shape": "__long",
4589
4593
  "locationName": "recordIndex"
@@ -115,6 +115,15 @@
115
115
  },
116
116
  "input":{"shape":"DeleteBucketEncryptionRequest"}
117
117
  },
118
+ "DeleteBucketIntelligentTieringConfiguration":{
119
+ "name":"DeleteBucketIntelligentTieringConfiguration",
120
+ "http":{
121
+ "method":"DELETE",
122
+ "requestUri":"/{Bucket}?intelligent-tiering",
123
+ "responseCode":204
124
+ },
125
+ "input":{"shape":"DeleteBucketIntelligentTieringConfigurationRequest"}
126
+ },
118
127
  "DeleteBucketInventoryConfiguration":{
119
128
  "name":"DeleteBucketInventoryConfiguration",
120
129
  "http":{
@@ -280,6 +289,15 @@
280
289
  "input":{"shape":"GetBucketEncryptionRequest"},
281
290
  "output":{"shape":"GetBucketEncryptionOutput"}
282
291
  },
292
+ "GetBucketIntelligentTieringConfiguration":{
293
+ "name":"GetBucketIntelligentTieringConfiguration",
294
+ "http":{
295
+ "method":"GET",
296
+ "requestUri":"/{Bucket}?intelligent-tiering"
297
+ },
298
+ "input":{"shape":"GetBucketIntelligentTieringConfigurationRequest"},
299
+ "output":{"shape":"GetBucketIntelligentTieringConfigurationOutput"}
300
+ },
283
301
  "GetBucketInventoryConfiguration":{
284
302
  "name":"GetBucketInventoryConfiguration",
285
303
  "http":{
@@ -444,7 +462,8 @@
444
462
  "input":{"shape":"GetObjectRequest"},
445
463
  "output":{"shape":"GetObjectOutput"},
446
464
  "errors":[
447
- {"shape":"NoSuchKey"}
465
+ {"shape":"NoSuchKey"},
466
+ {"shape":"InvalidObjectState"}
448
467
  ],
449
468
  "documentationUrl":"http://docs.amazonwebservices.com/AmazonS3/latest/API/RESTObjectGET.html"
450
469
  },
@@ -550,6 +569,15 @@
550
569
  "input":{"shape":"ListBucketAnalyticsConfigurationsRequest"},
551
570
  "output":{"shape":"ListBucketAnalyticsConfigurationsOutput"}
552
571
  },
572
+ "ListBucketIntelligentTieringConfigurations":{
573
+ "name":"ListBucketIntelligentTieringConfigurations",
574
+ "http":{
575
+ "method":"GET",
576
+ "requestUri":"/{Bucket}?intelligent-tiering"
577
+ },
578
+ "input":{"shape":"ListBucketIntelligentTieringConfigurationsRequest"},
579
+ "output":{"shape":"ListBucketIntelligentTieringConfigurationsOutput"}
580
+ },
553
581
  "ListBucketInventoryConfigurations":{
554
582
  "name":"ListBucketInventoryConfigurations",
555
583
  "http":{
@@ -680,6 +708,14 @@
680
708
  "input":{"shape":"PutBucketEncryptionRequest"},
681
709
  "httpChecksumRequired":true
682
710
  },
711
+ "PutBucketIntelligentTieringConfiguration":{
712
+ "name":"PutBucketIntelligentTieringConfiguration",
713
+ "http":{
714
+ "method":"PUT",
715
+ "requestUri":"/{Bucket}?intelligent-tiering"
716
+ },
717
+ "input":{"shape":"PutBucketIntelligentTieringConfigurationRequest"}
718
+ },
683
719
  "PutBucketInventoryConfiguration":{
684
720
  "name":"PutBucketInventoryConfiguration",
685
721
  "http":{
@@ -1092,6 +1128,13 @@
1092
1128
  "type":"string",
1093
1129
  "enum":["CSV"]
1094
1130
  },
1131
+ "ArchiveStatus":{
1132
+ "type":"string",
1133
+ "enum":[
1134
+ "ARCHIVE_ACCESS",
1135
+ "DEEP_ARCHIVE_ACCESS"
1136
+ ]
1137
+ },
1095
1138
  "Body":{"type":"blob"},
1096
1139
  "Bucket":{
1097
1140
  "type":"structure",
@@ -2058,6 +2101,25 @@
2058
2101
  }
2059
2102
  }
2060
2103
  },
2104
+ "DeleteBucketIntelligentTieringConfigurationRequest":{
2105
+ "type":"structure",
2106
+ "required":[
2107
+ "Bucket",
2108
+ "Id"
2109
+ ],
2110
+ "members":{
2111
+ "Bucket":{
2112
+ "shape":"BucketName",
2113
+ "location":"uri",
2114
+ "locationName":"Bucket"
2115
+ },
2116
+ "Id":{
2117
+ "shape":"IntelligentTieringId",
2118
+ "location":"querystring",
2119
+ "locationName":"id"
2120
+ }
2121
+ }
2122
+ },
2061
2123
  "DeleteBucketInventoryConfigurationRequest":{
2062
2124
  "type":"structure",
2063
2125
  "required":[
@@ -2721,6 +2783,32 @@
2721
2783
  }
2722
2784
  }
2723
2785
  },
2786
+ "GetBucketIntelligentTieringConfigurationOutput":{
2787
+ "type":"structure",
2788
+ "members":{
2789
+ "IntelligentTieringConfiguration":{"shape":"IntelligentTieringConfiguration"}
2790
+ },
2791
+ "payload":"IntelligentTieringConfiguration"
2792
+ },
2793
+ "GetBucketIntelligentTieringConfigurationRequest":{
2794
+ "type":"structure",
2795
+ "required":[
2796
+ "Bucket",
2797
+ "Id"
2798
+ ],
2799
+ "members":{
2800
+ "Bucket":{
2801
+ "shape":"BucketName",
2802
+ "location":"uri",
2803
+ "locationName":"Bucket"
2804
+ },
2805
+ "Id":{
2806
+ "shape":"IntelligentTieringId",
2807
+ "location":"querystring",
2808
+ "locationName":"id"
2809
+ }
2810
+ }
2811
+ },
2724
2812
  "GetBucketInventoryConfigurationOutput":{
2725
2813
  "type":"structure",
2726
2814
  "members":{
@@ -3696,6 +3784,11 @@
3696
3784
  "location":"header",
3697
3785
  "locationName":"x-amz-restore"
3698
3786
  },
3787
+ "ArchiveStatus":{
3788
+ "shape":"ArchiveStatus",
3789
+ "location":"header",
3790
+ "locationName":"x-amz-archive-status"
3791
+ },
3699
3792
  "LastModified":{
3700
3793
  "shape":"LastModified",
3701
3794
  "location":"header",
@@ -3929,6 +4022,71 @@
3929
4022
  "Parquet":{"shape":"ParquetInput"}
3930
4023
  }
3931
4024
  },
4025
+ "IntelligentTieringAccessTier":{
4026
+ "type":"string",
4027
+ "enum":[
4028
+ "ARCHIVE_ACCESS",
4029
+ "DEEP_ARCHIVE_ACCESS"
4030
+ ]
4031
+ },
4032
+ "IntelligentTieringAndOperator":{
4033
+ "type":"structure",
4034
+ "members":{
4035
+ "Prefix":{"shape":"Prefix"},
4036
+ "Tags":{
4037
+ "shape":"TagSet",
4038
+ "flattened":true,
4039
+ "locationName":"Tag"
4040
+ }
4041
+ }
4042
+ },
4043
+ "IntelligentTieringConfiguration":{
4044
+ "type":"structure",
4045
+ "required":[
4046
+ "Id",
4047
+ "Status",
4048
+ "Tierings"
4049
+ ],
4050
+ "members":{
4051
+ "Id":{"shape":"IntelligentTieringId"},
4052
+ "Filter":{"shape":"IntelligentTieringFilter"},
4053
+ "Status":{"shape":"IntelligentTieringStatus"},
4054
+ "Tierings":{
4055
+ "shape":"TieringList",
4056
+ "locationName":"Tiering"
4057
+ }
4058
+ }
4059
+ },
4060
+ "IntelligentTieringConfigurationList":{
4061
+ "type":"list",
4062
+ "member":{"shape":"IntelligentTieringConfiguration"},
4063
+ "flattened":true
4064
+ },
4065
+ "IntelligentTieringDays":{"type":"integer"},
4066
+ "IntelligentTieringFilter":{
4067
+ "type":"structure",
4068
+ "members":{
4069
+ "Prefix":{"shape":"Prefix"},
4070
+ "Tag":{"shape":"Tag"},
4071
+ "And":{"shape":"IntelligentTieringAndOperator"}
4072
+ }
4073
+ },
4074
+ "IntelligentTieringId":{"type":"string"},
4075
+ "IntelligentTieringStatus":{
4076
+ "type":"string",
4077
+ "enum":[
4078
+ "Enabled",
4079
+ "Disabled"
4080
+ ]
4081
+ },
4082
+ "InvalidObjectState":{
4083
+ "type":"structure",
4084
+ "members":{
4085
+ "StorageClass":{"shape":"StorageClass"},
4086
+ "AccessTier":{"shape":"IntelligentTieringAccessTier"}
4087
+ },
4088
+ "exception":true
4089
+ },
3932
4090
  "InventoryConfiguration":{
3933
4091
  "type":"structure",
3934
4092
  "required":[
@@ -4199,6 +4357,34 @@
4199
4357
  }
4200
4358
  }
4201
4359
  },
4360
+ "ListBucketIntelligentTieringConfigurationsOutput":{
4361
+ "type":"structure",
4362
+ "members":{
4363
+ "IsTruncated":{"shape":"IsTruncated"},
4364
+ "ContinuationToken":{"shape":"Token"},
4365
+ "NextContinuationToken":{"shape":"NextToken"},
4366
+ "IntelligentTieringConfigurationList":{
4367
+ "shape":"IntelligentTieringConfigurationList",
4368
+ "locationName":"IntelligentTieringConfiguration"
4369
+ }
4370
+ }
4371
+ },
4372
+ "ListBucketIntelligentTieringConfigurationsRequest":{
4373
+ "type":"structure",
4374
+ "required":["Bucket"],
4375
+ "members":{
4376
+ "Bucket":{
4377
+ "shape":"BucketName",
4378
+ "location":"uri",
4379
+ "locationName":"Bucket"
4380
+ },
4381
+ "ContinuationToken":{
4382
+ "shape":"Token",
4383
+ "location":"querystring",
4384
+ "locationName":"continuation-token"
4385
+ }
4386
+ }
4387
+ },
4202
4388
  "ListBucketInventoryConfigurationsOutput":{
4203
4389
  "type":"structure",
4204
4390
  "members":{
@@ -4679,10 +4865,7 @@
4679
4865
  "MetadataValue":{"type":"string"},
4680
4866
  "Metrics":{
4681
4867
  "type":"structure",
4682
- "required":[
4683
- "Status",
4684
- "EventThreshold"
4685
- ],
4868
+ "required":["Status"],
4686
4869
  "members":{
4687
4870
  "Status":{"shape":"MetricsStatus"},
4688
4871
  "EventThreshold":{"shape":"ReplicationTimeValue"}
@@ -5303,6 +5486,32 @@
5303
5486
  },
5304
5487
  "payload":"ServerSideEncryptionConfiguration"
5305
5488
  },
5489
+ "PutBucketIntelligentTieringConfigurationRequest":{
5490
+ "type":"structure",
5491
+ "required":[
5492
+ "Bucket",
5493
+ "Id",
5494
+ "IntelligentTieringConfiguration"
5495
+ ],
5496
+ "members":{
5497
+ "Bucket":{
5498
+ "shape":"BucketName",
5499
+ "location":"uri",
5500
+ "locationName":"Bucket"
5501
+ },
5502
+ "Id":{
5503
+ "shape":"IntelligentTieringId",
5504
+ "location":"querystring",
5505
+ "locationName":"id"
5506
+ },
5507
+ "IntelligentTieringConfiguration":{
5508
+ "shape":"IntelligentTieringConfiguration",
5509
+ "locationName":"IntelligentTieringConfiguration",
5510
+ "xmlNamespace":{"uri":"http://s3.amazonaws.com/doc/2006-03-01/"}
5511
+ }
5512
+ },
5513
+ "payload":"IntelligentTieringConfiguration"
5514
+ },
5306
5515
  "PutBucketInventoryConfigurationRequest":{
5307
5516
  "type":"structure",
5308
5517
  "required":[
@@ -6926,6 +7135,22 @@
6926
7135
  "Expedited"
6927
7136
  ]
6928
7137
  },
7138
+ "Tiering":{
7139
+ "type":"structure",
7140
+ "required":[
7141
+ "Days",
7142
+ "AccessTier"
7143
+ ],
7144
+ "members":{
7145
+ "Days":{"shape":"IntelligentTieringDays"},
7146
+ "AccessTier":{"shape":"IntelligentTieringAccessTier"}
7147
+ }
7148
+ },
7149
+ "TieringList":{
7150
+ "type":"list",
7151
+ "member":{"shape":"Tiering"},
7152
+ "flattened":true
7153
+ },
6929
7154
  "Token":{"type":"string"},
6930
7155
  "TopicArn":{"type":"string"},
6931
7156
  "TopicConfiguration":{
@@ -257,8 +257,10 @@
257
257
  "DeleteObject": [
258
258
  {
259
259
  "input": {
260
- "Bucket": "ExampleBucket",
261
- "Key": "HappyFace.jpg"
260
+ "Bucket": "examplebucket",
261
+ "Key": "objectkey.jpg"
262
+ },
263
+ "output": {
262
264
  },
263
265
  "comments": {
264
266
  "input": {
@@ -266,16 +268,14 @@
266
268
  "output": {
267
269
  }
268
270
  },
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)"
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"
272
274
  },
273
275
  {
274
276
  "input": {
275
- "Bucket": "examplebucket",
276
- "Key": "objectkey.jpg"
277
- },
278
- "output": {
277
+ "Bucket": "ExampleBucket",
278
+ "Key": "HappyFace.jpg"
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 an S3 bucket.",
287
- "id": "to-delete-an-object-1472850136595",
288
- "title": "To delete an object"
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)"
289
289
  }
290
290
  ],
291
291
  "DeleteObjectTagging": [
@@ -728,17 +728,18 @@
728
728
  {
729
729
  "input": {
730
730
  "Bucket": "examplebucket",
731
- "Key": "HappyFace.jpg"
731
+ "Key": "SampleFile.txt",
732
+ "Range": "bytes=0-9"
732
733
  },
733
734
  "output": {
734
735
  "AcceptRanges": "bytes",
735
- "ContentLength": "3191",
736
- "ContentType": "image/jpeg",
737
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
738
- "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
736
+ "ContentLength": "10",
737
+ "ContentRange": "bytes 0-9/43",
738
+ "ContentType": "text/plain",
739
+ "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
740
+ "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
739
741
  "Metadata": {
740
742
  },
741
- "TagCount": 2,
742
743
  "VersionId": "null"
743
744
  },
744
745
  "comments": {
@@ -747,25 +748,24 @@
747
748
  "output": {
748
749
  }
749
750
  },
750
- "description": "The following example retrieves an object for an S3 bucket.",
751
- "id": "to-retrieve-an-object-1481827837012",
752
- "title": "To retrieve an object"
751
+ "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
752
+ "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
753
+ "title": "To retrieve a byte range of an object "
753
754
  },
754
755
  {
755
756
  "input": {
756
757
  "Bucket": "examplebucket",
757
- "Key": "SampleFile.txt",
758
- "Range": "bytes=0-9"
758
+ "Key": "HappyFace.jpg"
759
759
  },
760
760
  "output": {
761
761
  "AcceptRanges": "bytes",
762
- "ContentLength": "10",
763
- "ContentRange": "bytes 0-9/43",
764
- "ContentType": "text/plain",
765
- "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
766
- "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
762
+ "ContentLength": "3191",
763
+ "ContentType": "image/jpeg",
764
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
765
+ "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
767
766
  "Metadata": {
768
767
  },
768
+ "TagCount": 2,
769
769
  "VersionId": "null"
770
770
  },
771
771
  "comments": {
@@ -774,9 +774,9 @@
774
774
  "output": {
775
775
  }
776
776
  },
777
- "description": "The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.",
778
- "id": "to-retrieve-a-byte-range-of-an-object--1481832674603",
779
- "title": "To retrieve a byte range of an object "
777
+ "description": "The following example retrieves an object for an S3 bucket.",
778
+ "id": "to-retrieve-an-object-1481827837012",
779
+ "title": "To retrieve an object"
780
780
  }
781
781
  ],
782
782
  "GetObjectAcl": [
@@ -840,17 +840,20 @@
840
840
  {
841
841
  "input": {
842
842
  "Bucket": "examplebucket",
843
- "Key": "exampleobject",
844
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
843
+ "Key": "HappyFace.jpg"
845
844
  },
846
845
  "output": {
847
846
  "TagSet": [
848
847
  {
849
- "Key": "Key1",
850
- "Value": "Value1"
848
+ "Key": "Key4",
849
+ "Value": "Value4"
850
+ },
851
+ {
852
+ "Key": "Key3",
853
+ "Value": "Value3"
851
854
  }
852
855
  ],
853
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
856
+ "VersionId": "null"
854
857
  },
855
858
  "comments": {
856
859
  "input": {
@@ -858,27 +861,24 @@
858
861
  "output": {
859
862
  }
860
863
  },
861
- "description": "The following example retrieves tag set of an object. The request specifies object version.",
862
- "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
863
- "title": "To retrieve tag set of a specific object version"
864
+ "description": "The following example retrieves tag set of an object.",
865
+ "id": "to-retrieve-tag-set-of-an-object-1481833847896",
866
+ "title": "To retrieve tag set of an object"
864
867
  },
865
868
  {
866
869
  "input": {
867
870
  "Bucket": "examplebucket",
868
- "Key": "HappyFace.jpg"
871
+ "Key": "exampleobject",
872
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
869
873
  },
870
874
  "output": {
871
875
  "TagSet": [
872
876
  {
873
- "Key": "Key4",
874
- "Value": "Value4"
875
- },
876
- {
877
- "Key": "Key3",
878
- "Value": "Value3"
877
+ "Key": "Key1",
878
+ "Value": "Value1"
879
879
  }
880
880
  ],
881
- "VersionId": "null"
881
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
882
882
  },
883
883
  "comments": {
884
884
  "input": {
@@ -886,9 +886,9 @@
886
886
  "output": {
887
887
  }
888
888
  },
889
- "description": "The following example retrieves tag set of an object.",
890
- "id": "to-retrieve-tag-set-of-an-object-1481833847896",
891
- "title": "To retrieve tag set of an object"
889
+ "description": "The following example retrieves tag set of an object. The request specifies object version.",
890
+ "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
891
+ "title": "To retrieve tag set of a specific object version"
892
892
  }
893
893
  ],
894
894
  "GetObjectTorrent": [
@@ -1565,26 +1565,6 @@
1565
1565
  }
1566
1566
  ],
1567
1567
  "PutObject": [
1568
- {
1569
- "input": {
1570
- "Body": "HappyFace.jpg",
1571
- "Bucket": "examplebucket",
1572
- "Key": "HappyFace.jpg"
1573
- },
1574
- "output": {
1575
- "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1576
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1577
- },
1578
- "comments": {
1579
- "input": {
1580
- },
1581
- "output": {
1582
- }
1583
- },
1584
- "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.",
1585
- "id": "to-upload-an-object-1481760101010",
1586
- "title": "To upload an object"
1587
- },
1588
1568
  {
1589
1569
  "input": {
1590
1570
  "Body": "filetoupload",
@@ -1613,14 +1593,11 @@
1613
1593
  "input": {
1614
1594
  "Body": "filetoupload",
1615
1595
  "Bucket": "examplebucket",
1616
- "Key": "exampleobject",
1617
- "ServerSideEncryption": "AES256",
1618
- "Tagging": "key1=value1&key2=value2"
1596
+ "Key": "objectkey"
1619
1597
  },
1620
1598
  "output": {
1621
1599
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1622
- "ServerSideEncryption": "AES256",
1623
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1600
+ "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1624
1601
  },
1625
1602
  "comments": {
1626
1603
  "input": {
@@ -1628,9 +1605,9 @@
1628
1605
  "output": {
1629
1606
  }
1630
1607
  },
1631
- "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.",
1632
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1633
- "title": "To upload an object and specify server-side encryption and object tags"
1608
+ "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1609
+ "id": "to-create-an-object-1483147613675",
1610
+ "title": "To create an object."
1634
1611
  },
1635
1612
  {
1636
1613
  "input": {
@@ -1655,16 +1632,16 @@
1655
1632
  },
1656
1633
  {
1657
1634
  "input": {
1658
- "Body": "HappyFace.jpg",
1635
+ "Body": "filetoupload",
1659
1636
  "Bucket": "examplebucket",
1660
- "Key": "HappyFace.jpg",
1637
+ "Key": "exampleobject",
1661
1638
  "ServerSideEncryption": "AES256",
1662
- "StorageClass": "STANDARD_IA"
1639
+ "Tagging": "key1=value1&key2=value2"
1663
1640
  },
1664
1641
  "output": {
1665
1642
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1666
1643
  "ServerSideEncryption": "AES256",
1667
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1644
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
1668
1645
  },
1669
1646
  "comments": {
1670
1647
  "input": {
@@ -1672,9 +1649,9 @@
1672
1649
  "output": {
1673
1650
  }
1674
1651
  },
1675
- "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.",
1676
- "id": "to-upload-an-object-(specify-optional-headers)",
1677
- "title": "To upload an object (specify optional headers)"
1652
+ "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.",
1653
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
1654
+ "title": "To upload an object and specify server-side encryption and object tags"
1678
1655
  },
1679
1656
  {
1680
1657
  "input": {
@@ -1699,13 +1676,16 @@
1699
1676
  },
1700
1677
  {
1701
1678
  "input": {
1702
- "Body": "filetoupload",
1679
+ "Body": "HappyFace.jpg",
1703
1680
  "Bucket": "examplebucket",
1704
- "Key": "objectkey"
1681
+ "Key": "HappyFace.jpg",
1682
+ "ServerSideEncryption": "AES256",
1683
+ "StorageClass": "STANDARD_IA"
1705
1684
  },
1706
1685
  "output": {
1707
1686
  "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1708
- "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
1687
+ "ServerSideEncryption": "AES256",
1688
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
1709
1689
  },
1710
1690
  "comments": {
1711
1691
  "input": {
@@ -1713,9 +1693,29 @@
1713
1693
  "output": {
1714
1694
  }
1715
1695
  },
1716
- "description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
1717
- "id": "to-create-an-object-1483147613675",
1718
- "title": "To create an object."
1696
+ "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.",
1697
+ "id": "to-upload-an-object-(specify-optional-headers)",
1698
+ "title": "To upload an object (specify optional headers)"
1699
+ },
1700
+ {
1701
+ "input": {
1702
+ "Body": "HappyFace.jpg",
1703
+ "Bucket": "examplebucket",
1704
+ "Key": "HappyFace.jpg"
1705
+ },
1706
+ "output": {
1707
+ "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
1708
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
1709
+ },
1710
+ "comments": {
1711
+ "input": {
1712
+ },
1713
+ "output": {
1714
+ }
1715
+ },
1716
+ "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.",
1717
+ "id": "to-upload-an-object-1481760101010",
1718
+ "title": "To upload an object"
1719
1719
  }
1720
1720
  ],
1721
1721
  "PutObjectAcl": [