aws-sdk-macie2 1.12.0 → 1.17.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.
@@ -120,15 +120,15 @@ module Aws::Macie2
120
120
  include Aws::Structure
121
121
  end
122
122
 
123
- # Provides information about an account that's designated as a
124
- # delegated administrator of Amazon Macie for an AWS organization.
123
+ # Provides information about the delegated Amazon Macie administrator
124
+ # account for an AWS organization.
125
125
  #
126
126
  # @!attribute [rw] account_id
127
127
  # @return [String]
128
128
  #
129
129
  # @!attribute [rw] status
130
- # The current status of an account as a delegated administrator of
131
- # Amazon Macie for an AWS organization.
130
+ # The current status of an account as the delegated Amazon Macie
131
+ # administrator account for an AWS organization.
132
132
  # @return [String]
133
133
  #
134
134
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AdminAccount AWS API Documentation
@@ -350,12 +350,16 @@ module Aws::Macie2
350
350
  # @!attribute [rw] publicly_writable
351
351
  # @return [Integer]
352
352
  #
353
+ # @!attribute [rw] unknown
354
+ # @return [Integer]
355
+ #
353
356
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountByEffectivePermission AWS API Documentation
354
357
  #
355
358
  class BucketCountByEffectivePermission < Struct.new(
356
359
  :publicly_accessible,
357
360
  :publicly_readable,
358
- :publicly_writable)
361
+ :publicly_writable,
362
+ :unknown)
359
363
  SENSITIVE = []
360
364
  include Aws::Structure
361
365
  end
@@ -394,12 +398,16 @@ module Aws::Macie2
394
398
  # @!attribute [rw] not_shared
395
399
  # @return [Integer]
396
400
  #
401
+ # @!attribute [rw] unknown
402
+ # @return [Integer]
403
+ #
397
404
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketCountBySharedAccessType AWS API Documentation
398
405
  #
399
406
  class BucketCountBySharedAccessType < Struct.new(
400
407
  :external,
401
408
  :internal,
402
- :not_shared)
409
+ :not_shared,
410
+ :unknown)
403
411
  SENSITIVE = []
404
412
  include Aws::Structure
405
413
  end
@@ -680,6 +688,32 @@ module Aws::Macie2
680
688
  include Aws::Structure
681
689
  end
682
690
 
691
+ # Specifies the location of an occurrence of sensitive data in a
692
+ # Microsoft Excel workbook, CSV file, or TSV file.
693
+ #
694
+ # @!attribute [rw] cell_reference
695
+ # @return [String]
696
+ #
697
+ # @!attribute [rw] column
698
+ # @return [Integer]
699
+ #
700
+ # @!attribute [rw] column_name
701
+ # @return [String]
702
+ #
703
+ # @!attribute [rw] row
704
+ # @return [Integer]
705
+ #
706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Cell AWS API Documentation
707
+ #
708
+ class Cell < Struct.new(
709
+ :cell_reference,
710
+ :column,
711
+ :column_name,
712
+ :row)
713
+ SENSITIVE = []
714
+ include Aws::Structure
715
+ end
716
+
683
717
  # Provides information about a sensitive data finding, including the
684
718
  # classification job that produced the finding.
685
719
  #
@@ -693,9 +727,9 @@ module Aws::Macie2
693
727
  # @return [String]
694
728
  #
695
729
  # @!attribute [rw] result
696
- # Provides detailed information about a sensitive data finding,
697
- # including the types and number of occurrences of the sensitive data
698
- # that was found.
730
+ # Provides the details of a sensitive data finding, including the
731
+ # types, number of occurrences, and locations of the sensitive data
732
+ # that was detected.
699
733
  # @return [Types::ClassificationResult]
700
734
  #
701
735
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationDetails AWS API Documentation
@@ -737,14 +771,17 @@ module Aws::Macie2
737
771
  include Aws::Structure
738
772
  end
739
773
 
740
- # Provides detailed information about a sensitive data finding,
741
- # including the types and number of occurrences of the sensitive data
742
- # that was found.
774
+ # Provides the details of a sensitive data finding, including the types,
775
+ # number of occurrences, and locations of the sensitive data that was
776
+ # detected.
777
+ #
778
+ # @!attribute [rw] additional_occurrences
779
+ # @return [Boolean]
743
780
  #
744
781
  # @!attribute [rw] custom_data_identifiers
