Enum SNSActions

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

public enum SNSActions extends Enum<SNSActions> implements Action
The available AWS access control policy actions for Amazon SNS.
  • Enum Constant Details

    • 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 Details

    • values

      public static SNSActions[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      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.