| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.LookoutEquipment.StartDataIngestionJob
Description
Starts a data ingestion job. Amazon Lookout for Equipment returns the job status.
Synopsis
- data StartDataIngestionJob = StartDataIngestionJob' {}
- newStartDataIngestionJob :: Text -> IngestionInputConfiguration -> Text -> Text -> StartDataIngestionJob
- startDataIngestionJob_datasetName :: Lens' StartDataIngestionJob Text
- startDataIngestionJob_ingestionInputConfiguration :: Lens' StartDataIngestionJob IngestionInputConfiguration
- startDataIngestionJob_roleArn :: Lens' StartDataIngestionJob Text
- startDataIngestionJob_clientToken :: Lens' StartDataIngestionJob Text
- data StartDataIngestionJobResponse = StartDataIngestionJobResponse' {
- jobId :: Maybe Text
- status :: Maybe IngestionJobStatus
- httpStatus :: Int
- newStartDataIngestionJobResponse :: Int -> StartDataIngestionJobResponse
- startDataIngestionJobResponse_jobId :: Lens' StartDataIngestionJobResponse (Maybe Text)
- startDataIngestionJobResponse_status :: Lens' StartDataIngestionJobResponse (Maybe IngestionJobStatus)
- startDataIngestionJobResponse_httpStatus :: Lens' StartDataIngestionJobResponse Int
Creating a Request
data StartDataIngestionJob Source #
See: newStartDataIngestionJob smart constructor.
Constructors
| StartDataIngestionJob' | |
Fields
| |
Instances
newStartDataIngestionJob Source #
Arguments
| :: Text | |
| -> IngestionInputConfiguration | |
| -> Text | |
| -> Text | |
| -> StartDataIngestionJob |
Create a value of StartDataIngestionJob 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:
StartDataIngestionJob, startDataIngestionJob_datasetName - The name of the dataset being used by the data ingestion job.
StartDataIngestionJob, startDataIngestionJob_ingestionInputConfiguration - Specifies information for the input data for the data ingestion job,
including dataset S3 location.
$sel:roleArn:StartDataIngestionJob', startDataIngestionJob_roleArn - The Amazon Resource Name (ARN) of a role with permission to access the
data source for the data ingestion job.
$sel:clientToken:StartDataIngestionJob', startDataIngestionJob_clientToken - A unique identifier for the request. If you do not set the client
request token, Amazon Lookout for Equipment generates one.
Request Lenses
startDataIngestionJob_datasetName :: Lens' StartDataIngestionJob Text Source #
The name of the dataset being used by the data ingestion job.
startDataIngestionJob_ingestionInputConfiguration :: Lens' StartDataIngestionJob IngestionInputConfiguration Source #
Specifies information for the input data for the data ingestion job, including dataset S3 location.
startDataIngestionJob_roleArn :: Lens' StartDataIngestionJob Text Source #
The Amazon Resource Name (ARN) of a role with permission to access the data source for the data ingestion job.
startDataIngestionJob_clientToken :: Lens' StartDataIngestionJob 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 StartDataIngestionJobResponse Source #
See: newStartDataIngestionJobResponse smart constructor.
Constructors
| StartDataIngestionJobResponse' | |
Fields
| |
Instances
newStartDataIngestionJobResponse Source #
Create a value of StartDataIngestionJobResponse 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:
StartDataIngestionJobResponse, startDataIngestionJobResponse_jobId - Indicates the job ID of the data ingestion job.
StartDataIngestionJobResponse, startDataIngestionJobResponse_status - Indicates the status of the StartDataIngestionJob operation.
$sel:httpStatus:StartDataIngestionJobResponse', startDataIngestionJobResponse_httpStatus - The response's http status code.
Response Lenses
startDataIngestionJobResponse_jobId :: Lens' StartDataIngestionJobResponse (Maybe Text) Source #
Indicates the job ID of the data ingestion job.
startDataIngestionJobResponse_status :: Lens' StartDataIngestionJobResponse (Maybe IngestionJobStatus) Source #
Indicates the status of the StartDataIngestionJob operation.
startDataIngestionJobResponse_httpStatus :: Lens' StartDataIngestionJobResponse Int Source #
The response's http status code.