copy_job_template
async
¶
copy_job_template(
farm_id: FarmId,
queue_id: QueueId,
job_id: JobId,
target_s3_location: S3Location,
*,
config_overrides: Optional[AsyncdeadlineClientConfig] = None,
) -> CopyJobTemplateResponse
Copies a job template to an Amazon S3 bucket.
Parameters:
-
farm_id(FarmId) –The farm ID to copy.
-
queue_id(QueueId) –The queue ID to copy.
-
job_id(JobId) –The job ID to copy.
-
target_s3_location(S3Location) –The Amazon S3 bucket name and key where you would like to add a copy of the job template.
Raises:
-
AccessDeniedException–You don't have permission to perform the action.
-
InternalServerErrorException–Deadline Cloud can't process your request right now. Try again later.
-
ResourceNotFoundException–The requested resource can't be found.
-
ThrottlingException–Your request exceeded a request rate quota.
-
ValidationException–The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
-
UnknownServiceError–The service returned an error code this client does not model.