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

Copy tweaks in s3-request-presigner README #1440

Merged
merged 1 commit into from
Aug 17, 2020
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
6 changes: 3 additions & 3 deletions packages/s3-request-presigner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const signer = new S3Presigner({
const url = await signer.presign(request);
```

Typescript Example:
ES6 Example:

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

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

```javascript
Expand Down