Skip to content

Commit e1e428a

Browse files
committed
chore(codegen): update smithy-typescript commit
1 parent c2e6d6b commit e1e428a

10 files changed

+120
-117
lines changed

clients/client-rds/src/commands/CreateIntegrationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export interface CreateIntegrationCommandOutput extends Integration, __MetadataB
127127
* /* response ==
128128
* {
129129
* "CreateTime": "2023-12-28T17:20:20.629Z",
130+
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
130131
* "IntegrationName": "my-integration",
131132
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
132133
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",

clients/client-rds/src/commands/DeleteIntegrationCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ export interface DeleteIntegrationCommandOutput extends Integration, __MetadataB
100100
* /* response ==
101101
* {
102102
* "CreateTime": "2023-12-28T17:20:20.629Z",
103+
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
103104
* "IntegrationName": "my-integration",
104105
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
105106
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",

clients/client-rds/src/commands/DescribeIntegrationsCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export interface DescribeIntegrationsCommandOutput extends DescribeIntegrationsR
109109
* "Integrations": [
110110
* {
111111
* "CreateTime": "2023-12-28T17:20:20.629Z",
112+
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
112113
* "IntegrationName": "my-integration",
113114
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
114115
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",

clients/client-s3/src/commands/CreateBucketCommand.ts

+13-13
Original file line numberDiff line numberDiff line change
@@ -217,39 +217,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
217217
* <p>Base exception class for all service exceptions from S3 service.</p>
218218
*
219219
* @public
220-
* @example To create a bucket in a specific region
220+
* @example To create a bucket
221221
* ```javascript
222-
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
222+
* // The following example creates a bucket.
223223
* const input = {
224-
* "Bucket": "examplebucket",
225-
* "CreateBucketConfiguration": {
226-
* "LocationConstraint": "eu-west-1"
227-
* }
224+
* "Bucket": "examplebucket"
228225
* };
229226
* const command = new CreateBucketCommand(input);
230227
* const response = await client.send(command);
231228
* /* response ==
232229
* {
233-
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
230+
* "Location": "/examplebucket"
234231
* }
235232
* *\/
236-
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
233+
* // example id: to-create-a-bucket--1472851826060
237234
* ```
238235
*
239-
* @example To create a bucket
236+
* @example To create a bucket in a specific region
240237
* ```javascript
241-
* // The following example creates a bucket.
238+
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
242239
* const input = {
243-
* "Bucket": "examplebucket"
240+
* "Bucket": "examplebucket",
241+
* "CreateBucketConfiguration": {
242+
* "LocationConstraint": "eu-west-1"
243+
* }
244244
* };
245245
* const command = new CreateBucketCommand(input);
246246
* const response = await client.send(command);
247247
* /* response ==
248248
* {
249-
* "Location": "/examplebucket"
249+
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
250250
* }
251251
* *\/
252-
* // example id: to-create-a-bucket--1472851826060
252+
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
253253
* ```
254254
*
255255
*/

clients/client-s3/src/commands/DeleteObjectCommand.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -161,28 +161,28 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
161161
* <p>Base exception class for all service exceptions from S3 service.</p>
162162
*
163163
* @public
164-
* @example To delete an object (from a non-versioned bucket)
164+
* @example To delete an object
165165
* ```javascript
166-
* // The following example deletes an object from a non-versioned bucket.
166+
* // The following example deletes an object from an S3 bucket.
167167
* const input = {
168-
* "Bucket": "ExampleBucket",
169-
* "Key": "HappyFace.jpg"
168+
* "Bucket": "examplebucket",
169+
* "Key": "objectkey.jpg"
170170
* };
171171
* const command = new DeleteObjectCommand(input);
172172
* await client.send(command);
173-
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
173+
* // example id: to-delete-an-object-1472850136595
174174
* ```
175175
*
176-
* @example To delete an object
176+
* @example To delete an object (from a non-versioned bucket)
177177
* ```javascript
178-
* // The following example deletes an object from an S3 bucket.
178+
* // The following example deletes an object from a non-versioned bucket.
179179
* const input = {
180-
* "Bucket": "examplebucket",
181-
* "Key": "objectkey.jpg"
180+
* "Bucket": "ExampleBucket",
181+
* "Key": "HappyFace.jpg"
182182
* };
183183
* const command = new DeleteObjectCommand(input);
184184
* await client.send(command);
185-
* // example id: to-delete-an-object-1472850136595
185+
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
186186
* ```
187187
*
188188
*/

