AWSEC2DescribeScheduledInstancesRequest

Objective-C

@interface AWSEC2DescribeScheduledInstancesRequest

Swift

class AWSEC2DescribeScheduledInstancesRequest

Contains the parameters for DescribeScheduledInstances.

  • 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 maximum number of results to return in a single call. This value can be between 5 and 300. The default value is 100. 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 token for the next set of results.

    Declaration

    Objective-C

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

    Swift

    var nextToken: String? { get set }
  • The Scheduled Instance IDs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable scheduledInstanceIds;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2SlotStartTimeRangeRequest *_Nullable slotStartTimeRange;

    Swift

    var slotStartTimeRange: AWSEC2SlotStartTimeRangeRequest? { get set }