-
Notifications
You must be signed in to change notification settings - Fork 874
Generate S3 CopyObject operation #4234
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
base: muhamoth/S3-generate-PutBucketTagging-operation
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -150,6 +150,16 @@ using Amazon.Runtime.Internal.Util; | |
| { | ||
| if (this.Config.ServiceModel.Customizations.ShapeModifiers.TryGetValue(member.OwningShape.Name, out var modifier) && modifier.ExcludedUnmarshallingProperties.Contains(member.ModeledName)) | ||
| continue; | ||
| if (this.Config.ServiceModel.Customizations.TryGetPropertyModifier(member.OwningShape.Name, member.ModeledName, out var propertyModifier) && propertyModifier.InjectXmlUnmarshallCode.Count > 0) | ||
| { | ||
| foreach (var code in propertyModifier.InjectXmlUnmarshallCode) | ||
| { | ||
| #> | ||
| <#=code#> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment as above( there is also a method above the one i linked for exactly this scenario) |
||
| <#+ | ||
| } | ||
| continue; | ||
| } | ||
| if (member.Shape.IsMap) | ||
| { | ||
| #> | ||
|
|
||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -404,6 +404,8 @@ namespace <#=this.Config.Namespace#>.Model | |
|
|
||
| <# | ||
| } | ||
| if (this.Config.ServiceModel.Customizations.TryGetPropertyModifier(member.OwningShape.Name, member.ModeledName, out var propertyModifier) && propertyModifier.SkipXmlIsSet) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. curious, what did you need this for? |
||
| continue; | ||
| #> | ||
| // Check to see if <#=member.PropertyName#> property is set | ||
| internal bool IsSet<#=member.PropertyName#>() | ||
|
|
||
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.
https://github.com/aws/aws-sdk-net/blob/main/generator/ServiceClientGeneratorLib/Generators/BaseGenerator.tt#L625-L636
you can use this method instead of looping through yourself