LookoutEquipment.Client.
describe_data_ingestion_job
(**kwargs)¶Provides information on a specific data ingestion job such as creation time, dataset ARN, and status.
See also: AWS API Documentation
Request Syntax
response = client.describe_data_ingestion_job(
JobId='string'
)
[REQUIRED]
The job ID of the data ingestion job.
{
'JobId': 'string',
'DatasetArn': 'string',
'IngestionInputConfiguration': {
'S3InputConfiguration': {
'Bucket': 'string',
'Prefix': 'string',
'KeyPattern': 'string'
}
},
'RoleArn': 'string',
'CreatedAt': datetime(2015, 1, 1),
'Status': 'IN_PROGRESS'|'SUCCESS'|'FAILED',
'FailedReason': 'string',
'DataQualitySummary': {
'InsufficientSensorData': {
'MissingCompleteSensorData': {
'AffectedSensorCount': 123
},
'SensorsWithShortDateRange': {
'AffectedSensorCount': 123
}
},
'MissingSensorData': {
'AffectedSensorCount': 123,
'TotalNumberOfMissingValues': 123
},
'InvalidSensorData': {
'AffectedSensorCount': 123,
'TotalNumberOfInvalidValues': 123
},
'UnsupportedTimestamps': {
'TotalNumberOfUnsupportedTimestamps': 123
},
'DuplicateTimestamps': {
'TotalNumberOfDuplicateTimestamps': 123
}
},
'IngestedFilesSummary': {
'TotalNumberOfFiles': 123,
'IngestedNumberOfFiles': 123,
'DiscardedFiles': [
{
'Bucket': 'string',
'Key': 'string'
},
]
},
'StatusDetail': 'string',
'IngestedDataSize': 123,
'DataStartTime': datetime(2015, 1, 1),
'DataEndTime': datetime(2015, 1, 1)
}
Response Structure
Indicates the job ID of the data ingestion job.
The Amazon Resource Name (ARN) of the dataset being used in the data ingestion job.
Specifies the S3 location configuration for the data input for the data ingestion job.
The location information for the S3 bucket used for input data for the data ingestion.
The name of the S3 bucket used for the input data for the data ingestion.
The prefix for the S3 location being used for the input data for the data ingestion.
Pattern for matching the Amazon S3 files which will be used for ingestion. If no KeyPattern is provided, we will use the default hierarchy file structure, which is same as KeyPattern {prefix}/{component_name}/*
The Amazon Resource Name (ARN) of an IAM role with permission to access the data source being ingested.
The time at which the data ingestion job was created.
Indicates the status of the DataIngestionJob
operation.
Specifies the reason for failure when a data ingestion job has failed.
Gives statistics about a completed ingestion job. These statistics primarily relate to quantifying incorrect data such as MissingCompleteSensorData, MissingSensorData, UnsupportedDateFormats, InsufficientSensorData, and DuplicateTimeStamps.
Parameter that gives information about insufficient data for sensors in the dataset. This includes information about those sensors that have complete data missing and those with a short date range.
Parameter that describes the total number of sensors that have data completely missing for it.
Indicates the number of sensors that have data missing completely.
Parameter that describes the total number of sensors that have a short date range of less than 90 days of data overall.
Indicates the number of sensors that have less than 90 days of data.
Parameter that gives information about data that is missing over all the sensors in the input data.
Indicates the number of sensors that have atleast some data missing.
Indicates the total number of missing values across all the sensors.
Parameter that gives information about data that is invalid over all the sensors in the input data.
Indicates the number of sensors that have at least some invalid values.
Indicates the total number of invalid values across all the sensors.
Parameter that gives information about unsupported timestamps in the input data.
Indicates the total number of unsupported timestamps across the ingested data.
Parameter that gives information about duplicate timestamps in the input data.
Indicates the total number of duplicate timestamps.
Gives statistics about how many files have been ingested, and which files have not been ingested, for a particular ingestion job.
Indicates the total number of files that were submitted for ingestion.
Indicates the number of files that were successfully ingested.
Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for example, a jpg or pdf) or not readable.
Contains information about an S3 bucket.
The name of the specific S3 bucket.
The AWS Key Management Service (AWS KMS) key being used to encrypt the S3 object. Without this key, data in the bucket is not accessible.
Provides details about status of the ingestion job that is currently in progress.
Indicates the size of the ingested dataset.
Indicates the earliest timestamp corresponding to data that was successfully ingested during this specific ingestion job.
Indicates the latest timestamp corresponding to data that was successfully ingested during this specific ingestion job.
Exceptions
LookoutEquipment.Client.exceptions.ValidationException
LookoutEquipment.Client.exceptions.ResourceNotFoundException
LookoutEquipment.Client.exceptions.ThrottlingException
LookoutEquipment.Client.exceptions.AccessDeniedException
LookoutEquipment.Client.exceptions.InternalServerException