update_inference_scheduler
¶
update_inference_scheduler(
inference_scheduler_name: InferenceSchedulerIdentifier,
*,
config_overrides: Optional[LookoutEquipmentClientConfig] = None,
data_delay_offset_in_minutes: Optional[DataDelayOffsetInMinutes] = None,
data_upload_frequency: Optional[DataUploadFrequency] = None,
data_input_configuration: Optional[InferenceInputConfiguration] = None,
data_output_configuration: Optional[InferenceOutputConfiguration] = None,
role_arn: Optional[IamRoleArn] = None,
) -> None
Updates an inference scheduler.
Parameters:
-
inference_scheduler_name(InferenceSchedulerIdentifier) –The name of the inference scheduler to be updated.
-
data_delay_offset_in_minutes(Optional[DataDelayOffsetInMinutes], default:None) –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.
-
data_upload_frequency(Optional[DataUploadFrequency], default:None) –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.
-
data_input_configuration(Optional[InferenceInputConfiguration], default:None) –Specifies information for the input data for the inference scheduler, including delimiter, format, and dataset location.
-
data_output_configuration(Optional[InferenceOutputConfiguration], default:None) –Specifies information for the output results from the inference scheduler, including the output S3 location.
-
role_arn(Optional[IamRoleArn], default:None) –The Amazon Resource Name (ARN) of a role with permission to access the data source for the inference scheduler.
Raises:
-
AccessDeniedException–The request could not be completed because you do not have access to the resource.
-
ConflictException–The request could not be completed due to a conflict with the current state of the target resource.
-
InternalServerException–Processing of the request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The resource requested could not be found. Verify the resource ID and retry your request.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services service that's being utilized.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_lookoutequipment/_services/lookout_equipment.py
3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 | |