Packagecom.amazonaws.auth.policy.actions
Classpublic class CloudWatchActionsEnum
InheritanceCloudWatchActionsEnum Inheritance Object
Implements Action

Language Version : ActionScript 3.0
Product Version : Flex 4
Since : March 21. 2011
Runtime Versions : Flash Player 10.1, AIR 2.5

The available AWS access control policy actions for Amazon CloudWatch Service.

See also

Policy Generator


Public Methods
 MethodDefined By
  
getActionName():String
Returns the name of this action.
CloudWatchActionsEnum
  
toString():String
Returns the name of action like getActionName function but without cloudwatch: prefix.
CloudWatchActionsEnum
  
[static] Returns the enum constant of this type with the specified name.
CloudWatchActionsEnum
  
values():Array
[static] Returns an array containing the constants of this enum type, in the order they are declared.
CloudWatchActionsEnum
Public Constants
 ConstantDefined By
  GET_METRIC_STATISTICS : CloudWatchActionsEnum
[static] GetMetricStatistics
CloudWatchActionsEnum
  LIST_METRICS : CloudWatchActionsEnum
[static] ListMetrics
CloudWatchActionsEnum
  PUT_METRIC_DATA : CloudWatchActionsEnum
[static] PutMetricData
CloudWatchActionsEnum
Method Detail
getActionName()method
public function getActionName():String

Returns the name of this action. For example, 'cloudwatch:PutMetricData' is the name corresponding to the CloudWatch action that enables users to put custom metric data.

Returns
String — The name of this action.

See also

toString()method 
public function toString():String

Returns the name of action like getActionName function but without cloudwatch: prefix.

Returns
String
valueOf()method 
public static function valueOf(name:String):CloudWatchActionsEnum

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:String — the name of the enum constant to be returned.

Returns
CloudWatchActionsEnum — the enum constant with the specified name

Throws
TypeError — if the argument is null
 
ArgumentError — if this enum type has no constant with the specified name
values()method 
public static function values():Array

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

Returns
Array

Example
This function may be used to iterate over the constants as follows:
           for each (var action:CloudWatchActionsEnum in CloudWatchActionsEnum.values()) {
                     // do something with action object...
               
           }
         

Constant Detail
GET_METRIC_STATISTICSConstant
public static const GET_METRIC_STATISTICS:CloudWatchActionsEnum

GetMetricStatistics

LIST_METRICSConstant 
public static const LIST_METRICS:CloudWatchActionsEnum

ListMetrics

PUT_METRIC_DATAConstant 
public static const PUT_METRIC_DATA:CloudWatchActionsEnum

PutMetricData