When passing BatchPutDocumentRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
index_id: "IndexId", role_arn: "RoleArn",
documents: [ {
id: "DocumentId", title: "Title",
blob: "data",
s3_path: {
bucket: "S3BucketName", key: "S3ObjectKey", },
attributes: [
{
key: "DocumentAttributeKey", value: { string_value: "DocumentAttributeStringValue",
string_list_value: ["String"],
long_value: 1,
date_value: Time.now,
},
},
],
access_control_list: [
{
name: "PrincipalName", type: "USER", access: "ALLOW", },
],
content_type: "PDF", },
],
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4