Amazon.CloudWatchLogs.AmazonCloudWatchLogsClient.CancelExportTask C# (CSharp) Method

CancelExportTask() public method

Cancels the specified export task.

The task must be in the PENDING or RUNNING state.

/// The operation is not valid on the specified resource. /// /// A parameter is specified incorrectly. /// /// The specified resource does not exist. /// /// The service cannot complete the request. ///
public CancelExportTask ( CancelExportTaskRequest request ) : CancelExportTaskResponse
request Amazon.CloudWatchLogs.Model.CancelExportTaskRequest Container for the necessary parameters to execute the CancelExportTask service method.
return CancelExportTaskResponse
        public CancelExportTaskResponse CancelExportTask(CancelExportTaskRequest request)
        {
            var marshaller = new CancelExportTaskRequestMarshaller();
            var unmarshaller = CancelExportTaskResponseUnmarshaller.Instance;

            return Invoke<CancelExportTaskRequest,CancelExportTaskResponse>(request, marshaller, unmarshaller);
        }
AmazonCloudWatchLogsClient