PATCH
/
basins
/
{basin}
curl --request PATCH \
  --url https://aws.s2.dev/v1/basins/{basin} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "create_stream_on_append": true,
  "create_stream_on_read": true,
  "default_stream_config": null
}'
{
  "create_stream_on_append": true,
  "create_stream_on_read": true,
  "default_stream_config": null
}

Authorizations

Authorization
string
header
required

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

Path Parameters

basin
string
required

Basin name, which must be globally unique. The name must be between 8 and 48 characters, comprising lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.

Body

application/json
create_stream_on_append
boolean | null

Create a stream on append.

create_stream_on_read
boolean | null

Create a stream on read.

default_stream_config
object | null

Basin configuration.

Response

200
application/json
create_stream_on_append
boolean | null

Create stream on append if it doesn't exist, using the default stream configuration.

create_stream_on_read
boolean | null

Create stream on read if it doesn't exist, using the default stream configuration.

default_stream_config
object | null

Default stream configuration.