Packagecom.amazonaws.services.sqs.model
Classpublic class RemovePermissionRequest
InheritanceRemovePermissionRequest Inheritance AmazonWebServiceRequest Inheritance Object

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : February 7. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

Container for the parameters to the RemovePermission operation. The RemovePermission action revokes any permissions in the queue policy that matches the specified Label parameter. Only the owner of the queue can remove permissions.



Public Methods
 MethodDefined By
  
RemovePermissionRequest(queueUrl:String = null, label:String = null)
Constructs a new RemovePermissionRequest object.
RemovePermissionRequest
  
getLabel():String
The identfication of the permission to remove.
RemovePermissionRequest
  
getQueueUrl():String
The queue URL.
RemovePermissionRequest
  
setLabel(label:String):void
The identfication of the permission to remove.
RemovePermissionRequest
  
setQueueUrl(queueUrl:String):void
Expected queue URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).
RemovePermissionRequest
  
toString():String
Returns a string representation of this object; useful for testing and debugging.
RemovePermissionRequest
  
The identfication of the permission to remove.
RemovePermissionRequest
  
Expected query URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).
RemovePermissionRequest
Constructor Detail
RemovePermissionRequest()Constructor
public function RemovePermissionRequest(queueUrl:String = null, label:String = null)

Constructs a new RemovePermissionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters
queueUrl:String (default = null) — - queue URL (http|https://endpoint/12digitOwnerAccountId/QueueName)
 
label:String (default = null) — - The identfication of the permission to remove. This is the label added with the AddPermission operation.
Method Detail
getLabel()method
public function getLabel():String

The identfication of the permission to remove. This is the label added with the AddPermission operation.

Returns
String — The identfication of the permission to remove. This is the label added with the AddPermission operation.
getQueueUrl()method 
public function getQueueUrl():String

The queue URL. (http|https://endpoint/12digitOwnerAccountId/QueueName).

Returns
String — queue URL
setLabel()method 
public function setLabel(label:String):void

The identfication of the permission to remove. This is the label added with the AddPermission operation.

Parameters

label:String — The identfication of the permission to remove. This is the label added with the AddPermission operation.

setQueueUrl()method 
public function setQueueUrl(queueUrl:String):void

Expected queue URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).

Parameters

queueUrl:String — queue URL

toString()method 
public function toString():String

Returns a string representation of this object; useful for testing and debugging.

Returns
String — A string representation of this object.
withLabel()method 
public function withLabel(label:String):RemovePermissionRequest

The identfication of the permission to remove. This is the label added with the AddPermission operation. Returns a reference to this object so that method calls can be chained together.

Parameters

label:String — The identfication of the permission to remove. This is the label added with the AddPermission operation.

Returns
RemovePermissionRequest — A reference to this updated object so that method calls can be chained together.
withQueueUrl()method 
public function withQueueUrl(queueUrl:String):RemovePermissionRequest

Expected query URL format: (http|https://endpoint/12digitOwnerAccountId/QueueName).

Parameters

queueUrl:String — queue URL

Returns
RemovePermissionRequest — A reference to this updated object so that method calls can be chained together.