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 isUnauthorizedOperation
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable dryRun;
Swift
var dryRun: NSNumber? { get set }
-
The IDs of the Spot Fleet requests.
Constraint: You can specify up to 100 IDs in a single request.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable spotFleetRequestIds;
Swift
var spotFleetRequestIds: [String]? { get set }
-
Indicates whether to terminate the associated instances when the Spot Fleet request is canceled. The default is to terminate the instances.
To let the instances continue to run after the Spot Fleet request is canceled, specify
no-terminate-instances
.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable terminateInstances;
Swift
var terminateInstances: NSNumber? { get set }