745
- # Provides information about the number of occurrences of the data
746
- # that produced a sensitive data finding, and the custom data
747
- # identifiers that detected the data for the finding.
782
+ # Provides information about custom data identifiers that produced a
783
+ # sensitive data finding, and the number of occurrences of the data
784
+ # that they detected for the finding.
748
785
  # @return [Types::CustomDataIdentifiers]
749
786
  #
750
787
  # @!attribute [rw] mime_type
@@ -765,6 +802,7 @@ module Aws::Macie2
765
802
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationResult AWS API Documentation
766
803
  #
767
804
  class ClassificationResult < Struct.new(
805
+ :additional_occurrences,
768
806
  :custom_data_identifiers,
769
807
  :mime_type,
770
808
  :sensitive_data,
@@ -806,10 +844,10 @@ module Aws::Macie2
806
844
  end
807
845
 
808
846
  # Specifies the scope, schedule, and other settings for a classification
809
- # job. You can't delete or change the settings for a classification job
810
- # after you create it. This helps ensure that you have an immutable
811
- # history of sensitive data findings and discovery results for data
812
- # privacy and protection audits or investigations.
847
+ # job. You can't change any settings for a classification job after you
848
+ # create it. This helps ensure that you have an immutable history of
849
+ # sensitive data findings and discovery results for data privacy and
850
+ # protection audits or investigations.
813
851
  #
814
852
  # @note When making an API call, you may pass CreateClassificationJobRequest
815
853
  # data as a hash:
@@ -1058,6 +1096,7 @@ module Aws::Macie2
1058
1096
  # criterion: {
1059
1097
  # "__string" => {
1060
1098
  # eq: ["__string"],
1099
+ # eq_exact_match: ["__string"],
1061
1100
  # gt: 1,
1062
1101
  # gte: 1,
1063
1102
  # lt: 1,
@@ -1262,6 +1301,7 @@ module Aws::Macie2
1262
1301
  #
1263
1302
  # {
1264
1303
  # eq: ["__string"],
1304
+ # eq_exact_match: ["__string"],
1265
1305
  # gt: 1,
1266
1306
  # gte: 1,
1267
1307
  # lt: 1,
@@ -1272,6 +1312,9 @@ module Aws::Macie2
1272
1312
  # @!attribute [rw] eq
1273
1313
  # @return [Array<String>]
1274
1314
  #
1315
+ # @!attribute [rw] eq_exact_match
1316
+ # @return [Array<String>]
1317
+ #
1275
1318
  # @!attribute [rw] gt
1276
1319
  # @return [Integer]
1277
1320
  #
@@ -1291,6 +1334,7 @@ module Aws::Macie2
1291
1334
  #
1292
1335
  class CriterionAdditionalProperties < Struct.new(
1293
1336
  :eq,
1337
+ :eq_exact_match,
1294
1338
  :gt,
1295
1339
  :gte,
1296
1340
  :lt,
@@ -1329,9 +1373,9 @@ module Aws::Macie2
1329
1373
  include Aws::Structure
1330
1374
  end
1331
1375
 
1332
- # Provides information about the number of occurrences of the data that
1333
- # produced a sensitive data finding, and the custom data identifiers
1334
- # that detected the data for the finding.
1376
+ # Provides information about custom data identifiers that produced a
1377
+ # sensitive data finding, and the number of occurrences of the data that
1378
+ # they detected for the finding.
1335
1379
  #
1336
1380
  # @!attribute [rw] detections
1337
1381
  # Provides information about custom data identifiers that produced a
@@ -1352,8 +1396,8 @@ module Aws::Macie2
1352
1396
  end
1353
1397
 
1354
1398
  # Provides information about a custom data identifier that produced a
1355
- # sensitive data finding, and the number of occurrences of the data that
1356
- # it detected for the finding.
1399
+ # sensitive data finding, and the sensitive data that it detected for
1400
+ # the finding.
1357
1401
  #
1358
1402
  # @!attribute [rw] arn
1359
1403
  # @return [String]
@@ -1364,12 +1408,19 @@ module Aws::Macie2
1364
1408
  # @!attribute [rw] name
1365
1409
  # @return [String]
1366
1410
  #
1411
+ # @!attribute [rw] occurrences
1412
+ # Provides the location of 1-15 occurrences of sensitive data that was
1413
+ # detected by managed data identifiers or a custom data identifier and
1414
+ # produced a sensitive data finding.
1415
+ # @return [Types::Occurrences]
1416
+ #
1367
1417
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
1368
1418
  #
1369
1419
  class CustomDetection < Struct.new(
1370
1420
  :arn,
1371
1421
  :count,
1372
- :name)
1422
+ :name,
1423
+ :occurrences)
1373
1424
  SENSITIVE = []
1374
1425
  include Aws::Structure
1375
1426
  end
@@ -1419,12 +1470,18 @@ module Aws::Macie2
1419
1470
  include Aws::Structure
1420
1471
  end
1421
1472
 
1422
- # Provides information about sensitive data that was detected by managed
1423
- # data identifiers and produced a sensitive data finding.
1473
+ # Provides information about a type of sensitive data that was detected
1474
+ # by managed data identifiers and produced a sensitive data finding.
1424
1475
  #
1425
1476
  # @!attribute [rw] count
1426
1477
  # @return [Integer]
1427
1478
  #
1479
+ # @!attribute [rw] occurrences
1480
+ # Provides the location of 1-15 occurrences of sensitive data that was
1481
+ # detected by managed data identifiers or a custom data identifier and
1482
+ # produced a sensitive data finding.
1483
+ # @return [Types::Occurrences]
1484
+ #
1428
1485
  # @!attribute [rw] type
1429
1486
  # @return [String]
1430
1487
  #
@@ -1432,6 +1489,7 @@ module Aws::Macie2
1432
1489
  #
1433
1490
  class DefaultDetection < Struct.new(
1434
1491
  :count,
1492
+ :occurrences,
1435
1493
  :type)
1436
1494
  SENSITIVE = []
1437
1495
  include Aws::Structure
@@ -1655,13 +1713,21 @@ module Aws::Macie2
1655
1713
  # @return [String]
1656
1714
  #
1657
1715
  # @!attribute [rw] job_status
1658
- # The current status of a classification job. Possible values are:
1716
+ # The status of a classification job. Possible values are:
1659
1717
  # @return [String]
1660
1718
  #
1661
1719
  # @!attribute [rw] job_type
1662
1720
  # The schedule for running a classification job. Valid values are:
1663
1721
  # @return [String]
1664
1722
  #
1723
+ # @!attribute [rw] last_run_error_status
1724
+ # Specifies whether any account- or bucket-level access errors
1725
+ # occurred when a classification job ran. For example, the job is
1726
+ # configured to analyze data for a member account that was suspended,
1727
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
1728
+ # isn't allowed to access.
1729
+ # @return [Types::LastRunErrorStatus]
1730
+ #
1665
1731
  # @!attribute [rw] last_run_time
1666
1732
  # @return [Time]
1667
1733
  #
@@ -1690,6 +1756,13 @@ module Aws::Macie2
1690
1756
  # findings filter, or member account.
1691
1757
  # @return [Hash<String,String>]
1692
1758
  #
1759
+ # @!attribute [rw] user_paused_details
1760
+ # Provides information about when a classification job was paused and
1761
+ # when it will expire and be cancelled if it isn't resumed. This
1762
+ # object is present only if a job's current status (jobStatus) is
1763
+ # USER\_PAUSED.
1764
+ # @return [Types::UserPausedDetails]
1765
+ #
1693
1766
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
1694
1767
  #
1695
1768
  class DescribeClassificationJobResponse < Struct.new(
@@ -1702,13 +1775,15 @@ module Aws::Macie2
1702
1775
  :job_id,
1703
1776
  :job_status,
1704
1777
  :job_type,
1778
+ :last_run_error_status,
1705
1779
  :last_run_time,
1706
1780
  :name,
1707
1781
  :s3_job_definition,
1708
1782
  :sampling_percentage,
1709
1783
  :schedule_frequency,
1710
1784
  :statistics,
1711
- :tags)
1785
+ :tags,
1786
+ :user_paused_details)
1712
1787
  SENSITIVE = []
