amazonka-cloudwatch-1.4.3: Amazon CloudWatch SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatch

Contents

Description

Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you run on AWS in real-time. You can use CloudWatch to collect and track metrics, which are the variables you want to measure for your resources and applications.

CloudWatch alarms send notifications or automatically make changes to the resources you are monitoring based on rules that you define. For example, you can monitor the CPU usage and disk reads and writes of your Amazon Elastic Compute Cloud (Amazon EC2) instances and then use this data to determine whether you should launch additional instances to handle increased load. You can also use this data to stop under-used instances to save money.

In addition to monitoring the built-in metrics that come with AWS, you can monitor your own custom metrics. With CloudWatch, you gain system-wide visibility into resource utilization, application performance, and operational health.

Synopsis

Service Configuration

cloudWatch :: Service Source #

API version '2010-08-01' of the Amazon CloudWatch SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudWatch.

LimitExceededFault

_LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

The quota for alarms for this customer has already been reached.

InvalidNextToken

_InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError Source #

The next token specified is invalid.

InternalServiceFault

_InternalServiceFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

Indicates that the request processing has failed due to some unknown error, exception, or failure.

InvalidParameterValueException

_InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Bad or out-of-range value was supplied for the input parameter.

InvalidFormatFault

_InvalidFormatFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

Data was not syntactically valid JSON.

MissingRequiredParameterException

_MissingRequiredParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An input parameter that is mandatory for processing the request is not supplied.

InvalidParameterCombinationException

_InvalidParameterCombinationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Parameters that must not be used together were used together.

ResourceNotFound

_ResourceNotFound :: AsError a => Getting (First ServiceError) a ServiceError Source #

The named resource does not exist.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

EnableAlarmActions

PutMetricData

DescribeAlarms (Paginated)

ListMetrics (Paginated)

DeleteAlarms

DescribeAlarmHistory (Paginated)

GetMetricStatistics

DescribeAlarmsForMetric

DisableAlarmActions

PutMetricAlarm

SetAlarmState

Types

ComparisonOperator

data ComparisonOperator Source #

Instances

Bounded ComparisonOperator Source # 
Enum ComparisonOperator Source # 
Eq ComparisonOperator Source # 
Data ComparisonOperator Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ComparisonOperator -> c ComparisonOperator #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ComparisonOperator #

toConstr :: ComparisonOperator -> Constr #

dataTypeOf :: ComparisonOperator -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ComparisonOperator) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ComparisonOperator) #

gmapT :: (forall b. Data b => b -> b) -> ComparisonOperator -> ComparisonOperator #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ComparisonOperator -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ComparisonOperator -> r #

gmapQ :: (forall d. Data d => d -> u) -> ComparisonOperator -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ComparisonOperator -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ComparisonOperator -> m ComparisonOperator #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ComparisonOperator -> m ComparisonOperator #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ComparisonOperator -> m ComparisonOperator #

Ord ComparisonOperator Source # 
Read ComparisonOperator Source # 
Show ComparisonOperator Source # 
Generic ComparisonOperator Source # 
Hashable ComparisonOperator Source # 
NFData ComparisonOperator Source # 

Methods

rnf :: ComparisonOperator -> () #

FromXML ComparisonOperator Source # 
ToQuery ComparisonOperator Source # 
ToHeader ComparisonOperator Source # 
ToByteString ComparisonOperator Source # 
FromText ComparisonOperator Source # 
ToText ComparisonOperator Source # 
type Rep ComparisonOperator Source # 
type Rep ComparisonOperator = D1 (MetaData "ComparisonOperator" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) ((:+:) ((:+:) (C1 (MetaCons "GreaterThanOrEqualToThreshold" PrefixI False) U1) (C1 (MetaCons "GreaterThanThreshold" PrefixI False) U1)) ((:+:) (C1 (MetaCons "LessThanOrEqualToThreshold" PrefixI False) U1) (C1 (MetaCons "LessThanThreshold" PrefixI False) U1)))

HistoryItemType

data HistoryItemType Source #

Instances

Bounded HistoryItemType Source # 
Enum HistoryItemType Source # 
Eq HistoryItemType Source # 
Data HistoryItemType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> HistoryItemType -> c HistoryItemType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c HistoryItemType #

