Skip to content

List Datasets

forecastservice_list_datasets R Documentation

Returns a list of datasets created using the CreateDataset operation

Description

Returns a list of datasets created using the create_dataset operation. For each dataset, a summary of its properties, including its Amazon Resource Name (ARN), is returned. To retrieve the complete set of properties, use the ARN with the describe_dataset operation.

Usage

forecastservice_list_datasets(NextToken, MaxResults)

Arguments

NextToken

If the result of the previous request was truncated, the response includes a NextToken. To retrieve the next set of results, use the token in the next request. Tokens expire after 24 hours.

MaxResults

The number of items to return in the response.

Value

A list with the following syntax:

list(
  Datasets = list(
    list(
      DatasetArn = "string",
      DatasetName = "string",
      DatasetType = "TARGET_TIME_SERIES"|"RELATED_TIME_SERIES"|"ITEM_METADATA",
      Domain = "RETAIL"|"CUSTOM"|"INVENTORY_PLANNING"|"EC2_CAPACITY"|"WORK_FORCE"|"WEB_TRAFFIC"|"METRICS",
      CreationTime = as.POSIXct(
        "2015-01-01"
      ),
      LastModificationTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_datasets(
  NextToken = "string",
  MaxResults = 123
)