DescribeScheduledInstanceAvailabilityRequest

public struct DescribeScheduledInstanceAvailabilityRequest : AWSShape
extension EC2.DescribeScheduledInstanceAvailabilityRequest: AWSPaginateStringToken

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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

    Swift

    public let dryRun: Bool?
  • The filters. availability-zone - The Availability Zone (for example, us-west-2a). instance-type - The instance type (for example, c4.large). network-platform - The network platform (EC2-Classic or EC2-VPC). platform - The platform (Linux/UNIX or Windows).

    Declaration

    Swift

    public let filters: [Filter]?
  • The time period for the first schedule to start.

    Declaration

    Swift

    public let firstSlotStartTimeRange: SlotDateTimeRangeRequest
  • 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

    Swift

    public let maxResults: Int?
  • The maximum available duration, in hours. This value must be greater than MinSlotDurationInHours and less than 1,720.

    Declaration

    Swift

    public let maxSlotDurationInHours: Int?
  • 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

    Swift

    public let minSlotDurationInHours: Int?
  • The token for the next set of results.

    Declaration

    Swift

    public let nextToken: String?
  • The schedule recurrence.

    Declaration

    Swift

    public let recurrence: ScheduledInstanceRecurrenceRequest
  • Undocumented

    Declaration

    Swift

    public init(dryRun: Bool? = nil, filters: [Filter]? = nil, firstSlotStartTimeRange: SlotDateTimeRangeRequest, maxResults: Int? = nil, maxSlotDurationInHours: Int? = nil, minSlotDurationInHours: Int? = nil, nextToken: String? = nil, recurrence: ScheduledInstanceRecurrenceRequest)
  • Declaration

    Swift

    public func validate(name: String) throws
  • Undocumented

    Declaration

    Swift

    public func usingPaginationToken(_ token: String) -> EC2.DescribeScheduledInstanceAvailabilityRequest