PUT
/
streams
/
{stream}
curl --request PUT \
  --url https://{basin}.b.aws.s2.dev/v1/streams/{stream} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data null
{
  "created_at": "<string>",
  "deleted_at": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

s2-request-token
string

Provide a client request token header for idempotent retry behaviour.

Path Parameters

stream
string
required

Stream name, which must be unique within the basin. It can be an arbitrary string upto 512 characters. Backslash (/) is recommended as a delimiter for hierarchical naming.

Body

application/json

Response

201
application/json

The response is of type object.