async def delete_job_tagging(
self,
account_id: "capo_s3_control.types.account_id.AccountId",
job_id: "capo_s3_control.types.job_id.JobId",
*,
config_overrides: Optional[AsyncS3ControlClientConfig] = None,
) -> "capo_s3_control.types.delete_job_tagging_result.DeleteJobTaggingResult":
"""<p>Removes the entire tag set from the specified S3 Batch Operations job.</p> <dl> <dt>Permissions</dt> <dd> <p>To use the <code>DeleteJobTagging</code> operation, you must have permission to perform the <code>s3:DeleteJobTagging</code> action. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags">Controlling access and labeling jobs using tags</a> in the <i>Amazon S3 User Guide</i>.</p> </dd> </dl> <p>Related actions include:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html">CreateJob</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html">GetJobTagging</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html">PutJobTagging</a> </p> </li> </ul>
Args:
account_id: <p>The Amazon Web Services account ID associated with the S3 Batch Operations job.</p>
job_id: <p>The ID for the S3 Batch Operations job whose tags you want to delete.</p>
Raises:
capo_s3_control.errors.internal_service_exception.InternalServiceException: <p></p>
capo_s3_control.errors.not_found_exception.NotFoundException: <p></p>
capo_s3_control.errors.too_many_requests_exception.TooManyRequestsException: <p></p>
capo_s3_control.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
async def _handler(
req: "AsyncOperationRequest[capo_s3_control.types.delete_job_tagging_request.DeleteJobTaggingRequest]",
) -> AsyncOperationResponse[
"capo_s3_control.types.delete_job_tagging_result.DeleteJobTaggingResult"
]:
import capo_s3_control._operations.awss3_control_service_v20180820.delete_job_tagging
(
output,
http_response,
) = await capo_s3_control._operations.awss3_control_service_v20180820.delete_job_tagging.async_delete_job_tagging(
req.options, req.input
)
return AsyncOperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DeleteJobTagging")
)
input_: capo_s3_control.types.delete_job_tagging_request.DeleteJobTaggingRequest = {
"account_id": account_id,
"job_id": job_id,
}
response = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output