AWSEC2DescribeScheduledInstanceAvailabilityRequest

Objective-C

@interface AWSEC2DescribeScheduledInstanceAvailabilityRequest

Swift

class AWSEC2DescribeScheduledInstanceAvailabilityRequest

Contains the parameters for DescribeScheduledInstanceAvailability.

Required parameters: [FirstSlotStartTimeRange, Recurrence]

  • Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The filters.

    • availability-zone - The Availability Zone (for example, us-west-2a).

    • instance-type - The instance type (for example, c4.large).

    • platform - The platform (Linux/UNIX or Windows).

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSEC2Filter *> *_Nullable filters;

    Swift

    var filters: [AWSEC2Filter]? { get set }
  • The time period for the first schedule to start.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2SlotDateTimeRangeRequest *_Nullable firstSlotStartTimeRange;

    Swift

    var firstSlotStartTimeRange: AWSEC2SlotDateTimeRangeRequest? { get set }
  • The maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 300. To retrieve the remaining results, make another call with the returned NextToken value.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxResults;

    Swift

    var maxResults: NSNumber? { get set }
  • The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours and less than 1,720.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxSlotDurationInHours;

    Swift

    var maxSlotDurationInHours: NSNumber? { get set }
  • The minimum available duration, in hours. The minimum required duration is 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable minSlotDurationInHours;

    Swift

    var minSlotDurationInHours: NSNumber? { get set }
  • The token for the next set of results.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable nextToken;

    Swift

    var nextToken: String? { get set }
  • The schedule recurrence.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2ScheduledInstanceRecurrenceRequest *_Nullable recurrence;

    Swift

    var recurrence: AWSEC2ScheduledInstanceRecurrenceRequest? { get set }