Create a basin.
Input for creating a basin.
Basin name which must be globally unique. It can be between 8 and 48 characters in length, and comprise lowercase letters, numbers and hyphens. It cannot begin or end with a hyphen.
Optionalconfig?: BasinConfigBasin configuration.
Optionallocation?: stringBasin location.
Optionaloptions: S2RequestOptionsDelete a basin.
Input for deleting a basin.
Basin name.
Optionaloptions: S2RequestOptionsEnsure a basin.
Creates the basin if it doesn't exist, or ensures its config exactly matches the provided configuration after defaults are applied. Uses HTTP PUT semantics and is always idempotent.
Returns result: "created" with the basin info if the basin was newly created,
result: "updated" if its config changed, or result: "noop" if no write was needed.
Optionaloptions: S2RequestOptionsGet basin configuration.
Input for getting basin configuration.
Basin name.
Optionaloptions: S2RequestOptionsList basins.
Optionalargs: ListBasinsInputInput for listing basins.
Optionallimit?: numberNumber of results, up to a maximum of 1000.
Optionalprefix?: stringFilter to basins whose names begin with this prefix.
OptionalstartAfter?: stringFilter to basins whose names lexicographically start after this string.
Optionaloptions: S2RequestOptionsList all basins with automatic pagination. Returns a lazy async iterable that fetches pages as needed.
Optionalargs: ListAllBasinsInputOptional options: prefix to filter by name prefix, limit for max results per page, includeDeleted to include basins pending deletion
Optionaloptions: S2RequestOptionsReconfigure a basin.
Configuration for the basin to reconfigure (including basin name and fields to change)
Optionaloptions: S2RequestOptions
Account-scoped helper for listing, creating, ensuring, deleting, and reconfiguring basins.
Retrieve this via S2.basins. Each method retries according to the client-level retry config.