ExStreamClient.Operations.ExternalStorage (ExStreamClient v0.1.7)
View SourceModules for interacting with the external_storage
group of Stream APIs
API Reference: https://getstream.github.io/protocol/?urls.primaryName=Chat%20v2
Shared options
All functions in this module accept the following optional parameters:
api_key
- API key to use. If not provided, the default key from config will be usedapi_key_secret
- API key secret to use. If not provided, the default secret from config will be usedendpoint
- endpoint to use. If not provided, the default endpoint from config will be usedclient
- HTTP client to use. Must implementExStreamClient.Http.Behavior
. Defaults toExStreamClient.Http
req_opts
- all of these options will be forwarded to req. SeeReq.new/1
for available options
Summary
Types
Functions
@spec check_external_storage(String.t(), shared_opts()) :: {:ok, ExStreamClient.Model.CheckExternalStorageResponse.t()} | {:error, any()}
Required Arguments:
name
Optional Arguments:
- All options from Shared Options are supported.
@spec create_external_storage( ExStreamClient.Model.CreateExternalStorageRequest.t(), shared_opts() ) :: {:ok, ExStreamClient.Model.CreateExternalStorageResponse.t()} | {:error, any()}
Creates new external storage
Required Arguments:
Optional Arguments:
- All options from Shared Options are supported.
@spec delete_external_storage(String.t(), shared_opts()) :: {:ok, ExStreamClient.Model.DeleteExternalStorageResponse.t()} | {:error, any()}
Deletes external storage
Required Arguments:
name
Optional Arguments:
- All options from Shared Options are supported.
@spec list_external_storage(shared_opts()) :: {:ok, ExStreamClient.Model.ListExternalStorageResponse.t()} | {:error, any()}
Lists external storage
Optional Arguments:
- All options from Shared Options are supported.
@spec update_external_storage( String.t(), ExStreamClient.Model.UpdateExternalStorageRequest.t(), shared_opts() ) :: {:ok, ExStreamClient.Model.UpdateExternalStorageResponse.t()} | {:error, any()}
Required Arguments:
Optional Arguments:
- All options from Shared Options are supported.