aws-sdk-macie2 1.17.0 → 1.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e23b8956f4cbe366ada629a3f9afc98724be67a7f2764c6e1de32bd096a7f05
4
- data.tar.gz: e1734e0828d51bf48202f5042734b370719945666ae6cc1f79006097268e228b
3
+ metadata.gz: a86fdd452db57654374b53a7009d91c7b6f714c2677daa38503f2a7c8e9c39da
4
+ data.tar.gz: 3898f3e57324d170f322b32c20d0cd0a1bf0f42e5ea9ce03d22c02554a853e9c
5
5
  SHA512:
6
- metadata.gz: 9d7b68a7aefc124c785e19ab02fc5a5eb67621eb8bcffc1e203d8929d428768c6cd67fd47ec9a900dbbb1ed0f6772d3036e1951fd5576e0424c024a2baf42727
7
- data.tar.gz: 9598be78988132dc332b8d38ec83be9da0cfb730fb95e8c8031fd303404784cf4a16d4d8e68260d8f5c8cde82fa383170c7a07b95a54b307bb4e524af59390c2
6
+ metadata.gz: 1b5013cfb0156624d929aeaa7c0c438349c9db7cf22f5589477037daccf5551eb58887e97c1977b8d5206d6c577ad4576b782e67836dd4db2f196f1cd959f859
7
+ data.tar.gz: 7cda3ea6156623c2953475de1f657605a3f1324f762b95bfb6266a7d1c8c8911d326be468b56788ba54ba937d86a16fd117dca87595fdf52ed952f66ea1083ab
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-macie2/customizations'
48
48
  # @!group service
49
49
  module Aws::Macie2
50
50
 
51
- GEM_VERSION = '1.17.0'
51
+ GEM_VERSION = '1.22.0'
52
52
 
53
53
  end
@@ -436,8 +436,8 @@ module Aws::Macie2
436
436
  # s3_job_definition: { # required
437
437
  # bucket_definitions: [
438
438
  # {
439
- # account_id: "__string",
440
- # buckets: ["__string"],
439
+ # account_id: "__string", # required
440
+ # buckets: ["__string"], # required
441
441
  # },
442
442
  # ],
443
443
  # scoping: {
@@ -445,12 +445,12 @@ module Aws::Macie2
445
445
  # and: [
446
446
  # {
447
447
  # simple_scope_term: {
448
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
449
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
448
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
449
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
450
450
  # values: ["__string"],
451
451
  # },
452
452
  # tag_scope_term: {
453
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
453
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
454
454
  # key: "__string",
455
455
  # tag_values: [
456
456
  # {
@@ -467,12 +467,12 @@ module Aws::Macie2
467
467
  # and: [
468
468
  # {
469
469
  # simple_scope_term: {
470
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
471
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
470
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
471
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
472
472
  # values: ["__string"],
473
473
  # },
474
474
  # tag_scope_term: {
475
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
475
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
476
476
  # key: "__string",
477
477
  # tag_values: [
478
478
  # {
@@ -872,8 +872,8 @@ module Aws::Macie2
872
872
  # or more S3 buckets that Amazon Macie monitors and analyzes.
873
873
  #
874
874
  # @option params [Hash<String,Types::BucketCriteriaAdditionalProperties>] :criteria
875
- # Specifies, as a map, one or more attribute-based conditions that
876
- # filter the results of a query for information about S3 buckets.
875
+ # Specifies, as a map, one or more property-based conditions that filter
876
+ # the results of a query for information about S3 buckets.
877
877
  #
878
878
  # @option params [Integer] :max_results
879
879
  #
@@ -921,6 +921,10 @@ module Aws::Macie2
921
921
  # resp.buckets[0].bucket_name #=> String
922
922
  # resp.buckets[0].classifiable_object_count #=> Integer
923
923
  # resp.buckets[0].classifiable_size_in_bytes #=> Integer
924
+ # resp.buckets[0].job_details.is_defined_in_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
925
+ # resp.buckets[0].job_details.is_monitored_by_job #=> String, one of "TRUE", "FALSE", "UNKNOWN"
926
+ # resp.buckets[0].job_details.last_job_id #=> String
927
+ # resp.buckets[0].job_details.last_job_run_time #=> Time
924
928
  # resp.buckets[0].last_updated #=> Time
925
929
  # resp.buckets[0].object_count #=> Integer
926
930
  # resp.buckets[0].object_count_by_encryption_type.customer_managed #=> Integer
@@ -945,6 +949,8 @@ module Aws::Macie2
945
949
  # resp.buckets[0].replication_details.replicated_externally #=> Boolean
946
950
  # resp.buckets[0].replication_details.replication_accounts #=> Array
947
951
  # resp.buckets[0].replication_details.replication_accounts[0] #=> String
952
+ # resp.buckets[0].server_side_encryption.kms_master_key_id #=> String
953
+ # resp.buckets[0].server_side_encryption.type #=> String, one of "NONE", "AES256", "aws:kms"
948
954
  # resp.buckets[0].shared_access #=> String, one of "EXTERNAL", "INTERNAL", "NOT_SHARED", "UNKNOWN"
949
955
  # resp.buckets[0].size_in_bytes #=> Integer
950
956
  # resp.buckets[0].size_in_bytes_compressed #=> Integer
@@ -1020,22 +1026,22 @@ module Aws::Macie2
1020
1026
  # resp.s3_job_definition.bucket_definitions[0].buckets #=> Array
1021
1027
  # resp.s3_job_definition.bucket_definitions[0].buckets[0] #=> String
1022
1028
  # resp.s3_job_definition.scoping.excludes.and #=> Array
1023
- # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1024
- # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "BUCKET_CREATION_DATE", "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "TAG"
1029
+ # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1030
+ # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "BUCKET_CREATION_DATE", "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "TAG", "OBJECT_KEY"
1025
1031
  # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values #=> Array
1026
1032
  # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values[0] #=> String
1027
- # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1033
+ # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1028
1034
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.key #=> String
1029
1035
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.tag_values #=> Array
1030
1036
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.tag_values[0].key #=> String
1031
1037
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.tag_values[0].value #=> String
1032
1038
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
1033
1039
  # resp.s3_job_definition.scoping.includes.and #=> Array
