AWSEC2CancelSpotFleetRequestsRequest

Objective-C

@interface AWSEC2CancelSpotFleetRequestsRequest

Swift

class AWSEC2CancelSpotFleetRequestsRequest

Contains the parameters for CancelSpotFleetRequests.

Required parameters: [SpotFleetRequestIds, TerminateInstances]

  • 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 IDs of the Spot Fleet requests.

    Declaration

    Objective-C

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

    Swift

    var spotFleetRequestIds: [String]? { get set }
  • Indicates whether to terminate instances for a Spot Fleet request if it is canceled successfully.

    Declaration

    Objective-C

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

    Swift

    var terminateInstances: NSNumber? { get set }