Skip to content

Get Sample Data

lookoutmetrics_get_sample_data R Documentation

Returns a selection of sample records from an Amazon S3 datasource

Description

Returns a selection of sample records from an Amazon S3 datasource.

Usage

lookoutmetrics_get_sample_data(S3SourceConfig)

Arguments

S3SourceConfig

A datasource bucket in Amazon S3.

Value

A list with the following syntax:

list(
  HeaderValues = list(
    "string"
  ),
  SampleRows = list(
    list(
      "string"
    )
  )
)

Request syntax

svc$get_sample_data(
  S3SourceConfig = list(
    RoleArn = "string",
    TemplatedPathList = list(
      "string"
    ),
    HistoricalDataPathList = list(
      "string"
    ),
    FileFormatDescriptor = list(
      CsvFormatDescriptor = list(
        FileCompression = "NONE"|"GZIP",
        Charset = "string",
        ContainsHeader = TRUE|FALSE,
        Delimiter = "string",
        HeaderList = list(
          "string"
        ),
        QuoteSymbol = "string"
      ),
      JsonFormatDescriptor = list(
        FileCompression = "NONE"|"GZIP",
        Charset = "string"
      )
    )
  )
)