S3Control / Client / update_job_priority

update_job_priority#

S3Control.Client.update_job_priority(**kwargs)#

Updates an existing S3 Batch Operations job’s priority. For more information, see S3 Batch Operations in the Amazon S3 User Guide.

Permissions

To use the UpdateJobPriority operation, you must have permission to perform the s3:UpdateJobPriority action.

Related actions include:

See also: AWS API Documentation

Request Syntax

response = client.update_job_priority(
    AccountId='string',
    JobId='string',
    Priority=123
)
Parameters:
  • AccountId (string) –

    [REQUIRED]

    The Amazon Web Services account ID associated with the S3 Batch Operations job.

  • JobId (string) –

    [REQUIRED]

    The ID for the job whose priority you want to update.

  • Priority (integer) –

    [REQUIRED]

    The priority you want to assign to this job.

Return type:

dict

Returns:

Response Syntax

{
    'JobId': 'string',
    'Priority': 123
}

Response Structure

  • (dict) –

    • JobId (string) –

      The ID for the job whose priority Amazon S3 updated.

    • Priority (integer) –

      The new priority assigned to the specified job.

Exceptions

  • S3Control.Client.exceptions.BadRequestException

  • S3Control.Client.exceptions.TooManyRequestsException

  • S3Control.Client.exceptions.NotFoundException

  • S3Control.Client.exceptions.InternalServiceException