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