Skip to content

Conversation

@lauzadis
Copy link
Member

Issue #

N/A

Description of changes

Adds the members of PublicAccessBlockConfiguration to the RemoveDefaults customization. These members are not meant to have a default, as you are meant to be able to configure one member at a time - if you're just trying to turn BlockPublicAcls on, you don't want to accidentally turn off IgnorePublicAcls. This change makes these members nullable and is a break-fix.

Also refactors the map of shapes to remove defaults from to avoid having to call ShapeId.from everywhere.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Adds the members of `PublicAccessBlockConfiguration` to the
RemoveDefaults customization. These members are not meant
to have a default, as you are meant to be able to configure
one member at a time - if you're just trying to turn
`BlockPublicAcls` on, you don't want to accidentally turn
off `IgnorePublicAcls`. This change makes these members
nullable and is a break-fix.

Also refactors the map of shapes to remove defaults from to
avoid having to call `ShapeId.from` everywhere.
@lauzadis lauzadis requested a review from a team as a code owner November 21, 2023 15:27
@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@github-actions
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK

@lauzadis lauzadis merged commit 231c2bc into main Nov 21, 2023
@lauzadis lauzadis deleted the fix-add-s3-control-remove-defaults branch November 21, 2023 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants