aws-sdk-macie2 1.28.0 → 1.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2.rb +1 -1
- data/lib/aws-sdk-macie2/client.rb +10 -5
- data/lib/aws-sdk-macie2/client_api.rb +1 -0
- data/lib/aws-sdk-macie2/types.rb +32 -30
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3878382d7c7ed53a86dafb8cea701e72a54672a8f83b93e6053d1387d16e55cb
|
4
|
+
data.tar.gz: d9ff15aa4081687611b80e3dba4473979b9972bcf7249230e7f6169d884a609b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e2ea9c56f9b62fade287a9271cb478c6216b6b6f63fb5a19f5d6858203c515742af3fafa5aadcf9fbabc464f88933746e03793a983797a32d3045e13b672759
|
7
|
+
data.tar.gz: e504481ec27a749a3835e111bf9d87f3f60d0eb8a9541461e719149615ce08549ff3255620c7e731500aae6793b0919bc3e8bf64ca5eafd9e5e358cb5fc13135
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2021-06-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release of the Amazon Macie API introduces stricter validation of S3 object criteria for classification jobs.
|
8
|
+
|
4
9
|
1.28.0 (2021-05-14)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
data/lib/aws-sdk-macie2.rb
CHANGED
@@ -454,7 +454,7 @@ module Aws::Macie2
|
|
454
454
|
# {
|
455
455
|
# simple_scope_term: {
|
456
456
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
457
|
-
# key: "
|
457
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
458
458
|
# values: ["__string"],
|
459
459
|
# },
|
460
460
|
# tag_scope_term: {
|
@@ -476,7 +476,7 @@ module Aws::Macie2
|
|
476
476
|
# {
|
477
477
|
# simple_scope_term: {
|
478
478
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
479
|
-
# key: "
|
479
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
480
480
|
# values: ["__string"],
|
481
481
|
# },
|
482
482
|
# tag_scope_term: {
|
@@ -1079,7 +1079,7 @@ module Aws::Macie2
|
|
1079
1079
|
# resp.s3_job_definition.bucket_definitions[0].buckets[0] #=> String
|
1080
1080
|
# resp.s3_job_definition.scoping.excludes.and #=> Array
|
1081
1081
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1082
|
-
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "
|
1082
|
+
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1083
1083
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values #=> Array
|
1084
1084
|
# resp.s3_job_definition.scoping.excludes.and[0].simple_scope_term.values[0] #=> String
|
1085
1085
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -1090,7 +1090,7 @@ module Aws::Macie2
|
|
1090
1090
|
# resp.s3_job_definition.scoping.excludes.and[0].tag_scope_term.target #=> String, one of "S3_OBJECT"
|
1091
1091
|
# resp.s3_job_definition.scoping.includes.and #=> Array
|
1092
1092
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
1093
|
-
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "
|
1093
|
+
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.key #=> String, one of "OBJECT_EXTENSION", "OBJECT_LAST_MODIFIED_DATE", "OBJECT_SIZE", "OBJECT_KEY"
|
1094
1094
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values #=> Array
|
1095
1095
|
# resp.s3_job_definition.scoping.includes.and[0].simple_scope_term.values[0] #=> String
|
1096
1096
|
# resp.s3_job_definition.scoping.includes.and[0].tag_scope_term.comparator #=> String, one of "EQ", "GT", "GTE", "LT", "LTE", "NE", "CONTAINS", "STARTS_WITH"
|
@@ -2748,6 +2748,10 @@ module Aws::Macie2
|
|
2748
2748
|
#
|
2749
2749
|
# @option params [Integer] :position
|
2750
2750
|
#
|
2751
|
+
# @option params [String] :client_token
|
2752
|
+
# **A suitable default value is auto-generated.** You should normally
|
2753
|
+
# not need to pass this option.**
|
2754
|
+
#
|
2751
2755
|
# @return [Types::UpdateFindingsFilterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2752
2756
|
#
|
2753
2757
|
# * {Types::UpdateFindingsFilterResponse#arn #arn} => String
|
@@ -2774,6 +2778,7 @@ module Aws::Macie2
|
|
2774
2778
|
# id: "__string", # required
|
2775
2779
|
# name: "__string",
|
2776
2780
|
# position: 1,
|
2781
|
+
# client_token: "__string",
|
2777
2782
|
# })
|
2778
2783
|
#
|
2779
2784
|
# @example Response structure
|
@@ -2886,7 +2891,7 @@ module Aws::Macie2
|
|
2886
2891
|
params: params,
|
2887
2892
|
config: config)
|
2888
2893
|
context[:gem_name] = 'aws-sdk-macie2'
|
2889
|
-
context[:gem_version] = '1.
|
2894
|
+
context[:gem_version] = '1.29.0'
|
2890
2895
|
Seahorse::Client::Request.new(handlers, context)
|
2891
2896
|
end
|
2892
2897
|
|
@@ -1384,6 +1384,7 @@ module Aws::Macie2
|
|
1384
1384
|
UpdateFindingsFilterRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "id"))
|
1385
1385
|
UpdateFindingsFilterRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
|
1386
1386
|
UpdateFindingsFilterRequest.add_member(:position, Shapes::ShapeRef.new(shape: __integer, location_name: "position"))
|
1387
|
+
UpdateFindingsFilterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
1387
1388
|
UpdateFindingsFilterRequest.struct_class = Types::UpdateFindingsFilterRequest
|
1388
1389
|
|
1389
1390
|
UpdateFindingsFilterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
|
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -970,7 +970,7 @@ module Aws::Macie2
|
|
970
970
|
# {
|
971
971
|
# simple_scope_term: {
|
972
972
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
973
|
-
# key: "
|
973
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
974
974
|
# values: ["__string"],
|
975
975
|
# },
|
976
976
|
# tag_scope_term: {
|
@@ -992,7 +992,7 @@ module Aws::Macie2
|
|
992
992
|
# {
|
993
993
|
# simple_scope_term: {
|
994
994
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
995
|
-
# key: "
|
995
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
996
996
|
# values: ["__string"],
|
997
997
|
# },
|
998
998
|
# tag_scope_term: {
|
@@ -1642,9 +1642,9 @@ module Aws::Macie2
|
|
1642
1642
|
# @return [String]
|
1643
1643
|
#
|
1644
1644
|
# @!attribute [rw] occurrences
|
1645
|
-
#
|
1646
|
-
# detected by managed data identifiers or a custom data identifier
|
1647
|
-
# produced a sensitive data finding.
|
1645
|
+
# Specifies the location of 1-15 occurrences of sensitive data that
|
1646
|
+
# was detected by managed data identifiers or a custom data identifier
|
1647
|
+
# and produced a sensitive data finding.
|
1648
1648
|
# @return [Types::Occurrences]
|
1649
1649
|
#
|
1650
1650
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CustomDetection AWS API Documentation
|
@@ -1710,9 +1710,9 @@ module Aws::Macie2
|
|
1710
1710
|
# @return [Integer]
|
1711
1711
|
#
|
1712
1712
|
# @!attribute [rw] occurrences
|
1713
|
-
#
|
1714
|
-
# detected by managed data identifiers or a custom data identifier
|
1715
|
-
# produced a sensitive data finding.
|
1713
|
+
# Specifies the location of 1-15 occurrences of sensitive data that
|
1714
|
+
# was detected by managed data identifiers or a custom data identifier
|
1715
|
+
# and produced a sensitive data finding.
|
1716
1716
|
# @return [Types::Occurrences]
|
1717
1717
|
#
|
1718
1718
|
# @!attribute [rw] type
|
@@ -3512,7 +3512,9 @@ module Aws::Macie2
|
|
3512
3512
|
end
|
3513
3513
|
|
3514
3514
|
# Specifies a property- or tag-based condition that defines criteria for
|
3515
|
-
# including or excluding S3 objects from a classification job.
|
3515
|
+
# including or excluding S3 objects from a classification job. A
|
3516
|
+
# JobScopeTerm object can contain only one simpleScopeTerm object or one
|
3517
|
+
# tagScopeTerm object.
|
3516
3518
|
#
|
3517
3519
|
# @note When making an API call, you may pass JobScopeTerm
|
3518
3520
|
# data as a hash:
|
@@ -3520,7 +3522,7 @@ module Aws::Macie2
|
|
3520
3522
|
# {
|
3521
3523
|
# simple_scope_term: {
|
3522
3524
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
3523
|
-
# key: "
|
3525
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
3524
3526
|
# values: ["__string"],
|
3525
3527
|
# },
|
3526
3528
|
# tag_scope_term: {
|
@@ -3543,9 +3545,7 @@ module Aws::Macie2
|
|
3543
3545
|
#
|
3544
3546
|
# @!attribute [rw] tag_scope_term
|
3545
3547
|
# Specifies a tag-based condition that determines whether an S3 object
|
3546
|
-
# is included or excluded from a classification job.
|
3547
|
-
# values are case sensitive. Also, Amazon Macie doesn't support use
|
3548
|
-
# of partial values or wildcard characters in tag-based conditions.
|
3548
|
+
# is included or excluded from a classification job.
|
3549
3549
|
# @return [Types::TagScopeTerm]
|
3550
3550
|
#
|
3551
3551
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobScopeTerm AWS API Documentation
|
@@ -3569,7 +3569,7 @@ module Aws::Macie2
|
|
3569
3569
|
# {
|
3570
3570
|
# simple_scope_term: {
|
3571
3571
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
3572
|
-
# key: "
|
3572
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
3573
3573
|
# values: ["__string"],
|
3574
3574
|
# },
|
3575
3575
|
# tag_scope_term: {
|
@@ -4426,7 +4426,7 @@ module Aws::Macie2
|
|
4426
4426
|
include Aws::Structure
|
4427
4427
|
end
|
4428
4428
|
|
4429
|
-
#
|
4429
|
+
# Specifies the location of 1-15 occurrences of sensitive data that was
|
4430
4430
|
# detected by managed data identifiers or a custom data identifier and
|
4431
4431
|
# produced a sensitive data finding.
|
4432
4432
|
#
|
@@ -4474,14 +4474,12 @@ module Aws::Macie2
|
|
4474
4474
|
#
|
4475
4475
|
# @!attribute [rw] line_range
|
4476
4476
|
# Provides details about the location of an occurrence of sensitive
|
4477
|
-
# data in
|
4478
|
-
# document, or non-binary text file.
|
4477
|
+
# data in a Microsoft Word document or non-binary text file.
|
4479
4478
|
# @return [Types::Range]
|
4480
4479
|
#
|
4481
4480
|
# @!attribute [rw] offset_range
|
4482
4481
|
# Provides details about the location of an occurrence of sensitive
|
4483
|
-
# data in
|
4484
|
-
# document, or non-binary text file.
|
4482
|
+
# data in a Microsoft Word document or non-binary text file.
|
4485
4483
|
# @return [Types::Range]
|
4486
4484
|
#
|
4487
4485
|
# @!attribute [rw] page_number
|
@@ -4612,8 +4610,7 @@ module Aws::Macie2
|
|
4612
4610
|
class PutFindingsPublicationConfigurationResponse < Aws::EmptyStructure; end
|
4613
4611
|
|
4614
4612
|
# Provides details about the location of an occurrence of sensitive data
|
4615
|
-
# in
|
4616
|
-
# non-binary text file.
|
4613
|
+
# in a Microsoft Word document or non-binary text file.
|
4617
4614
|
#
|
4618
4615
|
# @!attribute [rw] end
|
4619
4616
|
# @return [Integer]
|
@@ -4927,7 +4924,7 @@ module Aws::Macie2
|
|
4927
4924
|
# {
|
4928
4925
|
# simple_scope_term: {
|
4929
4926
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4930
|
-
# key: "
|
4927
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
4931
4928
|
# values: ["__string"],
|
4932
4929
|
# },
|
4933
4930
|
# tag_scope_term: {
|
@@ -4949,7 +4946,7 @@ module Aws::Macie2
|
|
4949
4946
|
# {
|
4950
4947
|
# simple_scope_term: {
|
4951
4948
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4952
|
-
# key: "
|
4949
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
4953
4950
|
# values: ["__string"],
|
4954
4951
|
# },
|
4955
4952
|
# tag_scope_term: {
|
@@ -5112,7 +5109,7 @@ module Aws::Macie2
|
|
5112
5109
|
# {
|
5113
5110
|
# simple_scope_term: {
|
5114
5111
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5115
|
-
# key: "
|
5112
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5116
5113
|
# values: ["__string"],
|
5117
5114
|
# },
|
5118
5115
|
# tag_scope_term: {
|
@@ -5134,7 +5131,7 @@ module Aws::Macie2
|
|
5134
5131
|
# {
|
5135
5132
|
# simple_scope_term: {
|
5136
5133
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5137
|
-
# key: "
|
5134
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5138
5135
|
# values: ["__string"],
|
5139
5136
|
# },
|
5140
5137
|
# tag_scope_term: {
|
@@ -5803,7 +5800,7 @@ module Aws::Macie2
|
|
5803
5800
|
#
|
5804
5801
|
# {
|
5805
5802
|
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5806
|
-
# key: "
|
5803
|
+
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5807
5804
|
# values: ["__string"],
|
5808
5805
|
# }
|
5809
5806
|
#
|
@@ -5972,9 +5969,7 @@ module Aws::Macie2
|
|
5972
5969
|
class TagResourceResponse < Aws::EmptyStructure; end
|
5973
5970
|
|
5974
5971
|
# Specifies a tag-based condition that determines whether an S3 object
|
5975
|
-
# is included or excluded from a classification job.
|
5976
|
-
# are case sensitive. Also, Amazon Macie doesn't support use of partial
|
5977
|
-
# values or wildcard characters in tag-based conditions.
|
5972
|
+
# is included or excluded from a classification job.
|
5978
5973
|
#
|
5979
5974
|
# @note When making an API call, you may pass TagScopeTerm
|
5980
5975
|
# data as a hash:
|
@@ -6226,6 +6221,7 @@ module Aws::Macie2
|
|
6226
6221
|
# id: "__string", # required
|
6227
6222
|
# name: "__string",
|
6228
6223
|
# position: 1,
|
6224
|
+
# client_token: "__string",
|
6229
6225
|
# }
|
6230
6226
|
#
|
6231
6227
|
# @!attribute [rw] action
|
@@ -6251,6 +6247,11 @@ module Aws::Macie2
|
|
6251
6247
|
# @!attribute [rw] position
|
6252
6248
|
# @return [Integer]
|
6253
6249
|
#
|
6250
|
+
# @!attribute [rw] client_token
|
6251
|
+
# **A suitable default value is auto-generated.** You should normally
|
6252
|
+
# not need to pass this option.
|
6253
|
+
# @return [String]
|
6254
|
+
#
|
6254
6255
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilterRequest AWS API Documentation
|
6255
6256
|
#
|
6256
6257
|
class UpdateFindingsFilterRequest < Struct.new(
|
@@ -6259,7 +6260,8 @@ module Aws::Macie2
|
|
6259
6260
|
:finding_criteria,
|
6260
6261
|
:id,
|
6261
6262
|
:name,
|
6262
|
-
:position
|
6263
|
+
:position,
|
6264
|
+
:client_token)
|
6263
6265
|
SENSITIVE = []
|
6264
6266
|
include Aws::Structure
|
6265
6267
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-macie2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|