@aws-sdk/client-s3 3.316.0 → 3.317.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -70,6 +70,37 @@ export interface ListBucketsCommandOutput extends ListBucketsOutput, __MetadataB
70
70
  * // example id: to-list-buckets-1481910996058
71
71
  * ```
72
72
  *
73
+ * @example To list object versions
74
+ * ```javascript
75
+ * // The following example return versions of an object with specific key name prefix. The request limits the number of items returned to two. If there are are more than two object version, S3 returns NextToken in the response. You can specify this token value in your next request to fetch next set of object versions.
76
+ * const input = undefined;
77
+ * const command = new ListBucketsCommand(input);
78
+ * const response = await client.send(command);
79
+ * /* response ==
80
+ * {
81
+ * "Buckets": [
82
+ * {
83
+ * "CreationDate": "2012-02-15T21: 03: 02.000Z",
84
+ * "Name": "examplebucket"
85
+ * },
86
+ * {
87
+ * "CreationDate": "2011-07-24T19: 33: 50.000Z",
88
+ * "Name": "examplebucket2"
89
+ * },
90
+ * {
91
+ * "CreationDate": "2010-12-17T00: 56: 49.000Z",
92
+ * "Name": "examplebucket3"
93
+ * }
94
+ * ],
95
+ * "Owner": {
96
+ * "DisplayName": "own-display-name",
97
+ * "ID": "examplee7a2f25102679df27bb0ae12b3f85be6f290b936c4393484be31"
98
+ * }
99
+ * }
100
+ * *\/
101
+ * // example id: to-list-object-versions-1481910996058
102
+ * ```
103
+ *
73
104
  */
74
105
  export declare class ListBucketsCommand extends $Command<ListBucketsCommandInput, ListBucketsCommandOutput, S3ClientResolvedConfig> {
75
106
  readonly input: ListBucketsCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3",
3
3
  "description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
4
- "version": "3.316.0",
4
+ "version": "3.317.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",