toConstr :: HistoryItemType -> Constr #

dataTypeOf :: HistoryItemType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c HistoryItemType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c HistoryItemType) #

gmapT :: (forall b. Data b => b -> b) -> HistoryItemType -> HistoryItemType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> HistoryItemType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> HistoryItemType -> r #

gmapQ :: (forall d. Data d => d -> u) -> HistoryItemType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> HistoryItemType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> HistoryItemType -> m HistoryItemType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryItemType -> m HistoryItemType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> HistoryItemType -> m HistoryItemType #

Ord HistoryItemType Source # 
Read HistoryItemType Source # 
Show HistoryItemType Source # 
Generic HistoryItemType Source # 
Hashable HistoryItemType Source # 
NFData HistoryItemType Source # 

Methods

rnf :: HistoryItemType -> () #

FromXML HistoryItemType Source # 
ToQuery HistoryItemType Source # 
ToHeader HistoryItemType Source # 
ToByteString HistoryItemType Source # 
FromText HistoryItemType Source # 
ToText HistoryItemType Source # 
type Rep HistoryItemType Source # 
type Rep HistoryItemType = D1 (MetaData "HistoryItemType" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) ((:+:) (C1 (MetaCons "Action" PrefixI False) U1) ((:+:) (C1 (MetaCons "ConfigurationUpdate" PrefixI False) U1) (C1 (MetaCons "StateUpdate" PrefixI False) U1)))

StandardUnit

data StandardUnit Source #

Instances

Bounded StandardUnit Source # 
Enum StandardUnit Source # 
Eq StandardUnit Source # 
Data StandardUnit Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StandardUnit -> c StandardUnit #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StandardUnit #

toConstr :: StandardUnit -> Constr #

dataTypeOf :: StandardUnit -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StandardUnit) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StandardUnit) #

gmapT :: (forall b. Data b => b -> b) -> StandardUnit -> StandardUnit #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StandardUnit -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StandardUnit -> r #

gmapQ :: (forall d. Data d => d -> u) -> StandardUnit -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StandardUnit -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StandardUnit -> m StandardUnit #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StandardUnit -> m StandardUnit #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StandardUnit -> m StandardUnit #

Ord StandardUnit Source # 
Read StandardUnit Source # 
Show StandardUnit Source # 
Generic StandardUnit Source # 

Associated Types

type Rep StandardUnit :: * -> * #

Hashable StandardUnit Source # 
NFData StandardUnit Source # 

Methods

rnf :: StandardUnit -> () #

FromXML StandardUnit Source # 
ToQuery StandardUnit Source # 
ToHeader StandardUnit Source # 
ToByteString StandardUnit Source # 
FromText StandardUnit Source # 
ToText StandardUnit Source # 

Methods

toText :: StandardUnit -> Text #

type Rep StandardUnit Source # 
type Rep StandardUnit = D1 (MetaData "StandardUnit" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) ((:+:) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Bits" PrefixI False) U1) ((:+:) (C1 (MetaCons "BitsSecond" PrefixI False) U1) (C1 (MetaCons "Bytes" PrefixI False) U1))) ((:+:) (C1 (MetaCons "BytesSecond" PrefixI False) U1) ((:+:) (C1 (MetaCons "Count" PrefixI False) U1) (C1 (MetaCons "CountSecond" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "Gigabits" PrefixI False) U1) ((:+:) (C1 (MetaCons "GigabitsSecond" PrefixI False) U1) (C1 (MetaCons "Gigabytes" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "GigabytesSecond" PrefixI False) U1) (C1 (MetaCons "Kilobits" PrefixI False) U1)) ((:+:) (C1 (MetaCons "KilobitsSecond" PrefixI False) U1) (C1 (MetaCons "Kilobytes" PrefixI False) U1))))) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "KilobytesSecond" PrefixI False) U1) ((:+:) (C1 (MetaCons "Megabits" PrefixI False) U1) (C1 (MetaCons "MegabitsSecond" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Megabytes" PrefixI False) U1) (C1 (MetaCons "MegabytesSecond" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Microseconds" PrefixI False) U1) (C1 (MetaCons "Milliseconds" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "None" PrefixI False) U1) ((:+:) (C1 (MetaCons "Percent" PrefixI False) U1) (C1 (MetaCons "Seconds" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "Terabits" PrefixI False) U1) (C1 (MetaCons "TerabitsSecond" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Terabytes" PrefixI False) U1) (C1 (MetaCons "TerabytesSecond" PrefixI False) U1))))))

