aws-sdk-macie2 1.16.0 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a39830b8290bee8a7b4b74530fce49c942bab720da72120e25ea8cab49fe08c
4
- data.tar.gz: 234d19d57c41adb310daf71436289c9d42cb95d46ae3932db8756bff017e1c03
3
+ metadata.gz: afdd5b3484a8aad185f6e4196ec27505b74baf4b8ce9e4243a38b092846665b6
4
+ data.tar.gz: cc475b438b162af54d33535cc7c2882bde6913e71bd721118510d9d7ddfd426f
5
5
  SHA512:
6
- metadata.gz: b6009ff895a7a67c19787744e2eafbf6464ea57fbfda24d340369a7b2c2f43044b8cbf777d0c48dbc90340822289778e96780a35818d5c0a6bb1a9082e62feaa
7
- data.tar.gz: d35143c5e4039adf58c5ab0f0b708d5054d821de2ecf29b2a04c5bc7d117d436b9cb490039e804858d9f9a05099dbff191a43c22c54a0de17557a9bc3c8a1d52
6
+ metadata.gz: a9782b47f9ee136cda1143e57f4fe4aa8d1476ccb19a8a287cdd46d8951d5a7a9d1236b7b8edb864fbe3dbc07a86f0822008785579b20ec15363c657ce2a1fc6
7
+ data.tar.gz: 5ebae6c8af1ca0b2529fa7af0ed24ffb15df6c3d5c3cd5bcca5dfaf7a608d76c44ca51bff22ee9ee2ebe97eaf91ad95145f2892cb76b8b75cbd92870e158a49d
@@ -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.16.0'
51
+ GEM_VERSION = '1.21.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
@@ -984,6 +988,7 @@ module Aws::Macie2
984
988
  # * {Types::DescribeClassificationJobResponse#job_id #job_id} => String
985
989
  # * {Types::DescribeClassificationJobResponse#job_status #job_status} => String
986
990
  # * {Types::DescribeClassificationJobResponse#job_type #job_type} => String
991
+ # * {Types::DescribeClassificationJobResponse#last_run_error_status #last_run_error_status} => Types::LastRunErrorStatus
987
992
  # * {Types::DescribeClassificationJobResponse#last_run_time #last_run_time} => Time
988
993
  # * {Types::DescribeClassificationJobResponse#name #name} => String
989
994
  # * {Types::DescribeClassificationJobResponse#s3_job_definition #s3_job_definition} => Types::S3JobDefinition
@@ -1011,6 +1016,7 @@ module Aws::Macie2
1011
1016
  # resp.job_id #=> String
1012
1017
  # resp.job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1013
1018
  # resp.job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1019
+ # resp.last_run_error_status.code #=> String, one of "NONE", "ERROR"
1014
1020
  # resp.last_run_time #=> Time
1015
1021
  # resp.name #=> String
1016
1022
  # resp.s3_job_definition.bucket_definitions #=> Array
@@ -1018,22 +1024,22 @@ module Aws::Macie2
1018
1024
  # resp.s3_job_definition.bucket_definitions[0].buckets #=> Array
1019
1025
  # resp.s3_job_definition.bucket_definitions[0].buckets[0] #=> String
1020
1026
  # resp.s3_job_definition.scoping.excludes.and #=> Array
1021
- # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1022
- # 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"
1027
+ # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1028
+ # 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"
1023
1029
  # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values #=> Array
1024
1030
  # resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values[0] #=> String
1025
- # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1031
+ # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1026
1032
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.key #=> String
1027
1033
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.tag_values #=> Array
1028
1034
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.tag_values[0].key #=> String
1029
1035
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.tag_values[0].value #=> String
1030
1036
  # resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
1031
1037
  # resp.s3_job_definition.scoping.includes.and #=> Array
1032
- # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1033
- # 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"
1038
+ # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1039
+ # 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"
1034
1040
  # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values #=> Array
1035
1041
  # resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values[0] #=> String
