amazonka-autoscaling-1.4.5: Amazon Auto Scaling 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.AutoScaling.DescribeScalingActivities

Contents

Description

Describes one or more scaling activities for the specified Auto Scaling group.

This operation returns paginated results.

Synopsis

Creating a Request

describeScalingActivities :: DescribeScalingActivities Source #

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

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

  • desNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • desAutoScalingGroupName - The name of the group.
  • desMaxRecords - The maximum number of items to return with this call.
  • desActivityIds - The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.

data DescribeScalingActivities Source #

Contains the parameters for DescribeScalingActivities.

See: describeScalingActivities smart constructor.

Instances

Eq DescribeScalingActivities Source # 
Data DescribeScalingActivities Source # 

Methods

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

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

toConstr :: DescribeScalingActivities -> Constr #

dataTypeOf :: DescribeScalingActivities -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeScalingActivities Source # 
Show DescribeScalingActivities Source # 
Generic DescribeScalingActivities Source # 
Hashable DescribeScalingActivities Source # 
NFData DescribeScalingActivities Source # 
AWSPager DescribeScalingActivities Source # 
AWSRequest DescribeScalingActivities Source # 
ToPath DescribeScalingActivities Source # 
ToHeaders DescribeScalingActivities Source # 
ToQuery DescribeScalingActivities Source # 
type Rep DescribeScalingActivities Source # 
type Rep DescribeScalingActivities = D1 (MetaData "DescribeScalingActivities" "Network.AWS.AutoScaling.DescribeScalingActivities" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "DescribeScalingActivities'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_desNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_desAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_desMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_desActivityIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))
type Rs DescribeScalingActivities Source # 

Request Lenses

desNextToken :: Lens' DescribeScalingActivities (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

desMaxRecords :: Lens' DescribeScalingActivities (Maybe Int) Source #

The maximum number of items to return with this call.

desActivityIds :: Lens' DescribeScalingActivities [Text] Source #

The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.

Destructuring the Response

describeScalingActivitiesResponse Source #

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

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

  • dsasrsNextToken - The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
  • dsasrsResponseStatus - -- | The response status code.
  • dsasrsActivities - The scaling activities. Activities are sorted by start time. Activities still in progress are described first.

data DescribeScalingActivitiesResponse Source #

Contains the output of DescribeScalingActivities.

See: describeScalingActivitiesResponse smart constructor.

Instances

Eq DescribeScalingActivitiesResponse Source # 
Data DescribeScalingActivitiesResponse Source # 

Methods

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

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

toConstr :: DescribeScalingActivitiesResponse -> Constr #

dataTypeOf :: DescribeScalingActivitiesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeScalingActivitiesResponse Source # 
Show DescribeScalingActivitiesResponse Source # 
Generic DescribeScalingActivitiesResponse Source # 
NFData DescribeScalingActivitiesResponse Source # 
type Rep DescribeScalingActivitiesResponse Source # 
type Rep DescribeScalingActivitiesResponse = D1 (MetaData "DescribeScalingActivitiesResponse" "Network.AWS.AutoScaling.DescribeScalingActivities" "amazonka-autoscaling-1.4.5-8yDHjz7ddEsEeD2f2YA1qk" False) (C1 (MetaCons "DescribeScalingActivitiesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsasrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsasrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dsasrsActivities") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Activity])))))

Response Lenses

dsasrsNextToken :: Lens' DescribeScalingActivitiesResponse (Maybe Text) Source #

The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.

dsasrsActivities :: Lens' DescribeScalingActivitiesResponse [Activity] Source #

The scaling activities. Activities are sorted by start time. Activities still in progress are described first.