StateValue

data StateValue Source #

Constructors

Alarm 
InsufficientData 
OK 

Instances

Bounded StateValue Source # 
Enum StateValue Source # 
Eq StateValue Source # 
Data StateValue Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StateValue -> c StateValue #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StateValue #

toConstr :: StateValue -> Constr #

dataTypeOf :: StateValue -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StateValue) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StateValue) #

gmapT :: (forall b. Data b => b -> b) -> StateValue -> StateValue #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StateValue -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StateValue -> r #

gmapQ :: (forall d. Data d => d -> u) -> StateValue -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StateValue -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StateValue -> m StateValue #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StateValue -> m StateValue #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StateValue -> m StateValue #

Ord StateValue Source # 
Read StateValue Source # 
Show StateValue Source # 
Generic StateValue Source # 

Associated Types

type Rep StateValue :: * -> * #

Hashable StateValue Source # 
NFData StateValue Source # 

Methods

rnf :: StateValue -> () #

FromXML StateValue Source # 
ToQuery StateValue Source # 
ToHeader StateValue Source # 
ToByteString StateValue Source # 
FromText StateValue Source # 
ToText StateValue Source # 

Methods

toText :: StateValue -> Text #

type Rep StateValue Source # 
type Rep StateValue = D1 (MetaData "StateValue" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) ((:+:) (C1 (MetaCons "Alarm" PrefixI False) U1) ((:+:) (C1 (MetaCons "InsufficientData" PrefixI False) U1) (C1 (MetaCons "OK" PrefixI False) U1)))

Statistic

data Statistic Source #

Instances

Bounded Statistic Source # 
Enum Statistic Source # 
Eq Statistic Source # 
Data Statistic Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Statistic -> c Statistic #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Statistic #

toConstr :: Statistic -> Constr #

dataTypeOf :: Statistic -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Statistic) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Statistic) #

gmapT :: (forall b. Data b => b -> b) -> Statistic -> Statistic #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Statistic -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Statistic -> r #

gmapQ :: (forall d. Data d => d -> u) -> Statistic -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Statistic -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Statistic -> m Statistic #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Statistic -> m Statistic #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Statistic -> m Statistic #

Ord Statistic Source # 
Read Statistic Source # 
Show Statistic Source # 
Generic Statistic Source # 

Associated Types

type Rep Statistic :: * -> * #

Hashable Statistic Source # 
NFData Statistic Source # 

Methods

rnf :: Statistic -> () #

FromXML Statistic Source # 
ToQuery Statistic Source # 
ToHeader Statistic Source # 
ToByteString Statistic Source # 

Methods

toBS :: Statistic -> ByteString #

FromText Statistic Source # 
ToText Statistic Source # 

Methods

toText :: Statistic -> Text #

