amazonka-cloudwatch-1.6.0: Amazon CloudWatch SDK.

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

Network.AWS.CloudWatch.Types

Contents

Description

 
Synopsis

Service Configuration

cloudWatch :: Service #

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

Errors

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

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

_DashboardNotFoundError :: AsError a => Getting (First ServiceError) a ServiceError #

The specified dashboard does not exist.

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

The next token specified is invalid.

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

Request processing has failed due to some unknown error, exception, or failure.

_DashboardInvalidInputError :: AsError a => Getting (First ServiceError) a ServiceError #

Some part of the dashboard data is invalid.

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

The value of an input parameter is bad or out-of-range.

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

Data was not syntactically valid JSON.

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

An input parameter that is required is missing.

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

Parameters were used together that cannot be used together.

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

The named resource does not exist.

ComparisonOperator

data ComparisonOperator #

Instances
Bounded ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Data ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep ComparisonOperator :: * -> * #

Hashable ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromXML ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToHeader ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToQuery ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromText ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToText ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

NFData ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: ComparisonOperator -> () #

type Rep ComparisonOperator # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep ComparisonOperator = D1 (MetaData "ComparisonOperator" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" 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 #

Instances
Bounded HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Data HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep HistoryItemType :: * -> * #

Hashable HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromXML HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToHeader HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToQuery HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromText HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToText HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

NFData HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: HistoryItemType -> () #

type Rep HistoryItemType # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep HistoryItemType = D1 (MetaData "HistoryItemType" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "Action" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "ConfigurationUpdate" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "StateUpdate" PrefixI False) (U1 :: * -> *)))

ScanBy

data ScanBy #

Instances
Bounded ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

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

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

Data ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

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

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

toConstr :: ScanBy -> Constr #

dataTypeOf :: ScanBy -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep ScanBy :: * -> * #

Methods

from :: ScanBy -> Rep ScanBy x #

to :: Rep ScanBy x -> ScanBy #

Hashable ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

hashWithSalt :: Int -> ScanBy -> Int #

hash :: ScanBy -> Int #

ToHeader ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toHeader :: HeaderName -> ScanBy -> [Header] #

ToQuery ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toBS :: ScanBy -> ByteString #

FromText ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

parser :: Parser ScanBy #

ToText ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toText :: ScanBy -> Text #

NFData ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: ScanBy -> () #

type Rep ScanBy # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep ScanBy = D1 (MetaData "ScanBy" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "TimestampAscending" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "TimestampDescending" PrefixI False) (U1 :: * -> *))

StandardUnit

data StandardUnit #

Instances
Bounded StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Data StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep StandardUnit :: * -> * #

Hashable StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromXML StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToHeader StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToQuery StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromText StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToText StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toText :: StandardUnit -> Text #

NFData StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: StandardUnit -> () #

type Rep StandardUnit # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep StandardUnit = D1 (MetaData "StandardUnit" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" 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 #

Constructors

Alarm 
InsufficientData 
OK 
Instances
Bounded StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Data StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep StateValue :: * -> * #

Hashable StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromXML StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToHeader StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToQuery StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromText StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToText StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toText :: StateValue -> Text #

NFData StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: StateValue -> () #

type Rep StateValue # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep StateValue = D1 (MetaData "StateValue" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "Alarm" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "InsufficientData" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "OK" PrefixI False) (U1 :: * -> *)))

Statistic

data Statistic #

Instances
Bounded Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Data Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep Statistic :: * -> * #

Hashable Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromXML Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToHeader Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToQuery Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toBS :: Statistic -> ByteString #

FromText Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToText Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toText :: Statistic -> Text #

NFData Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: Statistic -> () #

type Rep Statistic # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep Statistic = D1 (MetaData "Statistic" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" 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 :: * -> *))))

StatusCode

data StatusCode #

Instances
Bounded StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Enum StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Eq StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Data StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

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

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

toConstr :: StatusCode -> Constr #

