amazonka-ssm-1.3.7: Amazon Simple Systems Management Service SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for ListCommandInvocations.

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:

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. 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:

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.)