AgentSessionManager.Adapters.S3ArtifactStore.S3Client behaviour
(AgentSessionManager v0.8.0)
Copy Markdown
View Source
Behaviour for S3 API operations.
This behaviour abstracts the S3 client to allow mocking in tests.
The default implementation uses ExAws.S3.
Custom Implementations
You can provide your own implementation:
{:ok, store} = S3ArtifactStore.start_link(
bucket: "my-bucket",
client: MyCustomS3Client
)
Summary
Types
@type key() :: String.t()