1713
1788
  include Aws::Structure
1714
1789
  end
@@ -1864,9 +1939,9 @@ module Aws::Macie2
1864
1939
  #
1865
1940
  class EnableMacieResponse < Aws::EmptyStructure; end
1866
1941
 
1867
- # Specifies an account to designate as a delegated administrator of
1868
- # Amazon Macie for an AWS organization. To submit this request, you must
1869
- # be a user of the master account for the AWS organization.
1942
+ # Specifies an account to designate as a delegated Amazon Macie
1943
+ # administrator account for an AWS organization. To submit this request,
1944
+ # you must be a user of the management account for the AWS organization.
1870
1945
  #
1871
1946
  # @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
1872
1947
  # data as a hash:
@@ -1931,7 +2006,7 @@ module Aws::Macie2
1931
2006
  include Aws::Structure
1932
2007
  end
1933
2008
 
1934
- # Provides information about a finding.
2009
+ # Provides the details of a finding.
1935
2010
  #
1936
2011
  # @!attribute [rw] account_id
1937
2012
  # @return [String]
@@ -1981,15 +2056,21 @@ module Aws::Macie2
1981
2056
  # @return [String]
1982
2057
  #
1983
2058
  # @!attribute [rw] severity
1984
- # Provides the numeric score and textual representation of a severity
1985
- # value.
2059
+ # Provides the numerical and qualitative representations of a
2060
+ # finding's severity.
1986
2061
  # @return [Types::Severity]
