Module S3.StorageLens

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html

type advanced_data_protection_metrics = {
  1. is_enabled : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advanceddataprotectionmetrics.html

and buckets_and_regions = {
  1. regions : string list option;
  2. buckets : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketsandregions.html

and tag = {
  1. value : string;
  2. key : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html

and activity_metrics = {
  1. is_enabled : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-activitymetrics.html

and advanced_cost_optimization_metrics = {
  1. is_enabled : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-advancedcostoptimizationmetrics.html

and cloud_watch_metrics = {
  1. is_enabled : bool;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-cloudwatchmetrics.html

and detailed_status_codes_metrics = {
  1. is_enabled : bool option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-detailedstatuscodesmetrics.html

and aws_org = {
  1. arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-awsorg.html

and ssekms = {
  1. key_id : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-ssekms.html

and storage_lens_group_selection_criteria = {
  1. exclude : string list option;
  2. include_ : string list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgroupselectioncriteria.html

and selection_criteria = {
  1. delimiter : string option;
  2. max_depth : int option;
  3. min_storage_bytes_percentage : float option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-selectioncriteria.html

and prefix_level_storage_metrics = {
  1. is_enabled : bool option;
  2. selection_criteria : selection_criteria option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-prefixlevelstoragemetrics.html

and encryption = {
  1. ssekms : ssekms option;
  2. sse_s3 : Yojson.Safe.t option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-encryption.html

and storage_lens_group_level = {
  1. storage_lens_group_selection_criteria : storage_lens_group_selection_criteria option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensgrouplevel.html

and prefix_level = {
  1. storage_metrics : prefix_level_storage_metrics;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-prefixlevel.html

and s3_bucket_destination = {
  1. output_schema_version : string;
  2. format : string;
  3. account_id : string;
  4. prefix : string option;
  5. encryption : encryption option;
  6. arn : string;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-s3bucketdestination.html

and bucket_level = {
  1. advanced_data_protection_metrics : advanced_data_protection_metrics option;
  2. prefix_level : prefix_level option;
  3. activity_metrics : activity_metrics option;
  4. advanced_cost_optimization_metrics : advanced_cost_optimization_metrics option;
  5. detailed_status_codes_metrics : detailed_status_codes_metrics option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-bucketlevel.html

and data_export = {
  1. s3_bucket_destination : s3_bucket_destination option;
  2. cloud_watch_metrics : cloud_watch_metrics option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-dataexport.html

and account_level = {
  1. advanced_data_protection_metrics : advanced_data_protection_metrics option;
  2. storage_lens_group_level : storage_lens_group_level option;
  3. activity_metrics : activity_metrics option;
  4. bucket_level : bucket_level;
  5. advanced_cost_optimization_metrics : advanced_cost_optimization_metrics option;
  6. detailed_status_codes_metrics : detailed_status_codes_metrics option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-accountlevel.html

and storage_lens_configuration = {
  1. account_level : account_level;
  2. exclude : buckets_and_regions option;
  3. is_enabled : bool;
  4. include_ : buckets_and_regions option;
  5. aws_org : aws_org option;
  6. id : string;
  7. storage_lens_arn : string option;
  8. data_export : data_export option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-storagelens-storagelensconfiguration.html

type properties = {
  1. storage_lens_configuration : storage_lens_configuration;
  2. tags : tag list option;
}

see http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-s3-storagelens.html;

val make_properties : storage_lens_configuration:storage_lens_configuration -> ?tags:tag list -> unit -> properties
val make_advanced_data_protection_metrics : ?is_enabled:bool -> unit -> advanced_data_protection_metrics
val make_buckets_and_regions : ?regions:string list -> ?buckets:string list -> unit -> buckets_and_regions
val make_tag : value:string -> key:string -> unit -> tag
val make_activity_metrics : ?is_enabled:bool -> unit -> activity_metrics
val make_advanced_cost_optimization_metrics : ?is_enabled:bool -> unit -> advanced_cost_optimization_metrics
val make_cloud_watch_metrics : is_enabled:bool -> unit -> cloud_watch_metrics
val make_detailed_status_codes_metrics : ?is_enabled:bool -> unit -> detailed_status_codes_metrics
val make_aws_org : arn:string -> unit -> aws_org
val make_ssekms : key_id:string -> unit -> ssekms
val make_storage_lens_group_selection_criteria : ?exclude:string list -> ?include_:string list -> unit -> storage_lens_group_selection_criteria
val make_selection_criteria : ?delimiter:string -> ?max_depth:int -> ?min_storage_bytes_percentage:float -> unit -> selection_criteria
val make_prefix_level_storage_metrics : ?is_enabled:bool -> ?selection_criteria:selection_criteria -> unit -> prefix_level_storage_metrics
val make_encryption : ?ssekms:ssekms -> ?sse_s3:Yojson.Safe.t -> unit -> encryption
val make_storage_lens_group_level : ?storage_lens_group_selection_criteria:storage_lens_group_selection_criteria -> unit -> storage_lens_group_level
val make_prefix_level : storage_metrics:prefix_level_storage_metrics -> unit -> prefix_level
val make_s3_bucket_destination : output_schema_version:string -> format:string -> account_id:string -> ?prefix:string -> ?encryption:encryption -> arn:string -> unit -> s3_bucket_destination
val make_bucket_level : ?advanced_data_protection_metrics:advanced_data_protection_metrics -> ?prefix_level:prefix_level -> ?activity_metrics:activity_metrics -> ?advanced_cost_optimization_metrics:advanced_cost_optimization_metrics -> ?detailed_status_codes_metrics:detailed_status_codes_metrics -> unit -> bucket_level
val make_data_export : ?s3_bucket_destination:s3_bucket_destination -> ?cloud_watch_metrics:cloud_watch_metrics -> unit -> data_export
val make_account_level : ?advanced_data_protection_metrics:advanced_data_protection_metrics -> ?storage_lens_group_level:storage_lens_group_level -> ?activity_metrics:activity_metrics -> bucket_level:bucket_level -> ?advanced_cost_optimization_metrics:advanced_cost_optimization_metrics -> ?detailed_status_codes_metrics:detailed_status_codes_metrics -> unit -> account_level
val make_storage_lens_configuration : account_level:account_level -> ?exclude:buckets_and_regions -> is_enabled:bool -> ?include_:buckets_and_regions -> ?aws_org:aws_org -> id:string -> ?storage_lens_arn:string -> ?data_export:data_export -> unit -> storage_lens_configuration
val yojson_of_advanced_data_protection_metrics : advanced_data_protection_metrics -> Yojson.Safe.t
val yojson_of_buckets_and_regions : buckets_and_regions -> Yojson.Safe.t
val yojson_of_tag : tag -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_activity_metrics : activity_metrics -> Yojson.Safe.t
val yojson_of_advanced_cost_optimization_metrics : advanced_cost_optimization_metrics -> Yojson.Safe.t
val yojson_of_cloud_watch_metrics : cloud_watch_metrics -> Yojson.Safe.t
val yojson_of_detailed_status_codes_metrics : detailed_status_codes_metrics -> Yojson.Safe.t
val yojson_of_aws_org : aws_org -> Yojson.Safe.t
val yojson_of_ssekms : ssekms -> Yojson.Safe.t
val yojson_of_storage_lens_group_selection_criteria : storage_lens_group_selection_criteria -> Yojson.Safe.t
val yojson_of_selection_criteria : selection_criteria -> Yojson.Safe.t
val yojson_of_prefix_level_storage_metrics : prefix_level_storage_metrics -> Yojson.Safe.t
val yojson_of_encryption : encryption -> Yojson.Safe.t
val yojson_of_storage_lens_group_level : storage_lens_group_level -> Yojson.Safe.t
val yojson_of_prefix_level : prefix_level -> Yojson.Safe.t
val yojson_of_s3_bucket_destination : s3_bucket_destination -> Yojson.Safe.t
val yojson_of_bucket_level : bucket_level -> Yojson.Safe.t
val yojson_of_data_export : data_export -> Yojson.Safe.t
val yojson_of_account_level : account_level -> Yojson.Safe.t
val yojson_of_storage_lens_configuration : storage_lens_configuration -> [> `Assoc of (string * Yojson.Safe.t) list ]
val yojson_of_properties : properties -> [> `Assoc of (string * Yojson.Safe.t) list ]
type attributes = {
  1. ref_ : string;
  2. storage_lens_configuration__storage_lens_arn : string;
}
val create_attributes : string -> attributes
val cloudformation_type : string