clients/client-s3/src/commands/DeleteObjectsCommand.ts

+22-22
Original file line numberDiff line numberDiff line change
@@ -211,18 +211,20 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
211211
* <p>Base exception class for all service exceptions from S3 service.</p>
212212
*
213213
* @public
214-
* @example To delete multiple objects from a versioned bucket
214+
* @example To delete multiple object versions from a versioned bucket
215215
* ```javascript
216-
* // 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.
216+
* // 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.
217217
* const input = {
218218
* "Bucket": "examplebucket",
219219
* "Delete": {
220220
* "Objects": [
221221
* {
222-
* "Key": "objectkey1"
222+
* "Key": "HappyFace.jpg",
223+
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
223224
* },
224225
* {
225-
* "Key": "objectkey2"
226+
* "Key": "HappyFace.jpg",
227+
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
226228
* }
227229
* ],
228230
* "Quiet": false
@@ -234,35 +236,31 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
234236
* {
235237
* "Deleted": [
236238
* {
237-
* "DeleteMarker": "true",
238-
* "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
239-
* "Key": "objectkey1"
239+
* "Key": "HappyFace.jpg",
240+
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
240241
* },
241242
* {
242-
* "DeleteMarker": "true",
243-
* "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
244-
* "Key": "objectkey2"
243+
* "Key": "HappyFace.jpg",
244+
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
245245
* }
246246
* ]
247247
* }
248248
* *\/
249-
* // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
249+
* // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
250250
* ```
251251
*
252-
* @example To delete multiple object versions from a versioned bucket
252+
* @example To delete multiple objects from a versioned bucket
253253
* ```javascript
254-
* // 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.
254+
* // 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.
255255
* const input = {
256256
* "Bucket": "examplebucket",
257257
* "Delete": {
258258
* "Objects": [
259259
* {
260-
* "Key": "HappyFace.jpg",
261-
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
260+
* "Key": "objectkey1"
262261
* },
263262
* {
264-
* "Key": "HappyFace.jpg",
265-
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
263+
* "Key": "objectkey2"
266264
* }
267265
* ],
268266
* "Quiet": false
@@ -274,17 +272,19 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
274272
* {
275273
* "Deleted": [
276274
* {
277-
* "Key": "HappyFace.jpg",
278-
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
275+
* "DeleteMarker": "true",
276+
* "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
277+
* "Key": "objectkey1"
279278
* },
280279
* {
281-
* "Key": "HappyFace.jpg",
282-
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
280+
* "DeleteMarker": "true",
281+
* "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
282+
* "Key": "objectkey2"
283283
* }
284284
* ]
285285
* }
286286
* *\/
287-
* // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
287+
* // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
288288
* ```
289289
*
290290
*/

clients/client-s3/src/commands/GetObjectCommand.ts

