Create or reconfigure a stream.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
Provide a client request token header for idempotent retry behaviour.
Path Parameters
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
Controls how to handle timestamps when they are not provided by the client. If this is false (or not set), the record's arrival time in milliseconds since Unix epoch will be assigned as its timestamp. If this is true, then any append without a client-specified timestamp will be rejected as invalid.
Retention policy for the stream. If unspecified, the default is to retain records for 7 days.
Storage class for recent writes. This is the main cost:performance knob in S2.
standard
, express
Allow client timestamps to exceed the arrival time in milliseconds since Unix epoch. If this is false (or not set), client timestamps will be capped at the arrival time.