[ aws . lookoutmetrics ]

detect-metric-set-config

Description

Detects an Amazon S3 dataset’s file format, interval, and offset.

See also: AWS API Documentation

See ‘aws help’ for descriptions of global parameters.

Synopsis

  detect-metric-set-config
--anomaly-detector-arn <value>
--auto-detection-metric-source <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]

Options

--anomaly-detector-arn (string)

An anomaly detector ARN.

--auto-detection-metric-source (structure)

A data source.

S3SourceConfig -> (structure)

The source’s source config.

TemplatedPathList -> (list)

The config’s templated path list.

(string)

HistoricalDataPathList -> (list)

The config’s historical data path list.

(string)

Shorthand Syntax:

S3SourceConfig={TemplatedPathList=[string,string],HistoricalDataPathList=[string,string]}

JSON Syntax:

{
  "S3SourceConfig": {
    "TemplatedPathList": ["string", ...],
    "HistoricalDataPathList": ["string", ...]
  }
}

--cli-input-json | --cli-input-yaml (string) Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See ‘aws help’ for descriptions of global parameters.

Output

DetectedMetricSetConfig -> (structure)

The inferred dataset configuration for the datasource.

Offset -> (structure)

The dataset’s offset.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

MetricSetFrequency -> (structure)

The dataset’s interval.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

MetricSource -> (structure)

The dataset’s data source.

S3SourceConfig -> (structure)

The data source’s source configuration.

FileFormatDescriptor -> (structure)

The source’s file format descriptor.

CsvFormatDescriptor -> (structure)

Details about a CSV format.

FileCompression -> (structure)

The format’s file compression.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

Charset -> (structure)

The format’s charset.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

ContainsHeader -> (structure)

Whether the format includes a header.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

Delimiter -> (structure)

The format’s delimiter.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

HeaderList -> (structure)

The format’s header list.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

QuoteSymbol -> (structure)

The format’s quote symbol.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

JsonFormatDescriptor -> (structure)

Details about a JSON format.

FileCompression -> (structure)

The format’s file compression.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.

Charset -> (structure)

The format’s character set.

Value -> (structure)

The field’s value.

S -> (string)

A string.

N -> (string)

A number.

B -> (string)

A binary value.

SS -> (list)

A list of strings.

(string)

NS -> (list)

A list of numbers.

(string)

BS -> (list)

A list of binary values.

(string)

Confidence -> (string)

The field’s confidence.

Message -> (string)

The field’s message.