get_job_tagging

S3Control.Client.get_job_tagging(**kwargs)

Returns the tags on an S3 Batch Operations job. To use the GetJobTagging operation, you must have permission to perform the s3:GetJobTagging action. For more information, see Controlling access and labeling jobs using tags in the Amazon S3 User Guide .

Related actions include:

See also: AWS API Documentation

Request Syntax

response = client.get_job_tagging(
    AccountId='string',
    JobId='string'
)
Parameters
  • AccountId (string) --

    [REQUIRED]

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

  • JobId (string) --

    [REQUIRED]

    The ID for the S3 Batch Operations job whose tags you want to retrieve.

Return type

dict

Returns

Response Syntax

{
    'Tags': [
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • Tags (list) --

      The set of tags associated with the S3 Batch Operations job.

      • (dict) --

        A container for a key-value name pair.

        • Key (string) --

          Key of the tag

        • Value (string) --

          Value of the tag

Exceptions

  • S3Control.Client.exceptions.InternalServiceException
  • S3Control.Client.exceptions.TooManyRequestsException
  • S3Control.Client.exceptions.NotFoundException