libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.Command

Description

 
Synopsis

Documentation

data Command Source #

An entity describing an executable that runs on a cluster.

See: newCommand smart constructor.

Constructors

Command' 

Fields

Instances

Instances details
Eq Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Methods

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

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

Read Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Show Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Generic Command Source # 
Instance details

Defined in Amazonka.EMR.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.EMR.Types.Command

Methods

rnf :: Command -> () #

Hashable Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Methods

hashWithSalt :: Int -> Command -> Int #

hash :: Command -> Int #

FromJSON Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

type Rep Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

type Rep Command = D1 ('MetaData "Command" "Amazonka.EMR.Types.Command" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "Command'" 'PrefixI 'True) (S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "scriptPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:args:Command', command_args - Arguments for Amazon EMR to pass to the command for execution.

$sel:scriptPath:Command', command_scriptPath - The Amazon S3 location of the command script.

$sel:name:Command', command_name - The name of the command.

command_args :: Lens' Command (Maybe [Text]) Source #

Arguments for Amazon EMR to pass to the command for execution.

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

The Amazon S3 location of the command script.

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

The name of the command.