1036
- # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS"
1042
+ # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
1037
1043
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.key #=> String
1038
1044
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values #=> Array
1039
1045
  # resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.tag_values[0].key #=> String
@@ -1886,14 +1892,14 @@ module Aws::Macie2
1886
1892
  # filter_criteria: {
1887
1893
  # excludes: [
1888
1894
  # {
1889
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
1895
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
1890
1896
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
1891
1897
  # values: ["__string"],
1892
1898
  # },
1893
1899
  # ],
1894
1900
  # includes: [
1895
1901
  # {
1896
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
1902
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
1897
1903
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
1898
1904
  # values: ["__string"],
1899
1905
  # },
@@ -1918,6 +1924,7 @@ module Aws::Macie2
1918
1924
  # resp.items[0].job_id #=> String
1919
1925
  # resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
1920
1926
  # resp.items[0].job_type #=> String, one of "ONE_TIME", "SCHEDULED"
1927
+ # resp.items[0].last_run_error_status.code #=> String, one of "NONE", "ERROR"
1921
1928
  # resp.items[0].name #=> String
1922
1929
  # resp.items[0].user_paused_details.job_expires_at #=> Time
1923
1930
  # resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
@@ -2537,7 +2544,7 @@ module Aws::Macie2
2537
2544
  params: params,
2538
2545
  config: config)
2539
2546
  context[:gem_name] = 'aws-sdk-macie2'
2540
- context[:gem_version] = '1.16.0'
2547
+ context[:gem_version] = '1.21.0'
2541
2548
  Seahorse::Client::Request.new(handlers, context)
2542
2549
  end
2543
2550
 
@@ -150,7 +150,10 @@ module Aws::Macie2
150
150
  IpCountry = Shapes::StructureShape.new(name: 'IpCountry')
151
151
  IpGeoLocation = Shapes::StructureShape.new(name: 'IpGeoLocation')
152
152
  IpOwner = Shapes::StructureShape.new(name: 'IpOwner')
153
+ IsDefinedInJob = Shapes::StringShape.new(name: 'IsDefinedInJob')
154
+ IsMonitoredByJob = Shapes::StringShape.new(name: 'IsMonitoredByJob')
153
155
  JobComparator = Shapes::StringShape.new(name: 'JobComparator')
156
+ JobDetails = Shapes::StructureShape.new(name: 'JobDetails')
154
157
  JobScheduleFrequency = Shapes::StructureShape.new(name: 'JobScheduleFrequency')
155
158
  JobScopeTerm = Shapes::StructureShape.new(name: 'JobScopeTerm')
156
159
  JobScopingBlock = Shapes::StructureShape.new(name: 'JobScopingBlock')
@@ -159,6 +162,8 @@ module Aws::Macie2
159
162
  JobType = Shapes::StringShape.new(name: 'JobType')
160
163
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
161
164
  KeyValuePairList = Shapes::ListShape.new(name: 'KeyValuePairList')
165
+ LastRunErrorStatus = Shapes::StructureShape.new(name: 'LastRunErrorStatus')
166
+ LastRunErrorStatusCode = Shapes::StringShape.new(name: 'LastRunErrorStatusCode')
162
167
  ListClassificationJobsRequest = Shapes::StructureShape.new(name: 'ListClassificationJobsRequest')
163
168
  ListClassificationJobsResponse = Shapes::StructureShape.new(name: 'ListClassificationJobsResponse')
164
169
  ListCustomDataIdentifiersRequest = Shapes::StructureShape.new(name: 'ListCustomDataIdentifiersRequest')
@@ -398,6 +403,7 @@ module Aws::Macie2
398
403
  BucketMetadata.add_member(:bucket_name, Shapes::ShapeRef.new(shape: __string, location_name: "bucketName"))
