-
Notifications
You must be signed in to change notification settings - Fork 874
Geneate DeleteBucketInventoryConfiguration #4157
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 2 commits into
petesong/phase-3-pr4-base
from
peterrsongg/petesong/phase-3-pr4-3/4
Nov 26, 2025
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
91 changes: 0 additions & 91 deletions
91
sdk/src/Services/S3/Custom/Model/DeleteBucketInventoryConfigurationRequest.cs
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
...l/Internal/MarshallTransformations/DeleteBucketInventoryConfigurationRequestMarshaller.cs
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
...nternal/MarshallTransformations/DeleteBucketInventoryConfigurationResponseUnmarshaller.cs
This file was deleted.
Oops, something went wrong.
147 changes: 147 additions & 0 deletions
147
sdk/src/Services/S3/Generated/Model/DeleteBucketInventoryConfigurationRequest.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,147 @@ | ||
| /* | ||
| * 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 DeleteBucketInventoryConfiguration operation. | ||
| /// <note> | ||
| /// <para> | ||
| /// This operation is not supported for directory buckets. | ||
| /// </para> | ||
| /// </note> | ||
| /// <para> | ||
| /// Deletes an S3 Inventory configuration (identified by the inventory ID) from the bucket. | ||
| /// </para> | ||
| /// | ||
| /// <para> | ||
| /// To use this operation, you must have permissions to perform the <c>s3:PutInventoryConfiguration</c> | ||
| /// action. The bucket owner has this permission by default. The bucket owner can grant | ||
| /// this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions | ||
| /// Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing | ||
| /// Access Permissions to Your Amazon S3 Resources</a>. | ||
| /// </para> | ||
| /// | ||
| /// <para> | ||
| /// For information about the Amazon S3 inventory feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-inventory.html">Amazon | ||
| /// S3 Inventory</a>. | ||
| /// </para> | ||
| /// | ||
| /// <para> | ||
| /// Operations related to <c>DeleteBucketInventoryConfiguration</c> include: | ||
| /// </para> | ||
| /// <ul> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketInventoryConfiguration.html">GetBucketInventoryConfiguration</a> | ||
| /// | ||
| /// </para> | ||
| /// </li> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketInventoryConfiguration.html">PutBucketInventoryConfiguration</a> | ||
| /// | ||
| /// </para> | ||
| /// </li> <li> | ||
| /// <para> | ||
| /// <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBucketInventoryConfigurations.html">ListBucketInventoryConfigurations</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 DeleteBucketInventoryConfigurationRequest : AmazonWebServiceRequest | ||
| { | ||
| private string _bucketName; | ||
| private string _expectedBucketOwner; | ||
| private string _inventoryId; | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property BucketName. | ||
| /// <para> | ||
| /// The name of the bucket containing the inventory configuration to delete. | ||
| /// </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; | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property ExpectedBucketOwner. | ||
| /// <para> | ||
| /// The account ID of the expected bucket owner. If the account ID that you provide does | ||
| /// not match the actual owner of the bucket, the request fails with the HTTP status code | ||
| /// <c>403 Forbidden</c> (access denied). | ||
| /// </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); | ||
| } | ||
|
|
||
| /// <summary> | ||
| /// Gets and sets the property InventoryId. | ||
| /// <para> | ||
| /// The ID used to identify the inventory configuration. | ||
| /// </para> | ||
| /// </summary> | ||
| [AWSProperty(Required=true)] | ||
| public string InventoryId | ||
| { | ||
| get { return this._inventoryId; } | ||
| set { this._inventoryId = value; } | ||
| } | ||
|
|
||
| // Check to see if InventoryId property is set | ||
| internal bool IsSetInventoryId() | ||
| { | ||
| return this._inventoryId != null; | ||
| } | ||
|
|
||
| } | ||
| } | ||
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.