1987
2062
  #
1988
2063
  # @!attribute [rw] title
1989
2064
  # @return [String]
1990
2065
  #
1991
2066
  # @!attribute [rw] type
1992
- # The type of finding. Valid values are:
2067
+ # The type of finding. For details about each type, see [Types of
2068
+ # Amazon Macie findings][1] in the *Amazon Macie User Guide*. Valid
2069
+ # values are:
2070
+ #
2071
+ #
2072
+ #
2073
+ # [1]: https://docs.aws.amazon.com/macie/latest/user/findings-types.html
1993
2074
  # @return [String]
1994
2075
  #
1995
2076
  # @!attribute [rw] updated_at
@@ -2080,6 +2161,7 @@ module Aws::Macie2
2080
2161
  # criterion: {
2081
2162
  # "__string" => {
2082
2163
  # eq: ["__string"],
2164
+ # eq_exact_match: ["__string"],
2083
2165
  # gt: 1,
2084
2166
  # gte: 1,
2085
2167
  # lt: 1,
@@ -2372,6 +2454,7 @@ module Aws::Macie2
2372
2454
  # criterion: {
2373
2455
  # "__string" => {
2374
2456
  # eq: ["__string"],
2457
+ # eq_exact_match: ["__string"],
2375
2458
  # gt: 1,
2376
2459
  # gte: 1,
2377
2460
  # lt: 1,
@@ -2497,7 +2580,7 @@ module Aws::Macie2
2497
2580
  include Aws::Structure
2498
2581
  end
2499
2582
 
2500
- # Specifies one or more findings to retrieve information about.
2583
+ # Specifies one or more findings to retrieve.
2501
2584
  #
2502
2585
  # @note When making an API call, you may pass GetFindingsRequest
2503
2586
  # data as a hash:
@@ -2515,7 +2598,7 @@ module Aws::Macie2
2515
2598
  #
2516
2599
  # @!attribute [rw] sort_criteria
2517
2600
  # Specifies criteria for sorting the results of a request for
2518
- # information about findings.
2601
+ # findings.
2519
2602
  # @return [Types::SortCriteria]
2520
2603
  #
2521
2604
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsRequest AWS API Documentation
@@ -2527,8 +2610,7 @@ module Aws::Macie2
2527
2610
  include Aws::Structure
2528
2611
  end
2529
2612
 
2530
- # Provides the results of a request for information about one or more
2531
- # findings.
2613
+ # Provides the results of a request for one or more findings.
2532
2614
  #
2533
2615
  # @!attribute [rw] findings
2534
2616
  # @return [Array<Types::Finding>]
@@ -3065,6 +3147,8 @@ module Aws::Macie2
3065
3147
 
3066
3148
  # Specifies one or more property- and tag-based conditions that define
3067
3149
  # criteria for including or excluding objects from a classification job.
3150
+ # If you specify more than one condition, Amazon Macie uses an AND
3151
+ # operator to join the conditions.
3068
3152
  #
3069
3153
  # @note When making an API call, you may pass JobScopingBlock
3070
3154
  # data as a hash:
@@ -3116,16 +3200,31 @@ module Aws::Macie2
3116
3200
  # @return [String]
3117
3201
  #
3118
3202
  # @!attribute [rw] job_status
3119
- # The current status of a classification job. Possible values are:
3203
+ # The status of a classification job. Possible values are:
3120
3204
  # @return [String]
