Skip to content

Update Dataset

gluedatabrew_update_dataset R Documentation

Modifies the definition of an existing DataBrew dataset

Description

Modifies the definition of an existing DataBrew dataset.

Usage

gluedatabrew_update_dataset(Name, Format, FormatOptions, Input,
  PathOptions)

Arguments

Name

[required] The name of the dataset to be updated.

Format

The file format of a dataset that is created from an Amazon S3 file or folder.

FormatOptions
Input

[required]

PathOptions

A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.

Value

A list with the following syntax:

list(
  Name = "string"
)

Request syntax

svc$update_dataset(
  Name = "string",
  Format = "CSV"|"JSON"|"PARQUET"|"EXCEL"|"ORC",
  FormatOptions = list(
    Json = list(
      MultiLine = TRUE|FALSE
    ),
    Excel = list(
      SheetNames = list(
        "string"
      ),
      SheetIndexes = list(
        123
      ),
      HeaderRow = TRUE|FALSE
    ),
    Csv = list(
      Delimiter = "string",
      HeaderRow = TRUE|FALSE
    )
  ),
  Input = list(
    S3InputDefinition = list(
      Bucket = "string",
      Key = "string",
      BucketOwner = "string"
    ),
    DataCatalogInputDefinition = list(
      CatalogId = "string",
      DatabaseName = "string",
      TableName = "string",
      TempDirectory = list(
        Bucket = "string",
        Key = "string",
        BucketOwner = "string"
      )
    ),
    DatabaseInputDefinition = list(
      GlueConnectionName = "string",
      DatabaseTableName = "string",
      TempDirectory = list(
        Bucket = "string",
        Key = "string",
        BucketOwner = "string"
      ),
      QueryString = "string"
    ),
    Metadata = list(
      SourceArn = "string"
    )
  ),
  PathOptions = list(
    LastModifiedDateCondition = list(
      Expression = "string",
      ValuesMap = list(
        "string"
      )
    ),
    FilesLimit = list(
      MaxFiles = 123,
      OrderedBy = "LAST_MODIFIED_DATE",
      Order = "DESCENDING"|"ASCENDING"
    ),
    Parameters = list(
      list(
        Name = "string",
        Type = "Datetime"|"Number"|"String",
        DatetimeOptions = list(
          Format = "string",
          TimezoneOffset = "string",
          LocaleCode = "string"
        ),
        CreateColumn = TRUE|FALSE,
        Filter = list(
          Expression = "string",
          ValuesMap = list(
            "string"
          )
        )
      )
    )
  )
)