1034
- # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1035
- # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "BUCKET_CREATION_DATE", "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "TAG"
1040
+ # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1041
+ # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "BUCKET_CREATION_DATE", "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "TAG", "OBJECT_KEY"
1036
1042
  # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values #=> Array
1037
1043
  # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values[0] #=> String
1038
- # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1044
+ # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1039
1045
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.key #=> String
1040
1046
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values #=> Array
1041
1047
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].key #=> String
@@ -1787,13 +1793,18 @@ module Aws::Macie2
1787
1793
  # @option params [String] :next_token
1788
1794
  #
1789
1795
  # @option params [Types::UsageStatisticsSortBy] :sort_by
1790
- # Specifies criteria for sorting the results of a query for account
1791
- # quotas and usage data.
1796
+ # Specifies criteria for sorting the results of a query for Amazon Macie
1797
+ # account quotas and usage data.
1798
+ #
1799
+ # @option params [String] :time_range
1800
+ # An inclusive time period that Amazon Macie usage data applies to.
1801
+ # Possible values are:
1792
1802
  #
1793
1803
  # @return [Types::GetUsageStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1794
1804
  #
1795
1805
  # * {Types::GetUsageStatisticsResponse#next_token #next_token} => String
1796
1806
  # * {Types::GetUsageStatisticsResponse#records #records} => Array&lt;Types::UsageRecord&gt;
1807
+ # * {Types::GetUsageStatisticsResponse#time_range #time_range} => String
1797
1808
  #
1798
1809
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1799
1810
  #
@@ -1813,6 +1824,7 @@ module Aws::Macie2
1813
1824
  # key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
1814
1825
  # order_by: "ASC", # accepts ASC, DESC
1815
1826
  # },
1827
+ # time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
1816
1828
  # })
1817
1829
  #
1818
1830
  # @example Response structure
@@ -1828,6 +1840,7 @@ module Aws::Macie2
1828
1840
  # resp.records[0].usage[0].service_limit.unit #=> String, one of "TERABYTES"
1829
1841
  # resp.records[0].usage[0].service_limit.value #=> Integer
1830
1842
  # resp.records[0].usage[0].type #=> String, one of "DATA_INVENTORY_EVALUATION", "SENSITIVE_DATA_DISCOVERY"
1843
+ # resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
1831
1844
  #
1832
1845
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatistics AWS API Documentation
1833
1846
  #
@@ -1840,12 +1853,22 @@ module Aws::Macie2
1840
1853
 
1841
1854
  # Retrieves (queries) aggregated usage data for an account.
1842
1855
  #
1856
+ # @option params [String] :time_range
1857
+ #
1843
1858
  # @return [Types::GetUsageTotalsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1844
1859
  #
1860
+ # * {Types::GetUsageTotalsResponse#time_range #time_range} => String
1845
1861
  # * {Types::GetUsageTotalsResponse#usage_totals #usage_totals} => Array&lt;Types::UsageTotal&gt;
1846
1862
  #
1863
+ # @example Request syntax with placeholder values
1864
+ #
1865
+ # resp = client.get_usage_totals({
1866
+ # time_range: "__string",
1867
+ # })
1868
+ #
1847
1869
  # @example Response structure
1848
1870
  #
1871
+ # resp.time_range #=> String, one of "MONTH_TO_DATE", "PAST_30_DAYS"
1849
1872
  # resp.usage_totals #=> Array
1850
1873
  # resp.usage_totals[0].currency #=> String, one of "USD"
1851
1874
  # resp.usage_totals[0].estimated_cost #=> String
@@ -1888,14 +1911,14 @@ module Aws::Macie2
1888
1911
  # filter_criteria: {
1889
1912
  # excludes: [
1890
1913
  # {
1891
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
1914
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
1892
1915
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
1893
1916
  # values: ["__string"],
1894
1917
  # },
1895
1918
  # ],
1896
1919
  # includes: [
1897
1920
  # {
1898
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
1921
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
1899
1922
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
1900
1923
  # values: ["__string"],
1901
1924
  # },
@@ -2540,7 +2563,7 @@ module Aws::Macie2
2540
2563
  params: params,
2541
2564
  config: config)
2542
2565
  context[:gem_name] = 'aws-sdk-macie2'
2543
- context[:gem_version] = '1.17.0'
2566
+ context[:gem_version] = '1.22.0'
2544
2567
  Seahorse::Client::Request.new(handlers, context)
2545
2568
  end
2546
2569
 
@@ -39,6 +39,7 @@ module Aws::Macie2
39
39
  BucketPermissionConfiguration = Shapes::StructureShape.new(name: 'BucketPermissionConfiguration')
40
40
  BucketPolicy = Shapes::StructureShape.new(name: 'BucketPolicy')
41
41
  BucketPublicAccess = Shapes::StructureShape.new(name: 'BucketPublicAccess')
42
+ BucketServerSideEncryption = Shapes::StructureShape.new(name: 'BucketServerSideEncryption')
42
43
  BucketSortCriteria = Shapes::StructureShape.new(name: 'BucketSortCriteria')
43
44
  Cell = Shapes::StructureShape.new(name: 'Cell')
44
45
  Cells = Shapes::ListShape.new(name: 'Cells')
@@ -150,7 +151,10 @@ module Aws::Macie2
150
151
  IpCountry = Shapes::StructureShape.new(name: 'IpCountry')
151
152
  IpGeoLocation = Shapes::StructureShape.new(name: 'IpGeoLocation')
152
153
  IpOwner = Shapes::StructureShape.new(name: 'IpOwner')
154
+ IsDefinedInJob = Shapes::StringShape.new(name: 'IsDefinedInJob')
155
+ IsMonitoredByJob = Shapes::StringShape.new(name: 'IsMonitoredByJob')
153
156
  JobComparator = Shapes::StringShape.new(name: 'JobComparator')
157
+ JobDetails = Shapes::StructureShape.new(name: 'JobDetails')
154
158
  JobScheduleFrequency = Shapes::StructureShape.new(name: 'JobScheduleFrequency')
155
159
  JobScopeTerm = Shapes::StructureShape.new(name: 'JobScopeTerm')
156
160
  JobScopingBlock = Shapes::StructureShape.new(name: 'JobScopingBlock')
@@ -236,6 +240,8 @@ module Aws::Macie2
236
240
  TestCustomDataIdentifierRequest = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierRequest')