399
404
  BucketMetadata.add_member(:classifiable_object_count, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableObjectCount"))
400
405
  BucketMetadata.add_member(:classifiable_size_in_bytes, Shapes::ShapeRef.new(shape: __long, location_name: "classifiableSizeInBytes"))
406
+ BucketMetadata.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, location_name: "jobDetails"))
401
407
  BucketMetadata.add_member(:last_updated, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastUpdated"))
402
408
  BucketMetadata.add_member(:object_count, Shapes::ShapeRef.new(shape: __long, location_name: "objectCount"))
403
409
  BucketMetadata.add_member(:object_count_by_encryption_type, Shapes::ShapeRef.new(shape: ObjectCountByEncryptionType, location_name: "objectCountByEncryptionType"))
@@ -612,6 +618,7 @@ module Aws::Macie2
612
618
  DescribeClassificationJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
613
619
  DescribeClassificationJobResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
614
620
  DescribeClassificationJobResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
621
+ DescribeClassificationJobResponse.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
615
622
  DescribeClassificationJobResponse.add_member(:last_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastRunTime"))
616
623
  DescribeClassificationJobResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
617
624
  DescribeClassificationJobResponse.add_member(:s3_job_definition, Shapes::ShapeRef.new(shape: S3JobDefinition, location_name: "s3JobDefinition"))
@@ -871,6 +878,12 @@ module Aws::Macie2
871
878
  IpOwner.add_member(:org, Shapes::ShapeRef.new(shape: __string, location_name: "org"))
872
879
  IpOwner.struct_class = Types::IpOwner
873
880
 
881
+ JobDetails.add_member(:is_defined_in_job, Shapes::ShapeRef.new(shape: IsDefinedInJob, location_name: "isDefinedInJob"))
882
+ JobDetails.add_member(:is_monitored_by_job, Shapes::ShapeRef.new(shape: IsMonitoredByJob, location_name: "isMonitoredByJob"))
883
+ JobDetails.add_member(:last_job_id, Shapes::ShapeRef.new(shape: __string, location_name: "lastJobId"))
884
+ JobDetails.add_member(:last_job_run_time, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "lastJobRunTime"))
885
+ JobDetails.struct_class = Types::JobDetails
886
+
874
887
  JobScheduleFrequency.add_member(:daily_schedule, Shapes::ShapeRef.new(shape: DailySchedule, location_name: "dailySchedule"))
875
888
  JobScheduleFrequency.add_member(:monthly_schedule, Shapes::ShapeRef.new(shape: MonthlySchedule, location_name: "monthlySchedule"))
876
889
  JobScheduleFrequency.add_member(:weekly_schedule, Shapes::ShapeRef.new(shape: WeeklySchedule, location_name: "weeklySchedule"))
@@ -888,6 +901,7 @@ module Aws::Macie2
888
901
  JobSummary.add_member(:job_id, Shapes::ShapeRef.new(shape: __string, location_name: "jobId"))
889
902
  JobSummary.add_member(:job_status, Shapes::ShapeRef.new(shape: JobStatus, location_name: "jobStatus"))
890
903
  JobSummary.add_member(:job_type, Shapes::ShapeRef.new(shape: JobType, location_name: "jobType"))
904
+ JobSummary.add_member(:last_run_error_status, Shapes::ShapeRef.new(shape: LastRunErrorStatus, location_name: "lastRunErrorStatus"))
891
905
  JobSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
892
906
  JobSummary.add_member(:user_paused_details, Shapes::ShapeRef.new(shape: UserPausedDetails, location_name: "userPausedDetails"))
893
907
  JobSummary.struct_class = Types::JobSummary
@@ -898,6 +912,9 @@ module Aws::Macie2
898
912
 
899
913
  KeyValuePairList.member = Shapes::ShapeRef.new(shape: KeyValuePair)
900
914
 
915
+ LastRunErrorStatus.add_member(:code, Shapes::ShapeRef.new(shape: LastRunErrorStatusCode, location_name: "code"))
916
+ LastRunErrorStatus.struct_class = Types::LastRunErrorStatus
917
+
901
918
  ListClassificationJobsRequest.add_member(:filter_criteria, Shapes::ShapeRef.new(shape: ListJobsFilterCriteria, location_name: "filterCriteria"))
902
919
  ListClassificationJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integer, location_name: "maxResults"))
903
920
  ListClassificationJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