+19-19
Original file line numberDiff line numberDiff line change
@@ -285,53 +285,53 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
285285
* <p>Base exception class for all service exceptions from S3 service.</p>
286286
*
287287
* @public
288-
* @example To retrieve an object
288+
* @example To retrieve a byte range of an object
289289
* ```javascript
290-
* // The following example retrieves an object for an S3 bucket.
290+
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
291291
* const input = {
292292
* "Bucket": "examplebucket",
293-
* "Key": "HappyFace.jpg"
293+
* "Key": "SampleFile.txt",
294+
* "Range": "bytes=0-9"
294295
* };
295296
* const command = new GetObjectCommand(input);
296297
* const response = await client.send(command);
297298
* /* response ==
298299
* {
299300
* "AcceptRanges": "bytes",
300-
* "ContentLength": "3191",
301-
* "ContentType": "image/jpeg",
302-
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
303-
* "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
301+
* "ContentLength": "10",
302+
* "ContentRange": "bytes 0-9/43",
303+
* "ContentType": "text/plain",
304+
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
305+
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
304306
* "Metadata": {},
305-
* "TagCount": 2,
306307
* "VersionId": "null"
307308
* }
308309
* *\/
309-
* // example id: to-retrieve-an-object-1481827837012
310+
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
310311
* ```
311312
*
312-
* @example To retrieve a byte range of an object
313+
* @example To retrieve an object
313314
* ```javascript
314-
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
315+
* // The following example retrieves an object for an S3 bucket.
315316
* const input = {
316317
* "Bucket": "examplebucket",
317-
* "Key": "SampleFile.txt",
318-
* "Range": "bytes=0-9"
318+
* "Key": "HappyFace.jpg"
319319
* };
320320
* const command = new GetObjectCommand(input);
321321
* const response = await client.send(command);
322322
* /* response ==
323323
* {
324324
* "AcceptRanges": "bytes",
325-
* "ContentLength": "10",
326-
* "ContentRange": "bytes 0-9/43",
327-
* "ContentType": "text/plain",
328-
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
329-
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
325+
* "ContentLength": "3191",
326+
* "ContentType": "image/jpeg",
327+
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
328+
* "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
330329
* "Metadata": {},
330+
* "TagCount": 2,
331331
* "VersionId": "null"
332332
* }
333333
* *\/
334-
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
334+
* // example id: to-retrieve-an-object-1481827837012
335335
* ```
336336
*
337337
*/

clients/client-s3/src/commands/GetObjectTaggingCommand.ts

+19-19
Original file line numberDiff line numberDiff line change
@@ -96,55 +96,55 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
9696
* <p>Base exception class for all service exceptions from S3 service.</p>
9797
*
9898
* @public
99-
* @example To retrieve tag set of an object
99+
* @example To retrieve tag set of a specific object version
100100
* ```javascript
101-
* // The following example retrieves tag set of an object.
101+
* // The following example retrieves tag set of an object. The request specifies object version.
102102
* const input = {
103103
* "Bucket": "examplebucket",
104-
* "Key": "HappyFace.jpg"
104+
* "Key": "exampleobject",
105+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
105106
* };
106107
* const command = new GetObjectTaggingCommand(input);
107108
* const response = await client.send(command);
108109
* /* response ==
109110
* {
110111
* "TagSet": [
111112
* {
112-
* "Key": "Key4",
113-
* "Value": "Value4"
114-
* },
115-
* {
116-
* "Key": "Key3",
117-
* "Value": "Value3"
113+
* "Key": "Key1",
114+
* "Value": "Value1"
118115
* }
119116
* ],
120-
* "VersionId": "null"
117+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
121118
* }
122119
* *\/
123-
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
120+
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
124121
* ```
125122
*
126-
* @example To retrieve tag set of a specific object version
123+
* @example To retrieve tag set of an object
127124
* ```javascript
128-
* // The following example retrieves tag set of an object. The request specifies object version.
125+
* // The following example retrieves tag set of an object.
129126
* const input = {
130127
* "Bucket": "examplebucket",
131-
* "Key": "exampleobject",
132-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
128+
* "Key": "HappyFace.jpg"
133129
* };
134130
* const command = new GetObjectTaggingCommand(input);
135131
* const response = await client.send(command);
136132
* /* response ==
137133
* {
138134
* "TagSet": [
139135
* {
140-
* "Key": "Key1",
141-
* "Value": "Value1"
136+
* "Key": "Key4",
137+
* "Value": "Value4"
138+
* },
139+
* {
140+
* "Key": "Key3",
141+
* "Value": "Value3"
142142
* }
143143
* ],
144-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
144+
* "VersionId": "null"
145145
* }
146146
* *\/
147-
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
147+
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
148148
* ```
149149
*
150150
*/

0 commit comments

Comments
 (0)