237
241
  TestCustomDataIdentifierResponse = Shapes::StructureShape.new(name: 'TestCustomDataIdentifierResponse')
238
242
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
243
+ TimeRange = Shapes::StringShape.new(name: 'TimeRange')
244
+ Type = Shapes::StringShape.new(name: 'Type')
239
245
  Unit = Shapes::StringShape.new(name: 'Unit')
240
246
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
241
247
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
@@ -400,12 +406,14 @@ module Aws::Macie2
400
406
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
401
407
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
402
408
  BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
409
+ BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
403
410
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
404
411
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
405
412
  BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
406
413
  BucketMetadata.add_member(:public_access, Shapes::ShapeRef.new(shape: BucketPublicAccess, location_name: "publicAccess"))
407
414
  BucketMetadata.add_member(:region, Shapes::ShapeRef.new(shape: __string, location_name: "region"))
408
415
  BucketMetadata.add_member(:replication_details, Shapes::ShapeRef.new(shape: ReplicationDetails, location_name: "replicationDetails"))
416
+ BucketMetadata.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: BucketServerSideEncryption, location_name: "serverSideEncryption"))
409
417
  BucketMetadata.add_member(:shared_access, Shapes::ShapeRef.new(shape: SharedAccess, location_name: "sharedAccess"))
410
418
  BucketMetadata.add_member(:size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytes"))
411
419
  BucketMetadata.add_member(:size_in_bytes_compressed, Shapes::ShapeRef.new(shape: __long, location_name: "sizeInBytesCompressed"))
@@ -427,6 +435,10 @@ module Aws::Macie2
427
435
  BucketPublicAccess.add_member(:permission_configuration, Shapes::ShapeRef.new(shape: BucketPermissionConfiguration, location_name: "permissionConfiguration"))
428
436
  BucketPublicAccess.struct_class = Types::BucketPublicAccess
429
437
 
438
+ BucketServerSideEncryption.add_member(:kms_master_key_id, Shapes::ShapeRef.new(shape: __string, location_name: "kmsMasterKeyId"))
439
+ BucketServerSideEncryption.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
440
+ BucketServerSideEncryption.struct_class = Types::BucketServerSideEncryption
441
+
430
442
  BucketSortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: __string, location_name: "attributeName"))
431
443
  BucketSortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
432
444
  BucketSortCriteria.struct_class = Types::BucketSortCriteria
@@ -820,14 +832,18 @@ module Aws::Macie2
820
832
  GetUsageStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
821
833
  GetUsageStatisticsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
822
834
  GetUsageStatisticsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: UsageStatisticsSortBy, location_name: "sortBy"))
835
+ GetUsageStatisticsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
823
836
  GetUsageStatisticsRequest.struct_class = Types::GetUsageStatisticsRequest
824
837
 
825
838
  GetUsageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
826
839
  GetUsageStatisticsResponse.add_member(:records, Shapes::ShapeRef.new(shape: __listOfUsageRecord, location_name: "records"))
840
+ GetUsageStatisticsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
827
841
  GetUsageStatisticsResponse.struct_class = Types::GetUsageStatisticsResponse
828
842
 
843
+ GetUsageTotalsRequest.add_member(:time_range, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "timeRange"))
829
844
  GetUsageTotalsRequest.struct_class = Types::GetUsageTotalsRequest
830
845
 
846
+ GetUsageTotalsResponse.add_member(:time_range, Shapes::ShapeRef.new(shape: TimeRange, location_name: "timeRange"))
831
847
  GetUsageTotalsResponse.add_member(:usage_totals, Shapes::ShapeRef.new(shape: __listOfUsageTotal, location_name: "usageTotals"))
832
848
  GetUsageTotalsResponse.struct_class = Types::GetUsageTotalsResponse
833
849
 
@@ -874,6 +890,12 @@ module Aws::Macie2
874
890
  IpOwner.add_member(:org, Shapes::ShapeRef.new(shape: __string, location_name: "org"))
875
891
  IpOwner.struct_class = Types::IpOwner
876
892
 
893
+ JobDetails.add_member(:is_defined_in_job, Shapes::ShapeRef.new(shape: IsDefinedInJob, location_name: "isDefinedInJob"))
894
+ JobDetails.add_member(:is_monitored_by_job, Shapes::ShapeRef.new(shape: IsMonitoredByJob, location_name: "isMonitoredByJob"))
895
+ JobDetails.add_member(:last_job_id, Shapes::ShapeRef.new(shape: __string, location_name: "lastJobId"))
896
+ JobDetails.add_member(:last_job_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastJobRunTime"))
897
+ JobDetails.struct_class = Types::JobDetails
898
+
877
899
  JobScheduleFrequency.add_member(:daily_schedule, Shapes::ShapeRef.new(shape: DailySchedule, location_name: "dailySchedule"))
878
900
  JobScheduleFrequency.add_member(:monthly_schedule, Shapes::ShapeRef.new(shape: MonthlySchedule, location_name: "monthlySchedule"))
879
901
  JobScheduleFrequency.add_member(:weekly_schedule, Shapes::ShapeRef.new(shape: WeeklySchedule, location_name: "weeklySchedule"))
@@ -1067,8 +1089,8 @@ module Aws::Macie2
1067
1089
  S3Bucket.add_member(:tags, Shapes::ShapeRef.new(shape: KeyValuePairList, location_name: "tags"))
1068
1090
  S3Bucket.struct_class = Types::S3Bucket
1069
1091
 
1070
- S3BucketDefinitionForJob.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1071
- S3BucketDefinitionForJob.add_member(:buckets, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "buckets"))
1092
+ S3BucketDefinitionForJob.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "accountId"))
1093
+ S3BucketDefinitionForJob.add_member(:buckets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "buckets"))
1072
1094
  S3BucketDefinitionForJob.struct_class = Types::S3BucketDefinitionForJob
1073
1095
 
1074
1096
  S3BucketOwner.add_member(:display_name, Shapes::ShapeRef.new(shape: __string, location_name: "displayName"))
@@ -97,19 +97,19 @@ module Aws::Macie2
97
97
  include Aws::Structure
98
98
  end
99
99
 
100
- # Provides information about account-level permissions settings that
100
+ # Provides information about the account-level permissions settings that
101
101
  # apply to an S3 bucket.