dataTypeOf :: StatusCode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Read StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Show StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Generic StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Associated Types

type Rep StatusCode :: * -> * #

Hashable StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromXML StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToHeader StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToQuery StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToByteString StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

FromText StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

ToText StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

toText :: StatusCode -> Text #

NFData StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

Methods

rnf :: StatusCode -> () #

type Rep StatusCode # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Sum

type Rep StatusCode = D1 (MetaData "StatusCode" "Network.AWS.CloudWatch.Types.Sum" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "Complete" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "InternalError" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "PartialData" PrefixI False) (U1 :: * -> *)))

AlarmHistoryItem

data AlarmHistoryItem #

Represents the history of a specific alarm.

See: alarmHistoryItem smart constructor.

Instances
Eq AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep AlarmHistoryItem :: * -> * #

Hashable AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: AlarmHistoryItem -> () #

type Rep AlarmHistoryItem # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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

alarmHistoryItem :: AlarmHistoryItem #

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

The descriptive name for the alarm.

ahiHistoryItemType :: Lens' AlarmHistoryItem (Maybe HistoryItemType) #

The type of alarm history item.

ahiHistoryData :: Lens' AlarmHistoryItem (Maybe Text) #

Data about the alarm, in JSON format.

ahiHistorySummary :: Lens' AlarmHistoryItem (Maybe Text) #

A summary of the alarm history, in text format.

ahiTimestamp :: Lens' AlarmHistoryItem (Maybe UTCTime) #

The time stamp for the alarm history item.

DashboardEntry

data DashboardEntry #

Represents a specific dashboard.

See: dashboardEntry smart constructor.

Instances
Eq DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

toConstr :: DashboardEntry -> Constr #

dataTypeOf :: DashboardEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep DashboardEntry :: * -> * #

Hashable DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: DashboardEntry -> () #

type Rep DashboardEntry # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep DashboardEntry = D1 (MetaData "DashboardEntry" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "DashboardEntry'" PrefixI True) ((S1 (MetaSel (Just "_deSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "_deDashboardName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_deLastModified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 (MetaSel (Just "_deDashboardARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

dashboardEntry :: DashboardEntry #

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

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

  • deSize - The size of the dashboard, in bytes.
  • deDashboardName - The name of the dashboard.
  • deLastModified - The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
  • deDashboardARN - The Amazon Resource Name (ARN) of the dashboard.

deSize :: Lens' DashboardEntry (Maybe Integer) #

The size of the dashboard, in bytes.

deDashboardName :: Lens' DashboardEntry (Maybe Text) #

The name of the dashboard.

deLastModified :: Lens' DashboardEntry (Maybe UTCTime) #

The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

deDashboardARN :: Lens' DashboardEntry (Maybe Text) #

The Amazon Resource Name (ARN) of the dashboard.

DashboardValidationMessage

data DashboardValidationMessage #

An error or warning for the operation.

See: dashboardValidationMessage smart constructor.

Instances
Eq DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

toConstr :: DashboardValidationMessage -> Constr #

dataTypeOf :: DashboardValidationMessage -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep DashboardValidationMessage :: * -> * #

Hashable DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep DashboardValidationMessage # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep DashboardValidationMessage = D1 (MetaData "DashboardValidationMessage" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "DashboardValidationMessage'" PrefixI True) (S1 (MetaSel (Just "_dvmDataPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dvmMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

dashboardValidationMessage :: DashboardValidationMessage #

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

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

  • dvmDataPath - The data path related to the message.
  • dvmMessage - A message describing the error or warning.

dvmDataPath :: Lens' DashboardValidationMessage (Maybe Text) #

The data path related to the message.

dvmMessage :: Lens' DashboardValidationMessage (Maybe Text) #

A message describing the error or warning.

Datapoint

data Datapoint #

Encapsulates the statistical data that CloudWatch computes from metric data.

See: datapoint smart constructor.

Instances
Eq Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep Datapoint :: * -> * #

Hashable Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: Datapoint -> () #