3121
3205
  #
3122
3206
  # @!attribute [rw] job_type
3123
3207
  # The schedule for running a classification job. Valid values are:
3124
3208
  # @return [String]
3125
3209
  #
3210
+ # @!attribute [rw] last_run_error_status
3211
+ # Specifies whether any account- or bucket-level access errors
3212
+ # occurred when a classification job ran. For example, the job is
3213
+ # configured to analyze data for a member account that was suspended,
3214
+ # or the job is configured to analyze an S3 bucket that Amazon Macie
3215
+ # isn't allowed to access.
3216
+ # @return [Types::LastRunErrorStatus]
3217
+ #
3126
3218
  # @!attribute [rw] name
3127
3219
  # @return [String]
3128
3220
  #
3221
+ # @!attribute [rw] user_paused_details
3222
+ # Provides information about when a classification job was paused and
3223
+ # when it will expire and be cancelled if it isn't resumed. This
3224
+ # object is present only if a job's current status (jobStatus) is
3225
+ # USER\_PAUSED.
3226
+ # @return [Types::UserPausedDetails]
3227
+ #
3129
3228
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
3130
3229
  #
3131
3230
  class JobSummary < Struct.new(
@@ -3134,7 +3233,9 @@ module Aws::Macie2
3134
3233
  :job_id,
3135
3234
  :job_status,
3136
3235
  :job_type,
3137
- :name)
3236
+ :last_run_error_status,
3237
+ :name,
3238
+ :user_paused_details)
3138
3239
  SENSITIVE = []
3139
3240
  include Aws::Structure
3140
3241
  end
@@ -3158,6 +3259,26 @@ module Aws::Macie2
3158
3259
  include Aws::Structure
3159
3260
  end
3160
3261
 
3262
+ # Specifies whether any account- or bucket-level access errors occurred
3263
+ # when a classification job ran. For example, the job is configured to
3264
+ # analyze data for a member account that was suspended, or the job is
3265
+ # configured to analyze an S3 bucket that Amazon Macie isn't allowed to
3266
+ # access.
3267
+ #
3268
+ # @!attribute [rw] code
3269
+ # Specifies whether any account- or bucket-level access errors
3270
+ # occurred during the run of a one-time classification job or the most
3271
+ # recent run of a recurring classification job. Possible values are:
3272
+ # @return [String]
3273
+ #
3274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/LastRunErrorStatus AWS API Documentation
3275
+ #
3276
+ class LastRunErrorStatus < Struct.new(
3277
+ :code)
3278
+ SENSITIVE = []
3279
+ include Aws::Structure
3280
+ end
3281
+
3161
3282
  # Specifies criteria for filtering, sorting, and paginating the results
3162
3283
  # of a request for information about classification jobs.
3163
3284
  #
@@ -3329,6 +3450,7 @@ module Aws::Macie2
3329
3450
  # criterion: {
3330
3451
  # "__string" => {
3331
3452
  # eq: ["__string"],
3453
+ # eq_exact_match: ["__string"],
3332
3454
  # gt: 1,
3333
3455
  # gte: 1,
3334
3456
  # lt: 1,
@@ -3358,7 +3480,7 @@ module Aws::Macie2
3358
3480
  #
3359
3481
  # @!attribute [rw] sort_criteria
3360
3482
  # Specifies criteria for sorting the results of a request for
3361
- # information about findings.
3483
+ # findings.
3362
3484
  # @return [Types::SortCriteria]
3363
3485
  #
3364
3486
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListFindingsRequest AWS API Documentation
@@ -3599,8 +3721,8 @@ module Aws::Macie2
3599
3721
  include Aws::Structure
3600
3722
  end
3601
3723
 
3602
- # Provides information about the accounts that are designated as
3603
- # delegated administrators of Amazon Macie for an AWS organization.
3724
+ # Provides information about the delegated Amazon Macie administrator
3725
+ # accounts for an AWS organization.
3604
3726
  #
3605
3727
  # @!attribute [rw] admin_accounts
3606
3728
  # @return [Array<Types::AdminAccount>]
@@ -3774,6 +3896,77 @@ module Aws::Macie2
3774
3896
  include Aws::Structure
3775
3897
  end
3776
3898
 
