libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LookoutMetrics.CreateMetricSet

Description

Creates a dataset.

Synopsis

Creating a Request

data CreateMetricSet Source #

See: newCreateMetricSet smart constructor.

Constructors

CreateMetricSet' 

Fields

Instances

Instances details
Eq CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Read CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Show CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Generic CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Associated Types

type Rep CreateMetricSet :: Type -> Type #

NFData CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Methods

rnf :: CreateMetricSet -> () #

Hashable CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

ToJSON CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

AWSRequest CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Associated Types

type AWSResponse CreateMetricSet #

ToHeaders CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

ToPath CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

ToQuery CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

type Rep CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

type Rep CreateMetricSet = D1 ('MetaData "CreateMetricSet" "Amazonka.LookoutMetrics.CreateMetricSet" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "CreateMetricSet'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "dimensionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "offset") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "timestampColumn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TimestampColumn)) :*: (S1 ('MetaSel ('Just "metricSetFrequency") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Frequency)) :*: S1 ('MetaSel ('Just "metricSetDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "timezone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "anomalyDetectorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "metricSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "metricList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Metric)) :*: S1 ('MetaSel ('Just "metricSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricSource))))))
type AWSResponse CreateMetricSet Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

newCreateMetricSet Source #

Create a value of CreateMetricSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensionList:CreateMetricSet', createMetricSet_dimensionList - A list of the fields you want to treat as dimensions.

$sel:offset:CreateMetricSet', createMetricSet_offset - After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3 and Redshift datasources.

$sel:timestampColumn:CreateMetricSet', createMetricSet_timestampColumn - Contains information about the column used for tracking time in your source data.

$sel:metricSetFrequency:CreateMetricSet', createMetricSet_metricSetFrequency - The frequency with which the source data will be analyzed for anomalies.

$sel:metricSetDescription:CreateMetricSet', createMetricSet_metricSetDescription - A description of the dataset you are creating.

$sel:timezone:CreateMetricSet', createMetricSet_timezone - The time zone in which your source data was recorded.

$sel:tags:CreateMetricSet', createMetricSet_tags - A list of tags to apply to the dataset.

$sel:anomalyDetectorArn:CreateMetricSet', createMetricSet_anomalyDetectorArn - The ARN of the anomaly detector that will use the dataset.

$sel:metricSetName:CreateMetricSet', createMetricSet_metricSetName - The name of the dataset.

$sel:metricList:CreateMetricSet', createMetricSet_metricList - A list of metrics that the dataset will contain.

$sel:metricSource:CreateMetricSet', createMetricSet_metricSource - Contains information about how the source data should be interpreted.

Request Lenses

createMetricSet_dimensionList :: Lens' CreateMetricSet (Maybe (NonEmpty Text)) Source #

A list of the fields you want to treat as dimensions.

createMetricSet_offset :: Lens' CreateMetricSet (Maybe Natural) Source #

After an interval ends, the amount of seconds that the detector waits before importing data. Offset is only supported for S3 and Redshift datasources.

createMetricSet_timestampColumn :: Lens' CreateMetricSet (Maybe TimestampColumn) Source #

Contains information about the column used for tracking time in your source data.

createMetricSet_metricSetFrequency :: Lens' CreateMetricSet (Maybe Frequency) Source #

The frequency with which the source data will be analyzed for anomalies.

createMetricSet_metricSetDescription :: Lens' CreateMetricSet (Maybe Text) Source #

A description of the dataset you are creating.

createMetricSet_timezone :: Lens' CreateMetricSet (Maybe Text) Source #

The time zone in which your source data was recorded.

createMetricSet_tags :: Lens' CreateMetricSet (Maybe (HashMap Text Text)) Source #

A list of tags to apply to the dataset.

createMetricSet_anomalyDetectorArn :: Lens' CreateMetricSet Text Source #

The ARN of the anomaly detector that will use the dataset.

createMetricSet_metricList :: Lens' CreateMetricSet (NonEmpty Metric) Source #

A list of metrics that the dataset will contain.

createMetricSet_metricSource :: Lens' CreateMetricSet MetricSource Source #

Contains information about how the source data should be interpreted.

Destructuring the Response

data CreateMetricSetResponse Source #

See: newCreateMetricSetResponse smart constructor.

Constructors

CreateMetricSetResponse' 

Fields

Instances

Instances details
Eq CreateMetricSetResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Read CreateMetricSetResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Show CreateMetricSetResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Generic CreateMetricSetResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Associated Types

type Rep CreateMetricSetResponse :: Type -> Type #

NFData CreateMetricSetResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

Methods

rnf :: CreateMetricSetResponse -> () #

type Rep CreateMetricSetResponse Source # 
Instance details

Defined in Amazonka.LookoutMetrics.CreateMetricSet

type Rep CreateMetricSetResponse = D1 ('MetaData "CreateMetricSetResponse" "Amazonka.LookoutMetrics.CreateMetricSet" "libZSservicesZSamazonka-lookoutmetricsZSamazonka-lookoutmetrics" 'False) (C1 ('MetaCons "CreateMetricSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricSetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateMetricSetResponse Source #

Create a value of CreateMetricSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:metricSetArn:CreateMetricSetResponse', createMetricSetResponse_metricSetArn - The ARN of the dataset.

$sel:httpStatus:CreateMetricSetResponse', createMetricSetResponse_httpStatus - The response's http status code.

Response Lenses