com.amazonaws.auth.policy
Enum STSActions

java.lang.Object
  extended by java.lang.Enum<STSActions>
      extended by com.amazonaws.auth.policy.STSActions
All Implemented Interfaces:
Action, java.io.Serializable, java.lang.Comparable<STSActions>

Deprecated. in favor of SecurityTokenServiceActions

@Deprecated
public enum STSActions
extends java.lang.Enum<STSActions>
implements Action

The available AWS access control policy actions for Amazon Security Token Service.

See Also:
Statement.setActions(java.util.Collection)

Enum Constant Summary
AssumeRole
          Deprecated. Action for assuming role to do cross-account access or federation.
AssumeRoleWithWebIdentity
          Deprecated. Action for assuming role with web federation to get a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider.
 
Method Summary
 java.lang.String getActionName()
          Deprecated. Returns the name of this action.
static STSActions valueOf(java.lang.String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static STSActions[] values()
          Deprecated. 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

AssumeRole

public static final STSActions AssumeRole
Deprecated. 
Action for assuming role to do cross-account access or federation.

See Also:
AWSSecurityTokenService.assumeRole(com.amazonaws.services.securitytoken.model.AssumeRoleRequest)

AssumeRoleWithWebIdentity

public static final STSActions AssumeRoleWithWebIdentity
Deprecated. 
Action for assuming role with web federation to get a set of temporary security credentials for users who have been authenticated in a mobile or web application with a web identity provider.

See Also:
AWSSecurityTokenService.assumeRoleWithWebIdentity(com.amazonaws.services.securitytoken.model.AssumeRoleWithWebIdentityRequest)
Method Detail

values

public static STSActions[] values()
Deprecated. 
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 (STSActions c : STSActions.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static STSActions valueOf(java.lang.String name)
Deprecated. 
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getActionName

public java.lang.String getActionName()
Deprecated. 
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.