Values.CreateStorageLensGroupRequestSourceCreates a new S3 Storage Lens group and associates it with the specified Amazon Web Services account ID. An S3 Storage Lens group is a custom grouping of objects based on prefix, suffix, object tags, object size, object age, or a combination of these filters. For each Storage Lens group that you’ve created, you can also optionally add Amazon Web Services resource tags. For more information about S3 Storage Lens groups, see Working with S3 Storage Lens groups. To use this operation, you must have the permission to perform the s3:CreateStorageLensGroup action. If you’re trying to create a Storage Lens group with Amazon Web Services resource tags, you must also have permission to perform the s3:TagResource action. For more information about the required Storage Lens Groups permissions, see Setting account permissions to use S3 Storage Lens groups. For information about Storage Lens groups errors, see List of Amazon S3 Storage Lens error codes.
type nonrec t = {accountId : AccountId.t;The Amazon Web Services account ID that the Storage Lens group is created from and associated with.
*)storageLensGroup : StorageLensGroup.t;The Storage Lens group configuration.
*)}val make :
?tags:??? ->
accountId:AccountId.t ->
storageLensGroup:StorageLensGroup.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of (string * [> `String of TagKeyString.t ]) list ]
list
| `String of AccountId.t
| `Structure of
(string
* [> `String of StorageLensGroupName.t
| `Structure of
(string
* [> `List of
[> `String of Prefix.t
| `Structure of
(string * [> `String of TagKeyString.t ]) list ]
list
| `Structure of
(string
* [> `Integer of ObjectAgeValue.t
| `List of
[> `String of Prefix.t
| `Structure of
(string * [> `String of TagKeyString.t ]) list ]
list
| `Long of ObjectSizeValue.t
| `Structure of
(string
* [> `Integer of ObjectAgeValue.t
| `Long of ObjectSizeValue.t ])
list ])
list ])
list ])
list ])
list ]