A remote endpoint for AWS S3 storage using presigned URLs. More...
#include <remote_handle.hpp>
Public Member Functions | |
| S3EndpointWithPresignedUrl (std::string presigned_url) | |
| void | setopt (CurlHandle &curl) override |
| Set needed connection options on a curl handle. More... | |
| std::string | str () const override |
| Get a description of this remote point instance. More... | |
| std::size_t | get_file_size () override |
| Get the size of the remote file. More... | |
| void | setup_range_request (CurlHandle &curl, std::size_t file_offset, std::size_t size) override |
| Set up the range request in order to read part of a file given the file offset and read size. | |
Public Member Functions inherited from kvikio::RemoteEndpoint | |
| RemoteEndpointType | remote_endpoint_type () const noexcept |
| Get the type of the remote file. More... | |
Static Public Member Functions | |
| static bool | is_url_valid (std::string const &url) noexcept |
| Whether the given URL is valid for S3 endpoints with presigned URL. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from kvikio::RemoteEndpoint | |
| RemoteEndpoint (RemoteEndpointType remote_endpoint_type) | |
Protected Attributes inherited from kvikio::RemoteEndpoint | |
| RemoteEndpointType | _remote_endpoint_type {RemoteEndpointType::AUTO} |
A remote endpoint for AWS S3 storage using presigned URLs.
This endpoint is for accessing S3 objects via presigned URLs, which provide time-limited access without requiring AWS credentials on the client side.
Definition at line 271 of file remote_handle.hpp.
|
overridevirtual |
|
staticnoexcept |
Whether the given URL is valid for S3 endpoints with presigned URL.
| url | A URL. |
|
overridevirtual |
Set needed connection options on a curl handle.
Subsequently, a call to curl.perform() should connect to the endpoint.
| curl | The curl handle. |
Implements kvikio::RemoteEndpoint.
|
overridevirtual |
Get a description of this remote point instance.
Implements kvikio::RemoteEndpoint.