diff --git a/.doc_gen/metadata/s3_metadata.yaml b/.doc_gen/metadata/s3_metadata.yaml index cd59344ef5f..0f338f89847 100644 --- a/.doc_gen/metadata/s3_metadata.yaml +++ b/.doc_gen/metadata/s3_metadata.yaml @@ -1002,32 +1002,6 @@ s3_GetObjectLegalHold: - description: Put an object legal hold. snippet_tags: - python.example_code.s3.GetObjectLegalHold - services: - s3: {GetObjectLegalHold} -s3_GetObjectLegalHoldConfiguration: - title: Get the legal hold configuration of an &S3; object using an &AWS; SDK - title_abbrev: Get the legal hold configuration of an object - synopsis: get the legal hold configuration of an S3 bucket. - category: Scenarios - languages: - Java: - versions: - - sdk_version: 2 - github: javav2/example_code/s3 - sdkguide: - excerpts: - - description: - snippet_tags: - - S3LockWorkflow.javav2.GetObjectLegalHold.main - .NET: - versions: - - sdk_version: 3 - github: dotnetv3/S3/scenarios/S3ObjectLockScenario - sdkguide: - excerpts: - - description: - snippet_tags: - - S3LockWorkflow.dotnetv3.GetObjectLegalHold JavaScript: versions: - sdk_version: 3 diff --git a/dotnetv3/S3/README.md b/dotnetv3/S3/README.md index 626d9bc5018..db65d817ba7 100644 --- a/dotnetv3/S3/README.md +++ b/dotnetv3/S3/README.md @@ -84,7 +84,6 @@ functions within the same service. - [Detect objects in images](../cross-service/PhotoAnalyzerApp) - [Get started with encryption](SSEClientEncryptionExample/SSEClientEncryption.cs) - [Get started with tags](ObjectTagExample/ObjectTag.cs) -- [Get the legal hold configuration of an object](scenarios/S3ObjectLockScenario/S3ObjectLockWorkflow/S3ActionsWrapper.cs) - [Lock Amazon S3 objects](scenarios/S3ObjectLockScenario/S3ObjectLockWorkflow/S3ObjectLockWorkflow.cs) - [Manage access control lists (ACLs)](ManageACLsExample/ManageACLs.cs) - [Perform a multipart copy](MPUapiCopyObjExample/MPUapiCopyObj.cs) @@ -199,18 +198,6 @@ This example shows you how to get started with tags for Amazon S3 objects. -#### Get the legal hold configuration of an object - -This example shows you how to get the legal hold configuration of an S3 bucket. - - - - - - - - - #### Lock Amazon S3 objects This example shows you how to work with S3 object lock features. diff --git a/javascriptv3/example_code/s3/README.md b/javascriptv3/example_code/s3/README.md index 2b149823891..f0e424eecfd 100644 --- a/javascriptv3/example_code/s3/README.md +++ b/javascriptv3/example_code/s3/README.md @@ -57,6 +57,7 @@ Code excerpts that show you how to call individual service functions. - [GetBucketPolicy](actions/get-bucket-policy.js#L6) - [GetBucketWebsite](actions/get-bucket-website.js#L6) - [GetObject](actions/get-object.js#L6) +- [GetObjectLegalHold](actions/get-object-legal-hold.js) - [GetObjectLockConfiguration](actions/get-object-lock-configuration.js) - [GetObjectRetention](actions/get-object-retention.js) - [ListBuckets](actions/list-buckets.js#L6) @@ -78,7 +79,6 @@ functions within the same service. - [Create a presigned URL](scenarios/presigned-url-upload.js) - [Create a web page that lists Amazon S3 objects](../web/s3/list-objects/src/App.tsx) - [Delete all objects in a bucket](scenarios/delete-all-objects.js) -- [Get the legal hold configuration of an object](actions/get-object-legal-hold.js) - [Lock Amazon S3 objects](scenarios/object-locking/index.js) - [Upload or download large files](scenarios/multipart-upload.js) @@ -188,18 +188,6 @@ This example shows you how to delete all of the objects in an Amazon S3 bucket. -#### Get the legal hold configuration of an object - -This example shows you how to get the legal hold configuration of an S3 bucket. - - - - - - - - - #### Lock Amazon S3 objects This example shows you how to work with S3 object lock features. diff --git a/javav2/example_code/s3/README.md b/javav2/example_code/s3/README.md index 0c83200459f..948b6e3bc02 100644 --- a/javav2/example_code/s3/README.md +++ b/javav2/example_code/s3/README.md @@ -81,7 +81,6 @@ functions within the same service. - [Delete incomplete multipart uploads](src/main/java/com/example/s3/AbortMultipartUploadExamples.java) - [Download objects to a local directory](src/main/java/com/example/s3/transfermanager/DownloadToDirectory.java) -- [Get the legal hold configuration of an object](src/main/java/com/example/s3/lockscenario/S3LockActions.java) - [Lock Amazon S3 objects](src/main/java/com/example/s3/lockscenario/S3ObjectLockWorkflow.java) - [Parse URIs](src/main/java/com/example/s3/ParseUri.java) - [Perform a multipart upload](src/main/java/com/example/s3/PerformMultiPartUpload.java) @@ -154,18 +153,6 @@ This example shows you how to download all objects in an Amazon Simple Storage S -#### Get the legal hold configuration of an object - -This example shows you how to get the legal hold configuration of an S3 bucket. - - - - - - - - - #### Lock Amazon S3 objects This example shows you how to work with S3 object lock features.