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 |
Documentation
An entity describing an executable that runs on a cluster.
See: newCommand
smart constructor.
Instances
Eq Command Source # | |
Read Command Source # | |
Show Command Source # | |
Generic Command Source # | |
NFData Command Source # | |
Defined in Amazonka.EMR.Types.Command | |
Hashable Command Source # | |
Defined in Amazonka.EMR.Types.Command | |
FromJSON Command Source # | |
type Rep Command Source # | |
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.