Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
An invocation is copy of a command sent to a specific managed node. A
command can apply to one or more managed nodes. A command invocation
applies to one managed node. For example, if a user runs SendCommand
against three managed nodes, then a command invocation is created for
each requested managed node ID. ListCommandInvocations
provide status
about command execution.
This operation returns paginated results.
Synopsis
- data ListCommandInvocations = ListCommandInvocations' {}
- newListCommandInvocations :: ListCommandInvocations
- listCommandInvocations_commandId :: Lens' ListCommandInvocations (Maybe Text)
- listCommandInvocations_details :: Lens' ListCommandInvocations (Maybe Bool)
- listCommandInvocations_filters :: Lens' ListCommandInvocations (Maybe (NonEmpty CommandFilter))
- listCommandInvocations_instanceId :: Lens' ListCommandInvocations (Maybe Text)
- listCommandInvocations_maxResults :: Lens' ListCommandInvocations (Maybe Natural)
- listCommandInvocations_nextToken :: Lens' ListCommandInvocations (Maybe Text)
- data ListCommandInvocationsResponse = ListCommandInvocationsResponse' {}
- newListCommandInvocationsResponse :: Int -> ListCommandInvocationsResponse
- listCommandInvocationsResponse_commandInvocations :: Lens' ListCommandInvocationsResponse (Maybe [CommandInvocation])
- listCommandInvocationsResponse_nextToken :: Lens' ListCommandInvocationsResponse (Maybe Text)
- listCommandInvocationsResponse_httpStatus :: Lens' ListCommandInvocationsResponse Int
Creating a Request
data ListCommandInvocations Source #
See: newListCommandInvocations
smart constructor.
ListCommandInvocations' | |
|
Instances
newListCommandInvocations :: ListCommandInvocations Source #
Create a value of ListCommandInvocations
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListCommandInvocations
, listCommandInvocations_commandId
- (Optional) The invocations for a specific command ID.
ListCommandInvocations
, listCommandInvocations_details
- (Optional) If set this returns the response of the command executions
and any command output. The default value is false
.
ListCommandInvocations
, listCommandInvocations_filters
- (Optional) One or more filters. Use a filter to return a more specific
list of results.
ListCommandInvocations
, listCommandInvocations_instanceId
- (Optional) The command execution details for a specific managed node ID.
$sel:maxResults:ListCommandInvocations'
, listCommandInvocations_maxResults
- (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.
ListCommandInvocations
, listCommandInvocations_nextToken
- (Optional) The token for the next set of items to return. (You received
this token from a previous call.)
Request Lenses
listCommandInvocations_commandId :: Lens' ListCommandInvocations (Maybe Text) Source #
(Optional) The invocations for a specific command ID.
listCommandInvocations_details :: Lens' ListCommandInvocations (Maybe Bool) Source #
(Optional) If set this returns the response of the command executions
and any command output. The default value is false
.
listCommandInvocations_filters :: Lens' ListCommandInvocations (Maybe (NonEmpty CommandFilter)) Source #
(Optional) One or more filters. Use a filter to return a more specific list of results.
listCommandInvocations_instanceId :: Lens' ListCommandInvocations (Maybe Text) Source #
(Optional) The command execution details for a specific managed node ID.
listCommandInvocations_maxResults :: 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.
listCommandInvocations_nextToken :: Lens' ListCommandInvocations (Maybe Text) Source #
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
Destructuring the Response
data ListCommandInvocationsResponse Source #
See: newListCommandInvocationsResponse
smart constructor.
ListCommandInvocationsResponse' | |
|
Instances
newListCommandInvocationsResponse Source #
Create a value of ListCommandInvocationsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:commandInvocations:ListCommandInvocationsResponse'
, listCommandInvocationsResponse_commandInvocations
- (Optional) A list of all invocations.
ListCommandInvocations
, listCommandInvocationsResponse_nextToken
- (Optional) The token for the next set of items to return. (You received
this token from a previous call.)
$sel:httpStatus:ListCommandInvocationsResponse'
, listCommandInvocationsResponse_httpStatus
- The response's http status code.
Response Lenses
listCommandInvocationsResponse_commandInvocations :: Lens' ListCommandInvocationsResponse (Maybe [CommandInvocation]) Source #
(Optional) A list of all invocations.
listCommandInvocationsResponse_nextToken :: Lens' ListCommandInvocationsResponse (Maybe Text) Source #
(Optional) The token for the next set of items to return. (You received this token from a previous call.)
listCommandInvocationsResponse_httpStatus :: Lens' ListCommandInvocationsResponse Int Source #
The response's http status code.