Class: Aws::Macie2::Types::GetBucketStatisticsResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-macie2/types.rb

Overview

Provides the results of a query that retrieved aggregated statistical data for all the S3 buckets that Amazon Macie monitors and analyzes for your account. By default, object count and storage size values include data for object parts that are the result of incomplete multipart uploads. For more information, see [How Macie monitors Amazon S3 data security] in the *Amazon Macie User Guide*.

[1]: docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_countInteger

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_count_by_effective_permissionTypes::BucketCountByEffectivePermission

Provides information about the number of S3 buckets that are publicly accessible due to a combination of permissions settings for each bucket.



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_count_by_encryption_typeTypes::BucketCountByEncryptionType

Provides information about the number of S3 buckets whose settings do or don’t specify default server-side encryption behavior for objects that are added to the buckets. For detailed information about these settings, see [Setting default server-side encryption behavior for Amazon S3 buckets] in the *Amazon Simple Storage Service User Guide*.

[1]: docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_count_by_object_encryption_requirementTypes::BucketCountPolicyAllowsUnencryptedObjectUploads

Provides information about the number of S3 buckets whose bucket policies do or don’t require server-side encryption of objects when objects are added to the buckets.



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_count_by_shared_access_typeTypes::BucketCountBySharedAccessType

Provides information about the number of S3 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). In this data, an *Amazon Macie organization* is defined as a set of Macie accounts that are centrally managed as a group of related accounts through Organizations or by Macie invitation.



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_statistics_by_sensitivityTypes::BucketStatisticsBySensitivity

Provides aggregated statistical data for sensitive data discovery metrics that apply to S3 buckets, grouped by bucket sensitivity score (sensitivityScore). If automated sensitive data discovery is currently disabled for your account, the value for each metric is 0.



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#classifiable_object_countInteger

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#classifiable_size_in_bytesInteger

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#last_updatedTime

Returns:

  • (Time)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#object_countInteger

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#size_in_bytesInteger

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#size_in_bytes_compressedInteger

Returns:

  • (Integer)


2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#unclassifiable_object_countTypes::ObjectLevelStatistics

Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can’t analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for all the buckets in the query results. If versioning is enabled for a bucket, storage size values are based on the size of the latest version of each applicable object in the bucket.



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#unclassifiable_object_size_in_bytesTypes::ObjectLevelStatistics

Provides information about the total storage size (in bytes) or number of objects that Amazon Macie can’t analyze in one or more S3 buckets. In a BucketMetadata or MatchingBucket object, this data is for a specific bucket. In a GetBucketStatisticsResponse object, this data is aggregated for all the buckets in the query results. If versioning is enabled for a bucket, storage size values are based on the size of the latest version of each applicable object in the bucket.



2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
# File 'lib/aws-sdk-macie2/types.rb', line 2816

class GetBucketStatisticsResponse < Struct.new(
  :bucket_count,
  :bucket_count_by_effective_permission,
  :bucket_count_by_encryption_type,
  :bucket_count_by_object_encryption_requirement,
  :bucket_count_by_shared_access_type,
  :bucket_statistics_by_sensitivity,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :last_updated,
  :object_count,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end