Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- listCommandInvocations :: ListCommandInvocations
- data ListCommandInvocations
- lciInstanceId :: Lens' ListCommandInvocations (Maybe Text)
- lciFilters :: Lens' ListCommandInvocations (Maybe (NonEmpty CommandFilter))
- lciNextToken :: Lens' ListCommandInvocations (Maybe Text)
- lciCommandId :: Lens' ListCommandInvocations (Maybe Text)
- lciDetails :: Lens' ListCommandInvocations (Maybe Bool)
- lciMaxResults :: Lens' ListCommandInvocations (Maybe Natural)
- listCommandInvocationsResponse :: Int -> ListCommandInvocationsResponse
- data ListCommandInvocationsResponse
- lcirsNextToken :: Lens' ListCommandInvocationsResponse (Maybe Text)
- lcirsCommandInvocations :: Lens' ListCommandInvocationsResponse [CommandInvocation]
- lcirsResponseStatus :: Lens' ListCommandInvocationsResponse Int
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.
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:
lcirsNextToken
- (Optional) The token for the next set of items to return. (You received this token from a previous call.)lcirsCommandInvocations
- (Optional) A list of all invocations.lcirsResponseStatus
- -- | The response status code.
data ListCommandInvocationsResponse Source #
See: listCommandInvocationsResponse
smart constructor.
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.)
lcirsCommandInvocations :: Lens' ListCommandInvocationsResponse [CommandInvocation] Source #
(Optional) A list of all invocations.
lcirsResponseStatus :: Lens' ListCommandInvocationsResponse Int Source #
- - | The response status code.