AWSEC2CancelSpotInstanceRequestsRequest

Objective-C

@interface AWSEC2CancelSpotInstanceRequestsRequest

Swift

class AWSEC2CancelSpotInstanceRequestsRequest

Contains the parameters for CancelSpotInstanceRequests.

Required parameters: [SpotInstanceRequestIds]

  • 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 Instance requests.

    Declaration

    Objective-C

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

    Swift

    var spotInstanceRequestIds: [String]? { get set }