boto / botocore

The low-level, core functionality of boto3 and the AWS CLI.
Apache License 2.0
1.47k stars 1.07k forks source link

Accept JSON Objects in the Loader #2054

Open richardhboyd opened 4 years ago

richardhboyd commented 4 years ago

Is your feature request related to a problem? Please describe. I have a JSON object representation of a service.json model and I want botocore to use it. I could write the file to disk and set the AWS_DATA_PATH environment variable, but I don't always (1) have permission to write to the disk (e.g. AWS Lambda Function) or (2) want this string persisted on the filesystem (even in a scratch directory).

Describe the solution you'd like I would like a method like the JSONFileLoader that could be a JSONLoader and it accepts a JSON object instead of a path to a JSON file on the filesystem.

swetashre commented 4 years ago

@richardhboyd - Thank you for your post. Marking this as feature request.

github-actions[bot] commented 3 years ago

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. Because it has been longer than one year since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment to prevent automatic closure, or if the issue is already closed, please feel free to reopen it.

richardhboyd commented 3 years ago

don't close

github-actions[bot] commented 2 years ago

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.

deric4 commented 2 years ago

don't close