-
Notifications
You must be signed in to change notification settings - Fork 875
Generate GetBucketMetadataConfiguration #4161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
peterrsongg
merged 6 commits into
petesong/phase-3-pr4-base
from
peterrsongg/petesong/phase-3-pr4-3/8
Nov 26, 2025
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3702d70
Geneate DeleteBucketInventoryConfiguration
peterrsongg 2411be8
Generate PutBucketAcclerateConfiguration
peterrsongg 2565634
Generate PutBucketRequestPayment
peterrsongg 287cf15
Generate CreateBucketMetadataTableConfiguration
peterrsongg 617205c
Generate GetBucketMetadataConfiguration
peterrsongg b551a51
Merge branch 'petesong/phase-3-pr4-base' into peterrsongg/petesong/ph…
peterrsongg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 0 additions & 69 deletions
69
sdk/src/Services/S3/Custom/Model/GetBucketMetadataConfigurationRequest.cs
This file was deleted.
Oops, something went wrong.
File renamed without changes.
133 changes: 133 additions & 0 deletions
133
sdk/src/Services/S3/Generated/Model/GetBucketMetadataConfigurationRequest.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,133 @@ | ||
| /* | ||
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"). | ||
| * You may not use this file except in compliance with the License. | ||
| * A copy of the License is located at | ||
| * | ||
| * http://aws.amazon.com/apache2.0 | ||
| * | ||
| * or in the "license" file accompanying this file. This file is distributed | ||
| * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
| * express or implied. See the License for the specific language governing | ||
| * permissions and limitations under the License. | ||
| */ | ||
|
|
||
| /* | ||
| * Do not modify this file. This file is generated from the s3-2006-03-01.normal.json service model. | ||
| */ | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.Xml.Serialization; | ||
| using System.Text; | ||
| using System.IO; | ||
| using System.Net; | ||
|
|
||
| using Amazon.Runtime; | ||
| using Amazon.Runtime.Internal; | ||
|
|
||
| #pragma warning disable CS0612,CS0618,CS1570 | ||
| namespace Amazon.S3.Model | ||
| { | ||
| /// <summary> | ||
| /// Container for the parameters to the GetBucketMetadataConfiguration operation. | ||
| /// Retrieves the S3 Metadata configuration for a general purpose bucket. For more information, | ||
| /// see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-overview.html">Accelerating | ||
| /// data discovery with S3 Metadata</a> in the <i>Amazon S3 User Guide</i>. | ||
| /// | ||
| /// <note> | ||
| /// <para> | ||
| /// You can use the V2 <c>GetBucketMetadataConfiguration</c> API operation with V1 or | ||
| /// V2 metadata configurations. However, if you try to use the V1 <c>GetBucketMetadataTableConfiguration</c> | ||
| /// API operation with V2 configurations, you will receive an HTTP <c>405 Method Not Allowed</c> | ||
| /// error. | ||
| /// </para> | ||
| /// </note> <dl> <dt>Permissions</dt> <dd> | ||
| /// <para> | ||
| /// To use this operation, you must have the <c>s3:GetBucketMetadataTableConfiguration</c> | ||
| /// permission. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/metadata-tables-permissions.html">Setting | ||
| /// up permissions for configuring metadata tables</a> in the <i>Amazon S3 User Guide</i>. | ||
| /// | ||
| /// </para> | ||
| /// <note> | ||
| /// <para> | ||
| /// The IAM policy action name is the same for the V1 and V2 API operations. | ||
| /// </para> | ||
| /// </note> </dd> </dl> | ||
| /// <para> | ||
| /// The following operations are related to <c>GetBucketMetadataConfiguration</c>: | ||
| /// </para> | ||
| /// <ul> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateBucketMetadataConfiguration.html">CreateBucketMetadataConfiguration</a> | ||
| /// | ||
| /// </para> | ||
| /// </li> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketMetadataConfiguration.html">DeleteBucketMetadataConfiguration</a> | ||
| /// | ||
| /// </para> | ||
| /// </li> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataInventoryTableConfiguration.html">UpdateBucketMetadataInventoryTableConfiguration</a> | ||
| /// | ||
| /// </para> | ||
| /// </li> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_UpdateBucketMetadataJournalTableConfiguration.html">UpdateBucketMetadataJournalTableConfiguration</a> | ||
| /// | ||
| /// </para> | ||
| /// </li> </ul> <important> | ||
| /// <para> | ||
| /// You must URL encode any signed header values that contain spaces. For example, if | ||
| /// your header value is <c>my file.txt</c>, containing two spaces after <c>my</c>, you | ||
| /// must URL encode this value to <c>my%20%20file.txt</c>. | ||
| /// </para> | ||
| /// </important> | ||
| /// </summary> | ||
| public partial class GetBucketMetadataConfigurationRequest : AmazonWebServiceRequest | ||
| { | ||
| private string _bucketName; | ||
| private string _expectedBucketOwner; | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property BucketName. | ||
| /// <para> | ||
| /// The general purpose bucket that corresponds to the metadata configuration that you | ||
| /// want to retrieve. | ||
| /// </para> | ||
| /// </summary> | ||
| [AWSProperty(Required=true)] | ||
| public string BucketName | ||
| { | ||
| get { return this._bucketName; } | ||
| set { this._bucketName = value; } | ||
| } | ||
|
|
||
| // Check to see if BucketName property is set | ||
| internal bool IsSetBucketName() | ||
| { | ||
| return !String.IsNullOrEmpty(this._bucketName); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property ExpectedBucketOwner. | ||
| /// <para> | ||
| /// The expected owner of the general purpose bucket that you want to retrieve the metadata | ||
| /// table configuration for. | ||
| /// </para> | ||
| /// </summary> | ||
| public string ExpectedBucketOwner | ||
| { | ||
| get { return this._expectedBucketOwner; } | ||
| set { this._expectedBucketOwner = value; } | ||
| } | ||
|
|
||
| // Check to see if ExpectedBucketOwner property is set | ||
| internal bool IsSetExpectedBucketOwner() | ||
| { | ||
| return !String.IsNullOrEmpty(this._expectedBucketOwner); | ||
| } | ||
|
|
||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember seeing
XmlStructureUnmarshallCustomizationin the other PRs I reviewed. What does it do?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was in other PRs but probably missed because there weren't many structure unmarshallers. It is just a partial method defined for any customizations that apply to unmarshalling structures that use the rest-xml protocol. I have yet to use it though 😅