Enum SecurityTokenServiceActions
- java.lang.Object
-
- java.lang.Enum<SecurityTokenServiceActions>
-
- com.amazonaws.auth.policy.actions.SecurityTokenServiceActions
-
- All Implemented Interfaces:
Action
,Serializable
,Comparable<SecurityTokenServiceActions>
public enum SecurityTokenServiceActions extends Enum<SecurityTokenServiceActions> implements Action
The available AWS access control policy actions for AWS STS.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllSecurityTokenServiceActions
Represents any action executed on AWS STS.AssumeRole
Action for the AssumeRole operation.AssumeRoleWithSAML
Action for the AssumeRoleWithSAML operation.AssumeRoleWithWebIdentity
Action for the AssumeRoleWithWebIdentity operation.DecodeAuthorizationMessage
Action for the DecodeAuthorizationMessage operation.GetCallerIdentity
Action for the GetCallerIdentity operation.GetFederationToken
Action for the GetFederationToken operation.GetSessionToken
Action for the GetSessionToken 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 SecurityTokenServiceActions
valueOf(String name)
Returns the enum constant of this type with the specified name.static SecurityTokenServiceActions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AllSecurityTokenServiceActions
public static final SecurityTokenServiceActions AllSecurityTokenServiceActions
Represents any action executed on AWS STS.
-
AssumeRole
public static final SecurityTokenServiceActions AssumeRole
Action for the AssumeRole operation.
-
AssumeRoleWithSAML
public static final SecurityTokenServiceActions AssumeRoleWithSAML
Action for the AssumeRoleWithSAML operation.
-
AssumeRoleWithWebIdentity
public static final SecurityTokenServiceActions AssumeRoleWithWebIdentity
Action for the AssumeRoleWithWebIdentity operation.
-
DecodeAuthorizationMessage
public static final SecurityTokenServiceActions DecodeAuthorizationMessage
Action for the DecodeAuthorizationMessage operation.
-
GetCallerIdentity
public static final SecurityTokenServiceActions GetCallerIdentity
Action for the GetCallerIdentity operation.
-
GetFederationToken
public static final SecurityTokenServiceActions GetFederationToken
Action for the GetFederationToken operation.
-
GetSessionToken
public static final SecurityTokenServiceActions GetSessionToken
Action for the GetSessionToken operation.
-
-
Method Detail
-
values
public static SecurityTokenServiceActions[] 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 (SecurityTokenServiceActions c : SecurityTokenServiceActions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecurityTokenServiceActions 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.
-
-