type Rep Statistic Source # 
type Rep Statistic = D1 (MetaData "Statistic" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) ((:+:) ((:+:) (C1 (MetaCons "Average" PrefixI False) U1) (C1 (MetaCons "Maximum" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Minimum" PrefixI False) U1) ((:+:) (C1 (MetaCons "SampleCount" PrefixI False) U1) (C1 (MetaCons "Sum" PrefixI False) U1))))

AlarmHistoryItem

data AlarmHistoryItem Source #

The AlarmHistoryItem data type contains descriptive information about the history of a specific alarm. If you call DescribeAlarmHistory, Amazon CloudWatch returns this data type as part of the DescribeAlarmHistoryResult data type.

See: alarmHistoryItem smart constructor.

Instances

Eq AlarmHistoryItem Source # 
Data AlarmHistoryItem Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AlarmHistoryItem -> c AlarmHistoryItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AlarmHistoryItem #

toConstr :: AlarmHistoryItem -> Constr #

dataTypeOf :: AlarmHistoryItem -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c AlarmHistoryItem) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AlarmHistoryItem) #

gmapT :: (forall b. Data b => b -> b) -> AlarmHistoryItem -> AlarmHistoryItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AlarmHistoryItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AlarmHistoryItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> AlarmHistoryItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AlarmHistoryItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AlarmHistoryItem -> m AlarmHistoryItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AlarmHistoryItem -> m AlarmHistoryItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AlarmHistoryItem -> m AlarmHistoryItem #

Read AlarmHistoryItem Source # 
Show AlarmHistoryItem Source # 
Generic AlarmHistoryItem Source # 
Hashable AlarmHistoryItem Source # 
NFData AlarmHistoryItem Source # 

Methods

rnf :: AlarmHistoryItem -> () #

FromXML AlarmHistoryItem Source # 
type Rep AlarmHistoryItem Source # 
type Rep AlarmHistoryItem = D1 (MetaData "AlarmHistoryItem" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) (C1 (MetaCons "AlarmHistoryItem'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ahiAlarmName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ahiHistoryItemType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe HistoryItemType)))) ((:*:) (S1 (MetaSel (Just Symbol "_ahiHistoryData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ahiHistorySummary") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ahiTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))))))

alarmHistoryItem :: AlarmHistoryItem Source #

Creates a value of AlarmHistoryItem with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ahiAlarmName :: Lens' AlarmHistoryItem (Maybe Text) Source #

The descriptive name for the alarm.

ahiHistoryData :: Lens' AlarmHistoryItem (Maybe Text) Source #

Machine-readable data about the alarm in JSON format.

ahiHistorySummary :: Lens' AlarmHistoryItem (Maybe Text) Source #

A human-readable summary of the alarm history.

ahiTimestamp :: Lens' AlarmHistoryItem (Maybe UTCTime) Source #

The time stamp for the alarm history item.

Datapoint

data Datapoint Source #

The Datapoint data type encapsulates the statistical data that Amazon CloudWatch computes from metric data.

See: datapoint smart constructor.

Instances

Eq Datapoint Source # 
Data Datapoint Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Datapoint -> c Datapoint #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Datapoint #

toConstr :: Datapoint -> Constr #

dataTypeOf :: Datapoint -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Datapoint) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Datapoint) #

gmapT :: (forall b. Data b => b -> b) -> Datapoint -> Datapoint #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Datapoint -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Datapoint -> r #

gmapQ :: (forall d. Data d => d -> u) -> Datapoint -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Datapoint -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Datapoint -> m Datapoint #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Datapoint -> m Datapoint #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Datapoint -> m Datapoint #

Read Datapoint Source # 
Show Datapoint Source # 
Generic Datapoint Source # 

Associated Types

type Rep Datapoint :: * -> * #

Hashable Datapoint Source # 
NFData Datapoint Source # 

Methods

rnf :: Datapoint -> () #

FromXML Datapoint Source # 
type Rep Datapoint Source # 

datapoint :: Datapoint Source #

Creates a value of Datapoint with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dSampleCount :: Lens' Datapoint (Maybe Double) Source #

The number of metric values that contributed to the aggregate value of this datapoint.

dMaximum :: Lens' Datapoint (Maybe Double) Source #

The maximum of the metric value used for the datapoint.

dAverage :: Lens' Datapoint (Maybe Double) Source #

The average of metric values that correspond to the datapoint.

dMinimum :: Lens' Datapoint (Maybe Double) Source #

The minimum metric value used for the datapoint.

dSum :: Lens' Datapoint (Maybe Double) Source #

The sum of metric values used for the datapoint.

dUnit :: Lens' Datapoint (Maybe StandardUnit) Source #

The standard unit used for the datapoint.

dTimestamp :: Lens' Datapoint (Maybe UTCTime) Source #

The time stamp used for the datapoint.

Dimension

data Dimension Source #

The Dimension data type further expands on the identity of a metric using a Name, Value pair.

For examples that use one or more dimensions, see PutMetricData.

See: dimension smart constructor.

Instances

Eq Dimension Source # 
Data Dimension Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Dimension -> c Dimension #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Dimension #

toConstr :: Dimension -> Constr #

dataTypeOf :: Dimension -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Dimension) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Dimension) #

