aws-sdk 2.771.0 → 2.772.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +16 -1
  2. package/README.md +1 -1
  3. package/apis/accessanalyzer-2019-11-01.min.json +70 -48
  4. package/apis/budgets-2016-10-20.min.json +411 -0
  5. package/apis/budgets-2016-10-20.paginators.json +18 -0
  6. package/apis/dms-2016-01-01.min.json +15 -3
  7. package/apis/groundstation-2019-05-23.min.json +1 -0
  8. package/apis/iot-2015-05-28.min.json +4 -1
  9. package/apis/macie2-2020-01-01.min.json +159 -22
  10. package/apis/rds-2014-10-31.min.json +13 -1
  11. package/apis/rekognition-2016-06-27.min.json +161 -51
  12. package/apis/ssm-2014-11-06.min.json +147 -126
  13. package/apis/transfer-2018-11-05.min.json +32 -28
  14. package/apis/workmail-2017-10-01.min.json +93 -30
  15. package/apis/xray-2016-04-12.min.json +11 -5
  16. package/apis/xray-2016-04-12.paginators.json +0 -15
  17. package/clients/accessanalyzer.d.ts +26 -4
  18. package/clients/budgets.d.ts +358 -0
  19. package/clients/costexplorer.d.ts +1 -1
  20. package/clients/dms.d.ts +26 -2
  21. package/clients/glue.d.ts +1 -1
  22. package/clients/groundstation.d.ts +5 -1
  23. package/clients/iot.d.ts +10 -6
  24. package/clients/macie2.d.ts +182 -62
  25. package/clients/rds.d.ts +13 -9
  26. package/clients/rekognition.d.ts +123 -0
  27. package/clients/ssm.d.ts +63 -11
  28. package/clients/transfer.d.ts +77 -71
  29. package/clients/workmail.d.ts +91 -1
  30. package/clients/workspaces.d.ts +12 -12
  31. package/clients/xray.d.ts +29 -21
  32. package/dist/aws-sdk-core-react-native.js +1 -1
  33. package/dist/aws-sdk-react-native.js +15 -15
  34. package/dist/aws-sdk.js +339 -202
  35. package/dist/aws-sdk.min.js +39 -39
  36. package/lib/core.js +1 -1
  37. package/package.json +1 -1
