userver: s3api::multipart_upload::InitiateMultipartUploadResult Struct Reference
Loading...
Searching...
No Matches
s3api::multipart_upload::InitiateMultipartUploadResult Struct Reference

#include <userver/s3api/models/multipart_upload/responses.hpp>

Detailed Description

For some unclear reasons almost all fields in S3 API are optional including even those fields which are clearly stated to be required in S3 documentation. There are some unconvincing explanations for this at https://github.com/boto/botocore/issues/1069#issuecomment-259255047, but that's it! This implementation of the API in this library is a bit stricter than it is in S3 API specifciation, intentionally making some optional fields to be required non-empty. The response body content of CreateMultipartUpload action request

See also
https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html#API_CreateMultipartUpload_ResponseSyntax NOTE: bucket, key, upload_id are allowed to be empty string values by the S3 specification.

Definition at line 26 of file responses.hpp.

Static Public Member Functions

static InitiateMultipartUploadResult Parse (utils::zstring_view http_s3_respose_body)
 

Public Attributes

std::string bucket
 
std::string key
 
std::string upload_id
 

Member Function Documentation

◆ Parse()

InitiateMultipartUploadResult s3api::multipart_upload::InitiateMultipartUploadResult::Parse ( utils::zstring_view http_s3_respose_body)
static

Definition at line 78 of file responses.cpp.

Member Data Documentation

◆ bucket

std::string s3api::multipart_upload::InitiateMultipartUploadResult::bucket

Definition at line 27 of file responses.hpp.

◆ key

std::string s3api::multipart_upload::InitiateMultipartUploadResult::key

Definition at line 28 of file responses.hpp.

◆ upload_id

std::string s3api::multipart_upload::InitiateMultipartUploadResult::upload_id

Definition at line 29 of file responses.hpp.


The documentation for this struct was generated from the following files: