AWS SDK Version 3 for .NET
API Reference

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 the specified schedule. When you call UpdateSchedule, EventBridge Scheduler uses all values, including empty values, specified in the request and overrides the existing schedule. This is by design. This means that if you do not set an optional field in your request, that field will be set to its system-default value after the update.

Before calling this operation, we recommend that you call the GetSchedule API operation and make a note of all optional parameters for your UpdateSchedule call.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to UpdateScheduleAsync.

Namespace: Amazon.Scheduler
Assembly: AWSSDK.Scheduler.dll
Version: 3.x.y.z

Syntax

C#
public virtual UpdateScheduleResponse UpdateSchedule(
         UpdateScheduleRequest request
)

Parameters

request
Type: Amazon.Scheduler.Model.UpdateScheduleRequest

Container for the necessary parameters to execute the UpdateSchedule service method.

Return Value


The response from the UpdateSchedule service method, as returned by Scheduler.

Exceptions

ExceptionCondition
ConflictException Updating or deleting the resource can cause an inconsistent state.
InternalServerException Unexpected error encountered while processing the request.
ResourceNotFoundException The request references a resource which does not exist.
ThrottlingException The request was denied due to request throttling.
ValidationException The input fails to satisfy the constraints specified by an AWS service.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also