OptionalretryConfig: RetryConfigCreate a stream.
Input for creating a stream.
Optionalconfig?: StreamConfigStream configuration.
Stream name that is unique to the basin. It can be between 1 and 512 bytes in length.
Optionaloptions: S2RequestOptionsDelete a stream.
Input for deleting a stream.
Stream name.
Optionaloptions: S2RequestOptionsEnsure a stream.
Creates the stream if it doesn't exist, or ensures its config exactly matches the provided configuration after basin defaults and global defaults are applied. Uses HTTP PUT semantics and is always idempotent.
Returns result: "created" with the stream info if the stream was newly created,
result: "updated" if its config changed, or result: "noop" if no write was needed.
Optionaloptions: S2RequestOptionsGet stream configuration.
Input for getting stream configuration.
Stream name.
Optionaloptions: S2RequestOptionsList streams in the basin.
Optionalargs: ListStreamsInputInput for listing streams.
Optionallimit?: numberNumber of results, up to a maximum of 1000.
Optionalprefix?: stringFilter to streams whose name begins with this prefix.
OptionalstartAfter?: stringFilter to streams whose name lexicographically starts after this string.
Optionaloptions: S2RequestOptionsList all streams in the basin with automatic pagination. Returns a lazy async iterable that fetches pages as needed.
Optionalargs: ListAllStreamsInputOptional options: prefix to filter by name prefix, limit for max results per page, includeDeleted to include streams pending deletion
Optionaloptions: S2RequestOptionsReconfigure a stream.
Configuration for the stream to reconfigure (including stream name and fields to change)
Optionaloptions: S2RequestOptions
Basin-scoped helper for listing and configuring streams.
Access via S2Basin.streams. Methods inherit the basin's retry configuration.