type Rep Datapoint # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

datapoint :: Datapoint #

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 - The number of metric values that contributed to the aggregate value of this data point.
  • dMaximum - The maximum metric value for the data point.
  • dAverage - The average of the metric values that correspond to the data point.
  • dMinimum - The minimum metric value for the data point.
  • dExtendedStatistics - The percentile statistic for the data point.
  • dSum - The sum of the metric values for the data point.
  • dUnit - The standard unit for the data point.
  • dTimestamp - The time stamp used for the data point.

dSampleCount :: Lens' Datapoint (Maybe Double) #

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

dMaximum :: Lens' Datapoint (Maybe Double) #

The maximum metric value for the data point.

dAverage :: Lens' Datapoint (Maybe Double) #

The average of the metric values that correspond to the data point.

dMinimum :: Lens' Datapoint (Maybe Double) #

The minimum metric value for the data point.

dExtendedStatistics :: Lens' Datapoint (HashMap Text Double) #

The percentile statistic for the data point.

dSum :: Lens' Datapoint (Maybe Double) #

The sum of the metric values for the data point.

dUnit :: Lens' Datapoint (Maybe StandardUnit) #

The standard unit for the data point.

dTimestamp :: Lens' Datapoint (Maybe UTCTime) #

The time stamp used for the data point.

Dimension

data Dimension #

Expands the identity of a metric.

See: dimension smart constructor.

Instances
Eq Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep Dimension :: * -> * #

Hashable Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: Dimension -> () #

type Rep Dimension # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep Dimension = D1 (MetaData "Dimension" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "Dimension'" PrefixI True) (S1 (MetaSel (Just "_dName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

dimension #

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 - The name of the dimension.
  • dValue - The value representing the dimension measurement.

dName :: Lens' Dimension Text #

The name of the dimension.

dValue :: Lens' Dimension Text #

The value representing the dimension measurement.

DimensionFilter

data DimensionFilter #

Represents filters for a dimension.

See: dimensionFilter smart constructor.

Instances
Eq DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep DimensionFilter :: * -> * #

Hashable DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: DimensionFilter -> () #

type Rep DimensionFilter # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep DimensionFilter = D1 (MetaData "DimensionFilter" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "DimensionFilter'" PrefixI True) (S1 (MetaSel (Just "_dfValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dfName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))

dimensionFilter #

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 - The value of the dimension to be matched.
  • dfName - The dimension name to be matched.

dfValue :: Lens' DimensionFilter (Maybe Text) #

The value of the dimension to be matched.

dfName :: Lens' DimensionFilter Text #

The dimension name to be matched.

MessageData

data MessageData #

A message returned by the GetMetricData API, including a code and a description.

See: messageData smart constructor.

Instances
Eq MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

toConstr :: MessageData -> Constr #

dataTypeOf :: MessageData -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep MessageData :: * -> * #

Hashable MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: MessageData -> () #

type Rep MessageData # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep MessageData = D1 (MetaData "MessageData" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "MessageData'" PrefixI True) (S1 (MetaSel (Just "_mValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

messageData :: MessageData #

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

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

  • mValue - The message text.
  • mCode - The error code or status code associated with the message.

mValue :: Lens' MessageData (Maybe Text) #

The message text.

mCode :: Lens' MessageData (Maybe Text) #

The error code or status code associated with the message.

Metric

data Metric #

Represents a specific metric.

See: metric smart constructor.

Instances
Eq Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

Data Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep Metric :: * -> * #

Methods

from :: Metric -> Rep Metric x #

to :: Rep Metric x -> Metric #

Hashable Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

hashWithSalt :: Int -> Metric -> Int #

hash :: Metric -> Int #

FromXML Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: Metric -> () #

type Rep Metric # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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

metric :: Metric #

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

The name of the metric.

mNamespace :: Lens' Metric (Maybe Text) #

The namespace of the metric.

mDimensions :: Lens' Metric [Dimension] #

The dimensions for the metric.

MetricAlarm

data MetricAlarm #