@@ -1060,8 +1077,8 @@ module Aws::Macie2
1060
1077
  S3Bucket.add_member(:tags, Shapes::ShapeRef.new(shape: KeyValuePairList, location_name: "tags"))
1061
1078
  S3Bucket.struct_class = Types::S3Bucket
1062
1079
 
1063
- S3BucketDefinitionForJob.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
1064
- S3BucketDefinitionForJob.add_member(:buckets, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "buckets"))
1080
+ S3BucketDefinitionForJob.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "accountId"))
1081
+ S3BucketDefinitionForJob.add_member(:buckets, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "buckets"))
1065
1082
  S3BucketDefinitionForJob.struct_class = Types::S3BucketDefinitionForJob
1066
1083
 
1067
1084
  S3BucketOwner.add_member(:display_name, Shapes::ShapeRef.new(shape: __string, location_name: "displayName"))
@@ -104,12 +104,12 @@ module Aws::Macie2
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]
@@ -412,7 +412,7 @@ module Aws::Macie2
412
412
  include Aws::Structure
413
413
  end
414
414
 
415
- # Specifies the operator to use in an attribute-based condition that
415
+ # Specifies the operator to use in a property-based condition that
416
416
  # filters the results of a query for information about S3 buckets.
417
417
  #
418
418
  # @note When making an API call, you may pass BucketCriteriaAdditionalProperties
@@ -475,12 +475,12 @@ module Aws::Macie2
475
475
  # Provides information about the block public access settings for an
476
476
  # S3 bucket. These settings can apply to a bucket at the account level
477
477
  # 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*.
478
+ # [Blocking public access to your Amazon S3 storage][1] in the *Amazon
479
+ # Simple Storage Service User Guide*.
480
480
  #
481
481
  #
482
482
  #
483
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html
483
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html
484
484
  # @return [Types::BlockPublicAccess]
485
485
  #
486
486
  # @!attribute [rw] bucket_policy
@@ -519,6 +519,12 @@ module Aws::Macie2
519
519
  # @!attribute [rw] classifiable_size_in_bytes
520
520
  # @return [Integer]
521
521
  #
522
+ # @!attribute [rw] job_details
523
+ # Specifies whether any one-time or recurring classification jobs are
524
+ # configured to analyze data in an S3 bucket, and, if so, the details
525
+ # of the job that ran most recently.
526
+ # @return [Types::JobDetails]
527
+ #
522
528
  # @!attribute [rw] last_updated
523
529
  # @return [Time]
524
530
  #
@@ -585,6 +591,7 @@ module Aws::Macie2
585
591
  :bucket_name,
586
592
  :classifiable_object_count,
587
593
  :classifiable_size_in_bytes,
594
+ :job_details,
588
595
  :last_updated,
589
596
  :object_count,
590
597
  :object_count_by_encryption_type,
@@ -862,8 +869,8 @@ module Aws::Macie2
862
869
  # s3_job_definition: { # required
863
870
  # bucket_definitions: [
864
871
  # {
865
- # account_id: "__string",
866
- # buckets: ["__string"],
872
+ # account_id: "__string", # required
873
+ # buckets: ["__string"], # required
867
874
  # },
868
875
  # ],
869
876
  # scoping: {
@@ -871,12 +878,12 @@ module Aws::Macie2
871
878
  # and: [
872
879
  # {
873
880
  # 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
881
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
882
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
876
883
  # values: ["__string"],
877
884
  # },
878
885
  # tag_scope_term: {
879
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
886
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
880
887
  # key: "__string",
881
888
  # tag_values: [
882
889
  # {
@@ -893,12 +900,12 @@ module Aws::Macie2
893
900
  # and: [
894
901
  # {
895
902
  # 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
903
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
904
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
898
905
  # values: ["__string"],
899
906
  # },
900
907
  # tag_scope_term: {
901
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
908
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
902
909
  # key: "__string",
903
910
  # tag_values: [
904
911
  # {