gmapT :: (forall b. Data b => b -> b) -> Dimension -> Dimension #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Dimension -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Dimension -> r #

gmapQ :: (forall d. Data d => d -> u) -> Dimension -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Dimension -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Dimension -> m Dimension #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Dimension -> m Dimension #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Dimension -> m Dimension #

Read Dimension Source # 
Show Dimension Source # 
Generic Dimension Source # 

Associated Types

type Rep Dimension :: * -> * #

Hashable Dimension Source # 
NFData Dimension Source # 

Methods

rnf :: Dimension -> () #

FromXML Dimension Source # 
ToQuery Dimension Source # 
type Rep Dimension Source # 
type Rep Dimension = D1 (MetaData "Dimension" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) (C1 (MetaCons "Dimension'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

dimension Source #

Arguments

:: Text

dName

-> Text

dValue

-> Dimension 

Creates a value of Dimension with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dName :: Lens' Dimension Text Source #

The name of the dimension.

dValue :: Lens' Dimension Text Source #

The value representing the dimension measurement

DimensionFilter

data DimensionFilter Source #

The DimensionFilter data type is used to filter ListMetrics results.

See: dimensionFilter smart constructor.

Instances

Eq DimensionFilter Source # 
Data DimensionFilter Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DimensionFilter -> c DimensionFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DimensionFilter #

toConstr :: DimensionFilter -> Constr #

dataTypeOf :: DimensionFilter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DimensionFilter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DimensionFilter) #

gmapT :: (forall b. Data b => b -> b) -> DimensionFilter -> DimensionFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DimensionFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DimensionFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> DimensionFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DimensionFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DimensionFilter -> m DimensionFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DimensionFilter -> m DimensionFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DimensionFilter -> m DimensionFilter #

Read DimensionFilter Source # 
Show DimensionFilter Source # 
Generic DimensionFilter Source # 
Hashable DimensionFilter Source # 
NFData DimensionFilter Source # 

Methods

rnf :: DimensionFilter -> () #

ToQuery DimensionFilter Source # 
type Rep DimensionFilter Source # 
type Rep DimensionFilter = D1 (MetaData "DimensionFilter" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) (C1 (MetaCons "DimensionFilter'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dfValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dfName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

dimensionFilter Source #

Arguments

:: Text

dfName

-> DimensionFilter 

Creates a value of DimensionFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dfValue :: Lens' DimensionFilter (Maybe Text) Source #

The value of the dimension to be matched.

Specifying a Name without specifying a Value returns all values associated with that Name.

dfName :: Lens' DimensionFilter Text Source #

The dimension name to be matched.

Metric

data Metric Source #

The Metric data type contains information about a specific metric. If you call ListMetrics, Amazon CloudWatch returns information contained by this data type.

The example in the Examples section publishes two metrics named buffers and latency. Both metrics are in the examples namespace. Both metrics have two dimensions, InstanceID and InstanceType.

See: metric smart constructor.

Instances

Eq Metric Source # 

Methods

(==) :: Metric -> Metric -> Bool #

(/=) :: Metric -> Metric -> Bool #

Data Metric Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Metric -> c Metric #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Metric #

toConstr :: Metric -> Constr #

dataTypeOf :: Metric -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Metric) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Metric) #

gmapT :: (forall b. Data b => b -> b) -> Metric -> Metric #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Metric -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Metric -> r #

gmapQ :: (forall d. Data d => d -> u) -> Metric -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Metric -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Metric -> m Metric #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Metric -> m Metric #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Metric -> m Metric #

Read Metric Source # 
Show Metric Source # 
Generic Metric Source # 

Associated Types

type Rep Metric :: * -> * #

Methods

from :: Metric -> Rep Metric x #

to :: Rep Metric x -> Metric #

Hashable Metric Source # 

Methods

hashWithSalt :: Int -> Metric -> Int #

hash :: Metric -> Int #

NFData Metric Source # 

Methods

rnf :: Metric -> () #

FromXML Metric Source # 
type Rep Metric Source # 
type Rep Metric = D1 (MetaData "Metric" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) (C1 (MetaCons "Metric'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mDimensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Dimension]))))))

metric :: Metric Source #

Creates a value of Metric with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mMetricName :: Lens' Metric (Maybe Text) Source #

The name of the metric.

mNamespace :: Lens' Metric (Maybe Text) Source #

The namespace of the metric.

mDimensions :: Lens' Metric [Dimension] Source #

A list of dimensions associated with the metric.

MetricAlarm

data MetricAlarm Source #

The MetricAlarm data type represents an alarm. You can use PutMetricAlarm to create or update an alarm.

See: metricAlarm smart constructor.

Instances

Eq MetricAlarm Source # 
Data MetricAlarm Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricAlarm -> c MetricAlarm #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricAlarm #

toConstr :: MetricAlarm -> Constr #

dataTypeOf :: MetricAlarm -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricAlarm) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricAlarm) #

gmapT :: (forall b. Data b => b -> b) -> MetricAlarm -> MetricAlarm #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricAlarm -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricAlarm -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricAlarm -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricAlarm -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricAlarm -> m MetricAlarm #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricAlarm -> m MetricAlarm #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricAlarm -> m MetricAlarm #

Read MetricAlarm Source # 
Show MetricAlarm Source # 
Generic MetricAlarm Source # 

Associated Types

type Rep MetricAlarm :: * -> * #

Hashable MetricAlarm Source # 
NFData MetricAlarm Source # 

Methods

rnf :: MetricAlarm -> () #

FromXML MetricAlarm Source # 
type Rep MetricAlarm Source # 
type Rep MetricAlarm = D1 (MetaData "MetricAlarm" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) (C1 (MetaCons "MetricAlarm'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_maAlarmName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_maStateUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_maPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_maAlarmDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_maEvaluationPeriods") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_maMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_maNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_maComparisonOperator") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ComparisonOperator))) ((:*:) (S1 (MetaSel (Just Symbol "_maOKActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_maStateValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StateValue))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_maThreshold") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) (S1 (MetaSel (Just Symbol "_maAlarmConfigurationUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) ((:*:) (S1 (MetaSel (Just Symbol "_maActionsEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_maInsufficientDataActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_maStateReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_maStateReasonData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_maDimensions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Dimension]))) (S1 (MetaSel (Just Symbol "_maAlarmARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_maAlarmActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_maUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StandardUnit))) (S1 (MetaSel (Just Symbol "_maStatistic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Statistic)))))))))

maAlarmName :: Lens' MetricAlarm (Maybe Text) Source #

The name of the alarm.

maStateUpdatedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) Source #

The time stamp of the last update to the alarm's state.

maPeriod :: Lens' MetricAlarm (Maybe Natural) Source #

The period in seconds over which the statistic is applied.

maAlarmDescription :: Lens' MetricAlarm (Maybe Text) Source #

The description for the alarm.

maEvaluationPeriods :: Lens' MetricAlarm (Maybe Natural) Source #

The number of periods over which data is compared to the specified threshold.

maMetricName :: Lens' MetricAlarm (Maybe Text) Source #

The name of the alarm's metric.

maNamespace :: Lens' MetricAlarm (Maybe Text) Source #

The namespace of alarm's associated metric.

maComparisonOperator :: Lens' MetricAlarm (Maybe ComparisonOperator) Source #

The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand.

maOKActions :: Lens' MetricAlarm [Text] Source #

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).

maStateValue :: Lens' MetricAlarm (Maybe StateValue) Source #

The state value for the alarm.

maThreshold :: Lens' MetricAlarm (Maybe Double) Source #

The value against which the specified statistic is compared.

maAlarmConfigurationUpdatedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) Source #

The time stamp of the last update to the alarm configuration.

maActionsEnabled :: Lens' MetricAlarm (Maybe Bool) Source #

Indicates whether actions should be executed during any changes to the alarm's state.

maInsufficientDataActions :: Lens' MetricAlarm [Text] Source #

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).

