Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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' {
- status :: Maybe IngestionJobStatus
- jobId :: Maybe Text
- httpStatus :: Int
- newStartDataIngestionJobResponse :: Int -> StartDataIngestionJobResponse
- startDataIngestionJobResponse_status :: Lens' StartDataIngestionJobResponse (Maybe IngestionJobStatus)
- startDataIngestionJobResponse_jobId :: Lens' StartDataIngestionJobResponse (Maybe Text)
- startDataIngestionJobResponse_httpStatus :: Lens' StartDataIngestionJobResponse Int
Creating a Request
data StartDataIngestionJob Source #
See: newStartDataIngestionJob
smart constructor.
StartDataIngestionJob' | |
|
Instances
newStartDataIngestionJob Source #
:: 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:
$sel:datasetName:StartDataIngestionJob'
, startDataIngestionJob_datasetName
- The name of the dataset being used by the data ingestion job.
$sel:ingestionInputConfiguration: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.
StartDataIngestionJobResponse' | |
|
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:
$sel:status:StartDataIngestionJobResponse'
, startDataIngestionJobResponse_status
- Indicates the status of the StartDataIngestionJob
operation.
$sel:jobId:StartDataIngestionJobResponse'
, startDataIngestionJobResponse_jobId
- Indicates the job ID of the data ingestion job.
$sel:httpStatus:StartDataIngestionJobResponse'
, startDataIngestionJobResponse_httpStatus
- The response's http status code.
Response Lenses
startDataIngestionJobResponse_status :: Lens' StartDataIngestionJobResponse (Maybe IngestionJobStatus) Source #
Indicates the status of the StartDataIngestionJob
operation.
startDataIngestionJobResponse_jobId :: Lens' StartDataIngestionJobResponse (Maybe Text) Source #
Indicates the job ID of the data ingestion job.
startDataIngestionJobResponse_httpStatus :: Lens' StartDataIngestionJobResponse Int Source #
The response's http status code.