102
102
  #
103
103
  # @!attribute [rw] block_public_access
104
104
  # Provides information about the block public access settings for an
105
105
  # S3 bucket. These settings can apply to a bucket at the account level
106
106
  # or bucket level. For detailed information about each setting, see
107
- # [Using Amazon S3 block public access][1] in the *Amazon Simple
108
- # Storage Service Developer Guide*.
107
+ # [Blocking public access to your Amazon S3 storage][1] in the *Amazon
108
+ # Simple Storage Service User Guide*.
109
109
  #
110
110
  #
111
111
  #
112
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
112
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
113
113
  # @return [Types::BlockPublicAccess]
114
114
  #
115
115
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AccountLevelPermissions AWS API Documentation
@@ -306,13 +306,13 @@ module Aws::Macie2
306
306
 
307
307
  # Provides information about the block public access settings for an S3
308
308
  # bucket. These settings can apply to a bucket at the account level or
309
- # bucket level. For detailed information about each setting, see [Using
310
- # Amazon S3 block public access][1] in the *Amazon Simple Storage
311
- # Service Developer Guide*.
309
+ # bucket level. For detailed information about each setting, see
310
+ # [Blocking public access to your Amazon S3 storage][1] in the *Amazon
311
+ # Simple Storage Service User Guide*.
312
312
  #
313
313
  #
314
314
  #
315
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
315
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
316
316
  #
317
317
  # @!attribute [rw] block_public_acls
318
318
  # @return [Boolean]
@@ -365,7 +365,8 @@ module Aws::Macie2
365
365
  end
366
366
 
367
367
  # Provides information about the number of S3 buckets that use certain
368
- # types of server-side encryption or don't encrypt objects by default.
368
+ # types of server-side encryption by default or don't encrypt new
369
+ # objects by default.
369
370
  #
370
371
  # @!attribute [rw] kms_managed
371
372
  # @return [Integer]
@@ -412,7 +413,7 @@ module Aws::Macie2
412
413
  include Aws::Structure
413
414
  end
414
415
 
415
- # Specifies the operator to use in an attribute-based condition that
416
+ # Specifies the operator to use in a property-based condition that
416
417
  # filters the results of a query for information about S3 buckets.
417
418
  #
418
419
  # @note When making an API call, you may pass BucketCriteriaAdditionalProperties
@@ -475,12 +476,12 @@ module Aws::Macie2
475
476
  # Provides information about the block public access settings for an
476
477
  # S3 bucket. These settings can apply to a bucket at the account level
477
478
  # or bucket level. For detailed information about each setting, see
478
- # [Using Amazon S3 block public access][1] in the *Amazon Simple
479
- # Storage Service Developer Guide*.
479
+ # [Blocking public access to your Amazon S3 storage][1] in the *Amazon
480
+ # Simple Storage Service User Guide*.
480
481
  #
481
482
  #
482
483
  #
483
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
484
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
484
485
  # @return [Types::BlockPublicAccess]
485
486
  #
486
487
  # @!attribute [rw] bucket_policy
@@ -519,6 +520,12 @@ module Aws::Macie2
519
520
  # @!attribute [rw] classifiable_size_in_bytes
520
521
  # @return [Integer]
521
522
  #
523
+ # @!attribute [rw] job_details
524
+ # Specifies whether any one-time or recurring classification jobs are
525
+ # configured to analyze data in an S3 bucket, and, if so, the details
526
+ # of the job that ran most recently.
527
+ # @return [Types::JobDetails]
528
+ #
522
529
  # @!attribute [rw] last_updated
523
530
  # @return [Time]
524
531
  #
@@ -545,6 +552,18 @@ module Aws::Macie2
545
552
  # accounts and, if so, which accounts.
546
553
  # @return [Types::ReplicationDetails]
547
554
  #
555
+ # @!attribute [rw] server_side_encryption
556
+ # Provides information about the default server-side encryption
557
+ # settings for an S3 bucket. For detailed information about these
558
+ # settings, see [Setting default server-side encryption behavior for
559
+ # Amazon S3 buckets][1] in the *Amazon Simple Storage Service User
560
+ # Guide*.
561
+ #
562
+ #
563
+ #
564
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
565
+ # @return [Types::BucketServerSideEncryption]
566
+ #
548
567
  # @!attribute [rw] shared_access
549
568
  # @return [String]
550
569
  #
@@ -585,12 +604,14 @@ module Aws::Macie2
585
604
  :bucket_name,
586
605
  :classifiable_object_count,
587
606
  :classifiable_size_in_bytes,
607
+ :job_details,
588
608
  :last_updated,
589
609
  :object_count,
590
610
  :object_count_by_encryption_type,
591
611
  :public_access,
592
612
  :region,
593
613
  :replication_details,
614
+ :server_side_encryption,
594
615
  :shared_access,
595
616
  :size_in_bytes,
596
617
  :size_in_bytes_compressed,
@@ -606,8 +627,8 @@ module Aws::Macie2
606
627
  # permissions settings for an S3 bucket.
607
628
  #
608
629
  # @!attribute [rw] account_level_permissions
609
- # Provides information about account-level permissions settings that
610
- # apply to an S3 bucket.
630
+ # Provides information about the account-level permissions settings
631
+ # that apply to an S3 bucket.
611
632
  # @return [Types::AccountLevelPermissions]
612
633
  #
613
634
  # @!attribute [rw] bucket_level_permissions
@@ -662,6 +683,30 @@ module Aws::Macie2
662
683
  include Aws::Structure
663
684
  end
664
685
 
686
+ # Provides information about the default server-side encryption settings
687
+ # for an S3 bucket. For detailed information about these settings, see
688
+ # [Setting default server-side encryption behavior for Amazon S3
689
+ # buckets][1] in the *Amazon Simple Storage Service User Guide*.
690
+ #
691
+ #
692
+ #
693
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucket-encryption.html
694
+ #
695
+ # @!attribute [rw] kms_master_key_id
696
+ # @return [String]
697
+ #
698
+ # @!attribute [rw] type
699
+ # @return [String]
700
+ #
701
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketServerSideEncryption AWS API Documentation
702
+ #
703
+ class BucketServerSideEncryption < Struct.new(
704
+ :kms_master_key_id,
705
+ :type)
706
+ SENSITIVE = []
707
+ include Aws::Structure
708
+ end
709
+
665
710
  # Specifies criteria for sorting the results of a query for information
