amazonka-emr-2.0: Amazon EMR SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Show Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

NFData Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Methods

rnf :: Command -> () #

Eq Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Methods

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

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

Hashable Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

Methods

hashWithSalt :: Int -> Command -> Int #

hash :: Command -> Int #

type Rep Command Source # 
Instance details

Defined in Amazonka.EMR.Types.Command

type Rep Command = D1 ('MetaData "Command" "Amazonka.EMR.Types.Command" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "Command'" 'PrefixI 'True) (S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scriptPath") '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:name:Command', command_name - The name of the command.

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

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

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

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

The name of the command.

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

The Amazon S3 location of the command script.