Amazon Macie Datasources API

The Datasources API from Amazon Macie — 3 operation(s) for datasources.

OpenAPI Specification

amazon-macie-datasources-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  version: 2020-01-01
  x-release: v4
  title: Amazon Macie 2 Admin#adminAccountId Datasources API
  description: Amazon Macie
  x-logo:
    url: https://api.apis.guru/v2/cache/logo/https_twitter.com_awscloud_profile_image.png
    backgroundColor: '#FFFFFF'
  termsOfService: https://aws.amazon.com/service-terms/
  contact:
    name: Mike Ralphson
    email: mike.ralphson@gmail.com
    url: https://github.com/mermade/aws2openapi
    x-twitter: PermittedSoc
  license:
    name: Apache 2.0 License
    url: http://www.apache.org/licenses/
  x-providerName: amazonaws.com
  x-serviceName: macie2
  x-aws-signingName: macie2
  x-origin:
  - contentType: application/json
    url: https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/macie2-2020-01-01.normal.json
    converter:
      url: https://github.com/mermade/aws2openapi
      version: 1.0.0
    x-apisguru-driver: external
  x-apiClientRegistration:
    url: https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct
  x-apisguru-categories:
  - cloud
  x-preferred: true
servers:
- url: http://macie2.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon Macie 2 multi-region endpoint
- url: https://macie2.{region}.amazonaws.com
  variables:
    region:
      description: The AWS region
      enum:
      - us-east-1
      - us-east-2
      - us-west-1
      - us-west-2
      - us-gov-west-1
      - us-gov-east-1
      - ca-central-1
      - eu-north-1
      - eu-west-1
      - eu-west-2
      - eu-west-3
      - eu-central-1
      - eu-south-1
      - af-south-1
      - ap-northeast-1
      - ap-northeast-2
      - ap-northeast-3
      - ap-southeast-1
      - ap-southeast-2
      - ap-east-1
      - ap-south-1
      - sa-east-1
      - me-south-1
      default: us-east-1
  description: The Amazon Macie 2 multi-region endpoint
- url: http://macie2.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon Macie 2 endpoint for China (Beijing) and China (Ningxia)
- url: https://macie2.{region}.amazonaws.com.cn
  variables:
    region:
      description: The AWS region
      enum:
      - cn-north-1
      - cn-northwest-1
      default: cn-north-1
  description: The Amazon Macie 2 endpoint for China (Beijing) and China (Ningxia)
security:
- hmac: []
tags:
- name: Datasources
paths:
  /datasources/s3:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: DescribeBuckets
      description: Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DescribeBucketsResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters:
      - name: maxResults
        in: query
        schema:
          type: string
        description: Pagination limit
        required: false
      - name: nextToken
        in: query
        schema:
          type: string
        description: Pagination token
        required: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                criteria:
                  description: Specifies, as a map, one or more property-based conditions that filter the results of a query for information about S3 buckets.
                  type: object
                  additionalProperties:
                    $ref: '#/components/schemas/BucketCriteriaAdditionalProperties'
                maxResults:
                  description: The maximum number of items to include in each page of the response. The default value is 50.
                  type: integer
                nextToken:
                  description: The nextToken string that specifies which page of results to return in a paginated response.
                  type: string
                sortCriteria:
                  description: Specifies criteria for sorting the results of a query for information about S3 buckets.
                  type: object
                  properties:
                    attributeName:
                      allOf:
                      - $ref: '#/components/schemas/__string'
                      - description: 'The name of the bucket property to sort the results by. This value can be one of the following properties that Amazon Macie defines as bucket metadata: accountId, bucketName, classifiableObjectCount, classifiableSizeInBytes, objectCount, sensitivityScore, or sizeInBytes.'
                    orderBy:
                      allOf:
                      - $ref: '#/components/schemas/OrderBy'
                      - description: 'The sort order to apply to the results, based on the value specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.'
      summary: Amazon Macie Describe Buckets
      tags:
      - Datasources
  /datasources/s3/statistics:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: GetBucketStatistics
      description: Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetBucketStatisticsResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                accountId:
                  description: The unique identifier for the Amazon Web Services account.
                  type: string
      summary: Amazon Macie Get Bucket Statistics
      tags:
      - Datasources
  /datasources/search-resources:
    parameters:
    - $ref: '#/components/parameters/X-Amz-Content-Sha256'
    - $ref: '#/components/parameters/X-Amz-Date'
    - $ref: '#/components/parameters/X-Amz-Algorithm'
    - $ref: '#/components/parameters/X-Amz-Credential'
    - $ref: '#/components/parameters/X-Amz-Security-Token'
    - $ref: '#/components/parameters/X-Amz-Signature'
    - $ref: '#/components/parameters/X-Amz-SignedHeaders'
    post:
      operationId: SearchResources
      description: Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResourcesResponse'
        '480':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
        '481':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '482':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '483':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '484':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '485':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '486':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
      parameters:
      - name: maxResults
        in: query
        schema:
          type: string
        description: Pagination limit
        required: false
      - name: nextToken
        in: query
        schema:
          type: string
        description: Pagination token
        required: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                bucketCriteria:
                  description: Specifies property- and tag-based conditions that define filter criteria for including or excluding S3 buckets from the query results. Exclude conditions take precedence over include conditions.
                  type: object
                  properties:
                    excludes:
                      allOf:
                      - $ref: '#/components/schemas/SearchResourcesCriteriaBlock'
                      - description: The property- and tag-based conditions that determine which buckets to exclude from the results.
                    includes:
                      allOf:
                      - $ref: '#/components/schemas/SearchResourcesCriteriaBlock'
                      - description: The property- and tag-based conditions that determine which buckets to include in the results.
                maxResults:
                  description: The maximum number of items to include in each page of the response. The default value is 50.
                  type: integer
                nextToken:
                  description: The nextToken string that specifies which page of results to return in a paginated response.
                  type: string
                sortCriteria:
                  description: Specifies criteria for sorting the results of a query for information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
                  type: object
                  properties:
                    attributeName:
                      allOf:
                      - $ref: '#/components/schemas/SearchResourcesSortAttributeName'
                      - description: The property to sort the results by.
                    orderBy:
                      allOf:
                      - $ref: '#/components/schemas/OrderBy'
                      - description: 'The sort order to apply to the results, based on the value for the property specified by the attributeName property. Valid values are: ASC, sort the results in ascending order; and, DESC, sort the results in descending order.'
      summary: Amazon Macie Search Resources
      tags:
      - Datasources
