Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

# Generated by default/object.tt
use Moose;
has Name => (is => 'ro', isa => 'Str');
has PythonVersion => (is => 'ro', isa => 'Str');
has ScriptLocation => (is => 'ro', isa => 'Str');
1;
### main pod documentation begin ###
=head1 NAME
Paws::Glue::JobCommand
=head1 USAGE
This class represents one of two things:
=head3 Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::Glue::JobCommand object:
$service_obj->Method(Att1 => { Name => $value, ..., ScriptLocation => $value });
=head3 Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::Glue::JobCommand object:
$result = $service_obj->Method(...);
$result->Att1->Name
=head1 DESCRIPTION
Specifies code that runs when a job is run.
=head1 ATTRIBUTES
=head2 Name => Str
The name of the job command. For an Apache Spark ETL job, this must be
C<glueetl>. For a Python shell job, it must be C<pythonshell>. For an
Apache Spark streaming ETL job, this must be C<gluestreaming>.
=head2 PythonVersion => Str
The Python version being used to run a Python shell job. Allowed values
are 2 or 3.
=head2 ScriptLocation => Str
Specifies the Amazon Simple Storage Service (Amazon S3) path to a
script that runs a job.
=head1 SEE ALSO
This class forms part of L<Paws>, describing an object used in L<Paws::Glue>
=head1 BUGS and CONTRIBUTIONS
The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
=cut