-
Notifications
You must be signed in to change notification settings - Fork 874
Generate DeleteBucketMetadataConfiguration #4204
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
Open
peterrsongg
wants to merge
1
commit into
petesong/phase-3-pr5-base
Choose a base branch
from
peterrsongg/petesong/phase-3-pr5-rebased-2/1
base: petesong/phase-3-pr5-base
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+160
−78
Open
Changes from all commits
Commits
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/DeleteBucketMetadataConfigurationRequest.cs
This file was deleted.
Oops, something went wrong.
133 changes: 133 additions & 0 deletions
133
sdk/src/Services/S3/Generated/Model/DeleteBucketMetadataConfigurationRequest.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 DeleteBucketMetadataConfiguration operation. | ||
| /// Deletes an S3 Metadata configuration from 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>DeleteBucketMetadataConfiguration</c> API operation with V1 | ||
| /// or V2 metadata configurations. However, if you try to use the V1 <c>DeleteBucketMetadataTableConfiguration</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:DeleteBucketMetadataTableConfiguration</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>DeleteBucketMetadataConfiguration</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_GetBucketMetadataConfiguration.html">GetBucketMetadataConfiguration</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 DeleteBucketMetadataConfigurationRequest : AmazonWebServiceRequest | ||
| { | ||
| private string _bucketName; | ||
| private string _expectedBucketOwner; | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property BucketName. | ||
| /// <para> | ||
| /// The general purpose bucket that you want to remove the metadata configuration from. | ||
| /// | ||
| /// </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 this._bucketName != null; | ||
peterrsongg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property ExpectedBucketOwner. | ||
| /// <para> | ||
| /// The expected bucket owner of the general purpose bucket that you want to remove the | ||
| /// metadata table configuration from. | ||
| /// </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); | ||
| } | ||
|
|
||
| } | ||
| } | ||
File renamed without changes.
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.
Uh oh!
There was an error while loading. Please reload this page.