Skip to main content

inference_schedulers

Creates, updates, deletes or gets an inference_scheduler resource or lists inference_schedulers in a region

Overview

Nameinference_schedulers
TypeResource
DescriptionResource schema for LookoutEquipment InferenceScheduler.
Idaws.lookoutequipment.inference_schedulers

Fields

NameDatatypeDescription
data_delay_offset_in_minutesintegerA period of time (in minutes) by which inference on the data is delayed after the data starts.
data_input_configurationobjectSpecifies configuration information for the input data for the inference scheduler, including delimiter, format, and dataset location.
data_output_configurationobjectSpecifies configuration information for the output results for the inference scheduler, including the S3 location for the output.
data_upload_frequencystringHow often data is uploaded to the source S3 bucket for the input data.
inference_scheduler_namestringThe name of the inference scheduler being created.
model_namestringThe name of the previously trained ML model being used to create the inference scheduler.
role_arnstringThe Amazon Resource Name (ARN) of a role with permission to access the data source being used for the inference.
server_side_kms_key_idstringProvides the identifier of the AWS KMS customer master key (CMK) used to encrypt inference scheduler data by Amazon Lookout for Equipment.
tagsarrayAny tags associated with the inference scheduler.
inference_scheduler_arnstringThe Amazon Resource Name (ARN) of the inference scheduler being created.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTDataInputConfiguration, DataOutputConfiguration, DataUploadFrequency, ModelName, RoleArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all inference_schedulers in a region.

SELECT
region,
data_delay_offset_in_minutes,
data_input_configuration,
data_output_configuration,
data_upload_frequency,
inference_scheduler_name,
model_name,
role_arn,
server_side_kms_key_id,
tags,
inference_scheduler_arn
FROM aws.lookoutequipment.inference_schedulers
WHERE region = 'us-east-1';

Gets all properties from an individual inference_scheduler.

SELECT
region,
data_delay_offset_in_minutes,
data_input_configuration,
data_output_configuration,
data_upload_frequency,
inference_scheduler_name,
model_name,
role_arn,
server_side_kms_key_id,
tags,
inference_scheduler_arn
FROM aws.lookoutequipment.inference_schedulers
WHERE region = 'us-east-1' AND data__Identifier = '<InferenceSchedulerName>';

INSERT example

Use the following StackQL query and manifest file to create a new inference_scheduler resource, using stack-deploy.

/*+ create */
INSERT INTO aws.lookoutequipment.inference_schedulers (
DataInputConfiguration,
DataOutputConfiguration,
DataUploadFrequency,
ModelName,
RoleArn,
region
)
SELECT
'{{ DataInputConfiguration }}',
'{{ DataOutputConfiguration }}',
'{{ DataUploadFrequency }}',
'{{ ModelName }}',
'{{ RoleArn }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.lookoutequipment.inference_schedulers
WHERE data__Identifier = '<InferenceSchedulerName>'
AND region = 'us-east-1';

Permissions

To operate on the inference_schedulers resource, the following permissions are required:

Create

iam:PassRole,
lookoutequipment:CreateInferenceScheduler,
lookoutequipment:DescribeInferenceScheduler

Read

lookoutequipment:DescribeInferenceScheduler

Delete

lookoutequipment:DeleteInferenceScheduler,
lookoutequipment:StopInferenceScheduler,
lookoutequipment:DescribeInferenceScheduler

Update

lookoutequipment:UpdateInferenceScheduler,
lookoutequipment:DescribeInferenceScheduler,
lookoutequipment:StopInferenceScheduler,
lookoutequipment:StartInferenceScheduler

List

lookoutequipment:ListInferenceSchedulers