Package | com.amazonaws.auth.policy.actions |
Class | public class CloudWatchActionsEnum |
Inheritance | CloudWatchActionsEnum ![]() |
Implements | Action |
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4 |
Since : | March 21. 2011 |
Runtime Versions : | Flash Player 10.1, AIR 2.5 |
See also
Method | Defined 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 | ||
valueOf(name:String):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 |
Constant | Defined By | ||
---|---|---|---|
GET_METRIC_STATISTICS : CloudWatchActionsEnum [static] GetMetricStatistics | CloudWatchActionsEnum | ||
LIST_METRICS : CloudWatchActionsEnum [static] ListMetrics | CloudWatchActionsEnum | ||
PUT_METRIC_DATA : CloudWatchActionsEnum [static] PutMetricData | CloudWatchActionsEnum |
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.
ReturnsString — 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.
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.
|
CloudWatchActionsEnum — the enum constant with the specified name
|
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.
ReturnsArray —
|
for each (var action:CloudWatchActionsEnum in CloudWatchActionsEnum.values()) { // do something with action object... }
GET_METRIC_STATISTICS | Constant |
public static const GET_METRIC_STATISTICS:CloudWatchActionsEnum
GetMetricStatistics
LIST_METRICS | Constant |
public static const LIST_METRICS:CloudWatchActionsEnum
ListMetrics
PUT_METRIC_DATA | Constant |
public static const PUT_METRIC_DATA:CloudWatchActionsEnum
PutMetricData