| 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 |
Amazonka.OpsWorks.Types.Command
Description
Synopsis
- data Command = Command' {}
- newCommand :: Command
- command_acknowledgedAt :: Lens' Command (Maybe Text)
- command_commandId :: Lens' Command (Maybe Text)
- command_completedAt :: Lens' Command (Maybe Text)
- command_createdAt :: Lens' Command (Maybe Text)
- command_deploymentId :: Lens' Command (Maybe Text)
- command_exitCode :: Lens' Command (Maybe Int)
- command_instanceId :: Lens' Command (Maybe Text)
- command_logUrl :: Lens' Command (Maybe Text)
- command_status :: Lens' Command (Maybe Text)
- command_type :: Lens' Command (Maybe Text)
Documentation
Describes a command.
See: newCommand smart constructor.
Constructors
| Command' | |
Fields
| |
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:acknowledgedAt:Command', command_acknowledgedAt - Date and time when the command was acknowledged.
$sel:commandId:Command', command_commandId - The command ID.
$sel:completedAt:Command', command_completedAt - Date when the command completed.
$sel:createdAt:Command', command_createdAt - Date and time when the command was run.
$sel:deploymentId:Command', command_deploymentId - The command deployment ID.
$sel:exitCode:Command', command_exitCode - The command exit code.
$sel:instanceId:Command', command_instanceId - The ID of the instance where the command was executed.
$sel:logUrl:Command', command_logUrl - The URL of the command log.
$sel:status:Command', command_status - The command status:
- failed
- successful
- skipped
- pending
$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
command_acknowledgedAt :: Lens' Command (Maybe Text) Source #
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.