3899
+ # Provides the location of 1-15 occurrences of sensitive data that was
3900
+ # detected by managed data identifiers or a custom data identifier and
3901
+ # produced a sensitive data finding.
3902
+ #
3903
+ # @!attribute [rw] cells
3904
+ # Specifies the location of occurrences of sensitive data in a
3905
+ # Microsoft Excel workbook, CSV file, or TSV file.
3906
+ # @return [Array<Types::Cell>]
3907
+ #
3908
+ # @!attribute [rw] line_ranges
3909
+ # Provides details about the location of occurrences of sensitive data
3910
+ # in an Adobe Portable Document Format file, Microsoft Word document,
3911
+ # or non-binary text file.
3912
+ # @return [Array<Types::Range>]
3913
+ #
3914
+ # @!attribute [rw] offset_ranges
3915
+ # Provides details about the location of occurrences of sensitive data
3916
+ # in an Adobe Portable Document Format file, Microsoft Word document,
3917
+ # or non-binary text file.
3918
+ # @return [Array<Types::Range>]
3919
+ #
3920
+ # @!attribute [rw] pages
3921
+ # Specifies the location of occurrences of sensitive data in an Adobe
3922
+ # Portable Document Format file.
3923
+ # @return [Array<Types::Page>]
3924
+ #
3925
+ # @!attribute [rw] records
3926
+ # Specifies the location of occurrences of sensitive data in an Apache
3927
+ # Parquet file.
3928
+ # @return [Array<Types::Record>]
3929
+ #
3930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Occurrences AWS API Documentation
3931
+ #
3932
+ class Occurrences < Struct.new(
3933
+ :cells,
3934
+ :line_ranges,
3935
+ :offset_ranges,
3936
+ :pages,
3937
+ :records)
3938
+ SENSITIVE = []
3939
+ include Aws::Structure
3940
+ end
3941
+
3942
+ # Specifies the location of an occurrence of sensitive data in an Adobe
3943
+ # Portable Document Format file.
3944
+ #
3945
+ # @!attribute [rw] line_range
3946
+ # Provides details about the location of an occurrence of sensitive
3947
+ # data in an Adobe Portable Document Format file, Microsoft Word
3948
+ # document, or non-binary text file.
3949
+ # @return [Types::Range]
3950
+ #
3951
+ # @!attribute [rw] offset_range
3952
+ # Provides details about the location of an occurrence of sensitive
3953
+ # data in an Adobe Portable Document Format file, Microsoft Word
3954
+ # document, or non-binary text file.
3955
+ # @return [Types::Range]
3956
+ #
3957
+ # @!attribute [rw] page_number
3958
+ # @return [Integer]
3959
+ #
3960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Page AWS API Documentation
3961
+ #
3962
+ class Page < Struct.new(
3963
+ :line_range,
3964
+ :offset_range,
3965
+ :page_number)
3966
+ SENSITIVE = []
3967
+ include Aws::Structure
3968
+ end
3969
+
3777
3970
  # Provides the details of a policy finding.
3778
3971
  #
3779
3972
  # @!attribute [rw] action
@@ -3845,6 +4038,47 @@ module Aws::Macie2
3845
4038
  include Aws::Structure
3846
4039
  end
3847
4040
 
4041
+ # Provides details about the location of an occurrence of sensitive data
4042
+ # in an Adobe Portable Document Format file, Microsoft Word document, or
4043
+ # non-binary text file.
4044
+ #
4045
+ # @!attribute [rw] end
4046
+ # @return [Integer]
4047
+ #
4048
+ # @!attribute [rw] start
4049
+ # @return [Integer]
4050
+ #
4051
+ # @!attribute [rw] start_column
4052
+ # @return [Integer]
4053
+ #
4054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Range AWS API Documentation
4055
+ #
4056
+ class Range < Struct.new(
4057
+ :end,
4058
+ :start,
4059
+ :start_column)
4060
+ SENSITIVE = []
4061
+ include Aws::Structure
4062
+ end
4063
+
4064
+ # Specifies the location of an occurrence of sensitive data in an Apache
4065
+ # Avro object container or Apache Parquet file.
4066
+ #
4067
+ # @!attribute [rw] json_path
4068
+ # @return [String]
4069
+ #
4070
+ # @!attribute [rw] record_index
4071
+ # @return [Integer]
4072
+ #
4073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Record AWS API Documentation
4074
+ #
4075
+ class Record < Struct.new(
4076
+ :json_path,
4077
+ :record_index)
4078
+ SENSITIVE = []
4079
+ include Aws::Structure
4080
+ end
4081
+
3848
4082
  # Provides information about settings that define whether one or more
