cURL
curl --request POST \ --url https://{basin}.b.aws.s2.dev/v1/streams \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "stream": "<string>" }'
{ "created_at": "<string>", "deleted_at": "<string>", "name": "<string>" }
Create a new stream in a basin.
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Bearer <token>
<token>
The response is of type object.
object