@@ -1294,7 +1301,13 @@ module Aws::Macie2
1294
1301
  class CreateSampleFindingsResponse < Aws::EmptyStructure; end
1295
1302
 
1296
1303
  # Specifies the operator to use in a property-based condition that
1297
- # filters the results of a query for findings.
1304
+ # filters the results of a query for findings. For detailed information
1305
+ # and examples of each operator, see [Fundamentals of filtering
1306
+ # findings][1] in the *Amazon Macie User Guide*.
1307
+ #
1308
+ #
1309
+ #
1310
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html
1298
1311
  #
1299
1312
  # @note When making an API call, you may pass CriterionAdditionalProperties
1300
1313
  # data as a hash:
@@ -1623,7 +1636,7 @@ module Aws::Macie2
1623
1636
  # }
1624
1637
  #
1625
1638
  # @!attribute [rw] criteria
1626
- # Specifies, as a map, one or more attribute-based conditions that
1639
+ # Specifies, as a map, one or more property-based conditions that
1627
1640
  # filter the results of a query for information about S3 buckets.
1628
1641
  # @return [Hash<String,Types::BucketCriteriaAdditionalProperties>]
1629
1642
  #
@@ -1720,6 +1733,14 @@ module Aws::Macie2
1720
1733
  # The schedule for running a classification job. Valid values are:
1721
1734
  # @return [String]
1722
1735
  #
1736
+ # @!attribute [rw] last_run_error_status
1737
+ # Specifies whether any account- or bucket-level access errors
1738
+ # occurred when a classification job ran. For example, the job is
1739
+ # configured to analyze data for a member account that was suspended,
1740
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
1741
+ # isn't allowed to access.
1742
+ # @return [Types::LastRunErrorStatus]
1743
+ #
1723
1744
  # @!attribute [rw] last_run_time
1724
1745
  # @return [Time]
1725
1746
  #
@@ -1749,10 +1770,14 @@ module Aws::Macie2
1749
1770
  # @return [Hash<String,String>]
1750
1771
  #
1751
1772
  # @!attribute [rw] user_paused_details
1752
- # Provides information about when a classification job was paused and
1753
- # when it will expire and be cancelled if it isn't resumed. This
1754
- # object is present only if a job's current status (jobStatus) is
1755
- # USER\_PAUSED.
1773
+ # Provides information about when a classification job was paused. For
1774
+ # a one-time job, this object also specifies when the job will expire
1775
+ # and be cancelled if it isn't resumed. For a recurring job, this
1776
+ # object also specifies when the paused job run will expire and be
1777
+ # cancelled if it isn't resumed. This object is present only if a
1778
+ # job's current status (jobStatus) is USER\_PAUSED. The information
1779
+ # in this object applies only to a job that was paused while it had a
1780
+ # status of RUNNING.
1756
1781
  # @return [Types::UserPausedDetails]
1757
1782
  #
1758
1783
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
@@ -1767,6 +1792,7 @@ module Aws::Macie2
1767
1792
  :job_id,
1768
1793
  :job_status,
1769
1794
  :job_type,
1795
+ :last_run_error_status,
1770
1796
  :last_run_time,
1771
1797
  :name,
1772
1798
  :s3_job_definition,
@@ -2163,8 +2189,16 @@ module Aws::Macie2
2163
2189
  # }
2164
2190
  #
2165
2191
  # @!attribute [rw] criterion
2166
- # Specifies a condition that defines a property, operator, and value
2167
- # to use to filter the results of a query for findings.
2192
+ # Specifies a condition that defines a property, operator, and one or
2193
+ # more values to filter the results of a query for findings. The
2194
+ # number of values depends on the property and operator specified by
2195
+ # the condition. For information about defining filter conditions, see
2196
+ # [Fundamentals of filtering findings][1] in the *Amazon Macie User
2197
+ # Guide*.
2198
+ #
2199
+ #
2200
+ #
2201
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html
2168
2202
  # @return [Hash<String,Types::CriterionAdditionalProperties>]
2169
2203
  #
