Enum SQSActions
- java.lang.Object
-
- java.lang.Enum<SQSActions>
-
- com.amazonaws.auth.policy.actions.SQSActions
-
- All Implemented Interfaces:
Action
,Serializable
,Comparable<SQSActions>
public enum SQSActions extends Enum<SQSActions> implements Action
The available AWS access control policy actions for Amazon SQS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddPermission
Action for the AddPermission operation.AllSQSActions
Represents any action executed on Amazon SQS.ChangeMessageVisibility
Action for the ChangeMessageVisibility operation.ChangeMessageVisibilityBatch
Action for the ChangeMessageVisibilityBatch operation.CreateQueue
Action for the CreateQueue operation.DeleteMessage
Action for the DeleteMessage operation.DeleteMessageBatch
Action for the DeleteMessageBatch operation.DeleteQueue
Action for the DeleteQueue operation.GetQueueAttributes
Action for the GetQueueAttributes operation.GetQueueUrl
Action for the GetQueueUrl operation.ListDeadLetterSourceQueues
Action for the ListDeadLetterSourceQueues operation.ListQueues
Action for the ListQueues operation.PurgeQueue
Action for the PurgeQueue operation.ReceiveMessage
Action for the ReceiveMessage operation.RemovePermission
Action for the RemovePermission operation.SendMessage
Action for the SendMessage operation.SendMessageBatch
Action for the SendMessageBatch operation.SetQueueAttributes
Action for the SetQueueAttributes operation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionName()
Returns the name of this action.static SQSActions
valueOf(String name)
Returns the enum constant of this type with the specified name.static SQSActions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AllSQSActions
public static final SQSActions AllSQSActions
Represents any action executed on Amazon SQS.
-
AddPermission
public static final SQSActions AddPermission
Action for the AddPermission operation.
-
ChangeMessageVisibility
public static final SQSActions ChangeMessageVisibility
Action for the ChangeMessageVisibility operation.
-
ChangeMessageVisibilityBatch
public static final SQSActions ChangeMessageVisibilityBatch
Action for the ChangeMessageVisibilityBatch operation.
-
CreateQueue
public static final SQSActions CreateQueue
Action for the CreateQueue operation.
-
DeleteMessage
public static final SQSActions DeleteMessage
Action for the DeleteMessage operation.
-
DeleteMessageBatch
public static final SQSActions DeleteMessageBatch
Action for the DeleteMessageBatch operation.
-
DeleteQueue
public static final SQSActions DeleteQueue
Action for the DeleteQueue operation.
-
GetQueueAttributes
public static final SQSActions GetQueueAttributes
Action for the GetQueueAttributes operation.
-
GetQueueUrl
public static final SQSActions GetQueueUrl
Action for the GetQueueUrl operation.
-
ListDeadLetterSourceQueues
public static final SQSActions ListDeadLetterSourceQueues
Action for the ListDeadLetterSourceQueues operation.
-
ListQueues
public static final SQSActions ListQueues
Action for the ListQueues operation.
-
PurgeQueue
public static final SQSActions PurgeQueue
Action for the PurgeQueue operation.
-
ReceiveMessage
public static final SQSActions ReceiveMessage
Action for the ReceiveMessage operation.
-
RemovePermission
public static final SQSActions RemovePermission
Action for the RemovePermission operation.
-
SendMessage
public static final SQSActions SendMessage
Action for the SendMessage operation.
-
SendMessageBatch
public static final SQSActions SendMessageBatch
Action for the SendMessageBatch operation.
-
SetQueueAttributes
public static final SQSActions SetQueueAttributes
Action for the SetQueueAttributes operation.
-
-
Method Detail
-
values
public static SQSActions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SQSActions c : SQSActions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQSActions valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getActionName
public String getActionName()
Description copied from interface:Action
Returns the name of this action. For example, 'sqs:SendMessage' is the name corresponding to the SQS action that enables users to send a message to an SQS queue.- Specified by:
getActionName
in interfaceAction
- Returns:
- The name of this action.
-
-