S3Control / Client / put_storage_lens_configuration_tagging

put_storage_lens_configuration_tagging#

S3Control.Client.put_storage_lens_configuration_tagging(**kwargs)#

Put or replace tags on an existing Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see `Assessing your storage activity and usage with Amazon S3 Storage Lens <https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html>`__in the Amazon S3 User Guide.

Note

To use this action, you must have permission to perform the s3:PutStorageLensConfigurationTagging 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.put_storage_lens_configuration_tagging(
    ConfigId='string',
    AccountId='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • ConfigId (string) –

    [REQUIRED]

    The ID of the S3 Storage Lens configuration.

  • AccountId (string) –

    [REQUIRED]

    The account ID of the requester.

  • Tags (list) –

    [REQUIRED]

    The tag set of the S3 Storage Lens configuration.

    Note

    You can set up to a maximum of 50 tags.

    • (dict) –

      • Key (string) – [REQUIRED]

      • Value (string) – [REQUIRED]

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –