Class: Aws::Macie2::Types::MatchingBucket

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

Overview

Provides statistical data and other information about an S3 bucket 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.

If an error occurs when Macie attempts to retrieve and process information about the bucket or the bucket's objects, the value for most of these properties is null. Key exceptions are accountId and bucketName. To identify the cause of the error, refer to the errorCode and errorMessage values.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

Returns:

  • (String)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#bucket_nameString

Returns:

  • (String)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :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)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :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)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#error_codeString

The error code for an error that prevented Amazon Macie from retrieving and processing metadata from Amazon S3 for an S3 bucket and the bucket's objects.

Returns:

  • (String)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

Returns:

  • (String)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#job_detailsTypes::JobDetails

Specifies whether any one-time or recurring classification jobs are configured to analyze data in an S3 bucket, and, if so, the details of the job that ran most recently.

Returns:



4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#last_automated_discovery_timeTime

Returns:

  • (Time)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#object_countInteger

Returns:

  • (Integer)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#object_count_by_encryption_typeTypes::ObjectCountByEncryptionType

Provides information about the number of objects that are in an S3 bucket and use certain types of server-side encryption, use client-side encryption, or aren't encrypted.



4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end

#sensitivity_scoreInteger

Returns:

  • (Integer)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :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)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :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)


4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :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.



4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :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.



4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
# File 'gems/aws-sdk-macie2/lib/aws-sdk-macie2/types.rb', line 4579

class MatchingBucket < Struct.new(
  :account_id,
  :bucket_name,
  :classifiable_object_count,
  :classifiable_size_in_bytes,
  :error_code,
  :error_message,
  :job_details,
  :last_automated_discovery_time,
  :object_count,
  :object_count_by_encryption_type,
  :sensitivity_score,
  :size_in_bytes,
  :size_in_bytes_compressed,
  :unclassifiable_object_count,
  :unclassifiable_object_size_in_bytes)
  SENSITIVE = []
  include Aws::Structure
end