Skip to content

/AWS1/CL_S3C=>PUTSTORAGELENSCONFIGURATION()

About PutStorageLensConfiguration

This operation is not supported by directory buckets.

Puts an Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see Working with Amazon S3 Storage Lens in the Amazon S3 User Guide. For a complete list of S3 Storage Lens metrics, see S3 Storage Lens metrics glossary in the Amazon S3 User Guide.

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

Method Signature

IMPORTING

Required arguments:

IV_CONFIGID TYPE /AWS1/S3CCONFIGID /AWS1/S3CCONFIGID

The ID of the S3 Storage Lens configuration.

IV_ACCOUNTID TYPE /AWS1/S3CACCOUNTID /AWS1/S3CACCOUNTID

The account ID of the requester.

IO_STORAGELENSCONFIGURATION TYPE REF TO /AWS1/CL_S3CSTORAGELENSCONF /AWS1/CL_S3CSTORAGELENSCONF

The S3 Storage Lens configuration.

Optional arguments:

IT_TAGS TYPE /AWS1/CL_S3CSTORAGELENSTAG=>TT_STORAGELENSTAGS TT_STORAGELENSTAGS

The tag set of the S3 Storage Lens configuration.

You can set up to a maximum of 50 tags.