amazonka-ssm-1.6.1: Amazon Simple Systems Manager (SSM) 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.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:

  • lciInstanceId - (Optional) The command execution details for a specific instance ID.
  • lciFilters - (Optional) One or more filters. Use a filter to return a more specific list of results.
  • lciNextToken - (Optional) The token for the next set of items to return. (You received this token from a previous call.)
  • lciCommandId - (Optional) The invocations for a specific command ID.
  • lciDetails - (Optional) If set this returns the response of the command executions and any command output. By default this is set to False.
  • lciMaxResults - (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.

data ListCommandInvocations Source #

See: listCommandInvocations smart constructor.

Instances
Eq ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Data ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

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

Defined in Network.AWS.SSM.ListCommandInvocations

Show ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Generic ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Associated Types

type Rep ListCommandInvocations :: Type -> Type #

Hashable ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

ToJSON ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

AWSPager ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

AWSRequest ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Associated Types

type Rs ListCommandInvocations :: Type #

ToHeaders ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

ToPath ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

ToQuery ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

NFData ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Methods

rnf :: ListCommandInvocations -> () #

type Rep ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

type Rep ListCommandInvocations = D1 (MetaData "ListCommandInvocations" "Network.AWS.SSM.ListCommandInvocations" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "ListCommandInvocations'" PrefixI True) ((S1 (MetaSel (Just "_lciInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lciFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 CommandFilter))) :*: S1 (MetaSel (Just "_lciNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_lciCommandId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lciDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_lciMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))
type Rs ListCommandInvocations Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

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

Defined in Network.AWS.SSM.ListCommandInvocations

Data ListCommandInvocationsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

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

Defined in Network.AWS.SSM.ListCommandInvocations

Show ListCommandInvocationsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Generic ListCommandInvocationsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

Associated Types

type Rep ListCommandInvocationsResponse :: Type -> Type #

NFData ListCommandInvocationsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

type Rep ListCommandInvocationsResponse Source # 
Instance details

Defined in Network.AWS.SSM.ListCommandInvocations

type Rep ListCommandInvocationsResponse = D1 (MetaData "ListCommandInvocationsResponse" "Network.AWS.SSM.ListCommandInvocations" "amazonka-ssm-1.6.1-7PbnocxNW5qAr7pEvzAy6Q" False) (C1 (MetaCons "ListCommandInvocationsResponse'" PrefixI True) (S1 (MetaSel (Just "_lrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lrsCommandInvocations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CommandInvocation])) :*: S1 (MetaSel (Just "_lrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

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

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