cdk-lambda-subminute 2.0.521 → 2.0.523
Sign up to get free protection for your applications and to get access to all the features.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +4 -10
- package/node_modules/aws-sdk/apis/s3-2006-03-01.examples.json +100 -100
- package/node_modules/aws-sdk/apis/s3-2006-03-01.min.json +167 -102
- package/node_modules/aws-sdk/clients/s3.d.ts +192 -128
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk.js +170 -105
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +24 -24
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
package/.jsii
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
"url": "https://fantasticsie.medium.com/"
|
8
8
|
},
|
9
9
|
"bundled": {
|
10
|
-
"aws-sdk": "^2.
|
10
|
+
"aws-sdk": "^2.1692.0"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
13
|
"aws-cdk-lib": "^2.94.0",
|
@@ -4333,6 +4333,6 @@
|
|
4333
4333
|
"symbolId": "src/cdk-lambda-subminute:SubminuteStateMachineProps"
|
4334
4334
|
}
|
4335
4335
|
},
|
4336
|
-
"version": "2.0.
|
4337
|
-
"fingerprint": "
|
4336
|
+
"version": "2.0.523",
|
4337
|
+
"fingerprint": "9oMpwsAPPvhCMMnFphEvvAOM/e89BWjVOBfcSXTUqVY="
|
4338
4338
|
}
|
@@ -45,7 +45,7 @@ class LambdaSubminute extends constructs_1.Construct {
|
|
45
45
|
}
|
46
46
|
exports.LambdaSubminute = LambdaSubminute;
|
47
47
|
_a = JSII_RTTI_SYMBOL_1;
|
48
|
-
LambdaSubminute[_a] = { fqn: "cdk-lambda-subminute.LambdaSubminute", version: "2.0.
|
48
|
+
LambdaSubminute[_a] = { fqn: "cdk-lambda-subminute.LambdaSubminute", version: "2.0.523" };
|
49
49
|
class IteratorLambda extends constructs_1.Construct {
|
50
50
|
constructor(scope, name, props) {
|
51
51
|
super(scope, name);
|
@@ -85,7 +85,7 @@ class IteratorLambda extends constructs_1.Construct {
|
|
85
85
|
}
|
86
86
|
exports.IteratorLambda = IteratorLambda;
|
87
87
|
_b = JSII_RTTI_SYMBOL_1;
|
88
|
-
IteratorLambda[_b] = { fqn: "cdk-lambda-subminute.IteratorLambda", version: "2.0.
|
88
|
+
IteratorLambda[_b] = { fqn: "cdk-lambda-subminute.IteratorLambda", version: "2.0.523" };
|
89
89
|
class SubminuteStateMachine extends constructs_1.Construct {
|
90
90
|
constructor(scope, id, props) {
|
91
91
|
super(scope, id);
|
@@ -160,5 +160,5 @@ class SubminuteStateMachine extends constructs_1.Construct {
|
|
160
160
|
}
|
161
161
|
exports.SubminuteStateMachine = SubminuteStateMachine;
|
162
162
|
_c = JSII_RTTI_SYMBOL_1;
|
163
|
-
SubminuteStateMachine[_c] = { fqn: "cdk-lambda-subminute.SubminuteStateMachine", version: "2.0.
|
163
|
+
SubminuteStateMachine[_c] = { fqn: "cdk-lambda-subminute.SubminuteStateMachine", version: "2.0.523" };
|
164
164
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2RrLWxhbWJkYS1zdWJtaW51dGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvY2RrLWxhbWJkYS1zdWJtaW51dGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSx5QkFBeUI7QUFDekIsNkJBQTZCO0FBQzdCLG1DQUFtQztBQUNuQyxpREFBa0Q7QUFDbEQsMERBQTJEO0FBQzNELDJDQUEyQztBQUUzQyx1REFBcUU7QUFDckUscUVBQStEO0FBQy9ELG1EQUFxRDtBQUNyRCxxREFBcUQ7QUFDckQsNkRBQTZEO0FBQzdELDJDQUF1QztBQTRCd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AgICAgZGVzY3JpcHRpb246ICdFeGVjdXRlIGEgd29ya2Zsb3cgcmVsYXRlZCB0byBleGVjdXRpbmcgYSBMYW1iZGEgZnVuY3Rpb24gcGVyIHRpbWUgdW5pdCBsZXNzIHRoYW4gMSBtaW51dGUuJyxcbiAgICB9KTtcbiAgICB3b3JrRmxvd0V4ZWN1dGlvblJvbGUuYWRkVG9Qb2xpY3kobmV3IGlhbS5Qb2xpY3lTdGF0ZW1lbnQoe1xuICAgICAgc2lkOiAnTGFtYmRhSW52b2tlUGVybWlzc2lvbnMnLFxuICAgICAgZWZmZWN0OiBpYW0uRWZmZWN0LkFMTE9XLFxuICAgICAgYWN0aW9uczogWydsYW1iZGE6SW52b2tlRnVuY3Rpb24nXSxcbiAgICAgIHJlc291cmNlczogW1xuICAgICAgICB0YXJnZXRGdW5jdGlvbkFybixcbiAgICAgICAgaXRlcmF0b3JGdW5jdGlvbkFybixcbiAgICAgIF0sXG4gICAgfSkpO1xuICAgIHJldHVybiB3b3JrRmxvd0V4ZWN1dGlvblJvbGU7XG4gIH07XG59Il19
|
@@ -1,23 +1,17 @@
|
|
1
1
|
# AWS SDK for JavaScript
|
2
2
|
|
3
3
|
[![NPM version](https://img.shields.io/npm/v/aws-sdk.svg)](https://www.npmjs.com/package/aws-sdk)
|
4
|
-
[![NPM downloads](https://img.shields.io/npm/dm/aws-sdk.svg)](https://www.npmjs.com/package/aws-sdk)
|
5
|
-
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.svg)](https://gitter.im/aws/aws-sdk-js)
|
6
4
|
|
7
|
-
|
8
|
-
[![Coverage Status](https://codecov.io/gh/aws/aws-sdk-js/branch/master/graph/badge.svg)](https://codecov.io/gh/aws/aws-sdk-js)
|
9
|
-
[![Known Vulnerabilities](https://snyk.io/test/github/aws/aws-sdk-js/badge.svg)](https://snyk.io/test/github/aws/aws-sdk-js)
|
5
|
+
## In Maintenance Mode as of September 8, 2024
|
10
6
|
|
11
|
-
|
7
|
+
The AWS SDK for JavaScript v2 [has entered][v2-maintenance-mode] maintenance mode on **September 8, 2024** and will be reaching end-of-support on **September 8, 2025**. During maintenance mode, AWS will limit SDK releases to address critical bug fixes and security issues only. The SDK will not receive API updates for new or existing services, or be updated to support new regions.
|
12
8
|
|
13
|
-
We [announced][v2-maintenance-mode] the upcoming end-of-support for AWS SDK for JavaScript v2.
|
14
9
|
We recommend that you migrate to [AWS SDK for JavaScript v3][aws-sdk-js-v3].
|
15
10
|
For dates, additional details, and information on how to migrate, please refer to the linked announcement.
|
16
11
|
|
17
12
|
The **AWS SDK for JavaScript v3** is the latest and recommended version,
|
18
13
|
which has been GA since December 2020. Here is [why and how you should use
|
19
|
-
**AWS SDK for JavaScript v3**][v3-recommended-blog]. You can try our
|
20
|
-
migration scripts in [aws-sdk-js-codemod][aws-sdk-js-codemod] to migrate
|
14
|
+
**AWS SDK for JavaScript v3**][v3-recommended-blog]. You can try our migration scripts in [aws-sdk-js-codemod][aws-sdk-js-codemod] to migrate
|
21
15
|
your application from v2 to v3.
|
22
16
|
|
23
17
|
To get help with your migration, please follow our general guidelines to
|
@@ -64,7 +58,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
|
|
64
58
|
To use the SDK in the browser, simply add the following script tag to your
|
65
59
|
HTML pages:
|
66
60
|
|
67
|
-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.
|
61
|
+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1692.0.min.js"></script>
|
68
62
|
|
69
63
|
You can also build a custom browser SDK with your specified set of AWS services.
|
70
64
|
This can allow you to reduce the SDK's size, specify different API versions of
|
@@ -292,11 +292,10 @@
|
|
292
292
|
{
|
293
293
|
"input": {
|
294
294
|
"Bucket": "examplebucket",
|
295
|
-
"Key": "HappyFace.jpg"
|
296
|
-
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
295
|
+
"Key": "HappyFace.jpg"
|
297
296
|
},
|
298
297
|
"output": {
|
299
|
-
"VersionId": "
|
298
|
+
"VersionId": "null"
|
300
299
|
},
|
301
300
|
"comments": {
|
302
301
|
"input": {
|
@@ -304,17 +303,18 @@
|
|
304
303
|
"output": {
|
305
304
|
}
|
306
305
|
},
|
307
|
-
"description": "The following example removes tag set associated with the specified object
|
308
|
-
"id": "to-remove-tag-set-from-an-object-
|
309
|
-
"title": "To remove tag set from an object
|
306
|
+
"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.",
|
307
|
+
"id": "to-remove-tag-set-from-an-object-1483145342862",
|
308
|
+
"title": "To remove tag set from an object"
|
310
309
|
},
|
311
310
|
{
|
312
311
|
"input": {
|
313
312
|
"Bucket": "examplebucket",
|
314
|
-
"Key": "HappyFace.jpg"
|
313
|
+
"Key": "HappyFace.jpg",
|
314
|
+
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
315
315
|
},
|
316
316
|
"output": {
|
317
|
-
"VersionId": "
|
317
|
+
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
318
318
|
},
|
319
319
|
"comments": {
|
320
320
|
"input": {
|
@@ -322,9 +322,9 @@
|
|
322
322
|
"output": {
|
323
323
|
}
|
324
324
|
},
|
325
|
-
"description": "The following example removes tag set associated with the specified object.
|
326
|
-
"id": "to-remove-tag-set-from-an-object-
|
327
|
-
"title": "To remove tag set from an object"
|
325
|
+
"description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
|
326
|
+
"id": "to-remove-tag-set-from-an-object-version-1483145285913",
|
327
|
+
"title": "To remove tag set from an object version"
|
328
328
|
}
|
329
329
|
],
|
330
330
|
"DeleteObjects": [
|
@@ -728,17 +728,18 @@
|
|
728
728
|
{
|
729
729
|
"input": {
|
730
730
|
"Bucket": "examplebucket",
|
731
|
-
"Key": "
|
731
|
+
"Key": "SampleFile.txt",
|
732
|
+
"Range": "bytes=0-9"
|
732
733
|
},
|
733
734
|
"output": {
|
734
735
|
"AcceptRanges": "bytes",
|
735
|
-
"ContentLength": "
|
736
|
-
"
|
737
|
-
"
|
738
|
-
"
|
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
|
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": "
|
758
|
-
"Range": "bytes=0-9"
|
758
|
+
"Key": "HappyFace.jpg"
|
759
759
|
},
|
760
760
|
"output": {
|
761
761
|
"AcceptRanges": "bytes",
|
762
|
-
"ContentLength": "
|
763
|
-
"
|
764
|
-
"
|
765
|
-
"
|
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.
|
778
|
-
"id": "to-retrieve-
|
779
|
-
"title": "To retrieve
|
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,20 +840,17 @@
|
|
840
840
|
{
|
841
841
|
"input": {
|
842
842
|
"Bucket": "examplebucket",
|
843
|
-
"Key": "
|
843
|
+
"Key": "exampleobject",
|
844
|
+
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
844
845
|
},
|
845
846
|
"output": {
|
846
847
|
"TagSet": [
|
847
848
|
{
|
848
|
-
"Key": "
|
849
|
-
"Value": "
|
850
|
-
},
|
851
|
-
{
|
852
|
-
"Key": "Key3",
|
853
|
-
"Value": "Value3"
|
849
|
+
"Key": "Key1",
|
850
|
+
"Value": "Value1"
|
854
851
|
}
|
855
852
|
],
|
856
|
-
"VersionId": "
|
853
|
+
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
857
854
|
},
|
858
855
|
"comments": {
|
859
856
|
"input": {
|
@@ -861,24 +858,27 @@
|
|
861
858
|
"output": {
|
862
859
|
}
|
863
860
|
},
|
864
|
-
"description": "The following example retrieves tag set of an object.",
|
865
|
-
"id": "to-retrieve-tag-set-of-
|
866
|
-
"title": "To retrieve tag set of
|
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"
|
867
864
|
},
|
868
865
|
{
|
869
866
|
"input": {
|
870
867
|
"Bucket": "examplebucket",
|
871
|
-
"Key": "
|
872
|
-
"VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
868
|
+
"Key": "HappyFace.jpg"
|
873
869
|
},
|
874
870
|
"output": {
|
875
871
|
"TagSet": [
|
876
872
|
{
|
877
|
-
"Key": "
|
878
|
-
"Value": "
|
873
|
+
"Key": "Key4",
|
874
|
+
"Value": "Value4"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"Key": "Key3",
|
878
|
+
"Value": "Value3"
|
879
879
|
}
|
880
880
|
],
|
881
|
-
"VersionId": "
|
881
|
+
"VersionId": "null"
|
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-
|
891
|
-
"title": "To retrieve tag set of
|
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"
|
892
892
|
}
|
893
893
|
],
|
894
894
|
"GetObjectTorrent": [
|
@@ -1567,16 +1567,13 @@
|
|
1567
1567
|
"PutObject": [
|
1568
1568
|
{
|
1569
1569
|
"input": {
|
1570
|
-
"Body": "
|
1570
|
+
"Body": "filetoupload",
|
1571
1571
|
"Bucket": "examplebucket",
|
1572
|
-
"Key": "
|
1573
|
-
"ServerSideEncryption": "AES256",
|
1574
|
-
"StorageClass": "STANDARD_IA"
|
1572
|
+
"Key": "objectkey"
|
1575
1573
|
},
|
1576
1574
|
"output": {
|
1577
1575
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1578
|
-
"
|
1579
|
-
"VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
1576
|
+
"VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
|
1580
1577
|
},
|
1581
1578
|
"comments": {
|
1582
1579
|
"input": {
|
@@ -1584,19 +1581,23 @@
|
|
1584
1581
|
"output": {
|
1585
1582
|
}
|
1586
1583
|
},
|
1587
|
-
"description": "The following example
|
1588
|
-
"id": "to-
|
1589
|
-
"title": "To
|
1584
|
+
"description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
|
1585
|
+
"id": "to-create-an-object-1483147613675",
|
1586
|
+
"title": "To create an object."
|
1590
1587
|
},
|
1591
1588
|
{
|
1592
1589
|
"input": {
|
1593
1590
|
"Body": "filetoupload",
|
1594
1591
|
"Bucket": "examplebucket",
|
1595
|
-
"Key": "
|
1592
|
+
"Key": "exampleobject",
|
1593
|
+
"Metadata": {
|
1594
|
+
"metadata1": "value1",
|
1595
|
+
"metadata2": "value2"
|
1596
|
+
}
|
1596
1597
|
},
|
1597
1598
|
"output": {
|
1598
1599
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1599
|
-
"VersionId": "
|
1600
|
+
"VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
|
1600
1601
|
},
|
1601
1602
|
"comments": {
|
1602
1603
|
"input": {
|
@@ -1604,9 +1605,9 @@
|
|
1604
1605
|
"output": {
|
1605
1606
|
}
|
1606
1607
|
},
|
1607
|
-
"description": "The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.",
|
1608
|
-
"id": "to-
|
1609
|
-
"title": "To
|
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": {
|
@@ -1630,14 +1631,14 @@
|
|
1630
1631
|
},
|
1631
1632
|
{
|
1632
1633
|
"input": {
|
1633
|
-
"
|
1634
|
+
"ACL": "authenticated-read",
|
1635
|
+
"Body": "filetoupload",
|
1634
1636
|
"Bucket": "examplebucket",
|
1635
|
-
"Key": "
|
1636
|
-
"Tagging": "key1=value1&key2=value2"
|
1637
|
+
"Key": "exampleobject"
|
1637
1638
|
},
|
1638
1639
|
"output": {
|
1639
1640
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1640
|
-
"VersionId": "
|
1641
|
+
"VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
|
1641
1642
|
},
|
1642
1643
|
"comments": {
|
1643
1644
|
"input": {
|
@@ -1645,20 +1646,22 @@
|
|
1645
1646
|
"output": {
|
1646
1647
|
}
|
1647
1648
|
},
|
1648
|
-
"description": "The following example uploads
|
1649
|
-
"id": "to-upload-an-object-and-specify-
|
1650
|
-
"title": "To upload an object and specify
|
1649
|
+
"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.",
|
1650
|
+
"id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
|
1651
|
+
"title": "To upload an object and specify canned ACL."
|
1651
1652
|
},
|
1652
1653
|
{
|
1653
1654
|
"input": {
|
1654
|
-
"
|
1655
|
-
"Body": "filetoupload",
|
1655
|
+
"Body": "HappyFace.jpg",
|
1656
1656
|
"Bucket": "examplebucket",
|
1657
|
-
"Key": "
|
1657
|
+
"Key": "HappyFace.jpg",
|
1658
|
+
"ServerSideEncryption": "AES256",
|
1659
|
+
"StorageClass": "STANDARD_IA"
|
1658
1660
|
},
|
1659
1661
|
"output": {
|
1660
1662
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1661
|
-
"
|
1663
|
+
"ServerSideEncryption": "AES256",
|
1664
|
+
"VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
1662
1665
|
},
|
1663
1666
|
"comments": {
|
1664
1667
|
"input": {
|
@@ -1666,23 +1669,20 @@
|
|
1666
1669
|
"output": {
|
1667
1670
|
}
|
1668
1671
|
},
|
1669
|
-
"description": "The following example uploads
|
1670
|
-
"id": "to-upload-an-object-
|
1671
|
-
"title": "To upload an object
|
1672
|
+
"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.",
|
1673
|
+
"id": "to-upload-an-object-(specify-optional-headers)",
|
1674
|
+
"title": "To upload an object (specify optional headers)"
|
1672
1675
|
},
|
1673
1676
|
{
|
1674
1677
|
"input": {
|
1675
|
-
"Body": "
|
1678
|
+
"Body": "c:\\HappyFace.jpg",
|
1676
1679
|
"Bucket": "examplebucket",
|
1677
|
-
"Key": "
|
1678
|
-
"
|
1679
|
-
"metadata1": "value1",
|
1680
|
-
"metadata2": "value2"
|
1681
|
-
}
|
1680
|
+
"Key": "HappyFace.jpg",
|
1681
|
+
"Tagging": "key1=value1&key2=value2"
|
1682
1682
|
},
|
1683
1683
|
"output": {
|
1684
1684
|
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
1685
|
-
"VersionId": "
|
1685
|
+
"VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
|
1686
1686
|
},
|
1687
1687
|
"comments": {
|
1688
1688
|
"input": {
|
@@ -1690,9 +1690,9 @@
|
|
1690
1690
|
"output": {
|
1691
1691
|
}
|
1692
1692
|
},
|
1693
|
-
"description": "The following example
|
1694
|
-
"id": "to-upload-object-and-specify-
|
1695
|
-
"title": "To upload object and specify
|
1693
|
+
"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.",
|
1694
|
+
"id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
|
1695
|
+
"title": "To upload an object and specify optional tags"
|
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
|
}
|