2170
2204
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingCriteria AWS API Documentation
@@ -3051,6 +3085,33 @@ module Aws::Macie2
3051
3085
  include Aws::Structure
3052
3086
  end
3053
3087
 
3088
+ # Specifies whether any one-time or recurring classification jobs are
3089
+ # configured to analyze data in an S3 bucket, and, if so, the details of
3090
+ # the job that ran most recently.
3091
+ #
3092
+ # @!attribute [rw] is_defined_in_job
3093
+ # @return [String]
3094
+ #
3095
+ # @!attribute [rw] is_monitored_by_job
3096
+ # @return [String]
3097
+ #
3098
+ # @!attribute [rw] last_job_id
3099
+ # @return [String]
3100
+ #
3101
+ # @!attribute [rw] last_job_run_time
3102
+ # @return [Time]
3103
+ #
3104
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobDetails AWS API Documentation
3105
+ #
3106
+ class JobDetails < Struct.new(
3107
+ :is_defined_in_job,
3108
+ :is_monitored_by_job,
3109
+ :last_job_id,
3110
+ :last_job_run_time)
3111
+ SENSITIVE = []
3112
+ include Aws::Structure
3113
+ end
3114
+
3054
3115
  # Specifies the recurrence pattern for running a classification job.
3055
3116
  #
3056
3117
  # @note When making an API call, you may pass JobScheduleFrequency
@@ -3100,12 +3161,12 @@ module Aws::Macie2
3100
3161
  #
3101
3162
  # {
3102
3163
  # simple_scope_term: {
3103
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3104
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
3164
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3165
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
3105
3166
  # values: ["__string"],
3106
3167
  # },
3107
3168
  # tag_scope_term: {
3108
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3169
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3109
3170
  # key: "__string",
3110
3171
  # tag_values: [
3111
3172
  # {
@@ -3148,12 +3209,12 @@ module Aws::Macie2
3148
3209
  # and: [
3149
3210
  # {
3150
3211
  # simple_scope_term: {
3151
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3152
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
3212
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3213
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
3153
3214
  # values: ["__string"],
3154
3215
  # },
3155
3216
  # tag_scope_term: {
3156
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3217
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3157
3218
  # key: "__string",
3158
3219
  # tag_values: [
3159
3220
  # {
@@ -3198,14 +3259,26 @@ module Aws::Macie2
3198
3259
  # The schedule for running a classification job. Valid values are:
3199
3260
  # @return [String]
3200
3261
  #
3262
+ # @!attribute [rw] last_run_error_status
3263
+ # Specifies whether any account- or bucket-level access errors
3264
+ # occurred when a classification job ran. For example, the job is
3265
+ # configured to analyze data for a member account that was suspended,
3266
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
3267
+ # isn't allowed to access.
3268
+ # @return [Types::LastRunErrorStatus]
3269
+ #
3201
3270
  # @!attribute [rw] name
3202
3271
  # @return [String]
3203
3272
  #
3204
3273
  # @!attribute [rw] user_paused_details
3205
- # Provides information about when a classification job was paused and
3206
- # when it will expire and be cancelled if it isn't resumed. This
3207
- # object is present only if a job's current status (jobStatus) is
3208
- # USER\_PAUSED.
3274
+ # Provides information about when a classification job was paused. For
3275
+ # a one-time job, this object also specifies when the job will expire
3276
+ # and be cancelled if it isn't resumed. For a recurring job, this
3277
+ # object also specifies when the paused job run will expire and be
3278
+ # cancelled if it isn't resumed. This object is present only if a
3279
+ # job's current status (jobStatus) is USER\_PAUSED. The information
3280
+ # in this object applies only to a job that was paused while it had a
3281
+ # status of RUNNING.
3209
3282
  # @return [Types::UserPausedDetails]
3210
3283
  #
3211
3284
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
@@ -3216,6 +3289,7 @@ module Aws::Macie2
3216
3289
  :job_id,
3217
3290
  :job_status,
3218
3291
  :job_type,
3292
+ :last_run_error_status,
3219
3293
  :name,
3220
3294
  :user_paused_details)
