Skip to content

Where does outfile field in the output structure of in a BinaryFile retrieving API come from ? #6960

Answered by tim-finnigan
Zhenye-Na asked this question in Q&A
Discussion options

You must be logged in to vote

The outfile argument is going to be a positional argument representing the name of the file to save the binary payload from your operation.

So for example, you would run:

aws awesome-service awesome-function path/to/payload-content

and it would save the content of the payload to the file path/to/payload-content.

This argument is added automatically to any CLI command where the API operation has an output that is a streaming blob. In terms of customizing it, the team would prefer to keep what is automatically added to stay consistent with other service APIs whose outputs are streaming blobs.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Zhenye-Na
Comment options

@Zhenye-Na
Comment options

@tim-finnigan
Comment options

@Zhenye-Na
Comment options

Answer selected by tim-finnigan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants