awslabs / aws-sdk-rust

AWS SDK for the Rust Programming Language
https://awslabs.github.io/aws-sdk-rust/
Apache License 2.0
3.04k stars 247 forks source link

Lambda invoke builder `payload` docs are a bit off #783

Open fermanjj opened 1 year ago

fermanjj commented 1 year ago

Describe the issue

The documentation for setting the payload are as follows:

The JSON that you want to provide to your Lambda function as input.

You can enter the JSON directly. For example, --payload '{ "key": "value" }'. You can also specify a file path. For example, --payload file://payload.json.

The second part of this looks like it's coming from CLI docs which aren't valid here.

Links

Velfi commented 1 year ago

@fermanjj Thanks for submitting this.

@jmklix Can you move this issue upstream to the aws-sdk issue tracker?