Skip to content
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

[LocalStack] Deprecate methods using aws sdk v1 #5489

Merged
merged 1 commit into from Jun 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -193,7 +193,9 @@ public LocalStackContainer withServices(EnabledService... services) {
*
* @param service the service that is to be accessed
* @return an {@link AwsClientBuilder.EndpointConfiguration}
* @deprecated {@link LocalStackContainer} will not depend on aws sdk.
*/
@Deprecated
public AwsClientBuilder.EndpointConfiguration getEndpointConfiguration(Service service) {
return new AwsClientBuilder.EndpointConfiguration(getEndpointOverride(service).toString(), getRegion());
}
Expand Down Expand Up @@ -257,7 +259,9 @@ private int getServicePort(EnabledService service) {
.build()
</code></pre>
* @return an {@link AWSCredentialsProvider}
* @deprecated {@link LocalStackContainer} will not depend on aws sdk.
*/
@Deprecated
public AWSCredentialsProvider getDefaultCredentialsProvider() {
return new AWSStaticCredentialsProvider(new BasicAWSCredentials(getAccessKey(), getSecretKey()));
}
Expand Down