Lookoutequipment
This page documents function available when using the Lookoutequipment
module, created with @service Lookoutequipment
.
Index
Main.Lookoutequipment.create_dataset
Main.Lookoutequipment.create_inference_scheduler
Main.Lookoutequipment.create_model
Main.Lookoutequipment.delete_dataset
Main.Lookoutequipment.delete_inference_scheduler
Main.Lookoutequipment.delete_model
Main.Lookoutequipment.describe_data_ingestion_job
Main.Lookoutequipment.describe_dataset
Main.Lookoutequipment.describe_inference_scheduler
Main.Lookoutequipment.describe_model
Main.Lookoutequipment.list_data_ingestion_jobs
Main.Lookoutequipment.list_datasets
Main.Lookoutequipment.list_inference_executions
Main.Lookoutequipment.list_inference_schedulers
Main.Lookoutequipment.list_models
Main.Lookoutequipment.list_tags_for_resource
Main.Lookoutequipment.start_data_ingestion_job
Main.Lookoutequipment.start_inference_scheduler
Main.Lookoutequipment.stop_inference_scheduler
Main.Lookoutequipment.tag_resource
Main.Lookoutequipment.untag_resource
Main.Lookoutequipment.update_inference_scheduler
Documentation
Main.Lookoutequipment.create_dataset
— Methodcreate_dataset(client_token, dataset_name, dataset_schema)
create_dataset(client_token, dataset_name, dataset_schema, params::Dict{String,<:Any})
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.
Arguments
client_token
: A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.dataset_name
: The name of the dataset being created.dataset_schema
: A JSON description of the data that is in each time series dataset, including names, column names, and data types.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"ServerSideKmsKeyId"
: Provides the identifier of the AWS KMS customer master key (CMK) used to encrypt dataset data by Amazon Lookout for Equipment."Tags"
: Any tags associated with the ingested data described in the dataset.
Main.Lookoutequipment.create_inference_scheduler
— Methodcreate_inference_scheduler(client_token, data_input_configuration, data_output_configuration, data_upload_frequency, inference_scheduler_name, model_name, role_arn)
create_inference_scheduler(client_token, data_input_configuration, data_output_configuration, data_upload_frequency, inference_scheduler_name, model_name, role_arn, params::Dict{String,<:Any})
Creates a scheduled inference. Scheduling an inference is setting up a continuous real-time inference plan to analyze new measurement data. When setting up the schedule, you provide an S3 bucket location for the input data, assign it a delimiter between separate entries in the data, set an offset delay if desired, and set the frequency of inferencing. You must also provide an S3 bucket location for the output data.
Arguments
client_token
: A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.data_input_configuration
: Specifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location.data_output_configuration
: Specifies configuration information for the output results for the inference scheduler, including the S3 location for the output.data_upload_frequency
: How often data is uploaded to the source S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes.inference_scheduler_name
: The name of the inference scheduler being created.model_name
: The name of the previously trained ML model being used to create the inference scheduler.role_arn
: The Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DataDelayOffsetInMinutes"
: A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if you select an offset delay time of five minutes, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data."ServerSideKmsKeyId"
: Provides the identifier of the AWS KMS customer master key (CMK) used to encrypt inference scheduler data by Amazon Lookout for Equipment."Tags"
: Any tags associated with the inference scheduler.
Main.Lookoutequipment.create_model
— Methodcreate_model(client_token, dataset_name, model_name)
create_model(client_token, dataset_name, model_name, params::Dict{String,<:Any})
Creates an ML model for data inference. A machine-learning (ML) model is a mathematical model that finds patterns in your data. In Amazon Lookout for Equipment, the model learns the patterns of normal behavior and detects abnormal behavior that could be potential equipment failure (or maintenance events). The models are made by analyzing normal data and abnormalities in machine behavior that have already occurred. Your model is trained using a portion of the data from your dataset and uses that data to learn patterns of normal behavior and abnormal patterns that lead to equipment failure. Another portion of the data is used to evaluate the model's accuracy.
Arguments
client_token
: A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.dataset_name
: The name of the dataset for the ML model being created.model_name
: The name for the ML model to be created.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DataPreProcessingConfiguration"
: The configuration is the TargetSamplingRate, which is the sampling rate of the data after post processing by Amazon Lookout for Equipment. For example, if you provide data that has been collected at a 1 second level and you want the system to resample the data at a 1 minute rate before training, the TargetSamplingRate is 1 minute. When providing a value for the TargetSamplingRate, you must attach the prefix "PT" to the rate you want. The value for a 1 second rate is therefore PT1S, the value for a 15 minute rate is PT15M, and the value for a 1 hour rate is PT1H"DatasetSchema"
: The data schema for the ML model being created."EvaluationDataEndTime"
: Indicates the time reference in the dataset that should be used to end the subset of evaluation data for the ML model."EvaluationDataStartTime"
: Indicates the time reference in the dataset that should be used to begin the subset of evaluation data for the ML model."LabelsInputConfiguration"
: The input configuration for the labels being used for the ML model that's being created."RoleArn"
: The Amazon Resource Name (ARN) of a role with permission to access the data source being used to create the ML model."ServerSideKmsKeyId"
: Provides the identifier of the AWS KMS customer master key (CMK) used to encrypt model data by Amazon Lookout for Equipment."Tags"
: Any tags associated with the ML model being created."TrainingDataEndTime"
: Indicates the time reference in the dataset that should be used to end the subset of training data for the ML model."TrainingDataStartTime"
: Indicates the time reference in the dataset that should be used to begin the subset of training data for the ML model.
Main.Lookoutequipment.delete_dataset
— Methoddelete_dataset(dataset_name)
delete_dataset(dataset_name, params::Dict{String,<:Any})
Deletes a dataset and associated artifacts. The operation will check to see if any inference scheduler or data ingestion job is currently using the dataset, and if there isn't, the dataset, its metadata, and any associated data stored in S3 will be deleted. This does not affect any models that used this dataset for training and evaluation, but does prevent it from being used in the future.
Arguments
dataset_name
: The name of the dataset to be deleted.
Main.Lookoutequipment.delete_inference_scheduler
— Methoddelete_inference_scheduler(inference_scheduler_name)
delete_inference_scheduler(inference_scheduler_name, params::Dict{String,<:Any})
Deletes an inference scheduler that has been set up. Already processed output results are not affected.
Arguments
inference_scheduler_name
: The name of the inference scheduler to be deleted.
Main.Lookoutequipment.delete_model
— Methoddelete_model(model_name)
delete_model(model_name, params::Dict{String,<:Any})
Deletes an ML model currently available for Amazon Lookout for Equipment. This will prevent it from being used with an inference scheduler, even one that is already set up.
Arguments
model_name
: The name of the ML model to be deleted.
Main.Lookoutequipment.describe_data_ingestion_job
— Methoddescribe_data_ingestion_job(job_id)
describe_data_ingestion_job(job_id, params::Dict{String,<:Any})
Provides information on a specific data ingestion job such as creation time, dataset ARN, status, and so on.
Arguments
job_id
: The job ID of the data ingestion job.
Main.Lookoutequipment.describe_dataset
— Methoddescribe_dataset(dataset_name)
describe_dataset(dataset_name, params::Dict{String,<:Any})
Provides information on a specified dataset such as the schema location, status, and so on.
Arguments
dataset_name
: The name of the dataset to be described.
Main.Lookoutequipment.describe_inference_scheduler
— Methoddescribe_inference_scheduler(inference_scheduler_name)
describe_inference_scheduler(inference_scheduler_name, params::Dict{String,<:Any})
Specifies information about the inference scheduler being used, including name, model, status, and associated metadata
Arguments
inference_scheduler_name
: The name of the inference scheduler being described.
Main.Lookoutequipment.describe_model
— Methoddescribe_model(model_name)
describe_model(model_name, params::Dict{String,<:Any})
Provides overall information about a specific ML model, including model name and ARN, dataset, training and evaluation information, status, and so on.
Arguments
model_name
: The name of the ML model to be described.
Main.Lookoutequipment.list_data_ingestion_jobs
— Methodlist_data_ingestion_jobs()
list_data_ingestion_jobs(params::Dict{String,<:Any})
Provides a list of all data ingestion jobs, including dataset name and ARN, S3 location of the input data, status, and so on.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DatasetName"
: The name of the dataset being used for the data ingestion job."MaxResults"
: Specifies the maximum number of data ingestion jobs to list."NextToken"
: An opaque pagination token indicating where to continue the listing of data ingestion jobs."Status"
: Indicates the status of the data ingestion job.
Main.Lookoutequipment.list_datasets
— Methodlist_datasets()
list_datasets(params::Dict{String,<:Any})
Lists all datasets currently available in your account, filtering on the dataset name.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DatasetNameBeginsWith"
: The beginning of the name of the datasets to be listed."MaxResults"
: Specifies the maximum number of datasets to list."NextToken"
: An opaque pagination token indicating where to continue the listing of datasets.
Main.Lookoutequipment.list_inference_executions
— Methodlist_inference_executions(inference_scheduler_name)
list_inference_executions(inference_scheduler_name, params::Dict{String,<:Any})
Lists all inference executions that have been performed by the specified inference scheduler.
Arguments
inference_scheduler_name
: The name of the inference scheduler for the inference execution listed.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DataEndTimeBefore"
: The time reference in the inferenced dataset before which Amazon Lookout for Equipment stopped the inference execution."DataStartTimeAfter"
: The time reference in the inferenced dataset after which Amazon Lookout for Equipment started the inference execution."MaxResults"
: Specifies the maximum number of inference executions to list."NextToken"
: An opaque pagination token indicating where to continue the listing of inference executions."Status"
: The status of the inference execution.
Main.Lookoutequipment.list_inference_schedulers
— Methodlist_inference_schedulers()
list_inference_schedulers(params::Dict{String,<:Any})
Retrieves a list of all inference schedulers currently available for your account.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"InferenceSchedulerNameBeginsWith"
: The beginning of the name of the inference schedulers to be listed."MaxResults"
: Specifies the maximum number of inference schedulers to list."ModelName"
: The name of the ML model used by the inference scheduler to be listed."NextToken"
: An opaque pagination token indicating where to continue the listing of inference schedulers.
Main.Lookoutequipment.list_models
— Methodlist_models()
list_models(params::Dict{String,<:Any})
Generates a list of all models in the account, including model name and ARN, dataset, and status.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DatasetNameBeginsWith"
: The beginning of the name of the dataset of the ML models to be listed."MaxResults"
: Specifies the maximum number of ML models to list."ModelNameBeginsWith"
: The beginning of the name of the ML models being listed."NextToken"
: An opaque pagination token indicating where to continue the listing of ML models."Status"
: The status of the ML model.
Main.Lookoutequipment.list_tags_for_resource
— Methodlist_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})
Lists all the tags for a specified resource, including key and value.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource (such as the dataset or model) that is the focus of the ListTagsForResource operation.
Main.Lookoutequipment.start_data_ingestion_job
— Methodstart_data_ingestion_job(client_token, dataset_name, ingestion_input_configuration, role_arn)
start_data_ingestion_job(client_token, dataset_name, ingestion_input_configuration, role_arn, params::Dict{String,<:Any})
Starts a data ingestion job. Amazon Lookout for Equipment returns the job status.
Arguments
client_token
: A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.dataset_name
: The name of the dataset being used by the data ingestion job.ingestion_input_configuration
: Specifies information for the input data for the data ingestion job, including dataset S3 location.role_arn
: The Amazon Resource Name (ARN) of a role with permission to access the data source for the data ingestion job.
Main.Lookoutequipment.start_inference_scheduler
— Methodstart_inference_scheduler(inference_scheduler_name)
start_inference_scheduler(inference_scheduler_name, params::Dict{String,<:Any})
Starts an inference scheduler.
Arguments
inference_scheduler_name
: The name of the inference scheduler to be started.
Main.Lookoutequipment.stop_inference_scheduler
— Methodstop_inference_scheduler(inference_scheduler_name)
stop_inference_scheduler(inference_scheduler_name, params::Dict{String,<:Any})
Stops an inference scheduler.
Arguments
inference_scheduler_name
: The name of the inference scheduler to be stopped.
Main.Lookoutequipment.tag_resource
— Methodtag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})
Associates a given tag to a resource in your account. A tag is a key-value pair which can be added to an Amazon Lookout for Equipment resource as metadata. Tags can be used for organizing your resources as well as helping you to search and filter by tag. Multiple tags can be added to a resource, either when you create it, or later. Up to 50 tags can be associated with each resource.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the specific resource to which the tag should be associated.tags
: The tag or tags to be associated with a specific resource. Both the tag key and value are specified.
Main.Lookoutequipment.untag_resource
— Methoduntag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})
Removes a specific tag from a given resource. The tag is specified by its key.
Arguments
resource_arn
: The Amazon Resource Name (ARN) of the resource to which the tag is currently associated.tag_keys
: Specifies the key of the tag to be removed from a specified resource.
Main.Lookoutequipment.update_inference_scheduler
— Methodupdate_inference_scheduler(inference_scheduler_name)
update_inference_scheduler(inference_scheduler_name, params::Dict{String,<:Any})
Updates an inference scheduler.
Arguments
inference_scheduler_name
: The name of the inference scheduler to be updated.
Optional Parameters
Optional parameters can be passed as a params::Dict{String,<:Any}
. Valid keys are:
"DataDelayOffsetInMinutes"
: > A period of time (in minutes) by which inference on the data is delayed after the data starts. For instance, if you select an offset delay time of five minutes, inference will not begin on the data until the first data measurement after the five minute mark. For example, if five minutes is selected, the inference scheduler will wake up at the configured frequency with the additional five minute delay time to check the customer S3 bucket. The customer can upload data at the same frequency and they don't need to stop and restart the scheduler when uploading new data."DataInputConfiguration"
: Specifies information for the input data for the inference scheduler, including delimiter, format, and dataset location."DataOutputConfiguration"
: Specifies information for the output results from the inference scheduler, including the output S3 location."DataUploadFrequency"
: How often data is uploaded to the source S3 bucket for the input data. The value chosen is the length of time between data uploads. For instance, if you select 5 minutes, Amazon Lookout for Equipment will upload the real-time data to the source bucket once every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment starts a scheduled inference on your data. In this example, it starts once every 5 minutes."RoleArn"
: The Amazon Resource Name (ARN) of a role with permission to access the data source for the inference scheduler.