update_inference_scheduler
async
¶
update_inference_scheduler(
inference_scheduler_name: InferenceSchedulerIdentifier,
*,
config_overrides: Optional[AsyncLookoutEquipmentClientConfig] = 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/async_lookout_equipment.py
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 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 | |