666
711
  # about S3 buckets.
667
712
  #
@@ -862,8 +907,8 @@ module Aws::Macie2
862
907
  # s3_job_definition: { # required
863
908
  # bucket_definitions: [
864
909
  # {
865
- # account_id: "__string",
866
- # buckets: ["__string"],
910
+ # account_id: "__string", # required
911
+ # buckets: ["__string"], # required
867
912
  # },
868
913
  # ],
869
914
  # scoping: {
@@ -871,12 +916,12 @@ module Aws::Macie2
871
916
  # and: [
872
917
  # {
873
918
  # simple_scope_term: {
874
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
875
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
919
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
920
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
876
921
  # values: ["__string"],
877
922
  # },
878
923
  # tag_scope_term: {
879
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
924
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
880
925
  # key: "__string",
881
926
  # tag_values: [
882
927
  # {
@@ -893,12 +938,12 @@ module Aws::Macie2
893
938
  # and: [
894
939
  # {
895
940
  # simple_scope_term: {
896
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
897
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
941
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
942
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
898
943
  # values: ["__string"],
899
944
  # },
900
945
  # tag_scope_term: {
901
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
946
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
902
947
  # key: "__string",
903
948
  # tag_values: [
904
949
  # {
@@ -1294,7 +1339,13 @@ module Aws::Macie2
1294
1339
  class CreateSampleFindingsResponse < Aws::EmptyStructure; end
1295
1340
 
1296
1341
  # Specifies the operator to use in a property-based condition that
1297
- # filters the results of a query for findings.
1342
+ # filters the results of a query for findings. For detailed information
1343
+ # and examples of each operator, see [Fundamentals of filtering
1344
+ # findings][1] in the *Amazon Macie User Guide*.
1345
+ #
1346
+ #
1347
+ #
1348
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html
1298
1349
  #
1299
1350
  # @note When making an API call, you may pass CriterionAdditionalProperties
1300
1351
  # data as a hash:
@@ -1623,7 +1674,7 @@ module Aws::Macie2
1623
1674
  # }
1624
1675
  #
1625
1676
  # @!attribute [rw] criteria
1626
- # Specifies, as a map, one or more attribute-based conditions that
1677
+ # Specifies, as a map, one or more property-based conditions that
1627
1678
  # filter the results of a query for information about S3 buckets.
1628
1679
  # @return [Hash<String,Types::BucketCriteriaAdditionalProperties>]
1629
1680
  #
@@ -1757,10 +1808,14 @@ module Aws::Macie2
1757
1808
  # @return [Hash<String,String>]
1758
1809
  #
1759
1810
  # @!attribute [rw] user_paused_details
1760
- # Provides information about when a classification job was paused and
1761
- # when it will expire and be cancelled if it isn't resumed. This
1762
- # object is present only if a job's current status (jobStatus) is
1763
- # USER\_PAUSED.
1811
+ # Provides information about when a classification job was paused. For
1812
+ # a one-time job, this object also specifies when the job will expire
1813
+ # and be cancelled if it isn't resumed. For a recurring job, this
1814
+ # object also specifies when the paused job run will expire and be
1815
+ # cancelled if it isn't resumed. This object is present only if a
1816
+ # job's current status (jobStatus) is USER\_PAUSED. The information
1817
+ # in this object applies only to a job that was paused while it had a
1818
+ # status of RUNNING.
1764
1819
  # @return [Types::UserPausedDetails]
1765
1820
  #
1766
1821
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
@@ -2172,8 +2227,16 @@ module Aws::Macie2
2172
2227
  # }
2173
2228
  #
2174
2229
  # @!attribute [rw] criterion
2175
- # Specifies a condition that defines a property, operator, and value
2176
- # to use to filter the results of a query for findings.
2230
+ # Specifies a condition that defines a property, operator, and one or
2231
+ # more values to filter the results of a query for findings. The
2232
+ # number of values depends on the property and operator specified by
2233
+ # the condition. For information about defining filter conditions, see
2234
+ # [Fundamentals of filtering findings][1] in the *Amazon Macie User
2235
+ # Guide*.
2236
+ #
2237
+ #
2238
+ #
2239
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html
2177
2240
  # @return [Hash<String,Types::CriterionAdditionalProperties>]
2178
2241
  #
2179
2242
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingCriteria AWS API Documentation
@@ -2281,8 +2344,8 @@ module Aws::Macie2
2281
2344
  #
2282
2345
  # @!attribute [rw] bucket_count_by_encryption_type
2283
2346
  # Provides information about the number of S3 buckets that use certain
2284
- # types of server-side encryption or don't encrypt objects by
2285
- # default.
2347
+ # types of server-side encryption by default or don't encrypt new
2348
+ # objects by default.
2286
2349
  # @return [Types::BucketCountByEncryptionType]
2287
2350
  #
2288
2351
  # @!attribute [rw] bucket_count_by_shared_access_type
@@ -2776,8 +2839,8 @@ module Aws::Macie2
2776
2839
  end
2777
2840
 
2778
2841
  # Specifies criteria for filtering, sorting, and paginating the results
2779
- # of a query for quotas and aggregated usage data for one or more
2780
- # accounts.
2842
+ # of a query for quotas and aggregated usage data for one or more Amazon
2843
+ # Macie accounts.
2781
2844
  #
2782
2845
  # @note When making an API call, you may pass GetUsageStatisticsRequest
2783
2846
  # data as a hash:
@@ -2796,6 +2859,7 @@ module Aws::Macie2
2796
2859
  # key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
2797
2860
  # order_by: "ASC", # accepts ASC, DESC
2798
2861
  # },
2862
+ # time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
2799
2863
  # }
2800
2864
  #
2801
2865
  # @!attribute [rw] filter_by
@@ -2808,23 +2872,29 @@ module Aws::Macie2
2808
2872
  # @return [String]
2809
2873
  #
2810
2874
  # @!attribute [rw] sort_by
2811
- # Specifies criteria for sorting the results of a query for account
2812
- # quotas and usage data.
2875
+ # Specifies criteria for sorting the results of a query for Amazon
2876
+ # Macie account quotas and usage data.
2813
2877
  # @return [Types::UsageStatisticsSortBy]