3849
4083
  # objects in an S3 bucket are replicated to S3 buckets for other AWS
3850
4084
  # accounts and, if so, which accounts.
@@ -3911,7 +4145,7 @@ module Aws::Macie2
3911
4145
  #
3912
4146
  # @!attribute [rw] default_server_side_encryption
3913
4147
  # Provides information about the server-side encryption settings for
3914
- # an S3 bucket or object.
4148
+ # an S3 bucket or S3 object.
3915
4149
  # @return [Types::ServerSideEncryption]
3916
4150
  #
3917
4151
  # @!attribute [rw] name
@@ -4087,7 +4321,8 @@ module Aws::Macie2
4087
4321
  # @!attribute [rw] scoping
4088
4322
  # Specifies one or more property- and tag-based conditions that refine
4089
4323
  # the scope of a classification job. These conditions define criteria
4090
- # that determine which objects a job analyzes.
4324
+ # that determine which objects a job analyzes. Exclude conditions take
4325
+ # precedence over include conditions.
4091
4326
  # @return [Types::Scoping]
4092
4327
  #
4093
4328
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation
@@ -4124,14 +4359,14 @@ module Aws::Macie2
4124
4359
  #
4125
4360
  # @!attribute [rw] server_side_encryption
4126
4361
  # Provides information about the server-side encryption settings for
4127
- # an S3 bucket or object.
4362
+ # an S3 bucket or S3 object.
4128
4363
  # @return [Types::ServerSideEncryption]
4129
4364
  #
4130
4365
  # @!attribute [rw] size
4131
4366
  # @return [Integer]
4132
4367
  #
4133
4368
  # @!attribute [rw] storage_class
4134
- # The storage class of the S3 bucket or object. Possible values are:
4369
+ # The storage class of the S3 object. Possible values are:
4135
4370
  # @return [String]
4136
4371
  #
4137
4372
  # @!attribute [rw] tags
@@ -4164,7 +4399,8 @@ module Aws::Macie2
4164
4399
 
4165
4400
  # Specifies one or more property- and tag-based conditions that refine
4166
4401
  # the scope of a classification job. These conditions define criteria
4167
- # that determine which objects a job analyzes.
4402
+ # that determine which objects a job analyzes. Exclude conditions take
4403
+ # precedence over include conditions.
4168
4404
  #
4169
4405
  # @note When making an API call, you may pass Scoping
4170
4406
  # data as a hash:
@@ -4219,13 +4455,15 @@ module Aws::Macie2
4219
4455
  # @!attribute [rw] excludes
4220
4456
  # Specifies one or more property- and tag-based conditions that define
4221
4457
  # criteria for including or excluding objects from a classification
4222
- # job.
4458
+ # job. If you specify more than one condition, Amazon Macie uses an
4459
+ # AND operator to join the conditions.
4223
4460
  # @return [Types::JobScopingBlock]
4224
4461
  #
4225
4462
  # @!attribute [rw] includes
4226
4463
  # Specifies one or more property- and tag-based conditions that define
4227
4464
  # criteria for including or excluding objects from a classification
4228
- # job.
4465
+ # job. If you specify more than one condition, Amazon Macie uses an
4466
+ # AND operator to join the conditions.
4229
4467
  # @return [Types::JobScopingBlock]
4230
4468
  #
4231
4469
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Scoping AWS API Documentation
@@ -4237,8 +4475,8 @@ module Aws::Macie2
4237
4475
  include Aws::Structure
4238
4476
  end
4239
4477
 
4240
- # Provides information about the category, type, and number of
4241
- # occurrences of sensitive data that produced a finding.
4478
+ # Provides information about the category, types, and occurrences of
4479
+ # sensitive data that produced a sensitive data finding.
4242
4480
  #
4243
4481
  # @!attribute [rw] category
4244
4482
  # The category of sensitive data that was detected and produced the
@@ -4266,11 +4504,11 @@ module Aws::Macie2
4266
4504
  end
4267
4505
 
4268
4506
  # Provides information about the server-side encryption settings for an
4269
- # S3 bucket or object.
4507
+ # S3 bucket or S3 object.
4270
4508
  #
4271
4509
  # @!attribute [rw] encryption_type
