amazonka-ssm-1.4.2: Amazon Simple Systems Management Service 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.SSM.ListCommands

Contents

Description

Lists the commands requested by users of the AWS account.

This operation returns paginated results.

Synopsis

Creating a Request

listCommands :: ListCommands Source #

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

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

data ListCommands Source #

See: listCommands smart constructor.

Instances

Eq ListCommands Source # 
Data ListCommands Source # 

Methods

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

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

toConstr :: ListCommands -> Constr #

dataTypeOf :: ListCommands -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListCommands Source # 
Show ListCommands Source # 
Generic ListCommands Source # 

Associated Types

type Rep ListCommands :: * -> * #

ToJSON ListCommands Source # 
Hashable ListCommands Source # 
NFData ListCommands Source # 

Methods

rnf :: ListCommands -> () #

AWSPager ListCommands Source # 
AWSRequest ListCommands Source # 
ToPath ListCommands Source # 
ToHeaders ListCommands Source # 
ToQuery ListCommands Source # 
type Rep ListCommands Source # 
type Rep ListCommands = D1 (MetaData "ListCommands" "Network.AWS.SSM.ListCommands" "amazonka-ssm-1.4.2-Lvh1tC8Iy8m7qxZ5ouVyq3" False) (C1 (MetaCons "ListCommands'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lcInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 CommandFilter))))) ((:*:) (S1 (MetaSel (Just Symbol "_lcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lcCommandId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))))
type Rs ListCommands Source # 

Request Lenses

lcInstanceId :: Lens' ListCommands (Maybe Text) Source #

(Optional) Lists commands issued against this instance ID.

lcFilters :: Lens' ListCommands (Maybe (NonEmpty CommandFilter)) Source #

(Optional) One or more filters. Use a filter to return a more specific list of results.

lcNextToken :: Lens' ListCommands (Maybe Text) Source #

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

lcCommandId :: Lens' ListCommands (Maybe Text) Source #

(Optional) If provided, lists only the specified command.

lcMaxResults :: Lens' ListCommands (Maybe Natural) Source #

(Optional) The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.

Destructuring the Response

listCommandsResponse Source #

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

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

data ListCommandsResponse Source #

See: listCommandsResponse smart constructor.

Instances

Eq ListCommandsResponse Source # 
Data ListCommandsResponse Source # 

Methods

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

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

toConstr :: ListCommandsResponse -> Constr #

dataTypeOf :: ListCommandsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListCommandsResponse Source # 
Show ListCommandsResponse Source # 
Generic ListCommandsResponse Source # 
NFData ListCommandsResponse Source # 

Methods

rnf :: ListCommandsResponse -> () #

type Rep ListCommandsResponse Source # 
type Rep ListCommandsResponse = D1 (MetaData "ListCommandsResponse" "Network.AWS.SSM.ListCommands" "amazonka-ssm-1.4.2-Lvh1tC8Iy8m7qxZ5ouVyq3" False) (C1 (MetaCons "ListCommandsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsCommands") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Command]))) ((:*:) (S1 (MetaSel (Just Symbol "_lcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lcrsCommands :: Lens' ListCommandsResponse [Command] Source #

(Optional) The list of commands requested by the user.

lcrsNextToken :: Lens' ListCommandsResponse (Maybe Text) Source #

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