AWSEC2CancelSpotInstanceRequestsRequest

@interface 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 (readwrite, strong, nonatomic) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • One or more Spot Instance request IDs.

    Declaration

    Objective-C

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

    Swift

    var spotInstanceRequestIds: [String]? { get set }