3221
3295
  SENSITIVE = []
@@ -3241,6 +3315,26 @@ module Aws::Macie2
3241
3315
  include Aws::Structure
3242
3316
  end
3243
3317
 
3318
+ # Specifies whether any account- or bucket-level access errors occurred
3319
+ # when a classification job ran. For example, the job is configured to
3320
+ # analyze data for a member account that was suspended, or the job is
3321
+ # configured to analyze an S3 bucket that Amazon Macie isn't allowed to
3322
+ # access.
3323
+ #
3324
+ # @!attribute [rw] code
3325
+ # Specifies whether any account- or bucket-level access errors
3326
+ # occurred during the run of a one-time classification job or the most
3327
+ # recent run of a recurring classification job. Possible values are:
3328
+ # @return [String]
3329
+ #
3330
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/LastRunErrorStatus AWS API Documentation
3331
+ #
3332
+ class LastRunErrorStatus < Struct.new(
3333
+ :code)
3334
+ SENSITIVE = []
3335
+ include Aws::Structure
3336
+ end
3337
+
3244
3338
  # Specifies criteria for filtering, sorting, and paginating the results
3245
3339
  # of a request for information about classification jobs.
3246
3340
  #
@@ -3251,14 +3345,14 @@ module Aws::Macie2
3251
3345
  # filter_criteria: {
3252
3346
  # excludes: [
3253
3347
  # {
3254
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3348
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3255
3349
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3256
3350
  # values: ["__string"],
3257
3351
  # },
3258
3352
  # ],
3259
3353
  # includes: [
3260
3354
  # {
3261
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3355
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3262
3356
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3263
3357
  # values: ["__string"],
3264
3358
  # },
@@ -3524,14 +3618,14 @@ module Aws::Macie2
3524
3618
  # {
3525
3619
  # excludes: [
3526
3620
  # {
3527
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3621
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3528
3622
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3529
3623
  # values: ["__string"],
3530
3624
  # },
3531
3625
  # ],
3532
3626
  # includes: [
3533
3627
  # {
3534
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3628
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3535
3629
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3536
3630
  # values: ["__string"],
3537
3631
  # },
@@ -3561,7 +3655,7 @@ module Aws::Macie2
3561
3655
  # data as a hash:
3562
3656
  #
3563
3657
  # {
3564
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
3658
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
3565
3659
  # key: "jobType", # accepts jobType, jobStatus, createdAt, name
3566
3660
  # values: ["__string"],
3567
3661
  # }
@@ -4142,15 +4236,15 @@ module Aws::Macie2
4142
4236
  include Aws::Structure
4143
4237
  end
4144
4238
 
4145
- # Specifies which S3 buckets contain the objects that a classification
4146
- # job analyzes.
4239
+ # Specifies which AWS account owns the S3 buckets that a classification
4240
+ # job analyzes, and the buckets to analyze for the account.
4147
4241
  #
4148
4242
  # @note When making an API call, you may pass S3BucketDefinitionForJob
4149
4243
  # data as a hash:
4150
4244
  #
4151
4245
  # {
4152
- # account_id: "__string",
4153
- # buckets: ["__string"],
4246
+ # account_id: "__string", # required
4247
+ # buckets: ["__string"], # required
4154
4248
  # }
4155
4249
  #
4156
4250
  # @!attribute [rw] account_id
@@ -4225,8 +4319,8 @@ module Aws::Macie2
4225
4319
  # {
4226
4320
  # bucket_definitions: [
4227
4321
  # {
4228
- # account_id: "__string",
4229
- # buckets: ["__string"],
4322
+ # account_id: "__string", # required
4323
+ # buckets: ["__string"], # required
4230
4324
  # },
4231
4325
  # ],
4232
4326
  # scoping: {
@@ -4234,12 +4328,12 @@ module Aws::Macie2
4234
4328
  # and: [
4235
4329
  # {
4236
4330
  # simple_scope_term: {
4237
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4238
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4331
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4332
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4239
4333
  # values: ["__string"],
4240
4334
  # },
