A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.aws.amazon.com/sdkforruby/api/Aws/Kendra/Types/Document.html below:

Document — AWS SDK for Ruby V2

When passing Document as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "DocumentId", # required
  title: "Title",
  blob: "data",
  s3_path: {
    bucket: "S3BucketName", # required
    key: "S3ObjectKey", # required
  },
  attributes: [
    {
      key: "DocumentAttributeKey", # required
      value: { # required
        string_value: "DocumentAttributeStringValue",
        string_list_value: ["String"],
        long_value: 1,
        date_value: Time.now,
      },
    },
  ],
  access_control_list: [
    {
      name: "PrincipalName", # required
      type: "USER", # required, accepts USER, GROUP
      access: "ALLOW", # required, accepts ALLOW, DENY
    },
  ],
  content_type: "PDF", # accepts PDF, HTML, MS_WORD, PLAIN_TEXT, PPT
}

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