The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::EMRContainers::StartJobRun - Arguments for method StartJobRun on Paws::EMRContainers

DESCRIPTION

This class represents the parameters used for calling the method StartJobRun on the Amazon EMR Containers service. Use the attributes of this class as arguments to method StartJobRun.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartJobRun.

SYNOPSIS

    my $emr-containers = Paws->service('EMRContainers');
    my $StartJobRunResponse = $emr -containers->StartJobRun(
      ClientToken      => 'MyClientToken',
      ExecutionRoleArn => 'MyIAMRoleArn',
      JobDriver        => {
        SparkSubmitJobDriver => {
          EntryPoint          => 'MyEntryPointPath',    # min: 1, max: 256
          EntryPointArguments => [
            'MyEntryPointArgument', ...                 # min: 1, max: 10280
          ],    # OPTIONAL
          SparkSubmitParameters =>
            'MySparkSubmitParameters',    # min: 1, max: 1024; OPTIONAL
        },    # OPTIONAL
      },
      ReleaseLabel           => 'MyReleaseLabel',
      VirtualClusterId       => 'MyResourceIdString',
      ConfigurationOverrides => {
        ApplicationConfiguration => [
          {
            Classification => 'MyString1024',        # min: 1, max: 1024
            Configurations => <ConfigurationList>,
            Properties     => {
              'MyString1024' => 'MyString1024'
              ,    # key: min: 1, max: 1024, value: min: 1, max: 1024
            },    # max: 100; OPTIONAL
          },
          ...
        ],    # max: 100; OPTIONAL
        MonitoringConfiguration => {
          CloudWatchMonitoringConfiguration => {
            LogGroupName        => 'MyLogGroupName',    # min: 1, max: 512
            LogStreamNamePrefix => 'MyString256',   # min: 1, max: 256; OPTIONAL
          },    # OPTIONAL
          PersistentAppUI => 'ENABLED',    # values: ENABLED, DISABLED; OPTIONAL
          S3MonitoringConfiguration => {
            LogUri => 'MyUriString',       # min: 1, max: 10280

          },    # OPTIONAL
        },    # OPTIONAL
      },    # OPTIONAL
      Name => 'MyResourceNameString',    # OPTIONAL
      Tags => {
        'MyString128' =>
          'MyStringEmpty256',    # key: min: 1, max: 128, value: max: 256
      },    # OPTIONAL
    );

    # Results:
    my $Arn              = $StartJobRunResponse->Arn;
    my $Id               = $StartJobRunResponse->Id;
    my $Name             = $StartJobRunResponse->Name;
    my $VirtualClusterId = $StartJobRunResponse->VirtualClusterId;

    # Returns a L<Paws::EMRContainers::StartJobRunResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/emr-containers/StartJobRun

ATTRIBUTES

REQUIRED ClientToken => Str

The client idempotency token of the job run request.

ConfigurationOverrides => Paws::EMRContainers::ConfigurationOverrides

The configuration overrides for the job run.

REQUIRED ExecutionRoleArn => Str

The execution role ARN for the job run.

REQUIRED JobDriver => Paws::EMRContainers::JobDriver

The job driver for the job run.

Name => Str

The name of the job run.

REQUIRED ReleaseLabel => Str

The Amazon EMR release version to use for the job run.

Tags => Paws::EMRContainers::TagMap

The tags assigned to job runs.

REQUIRED VirtualClusterId => Str

The virtual cluster ID for which the job run request is submitted.

SEE ALSO

This class forms part of Paws, documenting arguments for method StartJobRun in Paws::EMRContainers

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues