AWSEC2CancelImportTaskRequest

@interface AWSEC2CancelImportTaskRequest
  • The reason for canceling the task.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) 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 (readwrite, strong, nonatomic) NSString *_Nullable importTaskId;

    Swift

    var importTaskId: String? { get set }