libZSservicesZSamazonka-opsworksZSamazonka-opsworks
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.OpsWorks.Types.Command

Description

 
Synopsis

Documentation

data Command Source #

Describes a command.

See: newCommand smart constructor.

Constructors

Command' 

Fields

Instances

Instances details
Eq Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

Methods

(==) :: Command -> Command -> Bool #

(/=) :: Command -> Command -> Bool #

Read Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

Show Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

Generic Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

Associated Types

type Rep Command :: Type -> Type #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

NFData Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

Methods

rnf :: Command -> () #

Hashable Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

Methods

hashWithSalt :: Int -> Command -> Int #

hash :: Command -> Int #

FromJSON Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

type Rep Command Source # 
Instance details

Defined in Amazonka.OpsWorks.Types.Command

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_deploymentId :: Lens' Command (Maybe Text) Source #

The command deployment ID.

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

command_logUrl :: Lens' Command (Maybe Text) Source #

The URL of the command log.

command_createdAt :: Lens' Command (Maybe Text) Source #

Date and time when the command was run.

command_exitCode :: Lens' Command (Maybe Int) Source #

The command exit code.

command_type :: Lens' Command (Maybe Text) Source #

The command type:

  • configure
  • deploy
  • execute_recipes
  • install_dependencies
  • restart
  • rollback
  • setup
  • start
  • stop
  • undeploy
  • update_custom_cookbooks
  • update_dependencies

command_completedAt :: Lens' Command (Maybe Text) Source #

Date when the command completed.

command_acknowledgedAt :: Lens' Command (Maybe Text) Source #

Date and time when the command was acknowledged.