amazonka-autoscaling-1.5.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2017 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.AutoScaling.DescribeScheduledActions

Contents

Description

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities .

This operation returns paginated results.

Synopsis

Creating a Request

describeScheduledActions :: DescribeScheduledActions Source #

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

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

  • dsasStartTime - The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
  • dsasNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • dsasAutoScalingGroupName - The name of the group.
  • dsasMaxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.
  • dsasEndTime - The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
  • dsasScheduledActionNames - Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error. You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

data DescribeScheduledActions Source #

See: describeScheduledActions smart constructor.

Instances

Eq DescribeScheduledActions Source # 
Data DescribeScheduledActions Source # 

Methods

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

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

toConstr :: DescribeScheduledActions -> Constr #

dataTypeOf :: DescribeScheduledActions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeScheduledActions Source # 
Show DescribeScheduledActions Source # 
Generic DescribeScheduledActions Source # 
Hashable DescribeScheduledActions Source # 
NFData DescribeScheduledActions Source # 
AWSPager DescribeScheduledActions Source # 
AWSRequest DescribeScheduledActions Source # 
ToQuery DescribeScheduledActions Source # 
ToPath DescribeScheduledActions Source # 
ToHeaders DescribeScheduledActions Source # 
type Rep DescribeScheduledActions Source # 
type Rep DescribeScheduledActions = D1 (MetaData "DescribeScheduledActions" "Network.AWS.AutoScaling.DescribeScheduledActions" "amazonka-autoscaling-1.5.0-3uSQ7rugLSPKBh89f6b4aY" False) (C1 (MetaCons "DescribeScheduledActions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsasStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) ((:*:) (S1 (MetaSel (Just Symbol "_dsasNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsasAutoScalingGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsasMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_dsasEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601))) (S1 (MetaSel (Just Symbol "_dsasScheduledActionNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))))
type Rs DescribeScheduledActions Source # 

Request Lenses

dsasStartTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #

The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

dsasNextToken :: Lens' DescribeScheduledActions (Maybe Text) Source #

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

dsasMaxRecords :: Lens' DescribeScheduledActions (Maybe Int) Source #

The maximum number of items to return with this call. The default value is 50 and the maximum value is 100.

dsasEndTime :: Lens' DescribeScheduledActions (Maybe UTCTime) Source #

The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.

dsasScheduledActionNames :: Lens' DescribeScheduledActions [Text] Source #

Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error. You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.

Destructuring the Response

describeScheduledActionsResponse Source #

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

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

data DescribeScheduledActionsResponse Source #

See: describeScheduledActionsResponse smart constructor.

Instances

Eq DescribeScheduledActionsResponse Source # 
Data DescribeScheduledActionsResponse Source # 

Methods

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

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

toConstr :: DescribeScheduledActionsResponse -> Constr #

dataTypeOf :: DescribeScheduledActionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeScheduledActionsResponse Source # 
Show DescribeScheduledActionsResponse Source # 
Generic DescribeScheduledActionsResponse Source # 
NFData DescribeScheduledActionsResponse Source # 
type Rep DescribeScheduledActionsResponse Source # 
type Rep DescribeScheduledActionsResponse = D1 (MetaData "DescribeScheduledActionsResponse" "Network.AWS.AutoScaling.DescribeScheduledActions" "amazonka-autoscaling-1.5.0-3uSQ7rugLSPKBh89f6b4aY" False) (C1 (MetaCons "DescribeScheduledActionsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsarsScheduledUpdateGroupActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ScheduledUpdateGroupAction]))) ((:*:) (S1 (MetaSel (Just Symbol "_dsarsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

dsarsNextToken :: Lens' DescribeScheduledActionsResponse (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.