Represents an alarm.

See: metricAlarm smart constructor.

Instances
Eq MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep MetricAlarm :: * -> * #

Hashable MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: MetricAlarm -> () #

type Rep MetricAlarm # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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

metricAlarm :: MetricAlarm #

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

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

  • maAlarmName - The name of the alarm.
  • maStateUpdatedTimestamp - The time stamp of the last update to the alarm state.
  • maTreatMissingData - Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing is used.
  • maPeriod - The period, in seconds, over which the statistic is applied.
  • maAlarmDescription - The description of the alarm.
  • maEvaluationPeriods - The number of periods over which data is compared to the specified threshold.
  • maMetricName - The name of the metric associated with the alarm.
  • maNamespace - The namespace of the metric associated with the alarm.
  • maComparisonOperator - The arithmetic operation to use when comparing the specified statistic and threshold. The specified statistic value is used as the first operand.
  • maOKActions - The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).
  • maEvaluateLowSampleCountPercentile - Used only for alarms based on percentiles. If ignore , the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.
  • maStateValue - The state value for the alarm.
  • maDatapointsToAlarm - The number of datapoints that must be breaching to trigger the alarm.
  • maThreshold - The value to compare with the specified statistic.
  • maAlarmConfigurationUpdatedTimestamp - The time stamp of the last update to the alarm configuration.
  • maActionsEnabled - Indicates whether actions should be executed during any changes to the alarm state.
  • maInsufficientDataActions - The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).
  • maStateReason - An explanation for the alarm state, in text format.
  • maStateReasonData - An explanation for the alarm state, in JSON format.
  • maDimensions - The dimensions for the metric associated with the alarm.
  • maAlarmARN - The Amazon Resource Name (ARN) of the alarm.
  • maAlarmActions - The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).
  • maUnit - The unit of the metric associated with the alarm.
  • maStatistic - The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic .
  • maExtendedStatistic - The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

maAlarmName :: Lens' MetricAlarm (Maybe Text) #

The name of the alarm.

maStateUpdatedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) #

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

maTreatMissingData :: Lens' MetricAlarm (Maybe Text) #

Sets how this alarm is to handle missing data points. If this parameter is omitted, the default behavior of missing is used.

maPeriod :: Lens' MetricAlarm (Maybe Natural) #

The period, in seconds, over which the statistic is applied.

maAlarmDescription :: Lens' MetricAlarm (Maybe Text) #

The description of the alarm.

maEvaluationPeriods :: Lens' MetricAlarm (Maybe Natural) #

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

maMetricName :: Lens' MetricAlarm (Maybe Text) #

The name of the metric associated with the alarm.

maNamespace :: Lens' MetricAlarm (Maybe Text) #

The namespace of the metric associated with the alarm.

maComparisonOperator :: Lens' MetricAlarm (Maybe ComparisonOperator) #

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] #

The actions to execute when this alarm transitions to the OK state from any other state. Each action is specified as an Amazon Resource Name (ARN).

maEvaluateLowSampleCountPercentile :: Lens' MetricAlarm (Maybe Text) #

Used only for alarms based on percentiles. If ignore , the alarm state does not change during periods with too few data points to be statistically significant. If evaluate or this parameter is not used, the alarm is always evaluated and possibly changes state no matter how many data points are available.

maStateValue :: Lens' MetricAlarm (Maybe StateValue) #

The state value for the alarm.

maDatapointsToAlarm :: Lens' MetricAlarm (Maybe Natural) #

The number of datapoints that must be breaching to trigger the alarm.

maThreshold :: Lens' MetricAlarm (Maybe Double) #

The value to compare with the specified statistic.

maAlarmConfigurationUpdatedTimestamp :: Lens' MetricAlarm (Maybe UTCTime) #

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

maActionsEnabled :: Lens' MetricAlarm (Maybe Bool) #

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

maInsufficientDataActions :: Lens' MetricAlarm [Text] #

The actions to execute when this alarm transitions to the INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN).

