Skip to content

Commit 64f0c84

Browse files
author
AWS
committed
Amazon Macie 2 Update: This release of the Amazon Macie API introduces stricter validation of S3 object criteria for classification jobs.
1 parent ebee1aa commit 64f0c84

File tree

2 files changed

+33
-23
lines changed

2 files changed

+33
-23
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Macie 2",
4+
"contributor": "",
5+
"description": "This release of the Amazon Macie API introduces stricter validation of S3 object criteria for classification jobs."
6+
}

services/macie2/src/main/resources/codegen-resources/service-2.json

+27-23
Original file line numberDiff line numberDiff line change
@@ -5277,15 +5277,15 @@
52775277
"documentation": "<p>A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding objects from the job.</p>"
52785278
}
52795279
},
5280-
"documentation": "<p>Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job.</p>"
5280+
"documentation": "<p>Specifies a property- or tag-based condition that defines criteria for including or excluding S3 objects from a classification job. A JobScopeTerm object can contain only one simpleScopeTerm object or one tagScopeTerm object.</p>"
52815281
},
52825282
"JobScopingBlock": {
52835283
"type": "structure",
52845284
"members": {
52855285
"and": {
52865286
"shape": "__listOfJobScopeTerm",
52875287
"locationName": "and",
5288-
"documentation": "<p>An array of conditions, one for each condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.</p>"
5288+
"documentation": "<p>An array of conditions, one for each property- or tag-based condition that determines which objects to include or exclude from the job. If you specify more than one condition, Amazon Macie uses AND logic to join the conditions.</p>"
52895289
}
52905290
},
52915291
"documentation": "<p>Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 objects from a classification job.</p>"
@@ -5773,7 +5773,7 @@
57735773
"classifiableSizeInBytes": {
57745774
"shape": "__long",
57755775
"locationName": "classifiableSizeInBytes",
5776-
"documentation": "<p>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.</p><p>If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.</p>"
5776+
"documentation": "<p>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.</p> <p>If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.</p>"
57775777
},
57785778
"jobDetails": {
57795779
"shape": "JobDetails",
@@ -5793,12 +5793,12 @@
57935793
"sizeInBytes": {
57945794
"shape": "__long",
57955795
"locationName": "sizeInBytes",
5796-
"documentation": "<p>The total storage size, in bytes, of the bucket.</p><p>If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.</p>"
5796+
"documentation": "<p>The total storage size, in bytes, of the bucket.</p> <p>If versioning is enabled for the bucket, Amazon Macie calculates this value based on the size of the latest version of each object in the bucket. This value doesn't reflect the storage size of all versions of each object in the bucket.</p>"
57975797
},
57985798
"sizeInBytesCompressed": {
57995799
"shape": "__long",
58005800
"locationName": "sizeInBytesCompressed",
5801-
"documentation": "<p>The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.</p><p>If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.</p>"
5801+
"documentation": "<p>The total storage size, in bytes, of the objects that are compressed (.gz, .gzip, .zip) files in the bucket.</p> <p>If versioning is enabled for the bucket, Macie calculates this value based on the size of the latest version of each applicable object in the bucket. This value doesn't reflect the storage size of all versions of each applicable object in the bucket.</p>"
58025802
},
58035803
"unclassifiableObjectCount": {
58045804
"shape": "ObjectLevelStatistics",
@@ -5959,20 +5959,20 @@
59595959
"offsetRanges": {
59605960
"shape": "Ranges",
59615961
"locationName": "offsetRanges",
5962-
"documentation": "<p>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 beginning of the file.</p> <p>This value is typically null. For binary text files, Amazon Macie adds location data to a lineRanges.Range or Page object, depending on the file type.</p>"
5962+
"documentation": " <p>Reserved for future use.</p>"
59635963
},
59645964
"pages": {
59655965
"shape": "Pages",
59665966
"locationName": "pages",
5967-
"documentation": "<p>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.</p>"
5967+
"documentation": "<p>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. This value is null for all other types of files.</p>"
59685968
},
59695969
"records": {
59705970
"shape": "Records",
59715971
"locationName": "records",
59725972
"documentation": "<p>An array of objects, one for each occurrence of sensitive data in an Apache Avro object container or Apache Parquet file. Each object specifies the record index and the path to the field in the record that contains the data. This value is null for all other types of files.</p>"
59735973
}
59745974
},
5975-
"documentation": "<p>Provides the location of 1-15 occurrences of sensitive data that was detected by managed data identifiers or a custom data identifier and produced a sensitive data finding.</p>"
5975+
"documentation": "<p>Specifies the location of 1-15 occurrences of sensitive data that was detected by managed data identifiers or a custom data identifier and produced a sensitive data finding.</p>"
59765976
},
59775977
"OrderBy": {
59785978
"type": "string",
@@ -5987,12 +5987,12 @@
59875987
"lineRange": {
59885988
"shape": "Range",
59895989
"locationName": "lineRange",
5990-
"documentation": "<p>The line that contains the data, and the position of the data on that line.</p>"
5990+
"documentation": " <p>Reserved for future use.</p>"
59915991
},
59925992
"offsetRange": {
59935993
"shape": "Range",
59945994
"locationName": "offsetRange",
5995-
"documentation": "<p>The position of the data on the page, relative to the beginning of the page.</p>"
5995+
"documentation": " <p>Reserved for future use.</p>"
59965996
},
59975997
"pageNumber": {
59985998
"shape": "__long",
@@ -6074,20 +6074,20 @@
60746074
"end": {
60756075
"shape": "__long",
60766076
"locationName": "end",
6077-
"documentation": "<p>Possible values are:</p> <ul><li><p>In an Occurrences.lineRanges array, the number of lines from the beginning of the file to the end of the sensitive data.</p></li> <li><p>In an Occurrences.offsetRanges array, the number of characters from the beginning of the file to the end of the sensitive data.</p></li> <li><p>In a Page object, the number of lines (lineRange) or characters (offsetRange) from the beginning of the page to the end of the sensitive data.</p></li></ul>"
6077+
"documentation": "<p>The number of lines from the beginning of the file to the end of the sensitive data.</p> "
60786078
},
60796079
"start": {
60806080
"shape": "__long",
60816081
"locationName": "start",
6082-
"documentation": "<p>Possible values are:</p> <ul><li><p>In an Occurrences.lineRanges array, the number of lines from the beginning of the file to the beginning of the sensitive data.</p></li> <li><p>In an Occurrences.offsetRanges array, the number of characters from the beginning of the file to the beginning of the sensitive data.</p></li> <li><p>In a Page object, the number of lines (lineRange) or characters (offsetRange) from the beginning of the page to the beginning of the sensitive data.</p></li></ul>"
6082+
"documentation": "<p>The number of lines from the beginning of the file to the beginning of the sensitive data.</p> "
60836083
},
60846084
"startColumn": {
60856085
"shape": "__long",
60866086
"locationName": "startColumn",
60876087
"documentation": "<p>The column number for the column that contains the data, if the file contains structured data.</p>"
60886088
}
60896089
},
6090-
"documentation": "<p>Provides details about the location of an occurrence of sensitive data in an Adobe Portable Document Format file, Microsoft Word document, or non-binary text file.</p>"
6090+
"documentation": "<p>Provides details about the location of an occurrence of sensitive data in a Microsoft Word document or non-binary text file.</p>"
60916091
},
60926092
"Ranges": {
60936093
"type": "list",
@@ -6401,11 +6401,9 @@
64016401
"type": "string",
64026402
"documentation": "<p>The property to use in a condition that determines whether an S3 object is included or excluded from a classification job. Valid values are:</p>",
64036403
"enum": [
6404-
"BUCKET_CREATION_DATE",
64056404
"OBJECT_EXTENSION",
64066405
"OBJECT_LAST_MODIFIED_DATE",
64076406
"OBJECT_SIZE",
6408-
"TAG",
64096407
"OBJECT_KEY"
64106408
]
64116409
},
@@ -6415,12 +6413,12 @@
64156413
"excludes": {
64166414
"shape": "JobScopingBlock",
64176415
"locationName": "excludes",
6418-
"documentation": "<p>The property- or tag-based conditions that determine which objects to exclude from the analysis.</p>"
6416+
"documentation": "<p>The property- and tag-based conditions that determine which objects to exclude from the analysis.</p>"
64196417
},
64206418
"includes": {
64216419
"shape": "JobScopingBlock",
64226420
"locationName": "includes",
6423-
"documentation": "<p>The property- or tag-based conditions that determine which objects to include in the analysis.</p>"
6421+
"documentation": "<p>The property- and tag-based conditions that determine which objects to include in the analysis.</p>"
64246422
}
64256423
},
64266424
"documentation": "<p>Specifies one or more property- and tag-based conditions that define criteria for including or excluding S3 objects from a classification job. Exclude conditions take precedence over include conditions.</p>"
@@ -6849,7 +6847,7 @@
68496847
"comparator": {
68506848
"shape": "JobComparator",
68516849
"locationName": "comparator",
6852-
"documentation": "<p>The operator to use in the condition. Valid operators for each supported property (key) are:</p> <ul><li><p>OBJECT_EXTENSION - EQ (equals) or NE (not equals)</p></li> <li><p>OBJECT_KEY - STARTS_WITH</p></li> <li><p>OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS</p></li> <li><p>OBJECT_SIZE - Any operator except CONTAINS</p></li> <li><p>TAG - EQ (equals) or NE (not equals)</p></li></ul>"
6850+
"documentation": "<p>The operator to use in the condition. Valid values for each supported property (key) are:</p> <ul><li><p>OBJECT_EXTENSION - EQ (equals) or NE (not equals)</p></li> <li><p>OBJECT_KEY - STARTS_WITH</p></li> <li><p>OBJECT_LAST_MODIFIED_DATE - Any operator except CONTAINS</p></li> <li><p>OBJECT_SIZE - Any operator except CONTAINS</p></li></ul>"
68536851
},
68546852
"key": {
68556853
"shape": "ScopeFilterKey",
@@ -6859,7 +6857,7 @@
68596857
"values": {
68606858
"shape": "__listOf__string",
68616859
"locationName": "values",
6862-
"documentation": "<p>An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, 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.</p> <p>Valid values for each supported property (key) are:</p> <ul><li><p>OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf</p></li> <li><p>OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.</p></li> <li><p>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</p></li> <li><p>OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.</p></li> <li><p>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.</p></li></ul> <p>Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.</p>"
6860+
"documentation": "<p>An array that lists the values to use in the condition. If the value for the key property is OBJECT_EXTENSION or OBJECT_KEY, this array can specify multiple values and Amazon Macie uses OR logic to join the values. Otherwise, this array can specify only one value.</p> <p>Valid values for each supported property (key) are:</p> <ul><li><p>OBJECT_EXTENSION - A string that represents the file name extension of an object. For example: docx or pdf</p></li> <li><p>OBJECT_KEY - A string that represents the key prefix (folder name or path) of an object. For example: logs or awslogs/eventlogs. This value applies a condition to objects whose keys (names) begin with the specified value.</p></li> <li><p>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</p></li> <li><p>OBJECT_SIZE - An integer that represents the storage size (in bytes) of an object.</p></li></ul> <p>Macie doesn't support use of wildcard characters in these values. Also, string values are case sensitive.</p>"
68636861
}
68646862
},
68656863
"documentation": "<p>Specifies a property-based condition that determines whether an S3 object is included or excluded from a classification job.</p>"
@@ -6981,25 +6979,25 @@
69816979
"comparator": {
69826980
"shape": "JobComparator",
69836981
"locationName": "comparator",
6984-
"documentation": "<p>The operator to use in the condition. Valid operators are EQ (equals) or NE (not equals).</p>"
6982+
"documentation": "<p>The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).</p>"
69856983
},
69866984
"key": {
69876985
"shape": "__string",
69886986
"locationName": "key",
6989-
"documentation": "<p>The tag key to use in the condition.</p>"
6987+
"documentation": "<p>The object property to use in the condition. The only valid value is TAG.</p>"
69906988
},
69916989
"tagValues": {
69926990
"shape": "__listOfTagValuePair",
69936991
"locationName": "tagValues",
6994-
"documentation": "<p>The tag keys or tag key and value pairs to use in the condition.</p>"
6992+
"documentation": "<p>The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.</p>"
69956993
},
69966994
"target": {
69976995
"shape": "TagTarget",
69986996
"locationName": "target",
69996997
"documentation": "<p>The type of object to apply the condition to.</p>"
70006998
}
70016999
},
7002-
"documentation": "<p>Specifies a tag-based condition that determines whether an S3 object is included or excluded from a classification job. Tag keys and values are case sensitive. Also, Amazon Macie doesn't support use of partial values or wildcard characters in tag-based conditions.</p>"
7000+
"documentation": "<p>Specifies a tag-based condition that determines whether an S3 object is included or excluded from a classification job.</p>"
70037001
},
70047002
"TagTarget": {
70057003
"type": "string",
@@ -7208,6 +7206,12 @@
72087206
"shape": "__integer",
72097207
"locationName": "position",
72107208
"documentation": "<p>The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.</p>"
7209+
},
7210+
"clientToken": {
7211+
"shape": "__string",
7212+
"locationName": "clientToken",
7213+
"documentation": "<p>A unique, case-sensitive token that you provide to ensure the idempotency of the request.</p>",
7214+
"idempotencyToken": true
72117215
}
72127216
},
72137217
"required": [

0 commit comments

Comments
 (0)