-
Notifications
You must be signed in to change notification settings - Fork 873
Generate GetBucketIntelligentTieringConfiguration #4146
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
Generate GetBucketIntelligentTieringConfiguration #4146
Conversation
798da71 to
f8ef622
Compare
adf364e to
17ee8cf
Compare
|
GetBucketInteligentTiering AI report Breaking Changes Analysis ReportI have analyzed all 14 files affected in this PR migration from custom to generated S3 code. Here are the findings: ❌ BREAKING CHANGE #1: GetBucketIntelligentTieringConfigurationRequest.csFile: Issue: IsSet method changed for string properties Custom (deleted) code: internal bool IsSetIntelligentTieringId()
{
return !string.IsNullOrEmpty(this.intelligentTieringId);
}Generated code: internal bool IsSetIntelligentTieringId()
{
return this._intelligentTieringId != null;
}Impact: Per instruction #5, for request objects with string properties, changing IsSet from
|
| } | ||
|
|
||
| // Check to see if IntelligentTieringId property is set | ||
| internal bool IsSetIntelligentTieringId() |
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.
not changing this to String.ISNullOREmpty because we check this in the marshaller and will throw an exception if the string is null or empty
| { | ||
| tiering.AccessTier = StringUnmarshaller.GetInstance().Unmarshall(context); | ||
|
|
||
| var unmarshaller = NullableIntUnmarshaller.Instance; |
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.
this is fine because Days must be specified for the AccessTier when you put the intelligenttiering configuration, meaning that if the AccessTier xmlElement is present on the Get side then there will always be a non-empty Days xml element
* generate PutBucketIntelligentTieringConfiguration stack-info: PR: #4145, branch: peterrsongg/petesong/phase-3-pr-3/1 * Generate GetBucketIntelligentTieringConfiguration stack-info: PR: #4146, branch: peterrsongg/petesong/phase-3-pr-3/2 * Generate ListBucketIntelligentTieringConfiguration stack-info: PR: #4147, branch: peterrsongg/petesong/phase-3-pr-3/3
* generate PutBucketIntelligentTieringConfiguration stack-info: PR: #4145, branch: peterrsongg/petesong/phase-3-pr-3/1 * Generate GetBucketIntelligentTieringConfiguration stack-info: PR: #4146, branch: peterrsongg/petesong/phase-3-pr-3/2 * Generate ListBucketIntelligentTieringConfiguration stack-info: PR: #4147, branch: peterrsongg/petesong/phase-3-pr-3/3 * Generate DeleteBucketIntelligentTiering stack-info: PR: #4148, branch: peterrsongg/petesong/phase-3-pr-3/4
* generate PutBucketIntelligentTieringConfiguration stack-info: PR: #4145, branch: peterrsongg/petesong/phase-3-pr-3/1 * Generate GetBucketIntelligentTieringConfiguration stack-info: PR: #4146, branch: peterrsongg/petesong/phase-3-pr-3/2 * Generate ListBucketIntelligentTieringConfiguration stack-info: PR: #4147, branch: peterrsongg/petesong/phase-3-pr-3/3 * Generate DeleteBucketIntelligentTiering stack-info: PR: #4148, branch: peterrsongg/petesong/phase-3-pr-3/4 * add shapes to S3NeedsCustomUpdate and add devconfig stack-info: PR: #4149, branch: peterrsongg/petesong/phase-3-pr-3/5
Description
Generate GetBucketIntelligentTieringConfiguration
Motivation and Context
Testing
Dry run for base branch passed
Fuzz testing passed.
AI Prompt run
NOTE: doing IntelligentTiering validation changed the behavior. Previously, not setting this would call ListBucketIntelligentTieringConfiguration. Will call this out in the changelog.
Screenshots (if appropriate)
Types of changes
Checklist
License