Enum SNSActions
- java.lang.Object
-
- java.lang.Enum<SNSActions>
-
- 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 SNS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AddPermission
Action for the AddPermission operation.AllSNSActions
Represents any action executed on Amazon SNS.ConfirmSubscription
Action for the ConfirmSubscription operation.CreatePlatformApplication
Action for the CreatePlatformApplication operation.CreatePlatformEndpoint
Action for the CreatePlatformEndpoint operation.CreateTopic
Action for the CreateTopic operation.DeleteEndpoint
Action for the DeleteEndpoint operation.DeletePlatformApplication
Action for the DeletePlatformApplication operation.DeleteTopic
Action for the DeleteTopic operation.GetEndpointAttributes
Action for the GetEndpointAttributes operation.GetPlatformApplicationAttributes
Action for the GetPlatformApplicationAttributes operation.GetSubscriptionAttributes
Action for the GetSubscriptionAttributes operation.GetTopicAttributes
Action for the GetTopicAttributes operation.ListEndpointsByPlatformApplication
Action for the ListEndpointsByPlatformApplication operation.ListPlatformApplications
Action for the ListPlatformApplications 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.SetEndpointAttributes
Action for the SetEndpointAttributes operation.SetPlatformApplicationAttributes
Action for the SetPlatformApplicationAttributes operation.SetSubscriptionAttributes
Action for the SetSubscriptionAttributes operation.SetTopicAttributes
Action for the SetTopicAttributes operation.Subscribe
Action for the Subscribe operation.Unsubscribe
Action for the Unsubscribe 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 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.
-
-
-
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.
-
CreatePlatformApplication
public static final SNSActions CreatePlatformApplication
Action for the CreatePlatformApplication operation.
-
CreatePlatformEndpoint
public static final SNSActions CreatePlatformEndpoint
Action for the CreatePlatformEndpoint operation.
-
CreateTopic
public static final SNSActions CreateTopic
Action for the CreateTopic operation.
-
DeleteEndpoint
public static final SNSActions DeleteEndpoint
Action for the DeleteEndpoint operation.
-
DeletePlatformApplication
public static final SNSActions DeletePlatformApplication
Action for the DeletePlatformApplication operation.
-
DeleteTopic
public static final SNSActions DeleteTopic
Action for the DeleteTopic operation.
-
GetEndpointAttributes
public static final SNSActions GetEndpointAttributes
Action for the GetEndpointAttributes operation.
-
GetPlatformApplicationAttributes
public static final SNSActions GetPlatformApplicationAttributes
Action for the GetPlatformApplicationAttributes operation.
-
GetSubscriptionAttributes
public static final SNSActions GetSubscriptionAttributes
Action for the GetSubscriptionAttributes operation.
-
GetTopicAttributes
public static final SNSActions GetTopicAttributes
Action for the GetTopicAttributes operation.
-
ListEndpointsByPlatformApplication
public static final SNSActions ListEndpointsByPlatformApplication
Action for the ListEndpointsByPlatformApplication operation.
-
ListPlatformApplications
public static final SNSActions ListPlatformApplications
Action for the ListPlatformApplications 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.
-
SetEndpointAttributes
public static final SNSActions SetEndpointAttributes
Action for the SetEndpointAttributes operation.
-
SetPlatformApplicationAttributes
public static final SNSActions SetPlatformApplicationAttributes
Action for the SetPlatformApplicationAttributes operation.
-
SetSubscriptionAttributes
public static final SNSActions SetSubscriptionAttributes
Action for the SetSubscriptionAttributes 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(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.
-
-