/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sqs-2012-11-05.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.SQS.Model
{
///
/// Container for the parameters to the CancelMessageMoveTask operation.
/// Cancels a specified message movement task. A message movement can only be cancelled
/// when the current status is RUNNING. Cancelling a message movement task does not revert
/// the messages that have already been moved. It can only stop the messages that have
/// not been moved yet.
///
/// -
///
/// This action is currently limited to supporting message redrive from dead-letter
/// queues (DLQs) only. In this context, the source queue is the dead-letter queue
/// (DLQ), while the destination queue can be the original source queue (from which the
/// messages were driven to the dead-letter-queue), or a custom destination queue.
///
///
-
///
/// Currently, only standard queues are supported.
///
///
-
///
/// Only one active message movement task is supported per queue at any given time.
///
///
///
public partial class CancelMessageMoveTaskRequest : AmazonSQSRequest
{
private string _taskHandle;
///
/// Gets and sets the property TaskHandle.
///
/// An identifier associated with a message movement task.
///
///
[AWSProperty(Required=true)]
public string TaskHandle
{
get { return this._taskHandle; }
set { this._taskHandle = value; }
}
// Check to see if TaskHandle property is set
internal bool IsSetTaskHandle()
{
return this._taskHandle != null;
}
}
}