AWSEC2CancelImportTaskRequest

Objective-C

@interface AWSEC2CancelImportTaskRequest

Swift

class AWSEC2CancelImportTaskRequest
  • The reason for canceling the task.

    Declaration

    Objective-C

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

    Swift

    var cancelReason: 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 }
  • The ID of the import image or import snapshot task to be canceled.

    Declaration

    Objective-C

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

    Swift

    var importTaskId: String? { get set }