aws-sdk-macie2 1.15.0 → 1.20.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 +4 -4
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +28 -19
- data/lib/aws-sdk-macie2/client_api.rb +20 -2
- data/lib/aws-sdk-macie2/types.rb +187 -78
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4426193ca2f5746dd8d21f3fd30c831d9f92da0a82b43cfe3b27a92f438ce863
|
4
|
+
data.tar.gz: 72f799cf10b57149bc47a0f74a8d9be2347f791536504eaf06e03b915dfa9c69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d8838a29788a466b0ff25212e3886e43b4cdce5d2269ce612cb51de99d42f9d2891cb8b50d78f57478b27fdc0918af93a09388e87a4c51c8f81ac75649b05fc
|
7
|
+
data.tar.gz: d0f3df117805fdbe8121a4840cc5c0094cac6a91a71e1ebb1d419ff886c2f3c759267a6405f2951c4f5cfee3655c666705831afc424828b855fe0b9a0196e88d
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -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
|
876
|
-
#
|
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
|
@@ -1462,6 +1468,7 @@ module Aws::Macie2
|
|
1462
1468
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
1463
1469
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.pages[0].page_number #=> Integer
|
1464
1470
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records #=> Array
|
1471
|
+
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].json_path #=> String
|
1465
1472
|
# resp.findings[0].classification_details.result.custom_data_identifiers.detections[0].occurrences.records[0].record_index #=> Integer
|
1466
1473
|
# resp.findings[0].classification_details.result.custom_data_identifiers.total_count #=> Integer
|
1467
1474
|
# resp.findings[0].classification_details.result.mime_type #=> String
|
@@ -1491,6 +1498,7 @@ module Aws::Macie2
|
|
1491
1498
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].offset_range.start_column #=> Integer
|
1492
1499
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.pages[0].page_number #=> Integer
|
1493
1500
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records #=> Array
|
1501
|
+
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].json_path #=> String
|
1494
1502
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].occurrences.records[0].record_index #=> Integer
|
1495
1503
|
# resp.findings[0].classification_details.result.sensitive_data[0].detections[0].type #=> String
|
1496
1504
|
# resp.findings[0].classification_details.result.sensitive_data[0].total_count #=> Integer
|
@@ -1884,14 +1892,14 @@ module Aws::Macie2
|
|
1884
1892
|
# filter_criteria: {
|
1885
1893
|
# excludes: [
|
1886
1894
|
# {
|
1887
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
1895
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1888
1896
|
# key: "jobType", # accepts jobType, jobStatus, createdAt, name
|
1889
1897
|
# values: ["__string"],
|
1890
1898
|
# },
|
1891
1899
|
# ],
|
1892
1900
|
# includes: [
|
1893
1901
|
# {
|
1894
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
1902
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1895
1903
|
# key: "jobType", # accepts jobType, jobStatus, createdAt, name
|
1896
1904
|
# values: ["__string"],
|
1897
1905
|
# },
|
@@ -1916,6 +1924,7 @@ module Aws::Macie2
|
|
1916
1924
|
# resp.items[0].job_id #=> String
|
1917
1925
|
# resp.items[0].job_status #=> String, one of "RUNNING", "PAUSED", "CANCELLED", "COMPLETE", "IDLE", "USER_PAUSED"
|
1918
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"
|
1919
1928
|
# resp.items[0].name #=> String
|
1920
1929
|
# resp.items[0].user_paused_details.job_expires_at #=> Time
|
1921
1930
|
# resp.items[0].user_paused_details.job_imminent_expiration_health_event_arn #=> String
|
@@ -2535,7 +2544,7 @@ module Aws::Macie2
|
|
2535
2544
|
params: params,
|
2536
2545
|
config: config)
|
2537
2546
|
context[:gem_name] = 'aws-sdk-macie2'
|
2538
|
-
context[:gem_version] = '1.
|
2547
|
+
context[:gem_version] = '1.20.0'
|
2539
2548
|
Seahorse::Client::Request.new(handlers, context)
|
2540
2549
|
end
|
2541
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"))
|
@@ -1033,6 +1050,7 @@ module Aws::Macie2
|
|
1033
1050
|
|
1034
1051
|
Ranges.member = Shapes::ShapeRef.new(shape: Range)
|
1035
1052
|
|
1053
|
+
Record.add_member(:json_path, Shapes::ShapeRef.new(shape: __string, location_name: "jsonPath"))
|
1036
1054
|
Record.add_member(:record_index, Shapes::ShapeRef.new(shape: __long, location_name: "recordIndex"))
|
1037
1055
|
Record.struct_class = Types::Record
|
1038
1056
|
|
@@ -1059,8 +1077,8 @@ module Aws::Macie2
|
|
1059
1077
|
S3Bucket.add_member(:tags, Shapes::ShapeRef.new(shape: KeyValuePairList, location_name: "tags"))
|
1060
1078
|
S3Bucket.struct_class = Types::S3Bucket
|
1061
1079
|
|
1062
|
-
S3BucketDefinitionForJob.add_member(:account_id, Shapes::ShapeRef.new(shape: __string, location_name: "accountId"))
|
1063
|
-
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"))
|
1064
1082
|
S3BucketDefinitionForJob.struct_class = Types::S3BucketDefinitionForJob
|
1065
1083
|
|
1066
1084
|
S3BucketOwner.add_member(:display_name, Shapes::ShapeRef.new(shape: __string, location_name: "displayName"))
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -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
|
-
# [
|
108
|
-
# Storage Service
|
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/
|
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
|
310
|
-
# Amazon S3
|
311
|
-
# Service
|
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/
|
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
|
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
|
-
# [
|
479
|
-
# Storage Service
|
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/
|
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
|
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
|
1753
|
-
#
|
1754
|
-
#
|
1755
|
-
#
|
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
|
2167
|
-
#
|
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
|
3206
|
-
#
|
3207
|
-
#
|
3208
|
-
#
|
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
|
# }
|
@@ -3869,14 +3963,14 @@ module Aws::Macie2
|
|
3869
3963
|
#
|
3870
3964
|
# @!attribute [rw] line_ranges
|
3871
3965
|
# Provides details about the location of occurrences of sensitive data
|
3872
|
-
# in an Adobe Portable Document Format file,
|
3873
|
-
#
|
3966
|
+
# in an Adobe Portable Document Format file, Microsoft Word document,
|
3967
|
+
# or non-binary text file.
|
3874
3968
|
# @return [Array<Types::Range>]
|
3875
3969
|
#
|
3876
3970
|
# @!attribute [rw] offset_ranges
|
3877
3971
|
# Provides details about the location of occurrences of sensitive data
|
3878
|
-
# in an Adobe Portable Document Format file,
|
3879
|
-
#
|
3972
|
+
# in an Adobe Portable Document Format file, Microsoft Word document,
|
3973
|
+
# or non-binary text file.
|
3880
3974
|
# @return [Array<Types::Range>]
|
3881
3975
|
#
|
3882
3976
|
# @!attribute [rw] pages
|
@@ -3906,14 +4000,14 @@ module Aws::Macie2
|
|
3906
4000
|
#
|
3907
4001
|
# @!attribute [rw] line_range
|
3908
4002
|
# Provides details about the location of an occurrence of sensitive
|
3909
|
-
# data in an Adobe Portable Document Format file,
|
3910
|
-
#
|
4003
|
+
# data in an Adobe Portable Document Format file, Microsoft Word
|
4004
|
+
# document, or non-binary text file.
|
3911
4005
|
# @return [Types::Range]
|
3912
4006
|
#
|
3913
4007
|
# @!attribute [rw] offset_range
|
3914
4008
|
# Provides details about the location of an occurrence of sensitive
|
3915
|
-
# data in an Adobe Portable Document Format file,
|
3916
|
-
#
|
4009
|
+
# data in an Adobe Portable Document Format file, Microsoft Word
|
4010
|
+
# document, or non-binary text file.
|
3917
4011
|
# @return [Types::Range]
|
3918
4012
|
#
|
3919
4013
|
# @!attribute [rw] page_number
|
@@ -4001,8 +4095,8 @@ module Aws::Macie2
|
|
4001
4095
|
end
|
4002
4096
|
|
4003
4097
|
# Provides details about the location of an occurrence of sensitive data
|
4004
|
-
# in an Adobe Portable Document Format file,
|
4005
|
-
#
|
4098
|
+
# in an Adobe Portable Document Format file, Microsoft Word document, or
|
4099
|
+
# non-binary text file.
|
4006
4100
|
#
|
4007
4101
|
# @!attribute [rw] end
|
4008
4102
|
# @return [Integer]
|
@@ -4024,7 +4118,10 @@ module Aws::Macie2
|
|
4024
4118
|
end
|
4025
4119
|
|
4026
4120
|
# Specifies the location of an occurrence of sensitive data in an Apache
|
4027
|
-
# Parquet file.
|
4121
|
+
# Avro object container or Apache Parquet file.
|
4122
|
+
#
|
4123
|
+
# @!attribute [rw] json_path
|
4124
|
+
# @return [String]
|
4028
4125
|
#
|
4029
4126
|
# @!attribute [rw] record_index
|
4030
4127
|
# @return [Integer]
|
@@ -4032,6 +4129,7 @@ module Aws::Macie2
|
|
4032
4129
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Record AWS API Documentation
|
4033
4130
|
#
|
4034
4131
|
class Record < Struct.new(
|
4132
|
+
:json_path,
|
4035
4133
|
:record_index)
|
4036
4134
|
SENSITIVE = []
|
4037
4135
|
include Aws::Structure
|
@@ -4138,15 +4236,15 @@ module Aws::Macie2
|
|
4138
4236
|
include Aws::Structure
|
4139
4237
|
end
|
4140
4238
|
|
4141
|
-
# Specifies which
|
4142
|
-
# 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.
|
4143
4241
|
#
|
4144
4242
|
# @note When making an API call, you may pass S3BucketDefinitionForJob
|
4145
4243
|
# data as a hash:
|
4146
4244
|
#
|
4147
4245
|
# {
|
4148
|
-
# account_id: "__string",
|
4149
|
-
# buckets: ["__string"],
|
4246
|
+
# account_id: "__string", # required
|
4247
|
+
# buckets: ["__string"], # required
|
4150
4248
|
# }
|
4151
4249
|
#
|
4152
4250
|
# @!attribute [rw] account_id
|
@@ -4221,8 +4319,8 @@ module Aws::Macie2
|
|
4221
4319
|
# {
|
4222
4320
|
# bucket_definitions: [
|
4223
4321
|
# {
|
4224
|
-
# account_id: "__string",
|
4225
|
-
# buckets: ["__string"],
|
4322
|
+
# account_id: "__string", # required
|
4323
|
+
# buckets: ["__string"], # required
|
4226
4324
|
# },
|
4227
4325
|
# ],
|
4228
4326
|
# scoping: {
|
@@ -4230,12 +4328,12 @@ module Aws::Macie2
|
|
4230
4328
|
# and: [
|
4231
4329
|
# {
|
4232
4330
|
# simple_scope_term: {
|
4233
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4234
|
-
# 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
|
4235
4333
|
# values: ["__string"],
|
4236
4334
|
# },
|
4237
4335
|
# tag_scope_term: {
|
4238
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4336
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4239
4337
|
# key: "__string",
|
4240
4338
|
# tag_values: [
|
4241
4339
|
# {
|
@@ -4252,12 +4350,12 @@ module Aws::Macie2
|
|
4252
4350
|
# and: [
|
4253
4351
|
# {
|
4254
4352
|
# simple_scope_term: {
|
4255
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4256
|
-
# 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
|
4257
4355
|
# values: ["__string"],
|
4258
4356
|
# },
|
4259
4357
|
# tag_scope_term: {
|
4260
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4358
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4261
4359
|
# key: "__string",
|
4262
4360
|
# tag_values: [
|
4263
4361
|
# {
|
@@ -4368,12 +4466,12 @@ module Aws::Macie2
|
|
4368
4466
|
# and: [
|
4369
4467
|
# {
|
4370
4468
|
# simple_scope_term: {
|
4371
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4372
|
-
# 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
|
4373
4471
|
# values: ["__string"],
|
4374
4472
|
# },
|
4375
4473
|
# tag_scope_term: {
|
4376
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4474
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4377
4475
|
# key: "__string",
|
4378
4476
|
# tag_values: [
|
4379
4477
|
# {
|
@@ -4390,12 +4488,12 @@ module Aws::Macie2
|
|
4390
4488
|
# and: [
|
4391
4489
|
# {
|
4392
4490
|
# simple_scope_term: {
|
4393
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4394
|
-
# 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
|
4395
4493
|
# values: ["__string"],
|
4396
4494
|
# },
|
4397
4495
|
# tag_scope_term: {
|
4398
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4496
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4399
4497
|
# key: "__string",
|
4400
4498
|
# tag_values: [
|
4401
4499
|
# {
|
@@ -4613,8 +4711,8 @@ module Aws::Macie2
|
|
4613
4711
|
# data as a hash:
|
4614
4712
|
#
|
4615
4713
|
# {
|
4616
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4617
|
-
# 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
|
4618
4716
|
# values: ["__string"],
|
4619
4717
|
# }
|
4620
4718
|
#
|
@@ -4727,7 +4825,7 @@ module Aws::Macie2
|
|
4727
4825
|
# data as a hash:
|
4728
4826
|
#
|
4729
4827
|
# {
|
4730
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS
|
4828
|
+
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4731
4829
|
# key: "__string",
|
4732
4830
|
# tag_values: [
|
4733
4831
|
# {
|
@@ -4910,7 +5008,13 @@ module Aws::Macie2
|
|
4910
5008
|
#
|
4911
5009
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
4912
5010
|
|
4913
|
-
# 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
|
4914
5018
|
#
|
4915
5019
|
# @note When making an API call, you may pass UpdateClassificationJobRequest
|
4916
5020
|
# data as a hash:
|
@@ -5331,9 +5435,14 @@ module Aws::Macie2
|
|
5331
5435
|
include Aws::Structure
|
5332
5436
|
end
|
5333
5437
|
|
5334
|
-
# Provides information about when a classification job was paused
|
5335
|
-
#
|
5336
|
-
#
|
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.
|
5337
5446
|
#
|
5338
5447
|
# @!attribute [rw] job_expires_at
|
5339
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.
|
4
|
+
version: 1.20.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:
|
11
|
+
date: 2021-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|