4241
4335
  # tag_scope_term: {
4242
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4336
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4243
4337
  # key: "__string",
4244
4338
  # tag_values: [
4245
4339
  # {
@@ -4256,12 +4350,12 @@ module Aws::Macie2
4256
4350
  # and: [
4257
4351
  # {
4258
4352
  # simple_scope_term: {
4259
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4260
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4353
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4354
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4261
4355
  # values: ["__string"],
4262
4356
  # },
4263
4357
  # tag_scope_term: {
4264
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4358
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4265
4359
  # key: "__string",
4266
4360
  # tag_values: [
4267
4361
  # {
@@ -4372,12 +4466,12 @@ module Aws::Macie2
4372
4466
  # and: [
4373
4467
  # {
4374
4468
  # simple_scope_term: {
4375
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4376
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4469
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4470
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4377
4471
  # values: ["__string"],
4378
4472
  # },
4379
4473
  # tag_scope_term: {
4380
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4474
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4381
4475
  # key: "__string",
4382
4476
  # tag_values: [
4383
4477
  # {
@@ -4394,12 +4488,12 @@ module Aws::Macie2
4394
4488
  # and: [
4395
4489
  # {
4396
4490
  # simple_scope_term: {
4397
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4398
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4491
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4492
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4399
4493
  # values: ["__string"],
4400
4494
  # },
4401
4495
  # tag_scope_term: {
4402
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4496
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4403
4497
  # key: "__string",
4404
4498
  # tag_values: [
4405
4499
  # {
@@ -4617,8 +4711,8 @@ module Aws::Macie2
4617
4711
  # data as a hash:
4618
4712
  #
4619
4713
  # {
4620
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4621
- # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG
4714
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4715
+ # key: "BUCKET_CREATION_DATE", # accepts BUCKET_CREATION_DATE, OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, TAG, OBJECT_KEY
4622
4716
  # values: ["__string"],
4623
4717
  # }
4624
4718
  #
@@ -4731,7 +4825,7 @@ module Aws::Macie2
4731
4825
  # data as a hash:
4732
4826
  #
4733
4827
  # {
4734
- # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
4828
+ # comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
4735
4829
  # key: "__string",
4736
4830
  # tag_values: [
4737
4831
  # {
@@ -4914,7 +5008,13 @@ module Aws::Macie2
4914
5008
  #
4915
5009
  class UntagResourceResponse < Aws::EmptyStructure; end
4916
5010
 
4917
- # Changes the status of a classification job.
5011
+ # Changes the status of a classification job. For more information about
5012
+ # pausing, resuming, or cancelling jobs, see [Managing and monitoring
5013
+ # sensitive data discovery jobs][1] in the *Amazon Macie User Guide*.
5014
+ #
5015
+ #
5016
+ #
5017
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html
4918
5018
  #
4919
5019
  # @note When making an API call, you may pass UpdateClassificationJobRequest
4920
5020
  # data as a hash:
@@ -5335,10 +5435,14 @@ module Aws::Macie2
5335
5435
  include Aws::Structure
5336
5436
  end
5337
5437
 
5338
- # Provides information about when a classification job was paused and
5339
- # when it will expire and be cancelled if it isn't resumed. This object
5340
- # is present only if a job's current status (jobStatus) is
5341
- # USER\_PAUSED.
5438
+ # Provides information about when a classification job was paused. For a
5439
+ # one-time job, this object also specifies when the job will expire and
5440
+ # be cancelled if it isn't resumed. For a recurring job, this object
5441
+ # also specifies when the paused job run will expire and be cancelled if
5442
+ # it isn't resumed. This object is present only if a job's current
5443
+ # status (jobStatus) is USER\_PAUSED. The information in this object
5444
+ # applies only to a job that was paused while it had a status of
5445
+ # RUNNING.
5342
5446
  #
5343
5447
  # @!attribute [rw] job_expires_at
5344
5448
  # @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.16.0
4
+ version: 1.21.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-09 00:00:00.000000000 Z
11
+ date: 2021-02-02 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