2814
2878
  #
2879
+ # @!attribute [rw] time_range
2880
+ # An inclusive time period that Amazon Macie usage data applies to.
2881
+ # Possible values are:
2882
+ # @return [String]
2883
+ #
2815
2884
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsRequest AWS API Documentation
2816
2885
  #
2817
2886
  class GetUsageStatisticsRequest < Struct.new(
2818
2887
  :filter_by,
2819
2888
  :max_results,
2820
2889
  :next_token,
2821
- :sort_by)
2890
+ :sort_by,
2891
+ :time_range)
2822
2892
  SENSITIVE = []
2823
2893
  include Aws::Structure
2824
2894
  end
2825
2895
 
2826
2896
  # Provides the results of a query that retrieved quotas and aggregated
2827
- # usage data for one or more accounts.
2897
+ # usage data for one or more Amazon Macie accounts.
2828
2898
  #
2829
2899
  # @!attribute [rw] next_token
2830
2900
  # @return [String]
@@ -2832,23 +2902,46 @@ module Aws::Macie2
2832
2902
  # @!attribute [rw] records
2833
2903
  # @return [Array<Types::UsageRecord>]
2834
2904
  #
2905
+ # @!attribute [rw] time_range
2906
+ # An inclusive time period that Amazon Macie usage data applies to.
2907
+ # Possible values are:
2908
+ # @return [String]
2909
+ #
2835
2910
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageStatisticsResponse AWS API Documentation
2836
2911
  #
2837
2912
  class GetUsageStatisticsResponse < Struct.new(
2838
2913
  :next_token,
2839
- :records)
2914
+ :records,
2915
+ :time_range)
2840
2916
  SENSITIVE = []
2841
2917
  include Aws::Structure
2842
2918
  end
2843
2919
 
2844
- # @api private
2920
+ # @note When making an API call, you may pass GetUsageTotalsRequest
2921
+ # data as a hash:
2922
+ #
2923
+ # {
2924
+ # time_range: "__string",
2925
+ # }
2926
+ #
2927
+ # @!attribute [rw] time_range
2928
+ # @return [String]
2845
2929
  #
2846
2930
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsRequest AWS API Documentation
2847
2931
  #
2848
- class GetUsageTotalsRequest < Aws::EmptyStructure; end
2932
+ class GetUsageTotalsRequest < Struct.new(
2933
+ :time_range)
2934
+ SENSITIVE = []
2935
+ include Aws::Structure
2936
+ end
2849
2937
 
2850
2938
  # Provides the results of a query that retrieved aggregated usage data
2851
- # for an account during the past 30 days.
2939
+ # for an Amazon Macie account.
2940
+ #
2941
+ # @!attribute [rw] time_range
2942
+ # An inclusive time period that Amazon Macie usage data applies to.
2943
+ # Possible values are:
2944
+ # @return [String]
2852
2945
  #
2853
2946
  # @!attribute [rw] usage_totals
2854
2947
  # @return [Array<Types::UsageTotal>]
@@ -2856,6 +2949,7 @@ module Aws::Macie2
2856
2949
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetUsageTotalsResponse AWS API Documentation
2857
2950
  #
2858
2951
  class GetUsageTotalsResponse < Struct.new(
2952
+ :time_range,
2859
2953
  :usage_totals)
2860
2954
  SENSITIVE = []
2861
2955
  include Aws::Structure
@@ -3060,6 +3154,33 @@ module Aws::Macie2
3060
3154
  include Aws::Structure
3061
3155
  end
3062
3156
 
3157
+ # Specifies whether any one-time or recurring classification jobs are
3158
+ # configured to analyze data in an S3 bucket, and, if so, the details of
3159
+ # the job that ran most recently.
3160
+ #
3161
+ # @!attribute [rw] is_defined_in_job
3162
+ # @return [String]
3163
+ #
3164
+ # @!attribute [rw] is_monitored_by_job
3165
+ # @return [String]
3166
+ #
3167
+ # @!attribute [rw] last_job_id
3168
+ # @return [String]
3169
+ #
3170
+ # @!attribute [rw] last_job_run_time
3171
+ # @return [Time]
3172
+ #
3173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobDetails AWS API Documentation
3174
+ #
3175
+ class JobDetails < Struct.new(
3176
+ :is_defined_in_job,
3177
+ :is_monitored_by_job,
3178
+ :last_job_id,
3179
+ :last_job_run_time)
3180
+ SENSITIVE = []
3181
+ include Aws::Structure
3182
+ end
3183
+
3063
3184
  # Specifies the recurrence pattern for running a classification job.
3064
3185
  #
3065
3186
  # @note When making an API call, you may pass JobScheduleFrequency
@@ -3109,12 +3230,12 @@ module Aws::Macie2
3109
3230
  #
3110
3231
  # {
3111
3232
  # simple_scope_term: {
3112
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3113
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
3233
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3234
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
3114
3235
  # values: ["__string"],
3115
3236
  # },
3116
3237
  # tag_scope_term: {
3117
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3238
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3118
3239
  # key: "__string",
3119
3240
  # tag_values: [
3120
3241
  # {
@@ -3157,12 +3278,12 @@ module Aws::Macie2
3157
3278
  # and: [
3158
3279
  # {
3159
3280
  # simple_scope_term: {
3160
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3161
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
3281
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3282
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
3162
3283
  # values: ["__string"],
3163
3284
  # },
3164
3285
  # tag_scope_term: {
3165
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3286
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3166
3287
  # key: "__string",
3167
3288
  # tag_values: [
3168
3289
  # {
@@ -3219,10 +3340,14 @@ module Aws::Macie2
3219
3340
  # @return [String]
3220
3341
  #
3221
3342
  # @!attribute [rw] user_paused_details
3222
- # Provides information about when a classification job was paused and
3223
- # when it will expire and be cancelled if it isn't resumed. This
3224
- # object is present only if a job's current status (jobStatus) is
3225
- # USER\_PAUSED.
3343
+ # Provides information about when a classification job was paused. For
3344
+ # a one-time job, this object also specifies when the job will expire
3345
+ # and be cancelled if it isn't resumed. For a recurring job, this
3346
+ # object also specifies when the paused job run will expire and be
3347
+ # cancelled if it isn't resumed. This object is present only if a
3348
+ # job's current status (jobStatus) is USER\_PAUSED. The information
3349
+ # in this object applies only to a job that was paused while it had a
3350
+ # status of RUNNING.
3226
3351
  # @return [Types::UserPausedDetails]
