Skip to content

Commit e4f57d0

Browse files
authored
docs(s3-request-presigner): copy tweaks in s3-request-presigner README (#1440)
* Signify that the second example is ES6-specific -- not Typescript * Minor grammar corrections: * "when instantiating" vs. "when instantiate" * "the configuration of an" vs. "the configurations of an" * "an existing client" vs. "an existing clients"
1 parent c18bfe4 commit e4f57d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/s3-request-presigner/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const signer = new S3Presigner({
1919
const url = await signer.presign(request);
2020
```
2121

22-
Typescript Example:
22+
ES6 Example:
2323

2424
```javascript
2525
import { S3RequestPresigner } from "@aws-sdk/s3-request-presigner";
@@ -33,8 +33,8 @@ const signer = new S3RequestPresigner({
3333
const url = await signer.presign(request);
3434
```
3535

36-
To avoid redundant construction parameters when instantiate the s3 presigner,
37-
you can simply spread the configurations of an existing s3 clients and supply to
36+
To avoid redundant construction parameters when instantiating the s3 presigner,
37+
you can simply spread the configuration of an existing s3 client and supply it to
3838
the presigner's constructor.
3939

4040
```javascript

0 commit comments

Comments
 (0)