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, Serializable, Comparable<SNSActions>

public enum SNSActions
extends Enum<SNSActions>
implements Action

The available AWS access control policy actions for Amazon Simple Notification Service.

See Also:
Statement.setActions(java.util.Collection)

Enum Constant Summary
AddPermission
          Action for the AddPermission operation on Amazon SNS.
DeleteTopic
          Action for the DeleteTopic operation on Amazon SNS.
GetTopicAttributes
          Action for the GetTopicAttributes operation on Amazon SNS.
ListSubscriptionsByTopic
          Action for the ListSubscriptionsByTopic operation on Amazon SNS.
Publish
          Action for the Publish operation on Amazon SNS.
RemovePermission
          Action for the RemovePermission operation on Amazon SNS.
SetTopicAttributes
          Action for the SetTopicAttributes operation on Amazon SNS.
Subscribe
          Action for the Subscribe operation on Amazon SNS.
 
Method Summary
 String getActionName()
          Returns the name of this action.
static SNSActions valueOf(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

AddPermission

public static final SNSActions AddPermission
Action for the AddPermission operation on Amazon SNS.

See Also:
AmazonSNS.addPermission(com.amazonaws.services.sns.model.AddPermissionRequest)

DeleteTopic

public static final SNSActions DeleteTopic
Action for the DeleteTopic operation on Amazon SNS.

See Also:
AmazonSNS.deleteTopic(com.amazonaws.services.sns.model.DeleteTopicRequest)

GetTopicAttributes

public static final SNSActions GetTopicAttributes
Action for the GetTopicAttributes operation on Amazon SNS.

See Also:
AmazonSNS.getTopicAttributes(com.amazonaws.services.sns.model.GetTopicAttributesRequest)

ListSubscriptionsByTopic

public static final SNSActions ListSubscriptionsByTopic
Action for the ListSubscriptionsByTopic operation on Amazon SNS.

See Also:
AmazonSNS.listSubscriptionsByTopic(com.amazonaws.services.sns.model.ListSubscriptionsByTopicRequest)

Publish

public static final SNSActions Publish
Action for the Publish operation on Amazon SNS.

See Also:
AmazonSNS.publish(com.amazonaws.services.sns.model.PublishRequest)

RemovePermission

public static final SNSActions RemovePermission
Action for the RemovePermission operation on Amazon SNS.

See Also:
AmazonSNS.removePermission(com.amazonaws.services.sns.model.RemovePermissionRequest)

SetTopicAttributes

public static final SNSActions SetTopicAttributes
Action for the SetTopicAttributes operation on Amazon SNS.

See Also:
AmazonSNS.setTopicAttributes(com.amazonaws.services.sns.model.SetTopicAttributesRequest)

Subscribe

public static final SNSActions Subscribe
Action for the Subscribe operation on Amazon SNS.

See Also:
AmazonSNS.subscribe(com.amazonaws.services.sns.model.SubscribeRequest)
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(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 name
NullPointerException - 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 interface Action
Returns:
The name of this action.


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