AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Updates a retraining scheduler.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateRetrainingSchedulerAsync.
Namespace: Amazon.LookoutEquipment
Assembly: AWSSDK.LookoutEquipment.dll
Version: 3.x.y.z
public abstract UpdateRetrainingSchedulerResponse UpdateRetrainingScheduler( UpdateRetrainingSchedulerRequest request )
Container for the necessary parameters to execute the UpdateRetrainingScheduler service method.
Exception | Condition |
---|---|
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. |
var client = new AmazonLookoutEquipmentClient(); var response = client.UpdateRetrainingScheduler(new UpdateRetrainingSchedulerRequest { ModelName = "sample-model", RetrainingFrequency = "P1Y", RetrainingStartDate = new DateTime(2024, 1, 1, 12, 0, 0, DateTimeKind.Utc) });
.NET Framework:
Supported in: 4.5 and newer, 3.5