File tree 2 files changed +4
-4
lines changed
powertools-sqs/src/main/java/software/amazon/lambda/powertools/sqs
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -182,9 +182,9 @@ processing.
182
182
}
183
183
```
184
184
185
- ## Passing custom S3Client
185
+ ## Overriding the default S3Client
186
186
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
188
188
** [ SqsLargeMessage annotation] ( #lambda-handler ) ** , or ** [ SqsUtils Utility API] ( #utility ) ** .
189
189
190
190
=== "App.java"
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ public static void overrideSqsClient(SqsClient client) {
99
99
}
100
100
101
101
/**
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.
104
104
*
105
105
* @param s3Client {@link S3Client} to be used by utility
106
106
*/
You can’t perform that action at this time.
0 commit comments