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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-macie2/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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bucket_countInteger

Returns:

  • (Integer)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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)


2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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.



2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 2713

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