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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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 or issue prevents Macie from retrieving and processing information about the bucket or the bucket’s objects, the value for many of these properties is null. Key exceptions are accountId and bucketName. To identify the cause, refer to the errorCode and errorMessage values.

[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

#account_idString

Returns:

  • (String)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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

#automated_discovery_monitoring_statusString

Specifies whether automated sensitive data discovery is currently configured to analyze objects in an S3 bucket. Possible values are:

Returns:

  • (String)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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 code for an error or issue that prevented Amazon Macie from retrieving and processing information about an S3 bucket and the bucket’s objects.

Returns:

  • (String)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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 objects in an S3 bucket, and, if so, the details of the job that ran most recently.

Returns:



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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.



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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)


4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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.



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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.



4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
# File 'lib/aws-sdk-macie2/types.rb', line 4717

class MatchingBucket < Struct.new(
  :account_id,
  :automated_discovery_monitoring_status,
  :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