java.lang.String alarmName
The descriptive name for the alarm.
Constraints:
Length: 1 - 255
java.util.Date timestamp
The time stamp for the alarm history item.
java.lang.String historyItemType
The type of alarm history item.
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
java.lang.String historySummary
A human-readable summary of the alarm history.
Constraints:
Length: 1 - 255
java.lang.String historyData
Machine-readable data about the alarm in JSON format.
Constraints:
Length: 1 - 4095
java.util.Date timestamp
The time stamp used for the datapoint.
java.lang.Double sampleCount
The number of metric values that contributed to the aggregate value of this datapoint.
java.lang.Double average
The average of metric values that correspond to the datapoint.
java.lang.Double sum
The sum of metric values used for the datapoint.
java.lang.Double minimum
The minimum metric value used for the datapoint.
java.lang.Double maximum
The maximum of the metric value used for the datapoint.
java.lang.String unit
The standard unit used for the datapoint.
Constraints:
Allowed Values: Seconds, Microseconds, Milliseconds, Bytes,
Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits,
Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second,
Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second,
Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second,
Count/Second, None
java.util.List<E> alarmNames
A list of alarms to be deleted.
java.lang.String alarmName
The name of the alarm.
Constraints:
Length: 1 - 255
java.lang.String historyItemType
The type of alarm histories to retrieve.
Constraints:
Allowed Values: ConfigurationUpdate, StateUpdate, Action
java.util.Date startDate
The starting date to retrieve alarm history.
java.util.Date endDate
The ending date to retrieve alarm history.
java.lang.Integer maxRecords
The maximum number of alarm history records to retrieve.
Constraints:
Range: 1 - 100
java.lang.String nextToken
The token returned by a previous call to indicate that there is more data available.
Constraints:
Length: 0 - 1024
java.util.List<E> alarmHistoryItems
A list of alarm histories in JSON format.
java.lang.String nextToken
A string that marks the start of the next batch of returned results.
Constraints:
Length: 0 - 1024
java.lang.String metricName
The name of the metric.
Constraints:
Length: 1 - 255
java.lang.String namespace
The namespace of the metric.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.lang.String statistic
The statistic for the metric.
Constraints:
Allowed Values: SampleCount, Average, Sum, Minimum, Maximum
java.util.List<E> dimensions
The list of dimensions associated with the metric. If the metric has any associated dimensions, you must specify them in order for the DescribeAlarmsForMetric to succeed.
java.lang.Integer period
The period in seconds over which the statistic is applied.
Constraints:
Range: 60 -
java.lang.String unit
The unit for the metric.
Constraints:
Allowed Values: Seconds, Microseconds, Milliseconds, Bytes,
Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits,
Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second,
Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second,
Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second,
Count/Second, None
java.util.List<E> metricAlarms
A list of information for each alarm with the specified metric.
java.util.List<E> alarmNames
A list of alarm names to retrieve information for.
java.lang.String alarmNamePrefix
The alarm name prefix. AlarmNames cannot be specified if
this parameter is specified.
Constraints:
Length: 1 - 255
java.lang.String stateValue
The state value to be used in matching alarms.
Constraints:
Allowed Values: OK, ALARM, INSUFFICIENT_DATA
java.lang.String actionPrefix
The action name prefix.
Constraints:
Length: 1 - 1024
java.lang.Integer maxRecords
The maximum number of alarm descriptions to retrieve.
Constraints:
Range: 1 - 100
java.lang.String nextToken
The token returned by a previous call to indicate that there is more data available.
Constraints:
Length: 0 - 1024
java.util.List<E> metricAlarms
A list of information for the specified alarms.
java.lang.String nextToken
A string that marks the start of the next batch of returned results.
Constraints:
Length: 0 - 1024
java.lang.String name
The name of the dimension.
Constraints:
Length: 1 - 255
java.lang.String value
The value representing the dimension measurement
Constraints:
Length: 1 - 255
java.lang.String name
The dimension name to be matched.
Constraints:
Length: 1 - 255
java.lang.String value
The value of the dimension to be matched.
Name without specifying a
Value returns all values associated with that
Name.
Constraints:
Length: 1 - 255
java.util.List<E> alarmNames
The names of the alarms to disable actions for.
java.util.List<E> alarmNames
The names of the alarms to enable actions for.
java.lang.String namespace
The namespace of the metric, with or without spaces.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.lang.String metricName
The name of the metric, with or without spaces.
Constraints:
Length: 1 - 255
java.util.List<E> dimensions
A list of dimensions describing qualities of the metric.
java.util.Date startTime
The time stamp to use for determining the first datapoint to return. The value specified is inclusive; results include datapoints with the time stamp specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
Data that is timestamped 24 hours or more in the past may take in excess
of 48 hours to become available from submission time using
GetMetricStatistics.
java.util.Date endTime
The time stamp to use for determining the last datapoint to return. The value specified is exclusive; results will include datapoints up to the time stamp specified. The time stamp must be in ISO 8601 UTC format (e.g., 2014-09-03T23:00:00Z).
java.lang.Integer period
The granularity, in seconds, of the returned datapoints.
Period must be at least 60 seconds and must be a multiple of
60. The default value is 60.
Constraints:
Range: 60 -
java.util.List<E> statistics
The metric statistics to return. For information about specific statistics returned by GetMetricStatistics, see Statistics in the Amazon CloudWatch Developer Guide.
java.lang.String unit
The unit for the metric.
Constraints:
Allowed Values: Seconds, Microseconds, Milliseconds, Bytes,
Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits,
Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second,
Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second,
Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second,
Count/Second, None
java.lang.String label
A label describing the specified metric.
java.util.List<E> datapoints
The datapoints for the specified metric.
java.lang.String namespace
The namespace to filter against.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.lang.String metricName
The name of the metric to filter against.
Constraints:
Length: 1 - 255
java.util.List<E> dimensions
A list of dimensions to filter against.
java.lang.String nextToken
The token returned by a previous call to indicate that there is more data available.
Constraints:
Length: 0 - 1024
java.util.List<E> metrics
A list of metrics used to generate statistics for an AWS account.
java.lang.String nextToken
A string that marks the start of the next batch of returned results.
Constraints:
Length: 0 - 1024
java.lang.String namespace
The namespace of the metric.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.lang.String metricName
The name of the metric.
Constraints:
Length: 1 - 255
java.util.List<E> dimensions
A list of dimensions associated with the metric.
java.lang.String alarmName
The name of the alarm.
Constraints:
Length: 1 - 255
java.lang.String alarmArn
The Amazon Resource Name (ARN) of the alarm.
Constraints:
Length: 1 - 1600
java.lang.String alarmDescription
The description for the alarm.
Constraints:
Length: 0 - 1024
java.util.Date alarmConfigurationUpdatedTimestamp
The time stamp of the last update to the alarm configuration.
java.lang.Boolean actionsEnabled
Indicates whether actions should be executed during any changes to the alarm's state.
java.util.List<E> oKActions
The list of actions to execute when this alarm transitions into an
OK state from any other state. Each action is specified as
an Amazon Resource Name (ARN).
java.util.List<E> alarmActions
The list of actions to execute when this alarm transitions into an
ALARM state from any other state. Each action is specified
as an Amazon Resource Name (ARN).
java.util.List<E> insufficientDataActions
The list of actions to execute when this alarm transitions into an
INSUFFICIENT_DATA state from any other state. Each action is
specified as an Amazon Resource Name (ARN).
UnknownActions.java.lang.String stateValue
The state value for the alarm.
Constraints:
Allowed Values: OK, ALARM, INSUFFICIENT_DATA
java.lang.String stateReason
A human-readable explanation for the alarm's state.
Constraints:
Length: 0 - 1023
java.lang.String stateReasonData
An explanation for the alarm's state in machine-readable JSON format
Constraints:
Length: 0 - 4000
java.util.Date stateUpdatedTimestamp
The time stamp of the last update to the alarm's state.
java.lang.String metricName
The name of the alarm's metric.
Constraints:
Length: 1 - 255
java.lang.String namespace
The namespace of alarm's associated metric.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.lang.String statistic
The statistic to apply to the alarm's associated metric.
Constraints:
Allowed Values: SampleCount, Average, Sum, Minimum, Maximum
java.util.List<E> dimensions
The list of dimensions associated with the alarm's associated metric.
java.lang.Integer period
The period in seconds over which the statistic is applied.
Constraints:
Range: 60 -
java.lang.String unit
The unit of the alarm's associated metric.
Constraints:
Allowed Values: Seconds, Microseconds, Milliseconds, Bytes,
Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits,
Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second,
Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second,
Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second,
Count/Second, None
java.lang.Integer evaluationPeriods
The number of periods over which data is compared to the specified threshold.
Constraints:
Range: 1 -
java.lang.Double threshold
The value against which the specified statistic is compared.
java.lang.String comparisonOperator
The arithmetic operation to use when comparing the specified
Statistic and Threshold. The specified
Statistic value is used as the first operand.
Constraints:
Allowed Values: GreaterThanOrEqualToThreshold,
GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
java.lang.String metricName
The name of the metric.
Constraints:
Length: 1 - 255
java.util.List<E> dimensions
A list of dimensions associated with the metric. Note, when using the Dimensions value in a query, you need to append .member.N to it (e.g., Dimensions.member.N).
java.util.Date timestamp
The time stamp used for the metric in ISO 8601 Universal Coordinated Time (UTC) format. If not specified, the default value is set to the time the metric data was received.
java.lang.Double value
The value for the metric.
Value parameter accepts numbers of
type Double, Amazon CloudWatch rejects values that are
either too small or too large. Values must be in the range of
8.515920e-109 to 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2). In
addition, special values (e.g., NaN, +Infinity, -Infinity) are not
supported. StatisticSet statisticValues
A set of statistical values describing the metric.
java.lang.String unit
The unit of the metric.
Constraints:
Allowed Values: Seconds, Microseconds, Milliseconds, Bytes,
Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits,
Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second,
Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second,
Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second,
Count/Second, None
java.lang.String alarmName
The descriptive name for the alarm. This name must be unique within the user's AWS account
Constraints:
Length: 1 - 255
java.lang.String alarmDescription
The description for the alarm.
Constraints:
Length: 0 - 1024
java.lang.Boolean actionsEnabled
Indicates whether or not actions should be executed during any changes to the alarm's state.
java.util.List<E> oKActions
The list of actions to execute when this alarm transitions into an
OK state from any other state. Each action is specified as
an Amazon Resource Name (ARN).
Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer- account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 | arn:aws:swf:us-east -1:{customer-account}:action/actions/AWS_EC2.InstanceId .Terminate/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions /AWS_EC2.InstanceId.Reboot/1.0
Note: You must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role for the first time. After this IAM role is created, you can create stop, terminate, or reboot alarms using the CLI.
java.util.List<E> alarmActions
The list of actions to execute when this alarm transitions into an
ALARM state from any other state. Each action is specified
as an Amazon Resource Name (ARN).
Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer- account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 | arn:aws:swf:us-east -1:{customer-account}:action/actions/AWS_EC2.InstanceId .Terminate/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions /AWS_EC2.InstanceId.Reboot/1.0
Note: You must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role for the first time. After this IAM role is created, you can create stop, terminate, or reboot alarms using the CLI.
java.util.List<E> insufficientDataActions
The list of actions to execute when this alarm transitions into an
INSUFFICIENT_DATA state from any other state. Each action is
specified as an Amazon Resource Name (ARN).
Valid Values: arn:aws:automate:region (e.g., us-east-1):ec2:stop | arn:aws:automate:region (e.g., us-east-1):ec2:terminate | arn:aws:automate:region (e.g., us-east-1):ec2:recover
Valid Values (for use with IAM roles): arn:aws:swf:us-east-1:{customer- account}:action/actions/AWS_EC2.InstanceId.Stop/1.0 | arn:aws:swf:us-east -1:{customer-account}:action/actions/AWS_EC2.InstanceId .Terminate/1.0 | arn:aws:swf:us-east-1:{customer-account}:action/actions /AWS_EC2.InstanceId.Reboot/1.0
Note: You must create at least one stop, terminate, or reboot alarm using the Amazon EC2 or CloudWatch console to create the EC2ActionsAccess IAM role for the first time. After this IAM role is created, you can create stop, terminate, or reboot alarms using the CLI.
java.lang.String metricName
The name for the alarm's associated metric.
Constraints:
Length: 1 - 255
java.lang.String namespace
The namespace for the alarm's associated metric.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.lang.String statistic
The statistic to apply to the alarm's associated metric.
Constraints:
Allowed Values: SampleCount, Average, Sum, Minimum, Maximum
java.util.List<E> dimensions
The dimensions for the alarm's associated metric.
java.lang.Integer period
The period in seconds over which the specified statistic is applied.
Constraints:
Range: 60 -
java.lang.String unit
The statistic's unit of measure. For example, the units for the Amazon EC2 NetworkIn metric are Bytes because NetworkIn tracks the number of bytes that an instance receives on all network interfaces. You can also specify a unit when you create a custom metric. Units help provide conceptual meaning to your data. Metric data points that specify a unit of measure, such as Percent, are aggregated separately.
Note: If you specify a unit, you must use a unit that is appropriate for the metric. Otherwise, this can cause an Amazon CloudWatch alarm to get stuck in the INSUFFICIENT DATA state.
Constraints:
Allowed Values: Seconds, Microseconds, Milliseconds, Bytes,
Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits,
Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second,
Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second,
Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second,
Count/Second, None
java.lang.Integer evaluationPeriods
The number of periods over which data is compared to the specified threshold.
Constraints:
Range: 1 -
java.lang.Double threshold
The value against which the specified statistic is compared.
java.lang.String comparisonOperator
The arithmetic operation to use when comparing the specified
Statistic and Threshold. The specified
Statistic value is used as the first operand.
Constraints:
Allowed Values: GreaterThanOrEqualToThreshold,
GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
java.lang.String namespace
The namespace for the metric data.
Constraints:
Length: 1 - 255
Pattern: [^:].*
java.util.List<E> metricData
A list of data describing the metric.
java.lang.String alarmName
The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
Constraints:
Length: 1 - 255
java.lang.String stateValue
The value of the state.
Constraints:
Allowed Values: OK, ALARM, INSUFFICIENT_DATA
java.lang.String stateReason
The reason that this alarm is set to this specific state (in human-readable text format)
Constraints:
Length: 0 - 1023
java.lang.String stateReasonData
The reason that this alarm is set to this specific state (in machine-readable JSON format)
Constraints:
Length: 0 - 4000
java.lang.Double sampleCount
The number of samples used for the statistic set.
java.lang.Double sum
The sum of values for the sample set.
java.lang.Double minimum
The minimum value of the sample set.
java.lang.Double maximum
The maximum value of the sample set.