@@ -124,19 +124,19 @@ declare class Macie2 extends Service {
124
124
  */
125
125
  describeBuckets(callback?: (err: AWSError, data: Macie2.Types.DescribeBucketsResponse) => void): Request<Macie2.Types.DescribeBucketsResponse, AWSError>;
126
126
  /**
127
- * Retrieves information about the status and settings for a classification job.
127
+ * Retrieves the status and settings for a classification job.
128
128
  */
129
129
  describeClassificationJob(params: Macie2.Types.DescribeClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request<Macie2.Types.DescribeClassificationJobResponse, AWSError>;
130
130
  /**
131
- * Retrieves information about the status and settings for a classification job.
131
+ * Retrieves the status and settings for a classification job.
132
132
  */
133
133
  describeClassificationJob(callback?: (err: AWSError, data: Macie2.Types.DescribeClassificationJobResponse) => void): Request<Macie2.Types.DescribeClassificationJobResponse, AWSError>;
134
134
  /**
135
- * Retrieves information about the Amazon Macie configuration settings for an AWS organization.
135
+ * Retrieves the Amazon Macie configuration settings for an AWS organization.
136
136
  */
137
137
  describeOrganizationConfiguration(params: Macie2.Types.DescribeOrganizationConfigurationRequest, callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Macie2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
138
138
  /**
139
- * Retrieves information about the Amazon Macie configuration settings for an AWS organization.
139
+ * Retrieves the Amazon Macie configuration settings for an AWS organization.
140
140
  */
141
141
  describeOrganizationConfiguration(callback?: (err: AWSError, data: Macie2.Types.DescribeOrganizationConfigurationResponse) => void): Request<Macie2.Types.DescribeOrganizationConfigurationResponse, AWSError>;
142
142
  /**
@@ -204,11 +204,11 @@ declare class Macie2 extends Service {
204
204
  */
205
205
  getClassificationExportConfiguration(callback?: (err: AWSError, data: Macie2.Types.GetClassificationExportConfigurationResponse) => void): Request<Macie2.Types.GetClassificationExportConfigurationResponse, AWSError>;
206
206
  /**
207
- * Retrieves information about the criteria and other settings for a custom data identifier.
207
+ * Retrieves the criteria and other settings for a custom data identifier.
208
208
  */
209
209
  getCustomDataIdentifier(params: Macie2.Types.GetCustomDataIdentifierRequest, callback?: (err: AWSError, data: Macie2.Types.GetCustomDataIdentifierResponse) => void): Request<Macie2.Types.GetCustomDataIdentifierResponse, AWSError>;
210
210
  /**
211
- * Retrieves information about the criteria and other settings for a custom data identifier.
211
+ * Retrieves the criteria and other settings for a custom data identifier.
212
212
  */
213
213
  getCustomDataIdentifier(callback?: (err: AWSError, data: Macie2.Types.GetCustomDataIdentifierResponse) => void): Request<Macie2.Types.GetCustomDataIdentifierResponse, AWSError>;
214
214
  /**
@@ -220,19 +220,19 @@ declare class Macie2 extends Service {
220
220
  */
221
221
  getFindingStatistics(callback?: (err: AWSError, data: Macie2.Types.GetFindingStatisticsResponse) => void): Request<Macie2.Types.GetFindingStatisticsResponse, AWSError>;
222
222
  /**
223
- * Retrieves information about one or more findings.
223
+ * Retrieves the details of one or more findings.
224
224
  */
225
225
  getFindings(params: Macie2.Types.GetFindingsRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsResponse) => void): Request<Macie2.Types.GetFindingsResponse, AWSError>;
226
226
  /**
227
- * Retrieves information about one or more findings.
227
+ * Retrieves the details of one or more findings.
228
228
  */
229
229
  getFindings(callback?: (err: AWSError, data: Macie2.Types.GetFindingsResponse) => void): Request<Macie2.Types.GetFindingsResponse, AWSError>;
230
230
  /**
231
- * Retrieves information about the criteria and other settings for a findings filter.
231
+ * Retrieves the criteria and other settings for a findings filter.
232
232
  */
233
233
  getFindingsFilter(params: Macie2.Types.GetFindingsFilterRequest, callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request<Macie2.Types.GetFindingsFilterResponse, AWSError>;
234
234
  /**
235
- * Retrieves information about the criteria and other settings for a findings filter.
235
+ * Retrieves the criteria and other settings for a findings filter.
236
236
  */
237
237
  getFindingsFilter(callback?: (err: AWSError, data: Macie2.Types.GetFindingsFilterResponse) => void): Request<Macie2.Types.GetFindingsFilterResponse, AWSError>;
238
238
  /**
@@ -244,11 +244,11 @@ declare class Macie2 extends Service {
244
244
  */
245
245
  getInvitationsCount(callback?: (err: AWSError, data: Macie2.Types.GetInvitationsCountResponse) => void): Request<Macie2.Types.GetInvitationsCountResponse, AWSError>;
246
246
  /**
247
- * Retrieves information about the current status and configuration settings for an Amazon Macie account.
247
+ * Retrieves the current status and configuration settings for an Amazon Macie account.
248
248
  */
249
249
  getMacieSession(params: Macie2.Types.GetMacieSessionRequest, callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
250
250
  /**
251
- * Retrieves information about the current status and configuration settings for an Amazon Macie account.
251
+ * Retrieves the current status and configuration settings for an Amazon Macie account.
252
252
  */
253
253
  getMacieSession(callback?: (err: AWSError, data: Macie2.Types.GetMacieSessionResponse) => void): Request<Macie2.Types.GetMacieSessionResponse, AWSError>;
254
254
  /**
@@ -380,11 +380,11 @@ declare class Macie2 extends Service {
380
380
  */
381
381
  untagResource(callback?: (err: AWSError, data: Macie2.Types.UntagResourceResponse) => void): Request<Macie2.Types.UntagResourceResponse, AWSError>;
382
382
  /**
383
- * Cancels a classification job.
383
+ * Changes the status of a classification job.
384
384
  */
385
385
  updateClassificationJob(params: Macie2.Types.UpdateClassificationJobRequest, callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
386
386
  /**
387
- * Cancels a classification job.
387
+ * Changes the status of a classification job.
388
388
  */
389
389
  updateClassificationJob(callback?: (err: AWSError, data: Macie2.Types.UpdateClassificationJobResponse) => void): Request<Macie2.Types.UpdateClassificationJobResponse, AWSError>;
390
390
  /**
@@ -599,6 +599,10 @@ declare namespace Macie2 {
599
599
  * The total number of buckets that allow the general public to have write access to the bucket.
600
600
  */
601
601
  publiclyWritable?: __long;
602
+ /**
603
+ * The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
604
+ */
605
+ unknown?: __long;
602
606
  }
603
607
  export interface BucketCountByEncryptionType {
604
608
  /**
@@ -624,9 +628,13 @@ declare namespace Macie2 {
624
628
  */
625
629
  internal?: __long;
626
630
  /**
627
- * The total number of buckets that aren't shared with any other AWS accounts.
631
+ * The total number of buckets that aren't shared with other AWS accounts.
628
632
  */
629
633
  notShared?: __long;
634
+ /**
635
+ * The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other AWS accounts.
636
+ */
637
+ unknown?: __long;
630
638
  }
631
639
  export type BucketCriteria = {[key: string]: BucketCriteriaAdditionalProperties};
632
640
  export interface BucketCriteriaAdditionalProperties {
@@ -691,11 +699,11 @@ declare namespace Macie2 {
691
699
  */
692
700
  bucketName?: __string;
693
701
  /**
694
- * The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported file or storage format and storage class.
702
+ * The total number of objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
695
703
  */
696
704
  classifiableObjectCount?: __long;
697
705
  /**
698
- * The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported file or storage format and storage class.
706
+ * The total storage size, in bytes, of the objects that Amazon Macie can analyze in the bucket. These objects use a supported storage class and have a file name extension for a supported file or storage format.
699
707
  */
700
708
  classifiableSizeInBytes?: __long;
701
709
  /**
@@ -723,7 +731,7 @@ declare namespace Macie2 {
723
731
  */
724
732
  replicationDetails?: ReplicationDetails;
725
733
  /**
726
- * Specifies whether the bucket is shared with another AWS account. Possible values are: EXTERNAL - The bucket is shared with an AWS account that isnt part of the same Amazon Macie organization. INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization. NOT_SHARED - The bucket isn't shared with other AWS accounts. UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
734
+ * Specifies whether the bucket is shared with another AWS account. Possible values are: EXTERNAL - The bucket is shared with an AWS account that isn't part of the same Amazon Macie organization. INTERNAL - The bucket is shared with an AWS account that's part of the same Amazon Macie organization. NOT_SHARED - The bucket isn't shared with other AWS accounts. UNKNOWN - Amazon Macie wasn't able to evaluate the shared access settings for the bucket.
727
735
  */
728
736
  sharedAccess?: SharedAccess;
729
737
  /**
@@ -739,11 +747,11 @@ declare namespace Macie2 {
739
747
  */
740
748
  tags?: __listOfKeyValuePair;
741
749
  /**
742
- * The total number of objects that Amazon Macie can't analyze in the bucket. These objects use an unsupported file or storage format or storage class.
750
+ * The total number of objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
743
751
  */
744
752
  unclassifiableObjectCount?: ObjectLevelStatistics;
745
753
  /**
746
- * The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects use an unsupported file or storage format or storage class.
754
+ * The total storage size, in bytes, of the objects that Amazon Macie can't analyze in the bucket. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
747
755
  */
748
756
  unclassifiableObjectSizeInBytes?: ObjectLevelStatistics;
749
757
  /**
@@ -791,9 +799,28 @@ declare namespace Macie2 {
791
799
  */
792
800
  orderBy?: OrderBy;
793
801
  }
802
+ export interface Cell {
803
+ /**
804
+ * The location of the cell, as an absolute cell reference, that contains the data. For example, Sheet2!C5 for cell C5 on Sheet2 in a Microsoft Excel workbook. This value is null for CSV and TSV files.
805
+ */
806
+ cellReference?: __string;
807
+ /**
808
+ * The column number of the column that contains the data. For a Microsoft Excel workbook, this value correlates to the alphabetical character(s) for a column identifier. For example, 1 for column A, 2 for column B, and so on.
809
+ */
810
+ column?: __long;
811
+ /**
812
+ * The name of the column that contains the data, if available.
813
+ */
814
+ columnName?: __string;
815
+ /**
816
+ * The row number of the row that contains the data.
817
+ */
818
+ row?: __long;
819
+ }
820
+ export type Cells = Cell[];
794
821
  export interface ClassificationDetails {
795
822
  /**
796
- * The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery results for the finding. If a finding applies to a large archive or compressed file, this is a path to a folder. Otherwise, this is a path to a file.
823
+ * The path to the folder or file (in Amazon S3) that contains the corresponding sensitive data discovery result for the finding. If a finding applies to a large archive or compressed file, this value is the path to a folder. Otherwise, this value is the path to a file.
797
824
  */
798
825
  detailedResultsLocation?: __string;
799
826
  /**
@@ -817,15 +844,19 @@ declare namespace Macie2 {
817
844
  }
818
845
  export interface ClassificationResult {
819
846
  /**
820
- * The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
847
+ * Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data. This value can help you to determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (ClassificationDetails.detailedResultsLocation).
848
+ */
849
+ additionalOccurrences?: __boolean;
850
+ /**
851
+ * The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
821
852
  */
822
853
  customDataIdentifiers?: CustomDataIdentifiers;
823
854
  /**
824
- * The type of content, expressed as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe PDF file.
855
+ * The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
825
856
  */
826
857
  mimeType?: __string;
827
858
  /**
828
- * The category and number of occurrences of the sensitive data that produced the finding.
859
+ * The category, types, and number of occurrences of the sensitive data that produced the finding.
829
860
  */
830
861
  sensitiveData?: SensitiveData;
831
862
  /**
@@ -839,7 +870,7 @@ declare namespace Macie2 {
839
870
  }
840
871
  export interface ClassificationResultStatus {
841
872
  /**
842
- * The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object that the finding applies to. PARTIAL - Macie was able to analyze only a subset of the data in the object that the finding applies to. For example, the object is a compressed or archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object that the finding applies to. For example, the object is a malformed file or a file that's in an unsupported format.
873
+ * The status of the finding. Possible values are: COMPLETE - Amazon Macie successfully completed its analysis of the object that the finding applies to. PARTIAL - Macie was able to analyze only a subset of the data in the object that the finding applies to. For example, the object is a compressed or archive file that contains files in an unsupported format. SKIPPED - Macie wasn't able to analyze the object that the finding applies to. For example, the object is a malformed file or a file that uses an unsupported format.
843
874
  */
844
875
  code?: __string;
845
876
  /**
@@ -881,7 +912,7 @@ declare namespace Macie2 {
881
912
  */
882
913
  samplingPercentage?: __integer;
883
914
  /**
884
- * The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value of the jobType property to ONE_TIME.
915
+ * The recurrence pattern for running the job. To run the job only once, don't specify a value for this property and set the value for the jobType property to ONE_TIME.
885
916
  */
886
917
  scheduleFrequency?: JobScheduleFrequency;
887
918
  /**
@@ -1089,13 +1120,17 @@ declare namespace Macie2 {
1089
1120
  */
1090
1121
  arn?: __string;
1091
1122
  /**
1092
- * The total number of occurrences of the data that the custom data identifier detected for the finding.
1123
+ * The total number of occurrences of the sensitive data that the custom data identifier detected.
1093
1124
  */
1094
1125
  count?: __long;
1095
1126
  /**
1096
1127
  * The name of the custom data identifier.
1097
1128
  */
1098
1129
  name?: __string;
1130
+ /**
1131
+ * The location of 1-15 occurrences of the sensitive data that the custom data identifier detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
1132
+ */
1133
+ occurrences?: Occurrences;
1099
1134
  }
1100
1135
  export type CustomDetections = CustomDetection[];
1101
1136
  export interface DailySchedule {
@@ -1115,11 +1150,15 @@ declare namespace Macie2 {
1115
1150
  }
1116
1151
  export interface DefaultDetection {
1117
1152
  /**
1118
- * The total number of occurrences of the type of data that was detected.
1153
+ * The total number of occurrences of the type of sensitive data that was detected.
1119
1154
  */
1120
1155
  count?: __long;
1121
1156
  /**
1122
- * The type of data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
1157
+ * The location of 1-15 occurrences of the sensitive data that was detected. A finding includes location data for a maximum of 15 occurrences of sensitive data.
1158
+ */
1159
+ occurrences?: Occurrences;
1160
+ /**
1161
+ * The type of sensitive data that was detected. For example, AWS_CREDENTIALS, PHONE_NUMBER, or ADDRESS.
1123
1162
  */
1124
1163
  type?: __string;
1125
1164
  }
@@ -1224,11 +1263,11 @@ declare namespace Macie2 {
1224
1263
  */
1225
1264
  jobId?: __string;
1226
1265
  /**
1227
- * The current status of the job. Possible values are: CANCELLED - You cancelled the job. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket. COMPLETE - Amazon Macie finished processing all the data specified for the job. IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once. PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account. RUNNING - The job is in progress.
1266
+ * The current status of the job. Possible values are: CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it. COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs. IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs. PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account. RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress. USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
1228
1267
  */
1229
1268
  jobStatus?: JobStatus;
1230
1269
  /**
1231
- * The schedule for running the job. Possible values are: ONE_TIME - The job ran or will run only once. SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
1270
+ * The schedule for running the job. Possible values are: ONE_TIME - The job runs only once. SCHEDULED - The job runs on a daily, weekly, or monthly basis. The scheduleFrequency property indicates the recurrence pattern for the job.
1232
1271
  */
1233
1272
  jobType?: JobType;
1234
1273
  /**
@@ -1252,13 +1291,17 @@ declare namespace Macie2 {
1252
1291
  */
1253
1292
  scheduleFrequency?: JobScheduleFrequency;
1254
1293
  /**
1255
- * The number of times that the job has run and processing statistics for the job's most recent run.
1294
+ * The number of times that the job has run and processing statistics for the job's current run.
1256
1295
  */
1257
1296
  statistics?: Statistics;
1258
1297
  /**
1259
- * A map of key-value pairs that identifies the tags (keys and values) that are associated with the classification job.
1298
+ * A map of key-value pairs that specifies which tags (keys and values) are associated with the classification job.
1260
1299
  */
1261
1300
  tags?: TagMap;
1301
+ /**
1302
+ * If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
1303
+ */
1304
+ userPausedDetails?: UserPausedDetails;
1262
1305
  }
1263
1306
  export interface DescribeOrganizationConfigurationRequest {
1264
1307
  }
@@ -1373,7 +1416,7 @@ declare namespace Macie2 {
1373
1416
  */
1374
1417
  classificationDetails?: ClassificationDetails;
1375
1418
  /**
1376
- * The total number of occurrences of this finding.
1419
+ * The total number of occurrences of the finding.
1377
1420
  */
1378
1421
  count?: __long;
1379
1422
  /**
@@ -1413,7 +1456,7 @@ declare namespace Macie2 {
1413
1456
  */
1414
1457
  schemaVersion?: __string;
1415
1458
  /**
1416
- * The severity of the finding.
1459
+ * The severity level and score for the finding.
1417
1460
  */
1418
1461
  severity?: Severity;
1419
1462
  /**
@@ -1425,7 +1468,7 @@ declare namespace Macie2 {
1425
1468
  */
1426
1469
  type?: FindingType;
1427
1470
  /**
1428
- * The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. Sensitive data findings aren't updated.
1471
+ * The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. All sensitive data findings are considered new (unique) because they derive from individual classification jobs.
1429
1472
  */
1430
1473
  updatedAt?: __timestampIso8601;
1431
1474
  }
@@ -1521,11 +1564,11 @@ declare namespace Macie2 {
1521
1564
  */
1522
1565
  bucketCountBySharedAccessType?: BucketCountBySharedAccessType;
1523
1566
  /**
1524
- * The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported file or storage format and storage class.
1567
+ * The total number of objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
1525
1568
  */
1526
1569
  classifiableObjectCount?: __long;
1527
1570
  /**
1528
- * The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported file or storage format and storage class.
1571
+ * The total storage size, in bytes, of all the objects that Amazon Macie can analyze in the buckets. These objects use a supported storage class and have a file name extension for a supported file or storage format.
1529
1572
  */
1530
1573
  classifiableSizeInBytes?: __long;
1531
1574
  /**
@@ -1545,11 +1588,11 @@ declare namespace Macie2 {
1545
1588
  */
1546
1589
  sizeInBytesCompressed?: __long;
1547
1590
  /**
1548
- * The total number of objects that Amazon Macie can't analyze in the buckets. These objects use an unsupported file or storage format or storage class.
1591
+ * The total number of objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
1549
1592
  */
1550
1593
  unclassifiableObjectCount?: ObjectLevelStatistics;
1551
1594
  /**
1552
- * The total storage size, in bytes, of all the objects that Amazon Macie can't analyze in the buckets. These objects use an unsupported file or storage format or storage class.
1595
+ * The total storage size, in bytes, of all the objects that Amazon Macie can't analyze in the buckets. These objects don't use a supported storage class or don't have a file name extension for a supported file or storage format.
1553
1596
  */
1554
1597
  unclassifiableObjectSizeInBytes?: ObjectLevelStatistics;
1555
1598
  }
@@ -1619,7 +1662,7 @@ declare namespace Macie2 {
1619
1662
  */
1620
1663
  findingCriteria?: FindingCriteria;
1621
1664
  /**
1622
- * The finding property to use to group the query results. Valid values are: classificationDetails.jobId - The unique identifier for the classification job that produced the finding. resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to. severity.description - The severity of the finding, such as High or Medium. type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
1665
+ * The finding property to use to group the query results. Valid values are: classificationDetails.jobId - The unique identifier for the classification job that produced the finding. resourcesAffected.s3Bucket.name - The name of the S3 bucket that the finding applies to. severity.description - The severity level of the finding, such as High or Medium. type - The type of finding, such as Policy:IAMUser/S3BucketPublic and SensitiveData:S3Object/Personal.
1623
1666
  */
1624
1667
  groupBy: GroupBy;
1625
1668
  /**
@@ -1679,7 +1722,7 @@ declare namespace Macie2 {
1679
1722
  }
1680
1723
  export interface GetFindingsRequest {
1681
1724
  /**
1682
- * An array of strings that lists the unique identifiers for the findings to retrieve information about.
1725
+ * An array of strings that lists the unique identifiers for the findings to retrieve.
1683
1726
  */
1684
1727
  findingIds: __listOf__string;
1685
1728
  /**
@@ -1943,7 +1986,7 @@ declare namespace Macie2 {
1943
1986
  */
1944
1987
  simpleScopeTerm?: SimpleScopeTerm;
1945
1988
  /**
1946
- * A tag-based condition that defines the operator and a tag key or tag keys and values for including or excluding an object from the job.
1989
+ * A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an object from the job.
1947
1990
  */
1948
1991
  tagScopeTerm?: TagScopeTerm;
1949
1992
  }
@@ -1953,7 +1996,7 @@ declare namespace Macie2 {
1953
1996
  */
1954
1997
  and?: __listOfJobScopeTerm;
1955
1998
  }
1956
- export type JobStatus = "RUNNING"|"PAUSED"|"CANCELLED"|"COMPLETE"|"IDLE"|string;
1999
+ export type JobStatus = "RUNNING"|"PAUSED"|"CANCELLED"|"COMPLETE"|"IDLE"|"USER_PAUSED"|string;
1957
2000
  export interface JobSummary {
1958
2001
  /**
1959
2002
  * The S3 buckets that the job is configured to analyze.
@@ -1968,17 +2011,21 @@ declare namespace Macie2 {
1968
2011
  */
1969
2012
  jobId?: __string;
1970
2013
  /**
1971
- * The current status of the job. Possible values are: CANCELLED - You cancelled the job. A job might also be cancelled if ownership of an S3 bucket changed while the job was running, and that change affected the job's access to the bucket. COMPLETE - Amazon Macie finished processing all the data specified for the job. IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to jobs that occur only once. PAUSED - Amazon Macie started the job, but completion of the job would exceed one or more quotas for your account. RUNNING - The job is in progress.
2014
+ * The current status of the job. Possible values are: CANCELLED - You cancelled the job, or you paused the job and didn't resume it within 30 days of pausing it. COMPLETE - For a one-time job, Amazon Macie finished processing all the data specified for the job. This value doesn't apply to recurring jobs. IDLE - For a recurring job, the previous scheduled run is complete and the next scheduled run is pending. This value doesn't apply to one-time jobs. PAUSED - Amazon Macie started running the job but completion of the job would exceed one or more quotas for your account. RUNNING - For a one-time job, the job is in progress. For a recurring job, a scheduled run is in progress. USER_PAUSED - You paused the job. If you don't resume the job within 30 days of pausing it, the job will expire and be cancelled.
1972
2015
  */
1973
2016
  jobStatus?: JobStatus;
1974
2017
  /**
1975
- * The schedule for running the job. Possible values are: ONE_TIME - The job ran or will run only once. SCHEDULED - The job runs on a daily, weekly, or monthly basis.
2018
+ * The schedule for running the job. Possible values are: ONE_TIME - The job runs only once. SCHEDULED - The job runs on a daily, weekly, or monthly basis.
1976
2019
  */
1977
2020
  jobType?: JobType;
1978
2021
  /**
1979
2022
  * The custom name of the job.
1980
2023
  */
1981
2024
  name?: __string;
2025
+ /**
2026
+ * If the current status of the job is USER_PAUSED, specifies when the job was paused and when the job will expire and be cancelled if it isn't resumed. This value is present only if the value for jobStatus is USER_PAUSED.
2027
+ */
2028
+ userPausedDetails?: UserPausedDetails;
1982
2029
  }
1983
2030
  export type JobType = "ONE_TIME"|"SCHEDULED"|string;
1984
2031
  export interface KeyValuePair {
@@ -2238,7 +2285,7 @@ declare namespace Macie2 {
2238
2285
  }
2239
2286
  export interface MonthlySchedule {
2240
2287
  /**
2241
- * The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 30.
2288
+ * The numeric day of the month when Amazon Macie runs the job. This value can be an integer from 1 through 31. If this value exceeds the number of days in a certain month, Macie runs the job on the last day of that month. For example, if this value is 31 and a month has only 30 days, Macie runs the job on day 30 of that month.
2242
2289
  */
2243
2290
  dayOfMonth?: __integer;
2244
2291
  }
@@ -2262,7 +2309,7 @@ declare namespace Macie2 {
2262
2309
  }
2263
2310
  export interface ObjectLevelStatistics {
2264
2311
  /**
2265
- * The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported file or storage format.
2312
+ * The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects don't have a file name extension for a supported file or storage format.
2266
2313
  */
2267
2314
  fileType?: __long;
2268
2315
  /**
@@ -2270,11 +2317,48 @@ declare namespace Macie2 {
2270
2317
  */
2271
2318
  storageClass?: __long;
2272
2319
  /**
2273
- * The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported file or storage format or storage class.
2320
+ * The total storage size (in bytes) or number of objects that Amazon Macie can't analyze because the objects use an unsupported storage class or don't have a file name extension for a supported file or storage format.
2274
2321
  */
2275
2322
  total?: __long;
2276
2323
  }
2324
+ export interface Occurrences {
2325
+ /**
2326
+ * An array of objects, one for each occurrence of sensitive data in a Microsoft Excel workbook, CSV file, or TSV file. Each object specifies the cell that contains the data. This value is null for all other types of files.
2327
+ */
2328
+ cells?: Cells;
2329
+ /**
2330
+ * An array of objects, one for each occurrence of sensitive data in an Apache Avro object container, Microsoft Word document, or non-binary text file, such as an HTML, JSON, TXT, or XML file. Each object specifies the line that contains the data, and the position of the data on that line. This value is often null for file types that are supported by Cell, Page, or Record objects. Exceptions are the locations of: full names and addresses in a Microsoft Excel workbook, CSV file, or TSV file; data in unstructured sections of an otherwise structured file, such as a comment in a file; and, data in a malformed file that Amazon Macie analyzes as plain text.
2331
+ */
2332
+ lineRanges?: Ranges;
2333
+ /**
2334
+ * An array of objects, one for each occurrence of sensitive data in a binary text file. Each object specifies the position of the data relative to the start of the file. This value is typically null. For binary text files, Macie adds location data to a lineRanges.Range or Page object, depending on the file type.
2335
+ */
2336
+ offsetRanges?: Ranges;
2337
+ /**
2338
+ * An array of objects, one for each occurrence of sensitive data in an Adobe Portable Document Format file. Each object specifies the page that contains the data, and the position of the data on that page. This value is null for all other types of files.
2339
+ */
2340
+ pages?: Pages;
2341
+ /**
2342
+ * An array of objects, one for each occurrence of sensitive data in an Apache Parquet file. Each object specifies the row that contains the data. This value is null for all other types of files.
2343
+ */
2344
+ records?: Records;
2345
+ }
2277
2346
  export type OrderBy = "ASC"|"DESC"|string;
2347
+ export interface Page {
2348
+ /**
2349
+ * The line that contains the data, and the position of the data on that line.
2350
+ */
2351
+ lineRange?: Range;
2352
+ /**
2353
+ * The position of the data on the page, relative to the start and end of the page.
2354
+ */
2355
+ offsetRange?: Range;
2356
+ /**
2357
+ * The page number of the page that contains the data.
2358
+ */
2359
+ pageNumber?: __long;
2360
+ }
2361
+ export type Pages = Page[];
2278
2362
  export interface PolicyDetails {
2279
2363
  /**
2280
2364
  * The action that produced the finding.
@@ -2297,6 +2381,28 @@ declare namespace Macie2 {
2297
2381
  */
2298
2382
  configuration?: ClassificationExportConfiguration;
2299
2383
  }
2384
+ export interface Range {
2385
+ /**
2386
+ * Possible values are: In an Occurrences.lineRanges array, the number of lines from the end of the file. In an Occurrences.offsetRanges array, the number of characters from the end of the file. In a Page object, the number of lines (lineRange) or characters (offsetRange) from the end of the page.
2387
+ */
2388
+ end?: __long;
2389
+ /**
2390
+ * Possible values are: In an Occurrences.lineRanges array, the number of lines from the start of the file. In an Occurrences.offsetRanges array, the number of characters from the start of the file. In a Page object, the number of lines (lineRange) or characters (offsetRange) from the start of the page.
2391
+ */
2392
+ start?: __long;
2393
+ /**
2394
+ * The column number for the column that contains the data, if the file contains structured data.
2395
+ */
2396
+ startColumn?: __long;
2397
+ }
2398
+ export type Ranges = Range[];
2399
+ export interface Record {
2400
+ /**
2401
+ * The row index, starting from 0, for the row that contains the data.
2402
+ */
2403
+ recordIndex?: __long;
2404
+ }
2405
+ export type Records = Record[];
2300
2406
  export type RelationshipStatus = "Enabled"|"Paused"|"Invited"|"Created"|"Removed"|"Resigned"|"EmailVerificationInProgress"|"EmailVerificationFailed"|"RegionDisabled"|"AccountSuspended"|string;
2301
2407
  export interface ReplicationDetails {
2302
2408
  /**
@@ -2332,7 +2438,7 @@ declare namespace Macie2 {
2332
2438
  */
2333
2439
  createdAt?: __timestampIso8601;
2334
2440
  /**
2335
- * The server-side encryption settings for the bucket.
2441
+ * The type of server-side encryption that's used by default to encrypt objects in the bucket.
2336
2442
  */
2337
2443
  defaultServerSideEncryption?: ServerSideEncryption;
2338
2444
  /**
@@ -2426,7 +2532,7 @@ declare namespace Macie2 {
2426
2532
  */
2427
2533
  publicAccess?: __boolean;
2428
2534
  /**
2429
- * The server-side encryption settings for the object.
2535
+ * The type of server-side encryption that's used for the object.
2430
2536
  */
2431
2537
  serverSideEncryption?: ServerSideEncryption;
2432
2538
  /**
@@ -2460,11 +2566,11 @@ declare namespace Macie2 {
2460
2566
  export type SensitiveData = SensitiveDataItem[];
2461
2567
  export interface SensitiveDataItem {
2462
2568
  /**
2463
- * The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information such as full names and mailing addresses; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
2569
+ * The category of sensitive data that was detected. For example: FINANCIAL_INFORMATION, for financial information such as credit card numbers; PERSONAL_INFORMATION, for personally identifiable information, such as full names and mailing addresses, or personal health information; or, CUSTOM_IDENTIFIER, for data that was detected by a custom data identifier.
2464
2570
  */
2465
2571
  category?: SensitiveDataItemCategory;
2466
2572
  /**
2467
- * An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected.
2573
+ * An array of objects, one for each type of sensitive data that was detected. Each object reports the number of occurrences of a specific type of sensitive data that was detected, and the location of up to 15 of those occurrences.
2468
2574
  */
2469
2575
  detections?: DefaultDetections;
2470
2576
  /**
@@ -2541,11 +2647,11 @@ declare namespace Macie2 {
2541
2647
  }
2542
2648
  export interface Severity {
2543
2649
  /**
2544
- * The textual representation of the severity value, such as Low or High.
2650
+ * The qualitative representation of the finding's severity, ranging from Low (least severe) to High (most severe).
2545
2651
  */
2546
2652
  description?: SeverityDescription;
2547
2653
  /**
2548
- * The numeric score for the severity value, ranging from 0 (least severe) to 4 (most severe).
2654
+ * The numerical representation of the finding's severity, ranging from 1 (least severe) to 3 (most severe).
2549
2655
  */
2550
2656
  score?: __long;
2551
2657
  }
@@ -2553,15 +2659,15 @@ declare namespace Macie2 {
2553
2659
  export type SharedAccess = "EXTERNAL"|"INTERNAL"|"NOT_SHARED"|"UNKNOWN"|string;
2554
2660
  export interface SimpleScopeTerm {
2555
2661
  /**
2556
- * The operator to use in the condition.
2662
+ * The operator to use in the condition. Valid operators for each supported property (key) are: OBJECT_EXTENSION - EQ (equals) or NE (not equals) OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS OBJECT_SIZE - Any operator except CONTAINS TAG - EQ (equals) or NE (not equals)
2557
2663
  */
2558
2664
  comparator?: JobComparator;
2559
2665
  /**
2560
- * The property to use in the condition.
2666
+ * The object property to use in the condition.
2561
2667
  */
2562
2668
  key?: ScopeFilterKey;
2563
2669
  /**
2564
- * An array that lists one or more values to use in the condition.
2670
+ * An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION, this array can specify multiple values and Amazon Macie uses an OR operator to join the values. Otherwise, this array can specify only one value. Valid values for each supported property (key) are: OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: doc, docx, pdf OBJECT_LAST_MODIFIED_DATE - The date and time (in UTC and extended ISO 8601 format) when an object was created or last changed, whichever is latest. For example: 2020-09-28T14:31:13Z OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object. TAG - A string that represents a tag key for an object. For advanced options, use a TagScopeTerm object, instead of a SimpleScopeTerm object, to define a tag-based condition for the job.
2565
2671
  */
2566
2672
  values?: __listOf__string;
2567
2673
  }
@@ -2601,7 +2707,7 @@ declare namespace Macie2 {
2601
2707
  }
2602
2708
  export interface TagScopeTerm {
2603
2709
  /**
2604
- * The operator to use in the condition.
2710
+ * The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).
2605
2711
  */
2606
2712
  comparator?: JobComparator;
2607
2713
  /**
@@ -2609,7 +2715,7 @@ declare namespace Macie2 {
2609
2715
  */
2610
2716
  key?: __string;
2611
2717
  /**
2612
- * The tag key and value pairs to use in the condition.
2718
+ * The tag keys or tag key and value pairs to use in the condition.
2613
2719
  */
2614
2720
  tagValues?: __listOfTagValuePair;
2615
2721
  /**
@@ -2624,7 +2730,7 @@ declare namespace Macie2 {
2624
2730
  */
2625
2731
  key?: __string;
2626
2732
  /**
2627
- * The tag value, associated with the specified tag key, to use in the condition.
2733
+ * The tag value, associated with the specified tag key (key), to use in the condition. To specify only a tag key for a condition, specify the tag key for the key property and set this value to an empty string.
2628
2734
  */
2629
2735
  value?: __string;
2630
2736
  }
@@ -2689,7 +2795,7 @@ declare namespace Macie2 {
2689
2795
  */
2690
2796
  jobId: __string;
2691
2797
  /**
2692
- * The status to change the job's status to. The only supported value is CANCELLED, which cancels the job completely.
2798
+ * The new status for the job. Valid values are: CANCELLED - Stops the job permanently and cancels it. You can't resume a job after you cancel it. This value is valid only if the job's current status is IDLE, PAUSED, RUNNING, or USER_PAUSED. RUNNING - Resumes the job. This value is valid only if the job's current status is USER_PAUSED. If you specify this value, Amazon Macie immediately resumes the job. USER_PAUSED - Pauses the job. This value is valid only if the job's current status is IDLE or RUNNING. If you specify this value and the job is currently running, Macie immediately stops running the job. To resume a job after you pause it, change the job's status to RUNNING. If you don't resume a job within 30 days of pausing it, the job expires and Macie cancels it. You can't resume a job after it's cancelled.
2693
2799
  */
2694
2800
  jobStatus: JobStatus;
2695
2801
  }
@@ -2882,6 +2988,20 @@ declare namespace Macie2 {
2882
2988
  principalId?: __string;
2883
2989
  }
2884
2990
  export type UserIdentityType = "AssumedRole"|"IAMUser"|"FederatedUser"|"Root"|"AWSAccount"|"AWSService"|string;
2991
+ export interface UserPausedDetails {
2992
+ /**
2993
+ * The date and time, in UTC and extended ISO 8601 format, when the job will expire and be cancelled if you don't resume it first. If you don't resume a job within 30 days of pausing it, the job expires and Amazon Macie cancels it.
2994
+ */
2995
+ jobExpiresAt?: __timestampIso8601;
2996
+ /**
2997
+ * The Amazon Resource Name (ARN) of the AWS Health event that Amazon Macie sent to notify you of the job's pending expiration and cancellation. This value is null if a job has been paused for less than 23 days.
2998
+ */
2999
+ jobImminentExpirationHealthEventArn?: __string;
3000
+ /**
3001
+ * The date and time, in UTC and extended ISO 8601 format, when you paused the job.
3002
+ */
3003
+ jobPausedAt?: __timestampIso8601;
3004
+ }
2885
3005
  export interface WeeklySchedule {
2886
3006
  /**
2887
3007
  * The day of the week when Amazon Macie runs the job.