Did this page help you?

   Yes   No   Tell us about it...

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.
AllSnsActions
          Represents any action being taken on Amazon SNS.
ConfirmSubscription
          Action for the ConfirmSubscription operation on Amazon SNS.
CreateTopic
          Action for the CreateTopic operation on Amazon SNS.
DeleteTopic
          Action for the DeleteTopic operation on Amazon SNS.
GetSubscriptionAttributes
          Action for the GetSubscriptionAttributes operation on Amazon SNS.
GetTopicAttributes
          Action for the GetTopicAttributes operation on Amazon SNS.
ListSubscriptions
          Action for the ListSubscriptions operation on Amazon SNS.
ListSubscriptionsByTopic
          Action for the ListSubscriptionsByTopic operation on Amazon SNS.
ListTopics
          Action for the ListTopics operation on Amazon SNS.
Publish
          Action for the Publish operation on Amazon SNS.
RemovePermission
          Action for the RemovePermission operation on Amazon SNS.
SetSubscriptionAttributes
          Action for the SetSubscriptionAttributes operation on Amazon SNS.
SetTopicAttributes
          Action for the SetTopicAttributes operation on Amazon SNS.
Subscribe
          Action for the Subscribe operation on Amazon SNS.
Unsubscribe
          Action for the Unsubscribe 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

AllSnsActions

public static final SNSActions AllSnsActions
Represents any action being taken on Amazon SNS.


AddPermission

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

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

ConfirmSubscription

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

See Also:
AmazonSNS.confirmSubscription(com.amazonaws.services.sns.model.ConfirmSubscriptionRequest)

CreateTopic

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

See Also:
AmazonSNS#createTopic(com.amazonaws.services.sns.model.CreateTopic)

DeleteTopic

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

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

GetSubscriptionAttributes

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

See Also:
AmazonSNS#getSubscriptionAttributes(com.amazonaws.services.sns.model.GetSubscriptionAttributes)

GetTopicAttributes

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

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

ListSubscriptions

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

See Also:
AmazonSNS#listSubscriptions(com.amazonaws.services.sns.model.ListSubscriptions)

ListSubscriptionsByTopic

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

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

ListTopics

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

See Also:
AmazonSNS#listTopics(com.amazonaws.services.sns.model.ListTopics)

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)

SetSubscriptionAttributes

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

See Also:
AmazonSNS#setSubscriptionAttributes(com.amazonaws.services.sns.model.SetSubscriptionAttributes)

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)

Unsubscribe

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

See Also:
AmazonSNS#unsubscribe(com.amazonaws.services.sns.model.Unsubscribe)
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.