4272
- # The type of server-side encryption that's used to encrypt objects
4273
- # in the S3 bucket. Valid values are:
4510
+ # The type of server-side encryption that's used to encrypt an S3
4511
+ # object or objects in an S3 bucket. Valid values are:
4274
4512
  # @return [String]
4275
4513
  #
4276
4514
  # @!attribute [rw] kms_master_key_id
@@ -4390,11 +4628,11 @@ module Aws::Macie2
4390
4628
  include Aws::Structure
4391
4629
  end
4392
4630
 
4393
- # Provides the numeric score and textual representation of a severity
4394
- # value.
4631
+ # Provides the numerical and qualitative representations of a finding's
4632
+ # severity.
4395
4633
  #
4396
4634
  # @!attribute [rw] description
4397
- # The textual representation of the finding's severity. Possible
4635
+ # The qualitative representation of the finding's severity. Possible
4398
4636
  # values are:
4399
4637
  # @return [String]
4400
4638
  #
@@ -4444,8 +4682,7 @@ module Aws::Macie2
4444
4682
  include Aws::Structure
4445
4683
  end
4446
4684
 
4447
- # Specifies criteria for sorting the results of a request for
4448
- # information about findings.
4685
+ # Specifies criteria for sorting the results of a request for findings.
4449
4686
  #
4450
4687
  # @note When making an API call, you may pass SortCriteria
4451
4688
  # data as a hash:
@@ -4569,7 +4806,7 @@ module Aws::Macie2
4569
4806
  include Aws::Structure
4570
4807
  end
4571
4808
 
4572
- # Specifies a tag key and value, as a pair, to use in a tag-based
4809
+ # Specifies a tag key or tag key and value pair to use in a tag-based
4573
4810
  # condition for a classification job.
4574
4811
  #
4575
4812
  # @note When making an API call, you may pass TagValuePair
@@ -4715,21 +4952,21 @@ module Aws::Macie2
4715
4952
  #
4716
4953
  class UntagResourceResponse < Aws::EmptyStructure; end
4717
4954
 
4718
- # Cancels a classification job.
4955
+ # Changes the status of a classification job.
4719
4956
  #
4720
4957
  # @note When making an API call, you may pass UpdateClassificationJobRequest
4721
4958
  # data as a hash:
4722
4959
  #
4723
4960
  # {
4724
4961
  # job_id: "__string", # required
4725
- # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE
4962
+ # job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
4726
4963
  # }
4727
4964
  #
4728
4965
  # @!attribute [rw] job_id
4729
4966
  # @return [String]
4730
4967
  #
4731
4968
  # @!attribute [rw] job_status
4732
- # The current status of a classification job. Possible values are:
4969
+ # The status of a classification job. Possible values are:
4733
4970
  # @return [String]
4734
4971
  #
4735
4972
  # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationJobRequest AWS API Documentation
@@ -4757,6 +4994,7 @@ module Aws::Macie2
4757
4994
  # criterion: {
4758
4995
  # "__string" => {
4759
4996
  # eq: ["__string"],
4997
+ # eq_exact_match: ["__string"],
4760
4998
  # gt: 1,
4761
4999
  # gte: 1,
4762
5000
  # lt: 1,
@@ -5135,6 +5373,30 @@ module Aws::Macie2
5135
5373
  include Aws::Structure
5136
5374
  end
5137
5375
 
5376
+ # Provides information about when a classification job was paused and
5377
+ # when it will expire and be cancelled if it isn't resumed. This object
5378
+ # is present only if a job's current status (jobStatus) is
5379
+ # USER\_PAUSED.
5380
+ #
5381
+ # @!attribute [rw] job_expires_at
5382
+ # @return [Time]
5383
+ #
5384
+ # @!attribute [rw] job_imminent_expiration_health_event_arn
5385
+ # @return [String]
5386
+ #
5387
+ # @!attribute [rw] job_paused_at
5388
+ # @return [Time]
5389
+ #
5390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UserPausedDetails AWS API Documentation
5391
+ #
5392
+ class UserPausedDetails < Struct.new(
5393
+ :job_expires_at,
5394
+ :job_imminent_expiration_health_event_arn,
5395
+ :job_paused_at)
5396
+ SENSITIVE = []
5397
+ include Aws::Structure
5398
+ end
5399
+
5138
5400
  # Provides information about an error that occurred due to a syntax
5139
5401
  # error in a request.
5140
5402
  #