|
aws-crt-cpp
C++ wrapper around the aws-c-* libraries. Provides Cross-Platform Transport Protocols and SSL/TLS implementations for C++.
|
#include <S3.h>
Static Public Member Functions | |
| static ScopedResource< S3MetaRequestOptions > | Create (const std::shared_ptr< Http::HttpRequest > &request, const Crt::String &operationName) noexcept |
Additional Inherited Members | |
Public Types inherited from Aws::Crt::S3::S3MetaRequestOptions | |
| using | BodyCallback = std::function< bool(ByteCursor body, uint64_t rangeStart)> |
| using | BodyCallbackEx = std::function< bool(ByteCursor body, uint64_t rangeStart, S3BufferTicket &ticket)> |
| using | HeadersCallback = std::function< bool(const Vector< Http::HttpHeader > &headers, int responseStatus)> |
| using | ProgressCallback = std::function< void(uint64_t bytesTransferred, uint64_t contentLength)> |
| using | FinishCallback = std::function< void(const S3MetaRequestResult &result)> |
| using | ShutdownCallback = std::function< void()> |
Protected Member Functions inherited from Aws::Crt::S3::S3MetaRequestOptions | |
| S3MetaRequestOptions (S3MetaRequestType type, const std::shared_ptr< Http::HttpRequest > &request) noexcept | |
Protected Attributes inherited from Aws::Crt::S3::S3MetaRequestOptions | |
| ScopedResource< Impl > | m_impl |
| std::shared_ptr< Http::HttpRequest > | m_httpRequest |
| String | m_operationName |
| String | m_sendFilepath |
| String | m_recvFilepath |
| aws_uri | m_endpoint |
| bool | m_endpointInit |
| Optional< uint64_t > | m_objectSizeHint |
| BodyCallback | m_bodyCb |
| BodyCallbackEx | m_bodyCbEx |
| HeadersCallback | m_headersCb |
| ProgressCallback | m_progressCb |
| FinishCallback | m_finishCb |
| ShutdownCallback | m_shutdownCb |
| int | m_lastError = AWS_ERROR_SUCCESS |
Options for a S3MetaRequestType::Default meta request. Use this for any S3 operation that is not GetObject, PutObject, or CopyObject (ex. CreateBucket, HeadObject, ListObjectsV2). The operation name is required and must be the canonical S3 API operation name; mis-naming can produce incorrect behavior or leak sensitive data on error paths (aws-c-s3 uses the name to drive operation-specific response handling).
|
delete |
|
delete |
|
staticnoexcept |
Build options for a S3MetaRequestType::Default meta request.
| request | the prepared HTTP request. |
| operationName | the S3 API operation name (ex. "CreateBucket", "HeadObject", "ListObjectsV2"). |
|
delete |
|
delete |
1.8.10