libZSservicesZSamazonka-lookoutequipmentZSamazonka-lookoutequipment
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.LookoutEquipment.CreateDataset

Description

Creates a container for a collection of data being ingested for analysis. The dataset contains the metadata describing where the data is and what the data actually looks like. In other words, it contains the location of the data source, the data schema, and other information. A dataset also contains any tags associated with the ingested data.

Synopsis

Creating a Request

data CreateDataset Source #

See: newCreateDataset smart constructor.

Constructors

CreateDataset' 

Fields

  • tags :: Maybe [Tag]

    Any tags associated with the ingested data described in the dataset.

  • serverSideKmsKeyId :: Maybe Text

    Provides the identifier of the KMS key used to encrypt dataset data by Amazon Lookout for Equipment.

  • datasetName :: Text

    The name of the dataset being created.

  • datasetSchema :: DatasetSchema

    A JSON description of the data that is in each time series dataset, including names, column names, and data types.

  • clientToken :: Text

    A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

Instances

Instances details
Eq CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Read CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Show CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Generic CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Associated Types

type Rep CreateDataset :: Type -> Type #

NFData CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Methods

rnf :: CreateDataset -> () #

Hashable CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

ToJSON CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

AWSRequest CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Associated Types

type AWSResponse CreateDataset #

ToHeaders CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

ToPath CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

ToQuery CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

type Rep CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

type Rep CreateDataset = D1 ('MetaData "CreateDataset" "Amazonka.LookoutEquipment.CreateDataset" "libZSservicesZSamazonka-lookoutequipmentZSamazonka-lookoutequipment" 'False) (C1 ('MetaCons "CreateDataset'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "serverSideKmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "datasetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "datasetSchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DatasetSchema) :*: S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateDataset Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

newCreateDataset Source #

Create a value of CreateDataset 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:tags:CreateDataset', createDataset_tags - Any tags associated with the ingested data described in the dataset.

$sel:serverSideKmsKeyId:CreateDataset', createDataset_serverSideKmsKeyId - Provides the identifier of the KMS key used to encrypt dataset data by Amazon Lookout for Equipment.

$sel:datasetName:CreateDataset', createDataset_datasetName - The name of the dataset being created.

$sel:datasetSchema:CreateDataset', createDataset_datasetSchema - A JSON description of the data that is in each time series dataset, including names, column names, and data types.

$sel:clientToken:CreateDataset', createDataset_clientToken - A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

Request Lenses

createDataset_tags :: Lens' CreateDataset (Maybe [Tag]) Source #

Any tags associated with the ingested data described in the dataset.

createDataset_serverSideKmsKeyId :: Lens' CreateDataset (Maybe Text) Source #

Provides the identifier of the KMS key used to encrypt dataset data by Amazon Lookout for Equipment.

createDataset_datasetName :: Lens' CreateDataset Text Source #

The name of the dataset being created.

createDataset_datasetSchema :: Lens' CreateDataset DatasetSchema Source #

A JSON description of the data that is in each time series dataset, including names, column names, and data types.

createDataset_clientToken :: Lens' CreateDataset Text Source #

A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.

Destructuring the Response

data CreateDatasetResponse Source #

See: newCreateDatasetResponse smart constructor.

Constructors

CreateDatasetResponse' 

Fields

Instances

Instances details
Eq CreateDatasetResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Read CreateDatasetResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Show CreateDatasetResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Generic CreateDatasetResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Associated Types

type Rep CreateDatasetResponse :: Type -> Type #

NFData CreateDatasetResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

Methods

rnf :: CreateDatasetResponse -> () #

type Rep CreateDatasetResponse Source # 
Instance details

Defined in Amazonka.LookoutEquipment.CreateDataset

type Rep CreateDatasetResponse = D1 ('MetaData "CreateDatasetResponse" "Amazonka.LookoutEquipment.CreateDataset" "libZSservicesZSamazonka-lookoutequipmentZSamazonka-lookoutequipment" 'False) (C1 ('MetaCons "CreateDatasetResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DatasetStatus)) :*: S1 ('MetaSel ('Just "datasetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "datasetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newCreateDatasetResponse Source #

Create a value of CreateDatasetResponse 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:status:CreateDatasetResponse', createDatasetResponse_status - Indicates the status of the CreateDataset operation.

$sel:datasetArn:CreateDatasetResponse', createDatasetResponse_datasetArn - The Amazon Resource Name (ARN) of the dataset being created.

$sel:datasetName:CreateDataset', createDatasetResponse_datasetName - The name of the dataset being created.

$sel:httpStatus:CreateDatasetResponse', createDatasetResponse_httpStatus - The response's http status code.

Response Lenses

createDatasetResponse_status :: Lens' CreateDatasetResponse (Maybe DatasetStatus) Source #

Indicates the status of the CreateDataset operation.

createDatasetResponse_datasetArn :: Lens' CreateDatasetResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset being created.