components:
  schemas:
    SearchResourcesResponse:
      type: object
      properties:
        matchingResources:
          allOf:
          - $ref: '#/components/schemas/__listOfMatchingResource'
          - description: An array of objects, one for each resource that matches the filter criteria specified in the request.
        nextToken:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The string to use in a subsequent request to get the next page of results in a paginated response. This value is null if there are no additional pages.
    SearchResourcesSimpleCriterion:
      type: object
      properties:
        comparator:
          allOf:
          - $ref: '#/components/schemas/SearchResourcesComparator'
          - description: The operator to use in the condition. Valid values are EQ (equals) and NE (not equals).
        key:
          allOf:
          - $ref: '#/components/schemas/SearchResourcesSimpleCriterionKey'
          - description: The property to use in the condition.
        values:
          allOf:
          - $ref: '#/components/schemas/__listOf__string'
          - description: <p>An array that lists one or more values to use in the condition. If you specify multiple values, Amazon Macie uses OR logic to join the values. Valid values for each supported property (key) are:</p> <ul><li><p>ACCOUNT_ID - A string that represents the unique identifier for the Amazon Web Services account that owns the resource.</p></li> <li><p>S3_BUCKET_EFFECTIVE_PERMISSION - A string that represents an enumerated value that Macie defines for the <a href="https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketpublicaccess-effectivepermission">BucketPublicAccess.effectivePermission</a> property of an S3 bucket.</p></li> <li><p>S3_BUCKET_NAME - A string that represents the name of an S3 bucket.</p></li> <li><p>S3_BUCKET_SHARED_ACCESS - A string that represents an enumerated value that Macie defines for the <a href="https://docs.aws.amazon.com/macie/latest/APIReference/datasources-s3.html#datasources-s3-prop-bucketmetadata-sharedaccess">BucketMetadata.sharedAccess</a> property of an S3 bucket.</p></li></ul> <p>Values are case sensitive. Also, Macie doesn't support use of partial values or wildcard characters in values.</p>
      description: Specifies a property-based filter condition that determines which Amazon Web Services resources are included or excluded from the query results.
    __integer:
      type: integer
    BucketPolicy:
      type: object
      properties:
        allowsPublicReadAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the bucket policy allows the general public to have read access to the bucket.
        allowsPublicWriteAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the bucket policy allows the general public to have write access to the bucket.
      description: Provides information about the permissions settings of the bucket policy for an S3 bucket.
    BucketServerSideEncryption:
      type: object
      properties:
        kmsMasterKeyId:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The Amazon Resource Name (ARN) or unique identifier (key ID) for the KMS key that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket is configured to use an Amazon S3 managed key to encrypt new objects.
        type:
          allOf:
          - $ref: '#/components/schemas/Type'
          - description: <p>The server-side encryption algorithm that's used by default to encrypt objects that are added to the bucket. Possible values are:</p> <ul><li><p>AES256 - New objects are encrypted with an Amazon S3 managed key. They use SSE-S3 encryption.</p></li> <li><p>aws:kms - New objects are encrypted with an KMS key (kmsMasterKeyId), either an Amazon Web Services managed key or a customer managed key. They use SSE-KMS encryption.</p></li> <li><p>NONE - The bucket's default encryption settings don't specify server-side encryption behavior for new objects.</p></li></ul>
      description: Provides information about the default server-side encryption settings for an S3 bucket. For detailed information about these settings, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html">Setting default server-side encryption behavior for Amazon S3 buckets</a> in the <i>Amazon Simple Storage Service User Guide</i>.
    InternalServerException: {}
    AccessControlList:
      type: object
      properties:
        allowsPublicReadAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the ACL grants the general public with read access permissions for the bucket.
        allowsPublicWriteAccess:
          allOf:
          - $ref: '#/components/schemas/__boolean'
          - description: Specifies whether the ACL grants the general public with write access permissions for the bucket.
      description: Provides information about the permissions settings of the bucket-level access control list (ACL) for an S3 bucket.
    SensitivityAggregations:
      type: object
      properties:
        classifiableSizeInBytes:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: <p>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.</p> <p>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.</p>
        publiclyAccessibleCount:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that are publicly accessible due to a combination of permissions settings for each bucket.
        totalCount:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets.
        totalSizeInBytes:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: <p>The total storage size, in bytes, of the buckets.</p> <p>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.</p>
      description: Provides aggregated statistical data for sensitive data discovery metrics that apply to S3 buckets. Each field contains aggregated data for all the buckets that have a sensitivity score (sensitivityScore) of a specified value or within a specified range (BucketStatisticsBySensitivity). If automated sensitive data discovery is currently disabled for your account, the value for each field is 0.
    ThrottlingException: {}
    __listOfKeyValuePair:
      type: array
      items:
        $ref: '#/components/schemas/KeyValuePair'
    IsMonitoredByJob:
      type: string
      enum:
      - 'TRUE'
      - 'FALSE'
      - UNKNOWN
    __listOfSearchResourcesCriteria:
      type: array
      items:
        $ref: '#/components/schemas/SearchResourcesCriteria'
    IsDefinedInJob:
      type: string
      enum:
      - 'TRUE'
      - 'FALSE'
      - UNKNOWN
    EffectivePermission:
      type: string
      enum:
      - PUBLIC
      - NOT_PUBLIC
      - UNKNOWN
    AllowsUnencryptedObjectUploads:
      type: string
      enum:
      - 'TRUE'
      - 'FALSE'
      - UNKNOWN
    ConflictException: {}
    BucketPublicAccess:
      type: object
      properties:
        effectivePermission:
          allOf:
          - $ref: '#/components/schemas/EffectivePermission'
          - description: ' <p>Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:</p> <ul><li><p>NOT_PUBLIC - The bucket isn''t publicly accessible.</p></li> <li><p>PUBLIC - The bucket is publicly accessible.</p></li> <li><p>UNKNOWN - Amazon Macie can''t determine whether the bucket is publicly accessible.</p></li></ul>'
        permissionConfiguration:
          allOf:
          - $ref: '#/components/schemas/BucketPermissionConfiguration'
          - description: The account-level and bucket-level permissions settings for the bucket.
      description: Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
    SearchResourcesCriteriaBlock:
      type: object
      properties:
        and:
          allOf:
          - $ref: '#/components/schemas/__listOfSearchResourcesCriteria'
          - description: An array of objects, one for each property- or tag-based condition that includes or excludes resources from the query results. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.
      description: Specifies property- and tag-based conditions that define filter criteria for including or excluding Amazon Web Services resources from the query results.
    __listOfMatchingResource:
      type: array
      items:
        $ref: '#/components/schemas/MatchingResource'
    MatchingResource:
      type: object
      properties:
        matchingBucket:
          allOf:
          - $ref: '#/components/schemas/MatchingBucket'
          - description: The details of an S3 bucket that Amazon Macie monitors and analyzes.
      description: Provides statistical data and other information about an Amazon Web Services resource that Amazon Macie monitors and analyzes for your account.
    __string:
      type: string
    __listOf__string:
      type: array
      items:
        $ref: '#/components/schemas/__string'
    BucketCriteriaAdditionalProperties:
      type: object
      properties:
        eq:
          allOf:
          - $ref: '#/components/schemas/__listOf__string'
          - description: The value for the property matches (equals) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
        gt:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The value for the property is greater than the specified value.
        gte:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The value for the property is greater than or equal to the specified value.
        lt:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The value for the property is less than the specified value.
        lte:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The value for the property is less than or equal to the specified value.
        neq:
          allOf:
          - $ref: '#/components/schemas/__listOf__string'
          - description: The value for the property doesn't match (doesn't equal) the specified value. If you specify multiple values, Amazon Macie uses OR logic to join the values.
        prefix:
          allOf:
          - $ref: '#/components/schemas/__string'
          - description: The name of the bucket begins with the specified value.
      description: Specifies the operator to use in a property-based condition that filters the results of a query for information about S3 buckets.
    BucketMetadataErrorCode:
      type: string
      enum:
      - ACCESS_DENIED
      description: 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.
    __long:
      type: integer
    BucketCountByEncryptionType:
      type: object
      properties:
        kmsManaged:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: ' <p>The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon Web Services managed KMS key or a customer managed KMS key. By default, these buckets encrypt new objects automatically using SSE-KMS encryption.</p>'
        s3Managed:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets whose default encryption settings are configured to encrypt new objects with an Amazon S3 managed key. By default, these buckets encrypt new objects automatically using SSE-S3 encryption.
        unencrypted:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that don't specify default server-side encryption behavior for new objects. Default encryption settings aren't configured for these buckets.
        unknown:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that Amazon Macie doesn't have current encryption metadata for. Macie can't provide current data about the default encryption settings for these buckets.
      description: 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 <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html">Setting default server-side encryption behavior for Amazon S3 buckets</a> in the <i>Amazon Simple Storage Service User Guide</i>.
    __listOfBucketMetadata:
      type: array
      items:
        $ref: '#/components/schemas/BucketMetadata'
    ServiceQuotaExceededException: {}
    SearchResourcesCriteria:
      type: object
      properties:
        simpleCriterion:
          allOf:
          - $ref: '#/components/schemas/SearchResourcesSimpleCriterion'
          - description: A property-based condition that defines a property, operator, and one or more values for including or excluding resources from the results.
        tagCriterion:
          allOf:
          - $ref: '#/components/schemas/SearchResourcesTagCriterion'
          - description: A tag-based condition that defines an operator and tag keys, tag values, or tag key and value pairs for including or excluding resources from the results.
      description: Specifies a property- or tag-based filter condition for including or excluding Amazon Web Services resources from the query results.
    __boolean:
      type: boolean
    BucketStatisticsBySensitivity:
      type: object
      properties:
        classificationError:
          allOf:
          - $ref: '#/components/schemas/SensitivityAggregations'
          - description: The aggregated statistical data for all buckets that have a sensitivity score of -1.
        notClassified:
          allOf:
          - $ref: '#/components/schemas/SensitivityAggregations'
          - description: The aggregated statistical data for all buckets that have a sensitivity score of 50.
        notSensitive:
          allOf:
          - $ref: '#/components/schemas/SensitivityAggregations'
          - description: The aggregated statistical data for all buckets that have a sensitivity score of 1-49.
        sensitive:
          allOf:
          - $ref: '#/components/schemas/SensitivityAggregations'
          - description: The aggregated statistical data for all buckets that have a sensitivity score of 51-100.
      description: 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.
    BucketCountByEffectivePermission:
      type: object
      properties:
        publiclyAccessible:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that allow the general public to have read or write access to the bucket.
        publiclyReadable:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that allow the general public to have read access to the bucket.
        publiclyWritable:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that allow the general public to have write access to the bucket.
        unknown:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
      description: Provides information about the number of S3 buckets that are publicly accessible due to a combination of permissions settings for each bucket.
    OrderBy:
      type: string
      enum:
      - ASC
      - DESC
    SearchResourcesComparator:
      type: string
      enum:
      - EQ
      - NE
      description: 'The operator to use in a condition that filters the results of a query. Valid values are:'
    __listOfSearchResourcesTagCriterionPair:
      type: array
      items:
        $ref: '#/components/schemas/SearchResourcesTagCriterionPair'
    BucketCountPolicyAllowsUnencryptedObjectUploads:
      type: object
      properties:
        allowsUnencryptedObjectUploads:
          allOf:
          - $ref: '#/components/schemas/__long'
          - description: 'The total n

# --- truncated at 32 KB (70 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/amazon-macie/refs/heads/main/openapi/amazon-macie-datasources-api-openapi.yml