Skip to content

Commit

Permalink
chore(codegen): update smithy-typescript commit
Browse files Browse the repository at this point in the history
  • Loading branch information
milesziemer committed Mar 27, 2024
1 parent c2e6d6b commit e1e428a
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 117 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export interface CreateIntegrationCommandOutput extends Integration, __MetadataB
* /* response ==
* {
* "CreateTime": "2023-12-28T17:20:20.629Z",
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
* "IntegrationName": "my-integration",
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ export interface DeleteIntegrationCommandOutput extends Integration, __MetadataB
* /* response ==
* {
* "CreateTime": "2023-12-28T17:20:20.629Z",
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
* "IntegrationName": "my-integration",
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ export interface DescribeIntegrationsCommandOutput extends DescribeIntegrationsR
* "Integrations": [
* {
* "CreateTime": "2023-12-28T17:20:20.629Z",
* "IntegrationArn": "arn:aws:rds:us-east-1:123456789012:integration:5b9f3d79-7392-4a3e-896c-58eaa1b53231",
* "IntegrationName": "my-integration",
* "KMSKeyId": "arn:aws:kms:us-east-1:123456789012:key/a1b2c3d4-5678-90ab-cdef-EXAMPLEaaaaa",
* "SourceArn": "arn:aws:rds:us-east-1:123456789012:cluster:my-cluster",
Expand Down
26 changes: 13 additions & 13 deletions clients/client-s3/src/commands/CreateBucketCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,39 +217,39 @@ export interface CreateBucketCommandOutput extends CreateBucketOutput, __Metadat
* <p>Base exception class for all service exceptions from S3 service.</p>
*
* @public
* @example To create a bucket in a specific region
* @example To create a bucket
* ```javascript
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
* // The following example creates a bucket.
* const input = {
* "Bucket": "examplebucket",
* "CreateBucketConfiguration": {
* "LocationConstraint": "eu-west-1"
* }
* "Bucket": "examplebucket"
* };
* const command = new CreateBucketCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
* "Location": "/examplebucket"
* }
* *\/
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
* // example id: to-create-a-bucket--1472851826060
* ```
*
* @example To create a bucket
* @example To create a bucket in a specific region
* ```javascript
* // The following example creates a bucket.
* // The following example creates a bucket. The request specifies an AWS region where to create the bucket.
* const input = {
* "Bucket": "examplebucket"
* "Bucket": "examplebucket",
* "CreateBucketConfiguration": {
* "LocationConstraint": "eu-west-1"
* }
* };
* const command = new CreateBucketCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "Location": "/examplebucket"
* "Location": "http://examplebucket.<Region>.s3.amazonaws.com/"
* }
* *\/
* // example id: to-create-a-bucket--1472851826060
* // example id: to-create-a-bucket-in-a-specific-region-1483399072992
* ```
*
*/
Expand Down
20 changes: 10 additions & 10 deletions clients/client-s3/src/commands/DeleteObjectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,28 +161,28 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
* <p>Base exception class for all service exceptions from S3 service.</p>
*
* @public
* @example To delete an object (from a non-versioned bucket)
* @example To delete an object
* ```javascript
* // The following example deletes an object from a non-versioned bucket.
* // The following example deletes an object from an S3 bucket.
* const input = {
* "Bucket": "ExampleBucket",
* "Key": "HappyFace.jpg"
* "Bucket": "examplebucket",
* "Key": "objectkey.jpg"
* };
* const command = new DeleteObjectCommand(input);
* await client.send(command);
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
* // example id: to-delete-an-object-1472850136595
* ```
*
* @example To delete an object
* @example To delete an object (from a non-versioned bucket)
* ```javascript
* // The following example deletes an object from an S3 bucket.
* // The following example deletes an object from a non-versioned bucket.
* const input = {
* "Bucket": "examplebucket",
* "Key": "objectkey.jpg"
* "Bucket": "ExampleBucket",
* "Key": "HappyFace.jpg"
* };
* const command = new DeleteObjectCommand(input);
* await client.send(command);
* // example id: to-delete-an-object-1472850136595
* // example id: to-delete-an-object-from-a-non-versioned-bucket-1481588533089
* ```
*
*/
Expand Down
44 changes: 22 additions & 22 deletions clients/client-s3/src/commands/DeleteObjectsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,18 +211,20 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
* <p>Base exception class for all service exceptions from S3 service.</p>
*
* @public
* @example To delete multiple objects from a versioned bucket
* @example To delete multiple object versions from a versioned bucket
* ```javascript
* // 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.
* // 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.
* const input = {
* "Bucket": "examplebucket",
* "Delete": {
* "Objects": [
* {
* "Key": "objectkey1"
* "Key": "HappyFace.jpg",
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
* },
* {
* "Key": "objectkey2"
* "Key": "HappyFace.jpg",
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
* }
* ],
* "Quiet": false
Expand All @@ -234,35 +236,31 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
* {
* "Deleted": [
* {
* "DeleteMarker": "true",
* "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
* "Key": "objectkey1"
* "Key": "HappyFace.jpg",
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
* },
* {
* "DeleteMarker": "true",
* "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
* "Key": "objectkey2"
* "Key": "HappyFace.jpg",
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
* }
* ]
* }
* *\/
* // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
* // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
* ```
*
* @example To delete multiple object versions from a versioned bucket
* @example To delete multiple objects from a versioned bucket
* ```javascript
* // 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.
* // 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.
* const input = {
* "Bucket": "examplebucket",
* "Delete": {
* "Objects": [
* {
* "Key": "HappyFace.jpg",
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
* "Key": "objectkey1"
* },
* {
* "Key": "HappyFace.jpg",
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
* "Key": "objectkey2"
* }
* ],
* "Quiet": false
Expand All @@ -274,17 +272,19 @@ export interface DeleteObjectsCommandOutput extends DeleteObjectsOutput, __Metad
* {
* "Deleted": [
* {
* "Key": "HappyFace.jpg",
* "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
* "DeleteMarker": "true",
* "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
* "Key": "objectkey1"
* },
* {
* "Key": "HappyFace.jpg",
* "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
* "DeleteMarker": "true",
* "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
* "Key": "objectkey2"
* }
* ]
* }
* *\/
* // example id: to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737
* // example id: to-delete-multiple-objects-from-a-versioned-bucket-1483146248805
* ```
*
*/
Expand Down
38 changes: 19 additions & 19 deletions clients/client-s3/src/commands/GetObjectCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,53 +285,53 @@ export interface GetObjectCommandOutput extends Omit<GetObjectOutput, "Body">, _
* <p>Base exception class for all service exceptions from S3 service.</p>
*
* @public
* @example To retrieve an object
* @example To retrieve a byte range of an object
* ```javascript
* // The following example retrieves an object for an S3 bucket.
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
* const input = {
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg"
* "Key": "SampleFile.txt",
* "Range": "bytes=0-9"
* };
* const command = new GetObjectCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "AcceptRanges": "bytes",
* "ContentLength": "3191",
* "ContentType": "image/jpeg",
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
* "ContentLength": "10",
* "ContentRange": "bytes 0-9/43",
* "ContentType": "text/plain",
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
* "Metadata": {},
* "TagCount": 2,
* "VersionId": "null"
* }
* *\/
* // example id: to-retrieve-an-object-1481827837012
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
* ```
*
* @example To retrieve a byte range of an object
* @example To retrieve an object
* ```javascript
* // The following example retrieves an object for an S3 bucket. The request specifies the range header to retrieve a specific byte range.
* // The following example retrieves an object for an S3 bucket.
* const input = {
* "Bucket": "examplebucket",
* "Key": "SampleFile.txt",
* "Range": "bytes=0-9"
* "Key": "HappyFace.jpg"
* };
* const command = new GetObjectCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "AcceptRanges": "bytes",
* "ContentLength": "10",
* "ContentRange": "bytes 0-9/43",
* "ContentType": "text/plain",
* "ETag": "\"0d94420ffd0bc68cd3d152506b97a9cc\"",
* "LastModified": "Thu, 09 Oct 2014 22:57:28 GMT",
* "ContentLength": "3191",
* "ContentType": "image/jpeg",
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
* "LastModified": "Thu, 15 Dec 2016 01:19:41 GMT",
* "Metadata": {},
* "TagCount": 2,
* "VersionId": "null"
* }
* *\/
* // example id: to-retrieve-a-byte-range-of-an-object--1481832674603
* // example id: to-retrieve-an-object-1481827837012
* ```
*
*/
Expand Down
38 changes: 19 additions & 19 deletions clients/client-s3/src/commands/GetObjectTaggingCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,55 +96,55 @@ export interface GetObjectTaggingCommandOutput extends GetObjectTaggingOutput, _
* <p>Base exception class for all service exceptions from S3 service.</p>
*
* @public
* @example To retrieve tag set of an object
* @example To retrieve tag set of a specific object version
* ```javascript
* // The following example retrieves tag set of an object.
* // The following example retrieves tag set of an object. The request specifies object version.
* const input = {
* "Bucket": "examplebucket",
* "Key": "HappyFace.jpg"
* "Key": "exampleobject",
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* };
* const command = new GetObjectTaggingCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "TagSet": [
* {
* "Key": "Key4",
* "Value": "Value4"
* },
* {
* "Key": "Key3",
* "Value": "Value3"
* "Key": "Key1",
* "Value": "Value1"
* }
* ],
* "VersionId": "null"
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* }
* *\/
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
* ```
*
* @example To retrieve tag set of a specific object version
* @example To retrieve tag set of an object
* ```javascript
* // The following example retrieves tag set of an object. The request specifies object version.
* // The following example retrieves tag set of an object.
* const input = {
* "Bucket": "examplebucket",
* "Key": "exampleobject",
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* "Key": "HappyFace.jpg"
* };
* const command = new GetObjectTaggingCommand(input);
* const response = await client.send(command);
* /* response ==
* {
* "TagSet": [
* {
* "Key": "Key1",
* "Value": "Value1"
* "Key": "Key4",
* "Value": "Value4"
* },
* {
* "Key": "Key3",
* "Value": "Value3"
* }
* ],
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
* "VersionId": "null"
* }
* *\/
* // example id: to-retrieve-tag-set-of-a-specific-object-version-1483400283663
* // example id: to-retrieve-tag-set-of-an-object-1481833847896
* ```
*
*/
Expand Down
Loading

0 comments on commit e1e428a

Please sign in to comment.