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.
Idawscc.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.

For more information, see AWS::LookoutEquipment::InferenceScheduler.

Methods

NameResourceAccessible byRequired Params
create_resourceinference_schedulersINSERTDataInputConfiguration, DataOutputConfiguration, DataUploadFrequency, ModelName, RoleArn, region
delete_resourceinference_schedulersDELETEIdentifier, region
update_resourceinference_schedulersUPDATEIdentifier, PatchDocument, region
list_resourcesinference_schedulers_list_onlySELECTregion
get_resourceinference_schedulersSELECTIdentifier, region

SELECT examples

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 awscc.lookoutequipment.inference_schedulers
WHERE
region = 'us-east-1' AND
Identifier = '{{ inference_scheduler_name }}';

INSERT example

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

/*+ create */
INSERT INTO awscc.lookoutequipment.inference_schedulers (
DataInputConfiguration,
DataOutputConfiguration,
DataUploadFrequency,
ModelName,
RoleArn,
region
)
SELECT
'{{ data_input_configuration }}',
'{{ data_output_configuration }}',
'{{ data_upload_frequency }}',
'{{ model_name }}',
'{{ role_arn }}',
'{{ region }}';

UPDATE example

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

/*+ update */
UPDATE awscc.lookoutequipment.inference_schedulers
SET PatchDocument = string('{{ {
"DataDelayOffsetInMinutes": data_delay_offset_in_minutes,
"DataInputConfiguration": data_input_configuration,
"DataOutputConfiguration": data_output_configuration,
"DataUploadFrequency": data_upload_frequency,
"RoleArn": role_arn,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ inference_scheduler_name }}';

DELETE example

/*+ delete */
DELETE FROM awscc.lookoutequipment.inference_schedulers
WHERE
Identifier = '{{ inference_scheduler_name }}' AND
region = 'us-east-1';

Permissions

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

iam:PassRole,
lookoutequipment:CreateInferenceScheduler,
lookoutequipment:DescribeInferenceScheduler