The current WSDL lists this attribute as UnknownActions.

maStateReason :: Lens' MetricAlarm (Maybe Text) Source #

A human-readable explanation for the alarm's state.

maStateReasonData :: Lens' MetricAlarm (Maybe Text) Source #

An explanation for the alarm's state in machine-readable JSON format

maDimensions :: Lens' MetricAlarm [Dimension] Source #

The list of dimensions associated with the alarm's associated metric.

maAlarmARN :: Lens' MetricAlarm (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alarm.

maAlarmActions :: Lens' MetricAlarm [Text] Source #

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).

maUnit :: Lens' MetricAlarm (Maybe StandardUnit) Source #

The unit of the alarm's associated metric.

maStatistic :: Lens' MetricAlarm (Maybe Statistic) Source #

The statistic to apply to the alarm's associated metric.

MetricDatum

data MetricDatum Source #

The MetricDatum data type encapsulates the information sent with PutMetricData to either create a new metric or add new values to be aggregated into an existing metric.

See: metricDatum smart constructor.

Instances

Eq MetricDatum Source # 
Data MetricDatum Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricDatum -> c MetricDatum #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricDatum #

toConstr :: MetricDatum -> Constr #

dataTypeOf :: MetricDatum -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricDatum) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricDatum) #

gmapT :: (forall b. Data b => b -> b) -> MetricDatum -> MetricDatum #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricDatum -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricDatum -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricDatum -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricDatum -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricDatum -> m MetricDatum #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDatum -> m MetricDatum #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricDatum -> m MetricDatum #

