Skip to content

Commit d209f26

Browse files
author
Pankaj Agrawal
committed
docs: Improvements
1 parent a30360d commit d209f26

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/utilities/sqs_large_message_handling.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ processing.
182182
}
183183
```
184184

185-
## Passing custom S3Client
185+
## Overriding the default S3Client
186186

187-
If you need to pass custom S3Client such as region to the SDK, you can pass your own `S3Client` to be used by utility either for
187+
If you require customisations to the default S3Client, you can create your own `S3Client` and pass it to be used by utility either for
188188
**[SqsLargeMessage annotation](#lambda-handler)**, or **[SqsUtils Utility API](#utility)**.
189189

190190
=== "App.java"

powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs/SqsUtils.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ public static void overrideSqsClient(SqsClient client) {
9999
}
100100

101101
/**
102-
* Provides ability to set default {@link S3Client} to be used by utility.
103-
* If no default configuration is provided, client is instantiated via {@link S3Client#create()}
102+
* By default, the S3Client is instantiated via {@link S3Client#create()}.
103+
* This method provides the ability to override the S3Client with your own custom version.
104104
*
105105
* @param s3Client {@link S3Client} to be used by utility
106106
*/

0 commit comments

Comments
 (0)