Module Values.PutStorageLensConfigurationRequestSource

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.

Sourcetype nonrec t = {
  1. configId : ConfigId.t;
    (*

    The ID of the S3 Storage Lens configuration.

    *)
  2. accountId : AccountId.t;
    (*

    The account ID of the requester.

    *)
  3. storageLensConfiguration : StorageLensConfiguration.t;
    (*

    The S3 Storage Lens configuration.

    *)
  4. tags : StorageLensTags.t option;
    (*

    The tag set of the S3 Storage Lens configuration. You can set up to a maximum of 50 tags.

    *)
}
Sourceval context_ : string
Sourceval make : ?tags:??? -> configId:ConfigId.t -> accountId:AccountId.t -> storageLensConfiguration:StorageLensConfiguration.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKeyString.t ]) list ] list | `String of ConfigId.t | `Structure of (string * [> `Boolean of IsEnabled.t | `String of ConfigId.t | `Structure of (string * [> `List of [> `String of S3BucketArnString.t ] list | `String of AwsOrgArn.t | `Structure of (string * [> `Boolean of IsEnabled.t | `Enum of string | `String of AccountId.t | `Structure of (string * [> `Boolean of IsEnabled.t | `List of [> `String of StorageLensGroupArn.t ] list | `Structure of (string * [> `Boolean of IsEnabled.t | `String of SSEKMSKeyId.t | `Structure of (string * [> `Double of MinStorageBytesPercentage.t | `Integer of StorageLensPrefixLevelMaxDepth.t | `String of StorageLensPrefixLevelDelimiter.t ]) list ]) list ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t