Read MetricDatum Source # 
Show MetricDatum Source # 
Generic MetricDatum Source # 

Associated Types

type Rep MetricDatum :: * -> * #

Hashable MetricDatum Source # 
NFData MetricDatum Source # 

Methods

rnf :: MetricDatum -> () #

ToQuery MetricDatum Source # 
type Rep MetricDatum Source # 

metricDatum Source #

Creates a value of MetricDatum with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mdValue :: Lens' MetricDatum (Maybe Double) Source #

The value for the metric.

Although the 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.

mdDimensions :: Lens' MetricDatum [Dimension] Source #

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).

mdUnit :: Lens' MetricDatum (Maybe StandardUnit) Source #

The unit of the metric.

mdTimestamp :: Lens' MetricDatum (Maybe UTCTime) Source #

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.

mdStatisticValues :: Lens' MetricDatum (Maybe StatisticSet) Source #

A set of statistical values describing the metric.

mdMetricName :: Lens' MetricDatum Text Source #

The name of the metric.

StatisticSet

data StatisticSet Source #

The StatisticSet data type describes the StatisticValues component of MetricDatum, and represents a set of statistics that describes a specific metric.

See: statisticSet smart constructor.

Instances

Eq StatisticSet Source # 
Data StatisticSet Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatisticSet -> c StatisticSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatisticSet #

toConstr :: StatisticSet -> Constr #

dataTypeOf :: StatisticSet -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StatisticSet) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatisticSet) #

gmapT :: (forall b. Data b => b -> b) -> StatisticSet -> StatisticSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatisticSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatisticSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatisticSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatisticSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatisticSet -> m StatisticSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatisticSet -> m StatisticSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatisticSet -> m StatisticSet #

Read StatisticSet Source # 
Show StatisticSet Source # 
Generic StatisticSet Source # 

Associated Types

type Rep StatisticSet :: * -> * #

Hashable StatisticSet Source # 
NFData StatisticSet Source # 

Methods

rnf :: StatisticSet -> () #

ToQuery StatisticSet Source # 
type Rep StatisticSet Source # 
type Rep StatisticSet = D1 (MetaData "StatisticSet" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.4.3-3zWFSmEqe9z5oTCwMKJaW0" False) (C1 (MetaCons "StatisticSet'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_ssSampleCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double)) (S1 (MetaSel (Just Symbol "_ssSum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double))) ((:*:) (S1 (MetaSel (Just Symbol "_ssMinimum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double)) (S1 (MetaSel (Just Symbol "_ssMaximum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double)))))

statisticSet Source #

Creates a value of StatisticSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ssSampleCount :: Lens' StatisticSet Double Source #

The number of samples used for the statistic set.

ssSum :: Lens' StatisticSet Double Source #

The sum of values for the sample set.

ssMinimum :: Lens' StatisticSet Double Source #

The minimum value of the sample set.

ssMaximum :: Lens' StatisticSet Double Source #

The maximum value of the sample set.