Skip to content

AWS: Deprecate AwsClientFactories.s3Configuration()#5592

Merged
jackye1995 merged 1 commit intoapache:masterfrom
price-qian:master
Aug 26, 2022
Merged

AWS: Deprecate AwsClientFactories.s3Configuration()#5592
jackye1995 merged 1 commit intoapache:masterfrom
price-qian:master

Conversation

@price-qian
Copy link
Contributor

This method was incorrectly marked as public. Deprecating it is one of the follow-up items of the following PR:
#5555

@github-actions github-actions bot added the AWS label Aug 20, 2022
* s3UseArnRegionEnabled
*
* @deprecated Not for public use. To build an S3Configuration object, use
* S3Configuration.builder() directly.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should include a note like "will be removed in 2.0.0".

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added

}

/**
* Build an S3Configuration object from two boolean flags, pathStyleAccess and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build an S3Configuration object from two boolean flags, pathStyleAccess and s3UseArnRegionEnabled

This part is a bit too specific, since we are just deprecating it, we can just have a simple message like "Build an S3 configuration object". The parameters should be put in the @param lines

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

This method was incorrectly marked as public. Deprecating it
is one of the follow-up items of the following PR:
apache#5555
@jackye1995
Copy link
Contributor

Thanks for the change, and thanks @rdblue for the review!

@jackye1995 jackye1995 merged commit a40dbd2 into apache:master Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants