cURL
curl --request GET \ --url https://aws.s2.dev/v1/basins/{basin} \ --header 'Authorization: Bearer <token>'
{ "create_stream_on_append": true, "create_stream_on_read": true, "default_stream_config": "<unknown>" }
Get the config of a basin.
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Bearer <token>
<token>
Basin name.
1 - 48
Create stream on append if it doesn't exist, using the default stream configuration.
Create stream on read if it doesn't exist, using the default stream configuration.
Default stream configuration.
Show child attributes
Delete-on-empty configuration.
Minimum age in seconds before an empty stream can be deleted. Set to 0 (default) to disable delete-on-empty (don't delete automatically).
x >= 0
Retention policy for the stream. If unspecified, the default is to retain records for 7 days.
Age in seconds for automatic trimming of records older than this threshold. This must be set to a value greater than 0 seconds.
Storage class for recent writes.
standard
express
Timestamping behavior.
Timestamping mode for appends that influences how timestamps are handled.
client-prefer
client-require
arrival
Allow client-specified timestamps to exceed the arrival time. If this is false or not set, client timestamps will be capped at the arrival time.
false