Foundation Models Dataset Service API, gRPC: DatasetService.StartMultipartUploadDraft
Written by
Updated at December 9, 2024
Returns a list of S3 presigned URLs for multipart upload of dataset.
gRPC request
rpc StartMultipartUploadDraft (StartMultipartUploadDraftRequest) returns (StartMultipartUploadDraftResponse)
StartMultipartUploadDraftRequest
{
"dataset_id": "string",
"size_bytes": "int64",
"parts": "int64"
}
Field |
Description |
dataset_id |
string Required field. ID of the dataset to multipart upload. |
size_bytes |
int64 Size in bytes of the dataset to upload. |
parts |
int64 Number of parts in multipart upload. Optional. |
StartMultipartUploadDraftResponse
{
"dataset_id": "string",
"multipart_upload_urls": [
"string"
]
}
Field |
Description |
dataset_id |
string ID of the dataset. |
multipart_upload_urls[] |
string List of S3 presigned URLs for multipart upload. |