maStateReason :: Lens' MetricAlarm (Maybe Text) #

An explanation for the alarm state, in text format.

maStateReasonData :: Lens' MetricAlarm (Maybe Text) #

An explanation for the alarm state, in JSON format.

maDimensions :: Lens' MetricAlarm [Dimension] #

The dimensions for the metric associated with the alarm.

maAlarmARN :: Lens' MetricAlarm (Maybe Text) #

The Amazon Resource Name (ARN) of the alarm.

maAlarmActions :: Lens' MetricAlarm [Text] #

The actions to execute when this alarm transitions to the ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN).

maUnit :: Lens' MetricAlarm (Maybe StandardUnit) #

The unit of the metric associated with the alarm.

maStatistic :: Lens' MetricAlarm (Maybe Statistic) #

The statistic for the metric associated with the alarm, other than percentile. For percentile statistics, use ExtendedStatistic .

maExtendedStatistic :: Lens' MetricAlarm (Maybe Text) #

The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100.

MetricDataQuery

data MetricDataQuery #

This structure indicates the metric data to return, and whether this call is just retrieving a batch set of data for one metric, or is performing a math expression on metric data. A single GetMetricData call can include up to 100 MetricDataQuery structures.

See: metricDataQuery smart constructor.

Instances
Eq MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

toConstr :: MetricDataQuery -> Constr #

dataTypeOf :: MetricDataQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep MetricDataQuery :: * -> * #

Hashable MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: MetricDataQuery -> () #

type Rep MetricDataQuery # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep MetricDataQuery = D1 (MetaData "MetricDataQuery" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "MetricDataQuery'" PrefixI True) ((S1 (MetaSel (Just "_mdqReturnData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_mdqExpression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mdqLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_mdqMetricStat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MetricStat)) :*: S1 (MetaSel (Just "_mdqId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

metricDataQuery #

Arguments

:: Text

mdqId

-> MetricDataQuery 

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

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

  • mdqReturnData - Indicates whether to return the time stamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify False . If you omit this, the default of True is used.
  • mdqExpression - The math expression to be performed on the returned data, if this structure is performing a math expression. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide . Within one MetricDataQuery structure, you must specify either Expression or MetricStat but not both.
  • mdqLabel - A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.
  • mdqMetricStat - The metric to be returned, along with statistics, period, and units. Use this parameter only if this structure is performing a data retrieval and not performing a math expression on the returned data. Within one MetricDataQuery structure, you must specify either Expression or MetricStat but not both.
  • mdqId - A short name used to tie this structure to the results in the response. This name must be unique within a single call to GetMetricData . If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.

mdqReturnData :: Lens' MetricDataQuery (Maybe Bool) #

Indicates whether to return the time stamps and raw data values of this metric. If you are performing this call just to do math expressions and do not also need the raw data returned, you can specify False . If you omit this, the default of True is used.

mdqExpression :: Lens' MetricDataQuery (Maybe Text) #

The math expression to be performed on the returned data, if this structure is performing a math expression. For more information about metric math expressions, see Metric Math Syntax and Functions in the Amazon CloudWatch User Guide . Within one MetricDataQuery structure, you must specify either Expression or MetricStat but not both.

mdqLabel :: Lens' MetricDataQuery (Maybe Text) #

A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. If the metric or expression is shown in a CloudWatch dashboard widget, the label is shown. If Label is omitted, CloudWatch generates a default.

mdqMetricStat :: Lens' MetricDataQuery (Maybe MetricStat) #

The metric to be returned, along with statistics, period, and units. Use this parameter only if this structure is performing a data retrieval and not performing a math expression on the returned data. Within one MetricDataQuery structure, you must specify either Expression or MetricStat but not both.

mdqId :: Lens' MetricDataQuery Text #

A short name used to tie this structure to the results in the response. This name must be unique within a single call to GetMetricData . If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.

MetricDataResult

data MetricDataResult #

A GetMetricData call returns an array of MetricDataResult structures. Each of these structures includes the data points for that metric, along with the time stamps of those data points and other identifying information.

