-
Notifications
You must be signed in to change notification settings - Fork 547
Expand file tree
/
Copy pathSNSActions.java
More file actions
163 lines (115 loc) · 5.72 KB
/
SNSActions.java
File metadata and controls
163 lines (115 loc) · 5.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
/*
* Copyright 2010-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.auth.policy.actions;
import com.amazonaws.auth.policy.Action;
/**
* The available AWS access control policy actions for Amazon Simple
* Notification Service.
*/
public enum SNSActions implements Action {
/** Represents any action executed on Amazon Simple Notification Service. */
AllSNSActions("sns:*"),
/** Action for the AddPermission operation. */
AddPermission("sns:AddPermission"),
/** Action for the CheckIfPhoneNumberIsOptedOut operation. */
CheckIfPhoneNumberIsOptedOut("sns:CheckIfPhoneNumberIsOptedOut"),
/** Action for the ConfirmSubscription operation. */
ConfirmSubscription("sns:ConfirmSubscription"),
/** Action for the CreatePlatformApplication operation. */
CreatePlatformApplication("sns:CreatePlatformApplication"),
/** Action for the CreatePlatformEndpoint operation. */
CreatePlatformEndpoint("sns:CreatePlatformEndpoint"),
/** Action for the CreateSMSSandboxPhoneNumber operation. */
CreateSMSSandboxPhoneNumber("sns:CreateSMSSandboxPhoneNumber"),
/** Action for the CreateTopic operation. */
CreateTopic("sns:CreateTopic"),
/** Action for the DeleteEndpoint operation. */
DeleteEndpoint("sns:DeleteEndpoint"),
/** Action for the DeletePlatformApplication operation. */
DeletePlatformApplication("sns:DeletePlatformApplication"),
/** Action for the DeleteSMSSandboxPhoneNumber operation. */
DeleteSMSSandboxPhoneNumber("sns:DeleteSMSSandboxPhoneNumber"),
/** Action for the DeleteTopic operation. */
DeleteTopic("sns:DeleteTopic"),
/** Action for the GetDataProtectionPolicy operation. */
GetDataProtectionPolicy("sns:GetDataProtectionPolicy"),
/** Action for the GetEndpointAttributes operation. */
GetEndpointAttributes("sns:GetEndpointAttributes"),
/** Action for the GetPlatformApplicationAttributes operation. */
GetPlatformApplicationAttributes("sns:GetPlatformApplicationAttributes"),
/** Action for the GetSMSAttributes operation. */
GetSMSAttributes("sns:GetSMSAttributes"),
/** Action for the GetSMSSandboxAccountStatus operation. */
GetSMSSandboxAccountStatus("sns:GetSMSSandboxAccountStatus"),
/** Action for the GetSubscriptionAttributes operation. */
GetSubscriptionAttributes("sns:GetSubscriptionAttributes"),
/** Action for the GetTopicAttributes operation. */
GetTopicAttributes("sns:GetTopicAttributes"),
/** Action for the ListEndpointsByPlatformApplication operation. */
ListEndpointsByPlatformApplication("sns:ListEndpointsByPlatformApplication"),
/** Action for the ListOriginationNumbers operation. */
ListOriginationNumbers("sns:ListOriginationNumbers"),
/** Action for the ListPhoneNumbersOptedOut operation. */
ListPhoneNumbersOptedOut("sns:ListPhoneNumbersOptedOut"),
/** Action for the ListPlatformApplications operation. */
ListPlatformApplications("sns:ListPlatformApplications"),
/** Action for the ListSMSSandboxPhoneNumbers operation. */
ListSMSSandboxPhoneNumbers("sns:ListSMSSandboxPhoneNumbers"),
/** Action for the ListSubscriptions operation. */
ListSubscriptions("sns:ListSubscriptions"),
/** Action for the ListSubscriptionsByTopic operation. */
ListSubscriptionsByTopic("sns:ListSubscriptionsByTopic"),
/** Action for the ListTagsForResource operation. */
ListTagsForResource("sns:ListTagsForResource"),
/** Action for the ListTopics operation. */
ListTopics("sns:ListTopics"),
/** Action for the OptInPhoneNumber operation. */
OptInPhoneNumber("sns:OptInPhoneNumber"),
/** Action for the Publish operation. */
Publish("sns:Publish"),
/** Action for the PublishBatch operation. */
PublishBatch("sns:PublishBatch"),
/** Action for the PutDataProtectionPolicy operation. */
PutDataProtectionPolicy("sns:PutDataProtectionPolicy"),
/** Action for the RemovePermission operation. */
RemovePermission("sns:RemovePermission"),
/** Action for the SetEndpointAttributes operation. */
SetEndpointAttributes("sns:SetEndpointAttributes"),
/** Action for the SetPlatformApplicationAttributes operation. */
SetPlatformApplicationAttributes("sns:SetPlatformApplicationAttributes"),
/** Action for the SetSMSAttributes operation. */
SetSMSAttributes("sns:SetSMSAttributes"),
/** Action for the SetSubscriptionAttributes operation. */
SetSubscriptionAttributes("sns:SetSubscriptionAttributes"),
/** Action for the SetTopicAttributes operation. */
SetTopicAttributes("sns:SetTopicAttributes"),
/** Action for the Subscribe operation. */
Subscribe("sns:Subscribe"),
/** Action for the TagResource operation. */
TagResource("sns:TagResource"),
/** Action for the Unsubscribe operation. */
Unsubscribe("sns:Unsubscribe"),
/** Action for the UntagResource operation. */
UntagResource("sns:UntagResource"),
/** Action for the VerifySMSSandboxPhoneNumber operation. */
VerifySMSSandboxPhoneNumber("sns:VerifySMSSandboxPhoneNumber");
private final String action;
private SNSActions(String action) {
this.action = action;
}
public String getActionName() {
return this.action;
}
}