Interface IHarperDBExportS3Options

Hierarchy

Properties

awsAccessKeyId: string

your aws access key id

awsSecretAccessKey: string

your aws secret access key.

bucket: string

the name of the bucket where your file lives.

format: "csv" | "json"

the format you want your data to be exported, 'json' or 'csv'.

key: string

the name of the file to import - the file must include a valid file extension ('.csv' or '.json').

searchOperation: { get_attributes?: string[]; hash_values?: StringOrNumber[]; operation: "sql" | "search_by_value" | "search_by_hash"; search_attribute?: string; search_value?: string; sql?: string }

searchOperation of search_by_hash, search_by_value or sql.

Type declaration

  • Optional get_attributes?: string[]
  • Optional hash_values?: StringOrNumber[]
  • operation: "sql" | "search_by_value" | "search_by_hash"
  • Optional search_attribute?: string
  • Optional search_value?: string
  • Optional sql?: string