3227
3352
  #
3228
3353
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
@@ -3289,14 +3414,14 @@ module Aws::Macie2
3289
3414
  # filter_criteria: {
3290
3415
  # excludes: [
3291
3416
  # {
3292
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3417
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3293
3418
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3294
3419
  # values: ["__string"],
3295
3420
  # },
3296
3421
  # ],
3297
3422
  # includes: [
3298
3423
  # {
3299
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3424
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3300
3425
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3301
3426
  # values: ["__string"],
3302
3427
  # },
@@ -3562,14 +3687,14 @@ module Aws::Macie2
3562
3687
  # {
3563
3688
  # excludes: [
3564
3689
  # {
3565
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3690
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3566
3691
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3567
3692
  # values: ["__string"],
3568
3693
  # },
3569
3694
  # ],
3570
3695
  # includes: [
3571
3696
  # {
3572
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3697
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3573
3698
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3574
3699
  # values: ["__string"],
3575
3700
  # },
@@ -3599,7 +3724,7 @@ module Aws::Macie2
3599
3724
  # data as a hash:
3600
3725
  #
3601
3726
  # {
3602
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3727
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3603
3728
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3604
3729
  # values: ["__string"],
3605
3730
  # }
@@ -4180,15 +4305,15 @@ module Aws::Macie2
4180
4305
  include Aws::Structure
4181
4306
  end
4182
4307
 
4183
- # Specifies which S3 buckets contain the objects that a classification
4184
- # job analyzes.
4308
+ # Specifies which AWS account owns the S3 buckets that a classification
4309
+ # job analyzes, and the buckets to analyze for the account.
4185
4310
  #
4186
4311
  # @note When making an API call, you may pass S3BucketDefinitionForJob
4187
4312
  # data as a hash:
4188
4313
  #
4189
4314
  # {
4190
- # account_id: "__string",
4191
- # buckets: ["__string"],
4315
+ # account_id: "__string", # required
4316
+ # buckets: ["__string"], # required
4192
4317
  # }
4193
4318
  #
4194
4319
  # @!attribute [rw] account_id
@@ -4263,8 +4388,8 @@ module Aws::Macie2
4263
4388
  # {
4264
4389
  # bucket_definitions: [
4265
4390
  # {
4266
- # account_id: "__string",
4267
- # buckets: ["__string"],
4391
+ # account_id: "__string", # required
4392
+ # buckets: ["__string"], # required
4268
4393
  # },
4269
4394
  # ],
4270
4395
  # scoping: {
@@ -4272,12 +4397,12 @@ module Aws::Macie2
4272
4397
  # and: [
4273
4398
  # {
4274
4399
  # simple_scope_term: {
4275
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4276
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4400
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4401
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4277
4402
  # values: ["__string"],
4278
4403
  # },
4279
4404
  # tag_scope_term: {
4280
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4405
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4281
4406
  # key: "__string",
4282
4407
  # tag_values: [
4283
4408
  # {
@@ -4294,12 +4419,12 @@ module Aws::Macie2
4294
4419
  # and: [
4295
4420
  # {
4296
4421
  # simple_scope_term: {
4297
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4298
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4422
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4423
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4299
4424
  # values: ["__string"],
4300
4425
  # },
4301
4426
  # tag_scope_term: {
4302
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4427
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4303
4428
  # key: "__string",
4304
4429
  # tag_values: [
4305
4430
  # {
@@ -4410,12 +4535,12 @@ module Aws::Macie2
4410
4535
  # and: [
4411
4536
  # {
4412
4537
  # simple_scope_term: {
4413
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4414
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4538
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4539
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4415
4540
  # values: ["__string"],
4416
4541
  # },
4417
4542
  # tag_scope_term: {
4418
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4543
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4419
4544
  # key: "__string",
4420
4545
  # tag_values: [
4421
4546
  # {
@@ -4432,12 +4557,12 @@ module Aws::Macie2
4432
4557
  # and: [
4433
4558
  # {
4434
4559
  # simple_scope_term: {
4435
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4436
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4560
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4561
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4437
4562
  # values: ["__string"],
4438
4563
  # },
4439
4564
  # tag_scope_term: {
4440
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4565
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4441
4566
  # key: "__string",
4442
4567
  # tag_values: [
4443
4568
  # {
@@ -4523,7 +4648,7 @@ module Aws::Macie2
4523
4648
  include Aws::Structure
4524
4649
  end
4525
4650
 
4526
- # Specifies a current quota for an account.
4651
+ # Specifies a current quota for an Amazon Macie account.
4527
4652
  #
4528
4653
  # @!attribute [rw] is_service_limited
4529
4654
  # @return [Boolean]
@@ -4655,8 +4780,8 @@ module Aws::Macie2
4655
4780
  # data as a hash:
4656
4781
  #
4657
4782
  # {
4658
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4659
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4783
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4784
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4660
4785
  # values: ["__string"],
4661
4786
  # }
4662
4787
  #
@@ -4769,7 +4894,7 @@ module Aws::Macie2
4769
4894
  # data as a hash:
4770
4895
  #
4771
4896
  # {
4772
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4897
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4773
4898
  # key: "__string",
4774
4899
  # tag_values: [
4775
4900
  # {
@@ -4952,7 +5077,13 @@ module Aws::Macie2
4952
5077
  #
4953
5078
  class UntagResourceResponse < Aws::EmptyStructure; end
4954
5079
 
4955
- # Changes the status of a classification job.
5080
+ # Changes the status of a classification job. For more information about
5081
+ # pausing, resuming, or cancelling jobs, see [Managing and monitoring
5082
+ # sensitive data discovery jobs][1] in the *Amazon Macie User Guide*.
5083
+ #
5084
+ #
5085
+ #
5086
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html
4956
5087
  #
4957
5088
  # @note When making an API call, you may pass UpdateClassificationJobRequest
4958
5089
  # data as a hash:
@@ -5153,23 +5284,23 @@ module Aws::Macie2
5153
5284
  class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end
5154
5285
 
5155
5286
  # Provides data for a specific usage metric and the corresponding quota
