Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 runs 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
- data ListCommandInvocations = ListCommandInvocations' {}
- newListCommandInvocations :: ListCommandInvocations
- listCommandInvocations_instanceId :: Lens' ListCommandInvocations (Maybe Text)
- listCommandInvocations_filters :: Lens' ListCommandInvocations (Maybe (NonEmpty CommandFilter))
- listCommandInvocations_nextToken :: Lens' ListCommandInvocations (Maybe Text)
- listCommandInvocations_commandId :: Lens' ListCommandInvocations (Maybe Text)
- listCommandInvocations_details :: Lens' ListCommandInvocations (Maybe Bool)
- listCommandInvocations_maxResults :: Lens' ListCommandInvocations (Maybe Natural)
- data ListCommandInvocationsResponse = ListCommandInvocationsResponse' {}
- newListCommandInvocationsResponse :: Int -> ListCommandInvocationsResponse
- listCommandInvocationsResponse_nextToken :: Lens' ListCommandInvocationsResponse (Maybe Text)
- listCommandInvocationsResponse_commandInvocations :: Lens' ListCommandInvocationsResponse (Maybe [CommandInvocation])
- 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:
$sel:instanceId:ListCommandInvocations'
, listCommandInvocations_instanceId
- (Optional) The command execution details for a specific instance ID.
$sel:filters:ListCommandInvocations'
, listCommandInvocations_filters
- (Optional) One or more filters. Use a filter to return a more specific
list of results.
$sel:nextToken:ListCommandInvocations'
, listCommandInvocations_nextToken
- (Optional) The token for the next set of items to return. (You received
this token from a previous call.)
$sel:commandId:ListCommandInvocations'
, listCommandInvocations_commandId
- (Optional) The invocations for a specific command ID.
$sel:details:ListCommandInvocations'
, listCommandInvocations_details
- (Optional) If set this returns the response of the command executions
and any command output. The default value is false
.
$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.
Request Lenses
listCommandInvocations_instanceId :: Lens' ListCommandInvocations (Maybe Text) Source #
(Optional) The command execution details for a specific instance ID.
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_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.)
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_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.
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:nextToken:ListCommandInvocations'
, listCommandInvocationsResponse_nextToken
- (Optional) The token for the next set of items to return. (You received
this token from a previous call.)
$sel:commandInvocations:ListCommandInvocationsResponse'
, listCommandInvocationsResponse_commandInvocations
- (Optional) A list of all invocations.
$sel:httpStatus:ListCommandInvocationsResponse'
, listCommandInvocationsResponse_httpStatus
- The response's http status code.
Response Lenses
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_commandInvocations :: Lens' ListCommandInvocationsResponse (Maybe [CommandInvocation]) Source #
(Optional) A list of all invocations.
listCommandInvocationsResponse_httpStatus :: Lens' ListCommandInvocationsResponse Int Source #
The response's http status code.