com.amazonaws.auth.policy.actions
Enum SNSActions

java.lang.Object
  extended by java.lang.Enum<SNSActions>
      extended by com.amazonaws.auth.policy.actions.SNSActions
All Implemented Interfaces:
Action, java.io.Serializable, java.lang.Comparable<SNSActions>

public enum SNSActions
extends java.lang.Enum<SNSActions>
implements Action

The available AWS access control policy actions for Amazon SNS.


Enum Constant Summary
AddPermission
          Action for the AddPermission operation.
AllSNSActions
          Represents any action executed on Amazon SNS.
ConfirmSubscription
          Action for the ConfirmSubscription operation.
CreateTopic
          Action for the CreateTopic operation.
DeleteTopic
          Action for the DeleteTopic operation.
GetTopicAttributes
          Action for the GetTopicAttributes operation.
ListSubscriptions
          Action for the ListSubscriptions operation.
ListSubscriptionsByTopic
          Action for the ListSubscriptionsByTopic operation.
ListTopics
          Action for the ListTopics operation.
Publish
          Action for the Publish operation.
RemovePermission
          Action for the RemovePermission operation.
SetTopicAttributes
          Action for the SetTopicAttributes operation.
Subscribe
          Action for the Subscribe operation.
Unsubscribe
          Action for the Unsubscribe operation.
 
Method Summary
 java.lang.String getActionName()
          Returns the name of this action.
static SNSActions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SNSActions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AllSNSActions

public static final SNSActions AllSNSActions
Represents any action executed on Amazon SNS.


AddPermission

public static final SNSActions AddPermission
Action for the AddPermission operation.


ConfirmSubscription

public static final SNSActions ConfirmSubscription
Action for the ConfirmSubscription operation.


CreateTopic

public static final SNSActions CreateTopic
Action for the CreateTopic operation.


DeleteTopic

public static final SNSActions DeleteTopic
Action for the DeleteTopic operation.


GetTopicAttributes

public static final SNSActions GetTopicAttributes
Action for the GetTopicAttributes operation.


ListSubscriptions

public static final SNSActions ListSubscriptions
Action for the ListSubscriptions operation.


ListSubscriptionsByTopic

public static final SNSActions ListSubscriptionsByTopic
Action for the ListSubscriptionsByTopic operation.


ListTopics

public static final SNSActions ListTopics
Action for the ListTopics operation.


Publish

public static final SNSActions Publish
Action for the Publish operation.


RemovePermission

public static final SNSActions RemovePermission
Action for the RemovePermission operation.


SetTopicAttributes

public static final SNSActions SetTopicAttributes
Action for the SetTopicAttributes operation.


Subscribe

public static final SNSActions Subscribe
Action for the Subscribe operation.


Unsubscribe

public static final SNSActions Unsubscribe
Action for the Unsubscribe operation.

Method Detail

values

public static SNSActions[] 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 (SNSActions c : SNSActions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SNSActions valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getActionName

public java.lang.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 interface Action
Returns:
The name of this action.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.