5156
- # for an account. The value for the metric is an aggregated value that
5157
- # reports usage during the past 30 days.
5287
+ # for an Amazon Macie account.
5158
5288
  #
5159
5289
  # @!attribute [rw] currency
5160
- # The type of currency that data for a usage metric is reported in.
5161
- # Possible values are:
5290
+ # The type of currency that the data for an Amazon Macie usage metric
5291
+ # is reported in. Possible values are:
5162
5292
  # @return [String]
5163
5293
  #
5164
5294
  # @!attribute [rw] estimated_cost
5165
5295
  # @return [String]
5166
5296
  #
5167
5297
  # @!attribute [rw] service_limit
5168
- # Specifies a current quota for an account.
5298
+ # Specifies a current quota for an Amazon Macie account.
5169
5299
  # @return [Types::ServiceLimit]
5170
5300
  #
5171
5301
  # @!attribute [rw] type
5172
- # The name of a usage metric for an account. Possible values are:
5302
+ # The name of an Amazon Macie usage metric for an account. Possible
5303
+ # values are:
5173
5304
  # @return [String]
5174
5305
  #
5175
5306
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageByAccount AWS API Documentation
@@ -5183,7 +5314,7 @@ module Aws::Macie2
5183
5314
  include Aws::Structure
5184
5315
  end
5185
5316
 
5186
- # Provides quota and aggregated usage data for an account.
5317
+ # Provides quota and aggregated usage data for an Amazon Macie account.
5187
5318
  #
5188
5319
  # @!attribute [rw] account_id
5189
5320
  # @return [String]
@@ -5204,8 +5335,9 @@ module Aws::Macie2
5204
5335
  include Aws::Structure
5205
5336
  end
5206
5337
 
5207
- # Specifies a condition for filtering the results of a query for account
5208
- # quotas and usage data.
5338
+ # Specifies a condition for filtering the results of a query for the
5339
+ # quotas and usage data that applies to one or more Amazon Macie
5340
+ # accounts.
5209
5341
  #
5210
5342
  # @note When making an API call, you may pass UsageStatisticsFilter
5211
5343
  # data as a hash:
@@ -5218,12 +5350,13 @@ module Aws::Macie2
5218
5350
  #
5219
5351
  # @!attribute [rw] comparator
5220
5352
  # The operator to use in a condition that filters the results of a
5221
- # query for account quotas and usage data. Valid values are:
5353
+ # query for Amazon Macie account quotas and usage data. Valid values
5354
+ # are:
5222
5355
  # @return [String]
5223
5356
  #
5224
5357
  # @!attribute [rw] key
5225
5358
  # The field to use in a condition that filters the results of a query
5226
- # for account quotas and usage data. Valid values are:
5359
+ # for Amazon Macie account quotas and usage data. Valid values are:
5227
5360
  # @return [String]
5228
5361
  #
5229
5362
  # @!attribute [rw] values
@@ -5239,8 +5372,8 @@ module Aws::Macie2
5239
5372
  include Aws::Structure
5240
5373
  end
5241
5374
 
5242
- # Specifies criteria for sorting the results of a query for account
5243
- # quotas and usage data.
5375
+ # Specifies criteria for sorting the results of a query for Amazon Macie
5376
+ # account quotas and usage data.
5244
5377
  #
5245
5378
  # @note When making an API call, you may pass UsageStatisticsSortBy
5246
5379
  # data as a hash:
@@ -5251,8 +5384,8 @@ module Aws::Macie2
5251
5384
  # }
5252
5385
  #
5253
5386
  # @!attribute [rw] key
5254
- # The field to use to sort the results of a query for account quotas
5255
- # and usage data. Valid values are:
5387
+ # The field to use to sort the results of a query for Amazon Macie
5388
+ # account quotas and usage data. Valid values are:
5256
5389
  # @return [String]
5257
5390
  #
5258
5391
  # @!attribute [rw] order_by
@@ -5267,19 +5400,22 @@ module Aws::Macie2
5267
5400
  include Aws::Structure
5268
5401
  end
5269
5402
 
5270
- # Provides aggregated data for a usage metric. The value for the metric
5271
- # reports usage data for an account during the past 30 days.
5403
+ # Provides aggregated data for an Amazon Macie usage metric. The value
5404
+ # for the metric reports estimated usage data for an account for the
5405
+ # preceding 30 days or the current calendar month to date, depending on
5406
+ # the time period (timeRange) specified in the request.
5272
5407
  #
5273
5408
  # @!attribute [rw] currency
5274
- # The type of currency that data for a usage metric is reported in.
5275
- # Possible values are:
5409
+ # The type of currency that the data for an Amazon Macie usage metric
5410
+ # is reported in. Possible values are:
5276
5411
  # @return [String]
5277
5412
  #
5278
5413
  # @!attribute [rw] estimated_cost
5279
5414
  # @return [String]
5280
5415
  #
5281
5416
  # @!attribute [rw] type
5282
- # The name of a usage metric for an account. Possible values are:
5417
+ # The name of an Amazon Macie usage metric for an account. Possible
5418
+ # values are:
5283
5419
  # @return [String]
5284
5420
  #
5285
5421
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UsageTotal AWS API Documentation
@@ -5373,10 +5509,14 @@ module Aws::Macie2
5373
5509
  include Aws::Structure
5374
5510
  end
5375
5511
 
5376
- # Provides information about when a classification job was paused and
5377
- # when it will expire and be cancelled if it isn't resumed. This object
5378
- # is present only if a job's current status (jobStatus) is
5379
- # USER\_PAUSED.
5512
+ # Provides information about when a classification job was paused. For a
5513
+ # one-time job, this object also specifies when the job will expire and
5514
+ # be cancelled if it isn't resumed. For a recurring job, this object
5515
+ # also specifies when the paused job run will expire and be cancelled if
5516
+ # it isn't resumed. This object is present only if a job's current
5517
+ # status (jobStatus) is USER\_PAUSED. The information in this object
5518
+ # applies only to a job that was paused while it had a status of
5519
+ # RUNNING.
5380
5520
  #
5381
5521
  # @!attribute [rw] job_expires_at
5382
5522
  # @return [Time]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-macie2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-17 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.109.0
22
+ version: 3.112.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.109.0
32
+ version: 3.112.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement