Module Values.GetStorageLensConfigurationResultSource

This operation is not supported by directory buckets. Gets the Amazon S3 Storage Lens configuration. For more information, see Assessing your storage activity and usage 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:GetStorageLensConfiguration action. For more information, see Setting permissions to use Amazon S3 Storage Lens in the Amazon S3 User Guide.

Sourcetype nonrec t = {
  1. storageLensConfiguration : StorageLensConfiguration.t option;
    (*

    The S3 Storage Lens configuration requested.

    *)
}
Sourcetype nonrec error = [
  1. | `Unknown_operation_error of string * string option
]
Sourceval make : ?storageLensConfiguration:??? -> unit -> t
Sourceval error_of_json : 'a -> Yojson.Safe.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_of_xml : 'a -> Awso.Xml.t -> [> `Unknown_operation_error of 'a * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * StorageLensConfiguration.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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