AWSEC2DescribeCapacityReservationFleetsRequest

Objective-C

@interface AWSEC2DescribeCapacityReservationFleetsRequest

Swift

class AWSEC2DescribeCapacityReservationFleetsRequest
  • The IDs of the Capacity Reservation Fleets to describe.

    Declaration

    Objective-C

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

    Swift

    var capacityReservationFleetIds: [String]? { get set }
  • 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 }
  • One or more filters.

    • state - The state of the Fleet (submitted | modifying | active | partially_fulfilled | expiring | expired | cancelling | cancelled | failed).

    • instance-match-criteria - The instance matching criteria for the Fleet. Only open is supported.

    • tenancy - The tenancy of the Fleet (default | dedicated).

    • allocation-strategy - The allocation strategy used by the Fleet. Only prioritized is supported.

    Declaration

    Objective-C

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

    Swift

    var filters: [AWSEC2Filter]? { get set }
  • The maximum number of results to return for the request in a single page. The remaining results can be seen by sending another request with the returned nextToken value. This value can be between 5 and 500. If maxResults is given a larger value than 500, you receive an error.

    Declaration

    Objective-C

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

    Swift

    var maxResults: NSNumber? { get set }
  • The token to use to retrieve the next page of results.

    Declaration

    Objective-C

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

    Swift

    var nextToken: String? { get set }