S3Control / Client / get_storage_lens_configuration_tagging

get_storage_lens_configuration_tagging#

S3Control.Client.get_storage_lens_configuration_tagging(**kwargs)#

Note

This operation is not supported by directory buckets.

Gets the tags of Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Assessing your storage activity and usage with Amazon S3 Storage Lens in the Amazon S3 User Guide.

Note

To use this action, you must have permission to perform the s3:GetStorageLensConfigurationTagging action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

See also: AWS API Documentation

Request Syntax

response = client.get_storage_lens_configuration_tagging(
    ConfigId='string',
    AccountId='string'
)
Parameters:
  • ConfigId (string) –

    [REQUIRED]

    The ID of the Amazon S3 Storage Lens configuration.

  • AccountId (string) –

    [REQUIRED]

    The account ID of the requester.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • Tags (list) –

      The tags of S3 Storage Lens configuration requested.

      • (dict) –

        • Key (string) –

        • Value (string) –