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.

Finds available schedules that meet the specified criteria.

You can search for an available schedule no more than 3 months in advance. You must meet the minimum required duration of 1,200 hours per year. For example, the minimum daily schedule is 4 hours, the minimum weekly schedule is 24 hours, and the minimum monthly schedule is 100 hours.

After you find a schedule that meets your needs, call PurchaseScheduledInstances to purchase Scheduled Instances with that schedule.


For .NET Core and PCL this operation is only available in asynchronous form. Please refer to DescribeScheduledInstanceAvailabilityAsync.

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


public abstract DescribeScheduledInstanceAvailabilityResponse DescribeScheduledInstanceAvailability(
         DescribeScheduledInstanceAvailabilityRequest request
Type: Amazon.EC2.Model.DescribeScheduledInstanceAvailabilityRequest

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

Return Value
The response from the DescribeScheduledInstanceAvailability service method, as returned by EC2.


This example describes a schedule that occurs every week on Sunday, starting on the specified date. Note that the output contains a single schedule as an example.

To describe an available schedule

var response = client.DescribeScheduledInstanceAvailability(new DescribeScheduledInstanceAvailabilityRequest 
    FirstSlotStartTimeRange = new SlotDateTimeRangeRequest {
        EarliestTime = new DateTime(2016, 1, 30, 4, 0, 0),
        LatestTime = new DateTime(2016, 1, 30, 8, 0, 0)
    Recurrence = new ScheduledInstanceRecurrenceRequest {
        Frequency = "Weekly",
        Interval = 1,
        OccurrenceDays = new List {

List scheduledInstanceAvailabilitySet = response.ScheduledInstanceAvailabilitySet;


Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also