See: metricDataResult smart constructor.

Instances
Eq MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

toConstr :: MetricDataResult -> Constr #

dataTypeOf :: MetricDataResult -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep MetricDataResult :: * -> * #

Hashable MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

FromXML MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: MetricDataResult -> () #

type Rep MetricDataResult # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep MetricDataResult = D1 (MetaData "MetricDataResult" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "MetricDataResult'" PrefixI True) ((S1 (MetaSel (Just "_mdrValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Double])) :*: (S1 (MetaSel (Just "_mdrId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mdrTimestamps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ISO8601])))) :*: (S1 (MetaSel (Just "_mdrMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MessageData])) :*: (S1 (MetaSel (Just "_mdrLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mdrStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StatusCode))))))

metricDataResult :: MetricDataResult #

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

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

  • mdrValues - The data points for the metric corresponding to Timestamps . The number of values always matches the number of time stamps and the time stamp for Values[x] is Timestamps[x].
  • mdrId - The short name you specified to represent this metric.
  • mdrTimestamps - The time stamps for the data points, formatted in Unix timestamp format. The number of time stamps always matches the number of values and the value for Timestamps[x] is Values[x].
  • mdrMessages - A list of messages with additional information about the data returned.
  • mdrLabel - The human-readable label associated with the data.
  • mdrStatusCode - The status of the returned data. Complete indicates that all data points in the requested time range were returned. PartialData means that an incomplete set of data points were returned. You can use the NextToken value that was returned and repeat your request to get more data points. NextToken is not returned if you are performing a math expression. InternalError indicates that an error occurred. Retry your request using NextToken , if present.

mdrValues :: Lens' MetricDataResult [Double] #

The data points for the metric corresponding to Timestamps . The number of values always matches the number of time stamps and the time stamp for Values[x] is Timestamps[x].

mdrId :: Lens' MetricDataResult (Maybe Text) #

The short name you specified to represent this metric.

mdrTimestamps :: Lens' MetricDataResult [UTCTime] #

The time stamps for the data points, formatted in Unix timestamp format. The number of time stamps always matches the number of values and the value for Timestamps[x] is Values[x].

mdrMessages :: Lens' MetricDataResult [MessageData] #

A list of messages with additional information about the data returned.

mdrLabel :: Lens' MetricDataResult (Maybe Text) #

The human-readable label associated with the data.

mdrStatusCode :: Lens' MetricDataResult (Maybe StatusCode) #

The status of the returned data. Complete indicates that all data points in the requested time range were returned. PartialData means that an incomplete set of data points were returned. You can use the NextToken value that was returned and repeat your request to get more data points. NextToken is not returned if you are performing a math expression. InternalError indicates that an error occurred. Retry your request using NextToken , if present.

MetricDatum

data MetricDatum #

Encapsulates the information sent to either create a metric or add new values to be aggregated into an existing metric.

See: metricDatum smart constructor.

Instances
Eq MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep MetricDatum :: * -> * #

Hashable MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: MetricDatum -> () #

type Rep MetricDatum # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

metricDatum #

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 - The value for the metric. Although the parameter accepts numbers of type Double, 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 (for example, NaN, +Infinity, -Infinity) are not supported.
  • mdStorageResolution - Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see High-Resolution Metrics in the Amazon CloudWatch User Guide . This field is optional, if you do not specify it the default of 60 is used.
  • mdDimensions - The dimensions associated with the metric.
  • mdUnit - The unit of the metric.
  • mdTimestamp - The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
  • mdStatisticValues - The statistical values for the metric.
  • mdMetricName - The name of the metric.

mdValue :: Lens' MetricDatum (Maybe Double) #

The value for the metric. Although the parameter accepts numbers of type Double, 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 (for example, NaN, +Infinity, -Infinity) are not supported.

mdStorageResolution :: Lens' MetricDatum (Maybe Natural) #

