Update Metric Set
lookoutmetrics_update_metric_set | R Documentation |
Updates a dataset¶
Description¶
Updates a dataset.
Usage¶
lookoutmetrics_update_metric_set(MetricSetArn, MetricSetDescription,
MetricList, Offset, TimestampColumn, DimensionList, MetricSetFrequency,
MetricSource, DimensionFilterList)
Arguments¶
MetricSetArn
[required] The ARN of the dataset to update.
MetricSetDescription
The dataset's description.
MetricList
The metric list.
Offset
After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3, Redshift, Athena and datasources.
TimestampColumn
The timestamp column.
DimensionList
The dimension list.
MetricSetFrequency
The dataset's interval.
MetricSource
DimensionFilterList
Describes a list of filters for choosing specific dimensions and specific values. Each filter consists of the dimension and one of its values that you want to include. When multiple dimensions or values are specified, the dimensions are joined with an AND operation and the values are joined with an OR operation.
Value¶
A list with the following syntax:
Request syntax¶
svc$update_metric_set(
MetricSetArn = "string",
MetricSetDescription = "string",
MetricList = list(
list(
MetricName = "string",
AggregationFunction = "AVG"|"SUM",
Namespace = "string"
)
),
Offset = 123,
TimestampColumn = list(
ColumnName = "string",
ColumnFormat = "string"
),
DimensionList = list(
"string"
),
MetricSetFrequency = "P1D"|"PT1H"|"PT10M"|"PT5M",
MetricSource = list(
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"
)
)
),
AppFlowConfig = list(
RoleArn = "string",
FlowName = "string"
),
CloudWatchConfig = list(
RoleArn = "string",
BackTestConfiguration = list(
RunBackTestMode = TRUE|FALSE
)
),
RDSSourceConfig = list(
DBInstanceIdentifier = "string",
DatabaseHost = "string",
DatabasePort = 123,
SecretManagerArn = "string",
DatabaseName = "string",
TableName = "string",
RoleArn = "string",
VpcConfiguration = list(
SubnetIdList = list(
"string"
),
SecurityGroupIdList = list(
"string"
)
)
),
RedshiftSourceConfig = list(
ClusterIdentifier = "string",
DatabaseHost = "string",
DatabasePort = 123,
SecretManagerArn = "string",
DatabaseName = "string",
TableName = "string",
RoleArn = "string",
VpcConfiguration = list(
SubnetIdList = list(
"string"
),
SecurityGroupIdList = list(
"string"
)
)
),
AthenaSourceConfig = list(
RoleArn = "string",
DatabaseName = "string",
DataCatalog = "string",
TableName = "string",
WorkGroupName = "string",
S3ResultsPath = "string",
BackTestConfiguration = list(
RunBackTestMode = TRUE|FALSE
)
)
),
DimensionFilterList = list(
list(
Name = "string",
FilterList = list(
list(
DimensionValue = "string",
FilterOperation = "EQUALS"
)
)
)
)
)