aws / aws-sdk

Landing page for the AWS SDKs on GitHub
https://aws.amazon.com/tools/
Other
72 stars 16 forks source link

PutMedia support for aws-sdk-js-v3 #798

Closed uxtx closed 3 months ago

uxtx commented 1 year ago

Describe the feature

Implementing the PutMedia api as described here

Use Case

Suppose a user is trying to send streaming video data up to a kinesis video stream. There appears to be no viable way to easily pass the stream data other than spinning up a Java lambda function, pass in the video data and utilize the PutMedia command that way.

Proposed Solution

support for a client-kinesis-video-media putMediaCommand that would decorate the request with the necessary amz headers and allow an argument with a video fragment in the payload.

Other Information

I am alternately going to try PUTing directly to the kinesis stream api and pass in the payload this way.

Acknowledgements

SDK version used

3.410.0

Environment details (OS name and version, etc.)

Mac OS M2, Chrome Browser

RanVaknin commented 4 months ago

Hi there,

The AWS SDKs are all code-generated from the API models of each AWS service. Since the Kinesis video media service doesn't publish this operation in their public API model, the SDK won't have support for it.

Related https://github.com/aws/aws-sdk-java-v2/issues/1330

AFAIK, right now this operation is only supported using one of the Kinesis Producer SDKs:

I'm going to move this issue to the cross SDK repo for tracking.

Thanks, Ran~

RanVaknin commented 3 months ago

Closing because Kinesis team could not commit to publishing a producer client for additional languages.

Thanks, Ran~

github-actions[bot] commented 3 months ago

This issue is now closed.

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.