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 |
Synopsis
- data Command = Command' {}
- newCommand :: Command
- command_deploymentId :: Lens' Command (Maybe Text)
- command_instanceId :: Lens' Command (Maybe Text)
- command_status :: Lens' Command (Maybe Text)
- command_logUrl :: Lens' Command (Maybe Text)
- command_createdAt :: Lens' Command (Maybe Text)
- command_commandId :: Lens' Command (Maybe Text)
- command_exitCode :: Lens' Command (Maybe Int)
- command_type :: Lens' Command (Maybe Text)
- command_completedAt :: Lens' Command (Maybe Text)
- command_acknowledgedAt :: Lens' Command (Maybe Text)
Documentation
Describes a command.
See: newCommand
smart constructor.
Command' | |
|
Instances
newCommand :: Command Source #
Create a value of Command
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:deploymentId:Command'
, command_deploymentId
- The command deployment ID.
$sel:instanceId:Command'
, command_instanceId
- The ID of the instance where the command was executed.
$sel:status:Command'
, command_status
- The command status:
- failed
- successful
- skipped
- pending
$sel:logUrl:Command'
, command_logUrl
- The URL of the command log.
$sel:createdAt:Command'
, command_createdAt
- Date and time when the command was run.
$sel:commandId:Command'
, command_commandId
- The command ID.
$sel:exitCode:Command'
, command_exitCode
- The command exit code.
$sel:type':Command'
, command_type
- The command type:
configure
deploy
execute_recipes
install_dependencies
restart
rollback
setup
start
stop
undeploy
update_custom_cookbooks
update_dependencies
$sel:completedAt:Command'
, command_completedAt
- Date when the command completed.
$sel:acknowledgedAt:Command'
, command_acknowledgedAt
- Date and time when the command was acknowledged.
command_instanceId :: Lens' Command (Maybe Text) Source #
The ID of the instance where the command was executed.
command_status :: Lens' Command (Maybe Text) Source #
The command status:
- failed
- successful
- skipped
- pending