Valid values are 1 and 60. Setting this to 1 specifies this metric as a high-resolution metric, so that CloudWatch stores the metric with sub-minute resolution down to one second. Setting this to 60 specifies this metric as a regular-resolution metric, which CloudWatch stores at 1-minute resolution. Currently, high resolution is available only for custom metrics. For more information about high-resolution metrics, see High-Resolution Metrics in the Amazon CloudWatch User Guide . This field is optional, if you do not specify it the default of 60 is used.

mdDimensions :: Lens' MetricDatum [Dimension] #

The dimensions associated with the metric.

mdUnit :: Lens' MetricDatum (Maybe StandardUnit) #

The unit of the metric.

mdTimestamp :: Lens' MetricDatum (Maybe UTCTime) #

The time the metric data was received, expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.

mdStatisticValues :: Lens' MetricDatum (Maybe StatisticSet) #

The statistical values for the metric.

mdMetricName :: Lens' MetricDatum Text #

The name of the metric.

MetricStat

data MetricStat #

This structure defines the metric to be returned, along with the statistics, period, and units.

See: metricStat smart constructor.

Instances
Eq MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

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

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

toConstr :: MetricStat -> Constr #

dataTypeOf :: MetricStat -> DataType #

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

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

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

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

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

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

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

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

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

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

Read MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep MetricStat :: * -> * #

Hashable MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: MetricStat -> () #

type Rep MetricStat # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep MetricStat = D1 (MetaData "MetricStat" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "MetricStat'" PrefixI True) ((S1 (MetaSel (Just "_msUnit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe StandardUnit)) :*: S1 (MetaSel (Just "_msMetric") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Metric)) :*: (S1 (MetaSel (Just "_msPeriod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat) :*: S1 (MetaSel (Just "_msStat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

metricStat #

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

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

  • msUnit - The unit to use for the returned data points.
  • msMetric - The metric to return, including the metric name, namespace, and dimensions.
  • msPeriod - The period to use when retrieving the metric.
  • msStat - The statistic to return. It can include any CloudWatch statistic or extended statistic.

msUnit :: Lens' MetricStat (Maybe StandardUnit) #

The unit to use for the returned data points.

msMetric :: Lens' MetricStat Metric #

The metric to return, including the metric name, namespace, and dimensions.

msPeriod :: Lens' MetricStat Natural #

The period to use when retrieving the metric.

msStat :: Lens' MetricStat Text #

The statistic to return. It can include any CloudWatch statistic or extended statistic.

StatisticSet

data StatisticSet #

Represents a set of statistics that describes a specific metric.

See: statisticSet smart constructor.

Instances
Eq StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Data StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Show StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Generic StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Associated Types

type Rep StatisticSet :: * -> * #

Hashable StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

ToQuery StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

NFData StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

Methods

rnf :: StatisticSet -> () #

type Rep StatisticSet # 
Instance details

Defined in Network.AWS.CloudWatch.Types.Product

type Rep StatisticSet = D1 (MetaData "StatisticSet" "Network.AWS.CloudWatch.Types.Product" "amazonka-cloudwatch-1.6.0-4goVJMNohH294KWKzR9Wr2" False) (C1 (MetaCons "StatisticSet'" PrefixI True) ((S1 (MetaSel (Just "_ssSampleCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double) :*: S1 (MetaSel (Just "_ssSum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double)) :*: (S1 (MetaSel (Just "_ssMinimum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double) :*: S1 (MetaSel (Just "_ssMaximum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Double))))

statisticSet #

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 - The number of samples used for the statistic set.
  • ssSum - The sum of values for the sample set.
  • ssMinimum - The minimum value of the sample set.
  • ssMaximum - The maximum value of the sample set.

ssSampleCount :: Lens' StatisticSet Double #

The number of samples used for the statistic set.

ssSum :: Lens' StatisticSet Double #

The sum of values for the sample set.

ssMinimum :: Lens' StatisticSet Double #

The minimum value of the sample set.

ssMaximum :: Lens' StatisticSet Double #

The maximum value of the sample set.