amazonka-ssm-1.4.4: 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.ListCommandInvocations

Contents

Description

An invocation is copy of a command sent to a specific instance. A command can apply to one or more instances. A command invocation applies to one instance. For example, if a user executes SendCommand against three instances, then a command invocation is created for each requested instance ID. ListCommandInvocations provide status about command execution.

This operation returns paginated results.

Synopsis

Creating a Request

listCommandInvocations :: ListCommandInvocations Source #

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

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

data ListCommandInvocations Source #

See: listCommandInvocations smart constructor.

Instances

Eq ListCommandInvocations Source # 
Data ListCommandInvocations Source # 

Methods

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

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

toConstr :: ListCommandInvocations -> Constr #

dataTypeOf :: ListCommandInvocations -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListCommandInvocations Source # 
Show ListCommandInvocations Source # 
Generic ListCommandInvocations Source # 
Hashable ListCommandInvocations Source # 
NFData ListCommandInvocations Source # 

Methods

rnf :: ListCommandInvocations -> () #

AWSPager ListCommandInvocations Source # 
AWSRequest ListCommandInvocations Source # 
ToPath ListCommandInvocations Source # 
ToHeaders ListCommandInvocations Source # 
ToQuery ListCommandInvocations Source # 
ToJSON ListCommandInvocations Source # 
type Rep ListCommandInvocations Source # 
type Rep ListCommandInvocations = D1 (MetaData "ListCommandInvocations" "Network.AWS.SSM.ListCommandInvocations" "amazonka-ssm-1.4.4-4im17iL5NtDAOTBFqgVH72" False) (C1 (MetaCons "ListCommandInvocations'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lciInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lciFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 CommandFilter)))) (S1 (MetaSel (Just Symbol "_lciNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_lciCommandId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lciDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_lciMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))))
type Rs ListCommandInvocations Source # 

Request Lenses

lciInstanceId :: Lens' ListCommandInvocations (Maybe Text) Source #

(Optional) The command execution details for a specific instance ID.

lciFilters :: Lens' ListCommandInvocations (Maybe (NonEmpty CommandFilter)) Source #

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

lciNextToken :: Lens' ListCommandInvocations (Maybe Text) Source #

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

lciCommandId :: Lens' ListCommandInvocations (Maybe Text) Source #

(Optional) The invocations for a specific command ID.

lciDetails :: Lens' ListCommandInvocations (Maybe Bool) Source #

(Optional) If set this returns the response of the command executions and any command output. By default this is set to False.

lciMaxResults :: Lens' ListCommandInvocations (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

listCommandInvocationsResponse Source #

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

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

data ListCommandInvocationsResponse Source #

See: listCommandInvocationsResponse smart constructor.

Instances

Eq ListCommandInvocationsResponse Source # 
Data ListCommandInvocationsResponse Source # 

Methods

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

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

toConstr :: ListCommandInvocationsResponse -> Constr #

dataTypeOf :: ListCommandInvocationsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListCommandInvocationsResponse Source # 
Show ListCommandInvocationsResponse Source # 
Generic ListCommandInvocationsResponse Source # 
NFData ListCommandInvocationsResponse Source # 
type Rep ListCommandInvocationsResponse Source # 
type Rep ListCommandInvocationsResponse = D1 (MetaData "ListCommandInvocationsResponse" "Network.AWS.SSM.ListCommandInvocations" "amazonka-ssm-1.4.4-4im17iL5NtDAOTBFqgVH72" False) (C1 (MetaCons "ListCommandInvocationsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lcirsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lcirsCommandInvocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CommandInvocation]))) (S1 (MetaSel (Just Symbol "_lcirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

lcirsNextToken :: Lens' ListCommandInvocationsResponse (Maybe Text) Source #

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