Module Values.GetBucketStatisticsResponseSource

Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.

Sourcetype nonrec t = {
  1. bucketCount : Awso.Import.Int64.t option;
    (*

    The total number of buckets.

    *)
  2. bucketCountByEffectivePermission : BucketCountByEffectivePermission.t option;
    (*

    The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.

    *)
  3. bucketCountByEncryptionType : BucketCountByEncryptionType.t option;
    (*

    The total number of buckets whose settings do or don't specify default server-side encryption behavior for objects that are added to the buckets.

    *)
  4. bucketCountByObjectEncryptionRequirement : BucketCountPolicyAllowsUnencryptedObjectUploads.t option;
    (*

    The total number of buckets whose bucket policies do or don't require server-side encryption of objects when objects are added to the buckets.

    *)
  5. bucketCountBySharedAccessType : BucketCountBySharedAccessType.t option;
    (*

    The total number of buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs).

    *)
  6. bucketStatisticsBySensitivity : BucketStatisticsBySensitivity.t option;
    (*

    The aggregated sensitive data discovery statistics for the buckets. If automated sensitive data discovery is currently disabled for your account, the value for most statistics is 0.

    *)
  7. classifiableObjectCount : Awso.Import.Int64.t option;
    (*

    The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.

    *)
  8. classifiableSizeInBytes : Awso.Import.Int64.t option;
    (*

    The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of all applicable objects in the buckets.

    *)
  9. lastUpdated : string option;
    (*

    The date and time, in UTC and extended ISO 8601 format, when Amazon Macie most recently retrieved bucket or object metadata from Amazon S3 for the buckets.

    *)
  10. objectCount : Awso.Import.Int64.t option;
    (*

    The total number of objects in the buckets.

    *)
  11. sizeInBytes : Awso.Import.Int64.t option;
    (*

    The total storage size, in bytes, of the buckets. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each object in the buckets. This value doesn't reflect the storage size of all versions of the objects in the buckets.

    *)
  12. sizeInBytesCompressed : Awso.Import.Int64.t option;
    (*

    The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the buckets. If versioning is enabled for any of the buckets, this value is based on the size of the latest version of each applicable object in the buckets. This value doesn't reflect the storage size of all versions of the applicable objects in the buckets.

    *)
  13. unclassifiableObjectCount : ObjectLevelStatistics.t option;
    (*

    The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

    *)
  14. unclassifiableObjectSizeInBytes : ObjectLevelStatistics.t option;
    (*

    The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?bucketCount:??? -> ?bucketCountByEffectivePermission:??? -> ?bucketCountByEncryptionType:??? -> ?bucketCountByObjectEncryptionRequirement:??? -> ?bucketCountBySharedAccessType:??? -> ?bucketStatisticsBySensitivity:??? -> ?classifiableObjectCount:??? -> ?classifiableSizeInBytes:??? -> ?lastUpdated:??? -> ?objectCount:??? -> ?sizeInBytes:??? -> ?sizeInBytesCompressed:??? -> ?unclassifiableObjectCount:??? -> ?unclassifiableObjectSizeInBytes:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Awso.Import.Int64.t | `Structure of (string * [> `Long of Awso.Import.Int64.t | `Structure of (string * [> `Long of Awso.Import.Int64.t ]) list ]) list | `Timestamp of string ]) 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