aws-sdk-macie2 1.40.0 → 1.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +108 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-macie2/client.rb +1126 -129
- data/lib/aws-sdk-macie2/client_api.rb +727 -5
- data/lib/aws-sdk-macie2/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-macie2/endpoint_provider.rb +54 -0
- data/lib/aws-sdk-macie2/endpoints.rb +1122 -0
- data/lib/aws-sdk-macie2/errors.rb +16 -0
- data/lib/aws-sdk-macie2/plugins/endpoints.rb +226 -0
- data/lib/aws-sdk-macie2/types.rb +1661 -1554
- data/lib/aws-sdk-macie2/waiters.rb +121 -0
- data/lib/aws-sdk-macie2.rb +6 -1
- metadata +9 -4
data/lib/aws-sdk-macie2/types.rb
CHANGED
@@ -18,15 +18,6 @@ module Aws::Macie2
|
|
18
18
|
# The masterAccount property has been deprecated and is retained only
|
19
19
|
# for backward compatibility.
|
20
20
|
#
|
21
|
-
# @note When making an API call, you may pass AcceptInvitationRequest
|
22
|
-
# data as a hash:
|
23
|
-
#
|
24
|
-
# {
|
25
|
-
# administrator_account_id: "__string",
|
26
|
-
# invitation_id: "__string", # required
|
27
|
-
# master_account: "__string",
|
28
|
-
# }
|
29
|
-
#
|
30
21
|
# @!attribute [rw] administrator_account_id
|
31
22
|
# @return [String]
|
32
23
|
#
|
@@ -85,14 +76,6 @@ module Aws::Macie2
|
|
85
76
|
# Specifies the details of an account to associate with an Amazon Macie
|
86
77
|
# administrator account.
|
87
78
|
#
|
88
|
-
# @note When making an API call, you may pass AccountDetail
|
89
|
-
# data as a hash:
|
90
|
-
#
|
91
|
-
# {
|
92
|
-
# account_id: "__string", # required
|
93
|
-
# email: "__string", # required
|
94
|
-
# }
|
95
|
-
#
|
96
79
|
# @!attribute [rw] account_id
|
97
80
|
# @return [String]
|
98
81
|
#
|
@@ -113,8 +96,8 @@ module Aws::Macie2
|
|
113
96
|
#
|
114
97
|
# @!attribute [rw] block_public_access
|
115
98
|
# Provides information about the block public access settings for an
|
116
|
-
# S3 bucket. These settings can apply to a bucket at the account
|
117
|
-
#
|
99
|
+
# S3 bucket. These settings can apply to a bucket at the account or
|
100
|
+
# bucket level. For detailed information about each setting, see
|
118
101
|
# [Blocking public access to your Amazon S3 storage][1] in the *Amazon
|
119
102
|
# Simple Storage Service User Guide*.
|
120
103
|
#
|
@@ -152,6 +135,81 @@ module Aws::Macie2
|
|
152
135
|
include Aws::Structure
|
153
136
|
end
|
154
137
|
|
138
|
+
# Specifies the criteria for an allow list. The criteria must specify a
|
139
|
+
# regular expression (regex) or an S3 object (s3WordsList). It can't
|
140
|
+
# specify both.
|
141
|
+
#
|
142
|
+
# @!attribute [rw] regex
|
143
|
+
# @return [String]
|
144
|
+
#
|
145
|
+
# @!attribute [rw] s3_words_list
|
146
|
+
# Provides information about an S3 object that lists specific text to
|
147
|
+
# ignore.
|
148
|
+
# @return [Types::S3WordsList]
|
149
|
+
#
|
150
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AllowListCriteria AWS API Documentation
|
151
|
+
#
|
152
|
+
class AllowListCriteria < Struct.new(
|
153
|
+
:regex,
|
154
|
+
:s3_words_list)
|
155
|
+
SENSITIVE = []
|
156
|
+
include Aws::Structure
|
157
|
+
end
|
158
|
+
|
159
|
+
# Provides information about the current status of an allow list, which
|
160
|
+
# indicates whether Amazon Macie can access and use the list's
|
161
|
+
# criteria.
|
162
|
+
#
|
163
|
+
# @!attribute [rw] code
|
164
|
+
# Indicates the current status of an allow list. Depending on the type
|
165
|
+
# of criteria that the list specifies, possible values are:
|
166
|
+
# @return [String]
|
167
|
+
#
|
168
|
+
# @!attribute [rw] description
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AllowListStatus AWS API Documentation
|
172
|
+
#
|
173
|
+
class AllowListStatus < Struct.new(
|
174
|
+
:code,
|
175
|
+
:description)
|
176
|
+
SENSITIVE = []
|
177
|
+
include Aws::Structure
|
178
|
+
end
|
179
|
+
|
180
|
+
# Provides a subset of information about an allow list.
|
181
|
+
#
|
182
|
+
# @!attribute [rw] arn
|
183
|
+
# @return [String]
|
184
|
+
#
|
185
|
+
# @!attribute [rw] created_at
|
186
|
+
# @return [Time]
|
187
|
+
#
|
188
|
+
# @!attribute [rw] description
|
189
|
+
# @return [String]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] id
|
192
|
+
# @return [String]
|
193
|
+
#
|
194
|
+
# @!attribute [rw] name
|
195
|
+
# @return [String]
|
196
|
+
#
|
197
|
+
# @!attribute [rw] updated_at
|
198
|
+
# @return [Time]
|
199
|
+
#
|
200
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/AllowListSummary AWS API Documentation
|
201
|
+
#
|
202
|
+
class AllowListSummary < Struct.new(
|
203
|
+
:arn,
|
204
|
+
:created_at,
|
205
|
+
:description,
|
206
|
+
:id,
|
207
|
+
:name,
|
208
|
+
:updated_at)
|
209
|
+
SENSITIVE = []
|
210
|
+
include Aws::Structure
|
211
|
+
end
|
212
|
+
|
155
213
|
# Provides information about an API operation that an entity invoked for
|
156
214
|
# an affected resource.
|
157
215
|
#
|
@@ -282,13 +340,6 @@ module Aws::Macie2
|
|
282
340
|
# Specifies one or more custom data identifiers to retrieve information
|
283
341
|
# about.
|
284
342
|
#
|
285
|
-
# @note When making an API call, you may pass BatchGetCustomDataIdentifiersRequest
|
286
|
-
# data as a hash:
|
287
|
-
#
|
288
|
-
# {
|
289
|
-
# ids: ["__string"],
|
290
|
-
# }
|
291
|
-
#
|
292
343
|
# @!attribute [rw] ids
|
293
344
|
# @return [Array<String>]
|
294
345
|
#
|
@@ -318,10 +369,10 @@ module Aws::Macie2
|
|
318
369
|
end
|
319
370
|
|
320
371
|
# Provides information about the block public access settings for an S3
|
321
|
-
# bucket. These settings can apply to a bucket at the account
|
322
|
-
#
|
323
|
-
#
|
324
|
-
#
|
372
|
+
# bucket. These settings can apply to a bucket at the account or bucket
|
373
|
+
# level. For detailed information about each setting, see [Blocking
|
374
|
+
# public access to your Amazon S3 storage][1] in the *Amazon Simple
|
375
|
+
# Storage Service User Guide*.
|
325
376
|
#
|
326
377
|
#
|
327
378
|
#
|
@@ -351,7 +402,7 @@ module Aws::Macie2
|
|
351
402
|
end
|
352
403
|
|
353
404
|
# Provides information about the number of S3 buckets that are publicly
|
354
|
-
# accessible
|
405
|
+
# accessible due to a combination of permissions settings for each
|
355
406
|
# bucket.
|
356
407
|
#
|
357
408
|
# @!attribute [rw] publicly_accessible
|
@@ -377,11 +428,12 @@ module Aws::Macie2
|
|
377
428
|
include Aws::Structure
|
378
429
|
end
|
379
430
|
|
380
|
-
# Provides information about the number of S3 buckets
|
381
|
-
#
|
382
|
-
#
|
383
|
-
# [Setting default server-side encryption behavior for
|
384
|
-
# buckets][1] in the *Amazon Simple Storage Service User
|
431
|
+
# Provides information about the number of S3 buckets whose settings do
|
432
|
+
# or don't specify default server-side encryption behavior for objects
|
433
|
+
# that are added to the buckets. For detailed information about these
|
434
|
+
# settings, see [Setting default server-side encryption behavior for
|
435
|
+
# Amazon S3 buckets][1] in the *Amazon Simple Storage Service User
|
436
|
+
# Guide*.
|
385
437
|
#
|
386
438
|
#
|
387
439
|
#
|
@@ -411,7 +463,12 @@ module Aws::Macie2
|
|
411
463
|
end
|
412
464
|
|
413
465
|
# Provides information about the number of S3 buckets that are or
|
414
|
-
# aren't shared with other Amazon Web Services accounts
|
466
|
+
# aren't shared with other Amazon Web Services accounts, Amazon
|
467
|
+
# CloudFront origin access identities (OAIs), or CloudFront origin
|
468
|
+
# access controls (OACs). In this data, an *Amazon Macie organization*
|
469
|
+
# is defined as a set of Macie accounts that are centrally managed as a
|
470
|
+
# group of related accounts through Organizations or by Macie
|
471
|
+
# invitation.
|
415
472
|
#
|
416
473
|
# @!attribute [rw] external
|
417
474
|
# @return [Integer]
|
@@ -438,7 +495,7 @@ module Aws::Macie2
|
|
438
495
|
|
439
496
|
# Provides information about the number of S3 buckets whose bucket
|
440
497
|
# policies do or don't require server-side encryption of objects when
|
441
|
-
# objects are
|
498
|
+
# objects are added to the buckets.
|
442
499
|
#
|
443
500
|
# @!attribute [rw] allows_unencrypted_object_uploads
|
444
501
|
# @return [Integer]
|
@@ -462,19 +519,6 @@ module Aws::Macie2
|
|
462
519
|
# Specifies the operator to use in a property-based condition that
|
463
520
|
# filters the results of a query for information about S3 buckets.
|
464
521
|
#
|
465
|
-
# @note When making an API call, you may pass BucketCriteriaAdditionalProperties
|
466
|
-
# data as a hash:
|
467
|
-
#
|
468
|
-
# {
|
469
|
-
# eq: ["__string"],
|
470
|
-
# gt: 1,
|
471
|
-
# gte: 1,
|
472
|
-
# lt: 1,
|
473
|
-
# lte: 1,
|
474
|
-
# neq: ["__string"],
|
475
|
-
# prefix: "__string",
|
476
|
-
# }
|
477
|
-
#
|
478
522
|
# @!attribute [rw] eq
|
479
523
|
# @return [Array<String>]
|
480
524
|
#
|
@@ -520,8 +564,8 @@ module Aws::Macie2
|
|
520
564
|
#
|
521
565
|
# @!attribute [rw] block_public_access
|
522
566
|
# Provides information about the block public access settings for an
|
523
|
-
# S3 bucket. These settings can apply to a bucket at the account
|
524
|
-
#
|
567
|
+
# S3 bucket. These settings can apply to a bucket at the account or
|
568
|
+
# bucket level. For detailed information about each setting, see
|
525
569
|
# [Blocking public access to your Amazon S3 storage][1] in the *Amazon
|
526
570
|
# Simple Storage Service User Guide*.
|
527
571
|
#
|
@@ -546,13 +590,22 @@ module Aws::Macie2
|
|
546
590
|
end
|
547
591
|
|
548
592
|
# Provides statistical data and other information about an S3 bucket
|
549
|
-
# that Amazon Macie monitors and analyzes for your account.
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
#
|
554
|
-
#
|
555
|
-
#
|
593
|
+
# that Amazon Macie monitors and analyzes for your account. By default,
|
594
|
+
# object count and storage size values include data for object parts
|
595
|
+
# that are the result of incomplete multipart uploads. For more
|
596
|
+
# information, see [How Macie monitors Amazon S3 data security][1] in
|
597
|
+
# the *Amazon Macie User Guide*.
|
598
|
+
#
|
599
|
+
# If an error occurs when Macie attempts to retrieve and process
|
600
|
+
# metadata from Amazon S3 for the bucket or the bucket's objects, the
|
601
|
+
# value for the versioning property is false and the value for most
|
602
|
+
# other properties is null. Key exceptions are accountId, bucketArn,
|
603
|
+
# bucketCreatedAt, bucketName, lastUpdated, and region. To identify the
|
604
|
+
# cause of the error, refer to the errorCode and errorMessage values.
|
605
|
+
#
|
606
|
+
#
|
607
|
+
#
|
608
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
|
556
609
|
#
|
557
610
|
# @!attribute [rw] account_id
|
558
611
|
# @return [String]
|
@@ -577,8 +630,8 @@ module Aws::Macie2
|
|
577
630
|
#
|
578
631
|
# @!attribute [rw] error_code
|
579
632
|
# The error code for an error that prevented Amazon Macie from
|
580
|
-
# retrieving and processing
|
581
|
-
# bucket's objects.
|
633
|
+
# retrieving and processing metadata from Amazon S3 for an S3 bucket
|
634
|
+
# and the bucket's objects.
|
582
635
|
# @return [String]
|
583
636
|
#
|
584
637
|
# @!attribute [rw] error_message
|
@@ -590,6 +643,9 @@ module Aws::Macie2
|
|
590
643
|
# of the job that ran most recently.
|
591
644
|
# @return [Types::JobDetails]
|
592
645
|
#
|
646
|
+
# @!attribute [rw] last_automated_discovery_time
|
647
|
+
# @return [Time]
|
648
|
+
#
|
593
649
|
# @!attribute [rw] last_updated
|
594
650
|
# @return [Time]
|
595
651
|
#
|
@@ -616,6 +672,9 @@ module Aws::Macie2
|
|
616
672
|
# Amazon Web Services accounts and, if so, which accounts.
|
617
673
|
# @return [Types::ReplicationDetails]
|
618
674
|
#
|
675
|
+
# @!attribute [rw] sensitivity_score
|
676
|
+
# @return [Integer]
|
677
|
+
#
|
619
678
|
# @!attribute [rw] server_side_encryption
|
620
679
|
# Provides information about the default server-side encryption
|
621
680
|
# settings for an S3 bucket. For detailed information about these
|
@@ -645,10 +704,10 @@ module Aws::Macie2
|
|
645
704
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
646
705
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
647
706
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
648
|
-
# data is aggregated for the buckets in the query results. If
|
649
|
-
# versioning is enabled for a bucket,
|
650
|
-
#
|
651
|
-
#
|
707
|
+
# data is aggregated for all the buckets in the query results. If
|
708
|
+
# versioning is enabled for a bucket, storage size values are based on
|
709
|
+
# the size of the latest version of each applicable object in the
|
710
|
+
# bucket.
|
652
711
|
# @return [Types::ObjectLevelStatistics]
|
653
712
|
#
|
654
713
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -656,10 +715,10 @@ module Aws::Macie2
|
|
656
715
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
657
716
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
658
717
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
659
|
-
# data is aggregated for the buckets in the query results. If
|
660
|
-
# versioning is enabled for a bucket,
|
661
|
-
#
|
662
|
-
#
|
718
|
+
# data is aggregated for all the buckets in the query results. If
|
719
|
+
# versioning is enabled for a bucket, storage size values are based on
|
720
|
+
# the size of the latest version of each applicable object in the
|
721
|
+
# bucket.
|
663
722
|
# @return [Types::ObjectLevelStatistics]
|
664
723
|
#
|
665
724
|
# @!attribute [rw] versioning
|
@@ -678,12 +737,14 @@ module Aws::Macie2
|
|
678
737
|
:error_code,
|
679
738
|
:error_message,
|
680
739
|
:job_details,
|
740
|
+
:last_automated_discovery_time,
|
681
741
|
:last_updated,
|
682
742
|
:object_count,
|
683
743
|
:object_count_by_encryption_type,
|
684
744
|
:public_access,
|
685
745
|
:region,
|
686
746
|
:replication_details,
|
747
|
+
:sensitivity_score,
|
687
748
|
:server_side_encryption,
|
688
749
|
:shared_access,
|
689
750
|
:size_in_bytes,
|
@@ -783,14 +844,6 @@ module Aws::Macie2
|
|
783
844
|
# Specifies criteria for sorting the results of a query for information
|
784
845
|
# about S3 buckets.
|
785
846
|
#
|
786
|
-
# @note When making an API call, you may pass BucketSortCriteria
|
787
|
-
# data as a hash:
|
788
|
-
#
|
789
|
-
# {
|
790
|
-
# attribute_name: "__string",
|
791
|
-
# order_by: "ASC", # accepts ASC, DESC
|
792
|
-
# }
|
793
|
-
#
|
794
847
|
# @!attribute [rw] attribute_name
|
795
848
|
# @return [String]
|
796
849
|
#
|
@@ -806,6 +859,62 @@ module Aws::Macie2
|
|
806
859
|
include Aws::Structure
|
807
860
|
end
|
808
861
|
|
862
|
+
# Provides aggregated statistical data for sensitive data discovery
|
863
|
+
# metrics that apply to S3 buckets, grouped by bucket sensitivity score
|
864
|
+
# (sensitivityScore). If automated sensitive data discovery is currently
|
865
|
+
# disabled for your account, the value for each metric is 0.
|
866
|
+
#
|
867
|
+
# @!attribute [rw] classification_error
|
868
|
+
# Provides aggregated statistical data for sensitive data discovery
|
869
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
870
|
+
# data for all the buckets that have a sensitivity score
|
871
|
+
# (sensitivityScore) of a specified value or within a specified range
|
872
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
873
|
+
# discovery is currently disabled for your account, the value for each
|
874
|
+
# field is 0.
|
875
|
+
# @return [Types::SensitivityAggregations]
|
876
|
+
#
|
877
|
+
# @!attribute [rw] not_classified
|
878
|
+
# Provides aggregated statistical data for sensitive data discovery
|
879
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
880
|
+
# data for all the buckets that have a sensitivity score
|
881
|
+
# (sensitivityScore) of a specified value or within a specified range
|
882
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
883
|
+
# discovery is currently disabled for your account, the value for each
|
884
|
+
# field is 0.
|
885
|
+
# @return [Types::SensitivityAggregations]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] not_sensitive
|
888
|
+
# Provides aggregated statistical data for sensitive data discovery
|
889
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
890
|
+
# data for all the buckets that have a sensitivity score
|
891
|
+
# (sensitivityScore) of a specified value or within a specified range
|
892
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
893
|
+
# discovery is currently disabled for your account, the value for each
|
894
|
+
# field is 0.
|
895
|
+
# @return [Types::SensitivityAggregations]
|
896
|
+
#
|
897
|
+
# @!attribute [rw] sensitive
|
898
|
+
# Provides aggregated statistical data for sensitive data discovery
|
899
|
+
# metrics that apply to S3 buckets. Each field contains aggregated
|
900
|
+
# data for all the buckets that have a sensitivity score
|
901
|
+
# (sensitivityScore) of a specified value or within a specified range
|
902
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data
|
903
|
+
# discovery is currently disabled for your account, the value for each
|
904
|
+
# field is 0.
|
905
|
+
# @return [Types::SensitivityAggregations]
|
906
|
+
#
|
907
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/BucketStatisticsBySensitivity AWS API Documentation
|
908
|
+
#
|
909
|
+
class BucketStatisticsBySensitivity < Struct.new(
|
910
|
+
:classification_error,
|
911
|
+
:not_classified,
|
912
|
+
:not_sensitive,
|
913
|
+
:sensitive)
|
914
|
+
SENSITIVE = []
|
915
|
+
include Aws::Structure
|
916
|
+
end
|
917
|
+
|
809
918
|
# Specifies the location of an occurrence of sensitive data in a
|
810
919
|
# Microsoft Excel workbook, CSV file, or TSV file.
|
811
920
|
#
|
@@ -832,8 +941,8 @@ module Aws::Macie2
|
|
832
941
|
include Aws::Structure
|
833
942
|
end
|
834
943
|
|
835
|
-
# Provides information about a sensitive data finding
|
836
|
-
#
|
944
|
+
# Provides information about a sensitive data finding and the details of
|
945
|
+
# the finding.
|
837
946
|
#
|
838
947
|
# @!attribute [rw] detailed_results_location
|
839
948
|
# @return [String]
|
@@ -844,6 +953,11 @@ module Aws::Macie2
|
|
844
953
|
# @!attribute [rw] job_id
|
845
954
|
# @return [String]
|
846
955
|
#
|
956
|
+
# @!attribute [rw] origin_type
|
957
|
+
# Specifies how Amazon Macie found the sensitive data that produced a
|
958
|
+
# finding. Possible values are:
|
959
|
+
# @return [String]
|
960
|
+
#
|
847
961
|
# @!attribute [rw] result
|
848
962
|
# Provides the details of a sensitive data finding, including the
|
849
963
|
# types, number of occurrences, and locations of the sensitive data
|
@@ -856,25 +970,15 @@ module Aws::Macie2
|
|
856
970
|
:detailed_results_location,
|
857
971
|
:job_arn,
|
858
972
|
:job_id,
|
973
|
+
:origin_type,
|
859
974
|
:result)
|
860
975
|
SENSITIVE = []
|
861
976
|
include Aws::Structure
|
862
977
|
end
|
863
978
|
|
864
979
|
# Specifies where to store data classification results, and the
|
865
|
-
# encryption settings to use when storing results in that location.
|
866
|
-
#
|
867
|
-
#
|
868
|
-
# @note When making an API call, you may pass ClassificationExportConfiguration
|
869
|
-
# data as a hash:
|
870
|
-
#
|
871
|
-
# {
|
872
|
-
# s3_destination: {
|
873
|
-
# bucket_name: "__string", # required
|
874
|
-
# key_prefix: "__string",
|
875
|
-
# kms_key_arn: "__string", # required
|
876
|
-
# },
|
877
|
-
# }
|
980
|
+
# encryption settings to use when storing results in that location. The
|
981
|
+
# location must be an S3 bucket.
|
878
982
|
#
|
879
983
|
# @!attribute [rw] s3_destination
|
880
984
|
# Specifies an S3 bucket to store data classification results in, and
|
@@ -947,6 +1051,27 @@ module Aws::Macie2
|
|
947
1051
|
include Aws::Structure
|
948
1052
|
end
|
949
1053
|
|
1054
|
+
# Provides information about the classification scope for an Amazon
|
1055
|
+
# Macie account. Macie uses the scope's settings when it performs
|
1056
|
+
# automated sensitive data discovery for the account.
|
1057
|
+
#
|
1058
|
+
# @!attribute [rw] id
|
1059
|
+
# The unique identifier the classification scope.
|
1060
|
+
# @return [String]
|
1061
|
+
#
|
1062
|
+
# @!attribute [rw] name
|
1063
|
+
# The name of the classification scope.
|
1064
|
+
# @return [String]
|
1065
|
+
#
|
1066
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ClassificationScopeSummary AWS API Documentation
|
1067
|
+
#
|
1068
|
+
class ClassificationScopeSummary < Struct.new(
|
1069
|
+
:id,
|
1070
|
+
:name)
|
1071
|
+
SENSITIVE = []
|
1072
|
+
include Aws::Structure
|
1073
|
+
end
|
1074
|
+
|
950
1075
|
# Provides information about an error that occurred due to a versioning
|
951
1076
|
# conflict for a specified resource.
|
952
1077
|
#
|
@@ -961,135 +1086,71 @@ module Aws::Macie2
|
|
961
1086
|
include Aws::Structure
|
962
1087
|
end
|
963
1088
|
|
1089
|
+
# Specifies the settings for an allow list. When Amazon Macie processes
|
1090
|
+
# the request, Macie tests the list's criteria. If the criteria specify
|
1091
|
+
# a regular expression that Macie can't compile or an S3 object that
|
1092
|
+
# Macie can't retrieve or parse, an error occurs.
|
1093
|
+
#
|
1094
|
+
# @!attribute [rw] client_token
|
1095
|
+
# **A suitable default value is auto-generated.** You should normally
|
1096
|
+
# not need to pass this option.
|
1097
|
+
# @return [String]
|
1098
|
+
#
|
1099
|
+
# @!attribute [rw] criteria
|
1100
|
+
# Specifies the criteria for an allow list. The criteria must specify
|
1101
|
+
# a regular expression (regex) or an S3 object (s3WordsList). It
|
1102
|
+
# can't specify both.
|
1103
|
+
# @return [Types::AllowListCriteria]
|
1104
|
+
#
|
1105
|
+
# @!attribute [rw] description
|
1106
|
+
# @return [String]
|
1107
|
+
#
|
1108
|
+
# @!attribute [rw] name
|
1109
|
+
# @return [String]
|
1110
|
+
#
|
1111
|
+
# @!attribute [rw] tags
|
1112
|
+
# A string-to-string map of key-value pairs that specifies the tags
|
1113
|
+
# (keys and values) for an Amazon Macie resource.
|
1114
|
+
# @return [Hash<String,String>]
|
1115
|
+
#
|
1116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowListRequest AWS API Documentation
|
1117
|
+
#
|
1118
|
+
class CreateAllowListRequest < Struct.new(
|
1119
|
+
:client_token,
|
1120
|
+
:criteria,
|
1121
|
+
:description,
|
1122
|
+
:name,
|
1123
|
+
:tags)
|
1124
|
+
SENSITIVE = []
|
1125
|
+
include Aws::Structure
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
# Provides information about an allow list that was created in response
|
1129
|
+
# to a request.
|
1130
|
+
#
|
1131
|
+
# @!attribute [rw] arn
|
1132
|
+
# @return [String]
|
1133
|
+
#
|
1134
|
+
# @!attribute [rw] id
|
1135
|
+
# @return [String]
|
1136
|
+
#
|
1137
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateAllowListResponse AWS API Documentation
|
1138
|
+
#
|
1139
|
+
class CreateAllowListResponse < Struct.new(
|
1140
|
+
:arn,
|
1141
|
+
:id)
|
1142
|
+
SENSITIVE = []
|
1143
|
+
include Aws::Structure
|
1144
|
+
end
|
1145
|
+
|
964
1146
|
# Specifies the scope, schedule, and other settings for a classification
|
965
1147
|
# job. You can't change any settings for a classification job after you
|
966
|
-
# create it. This helps ensure that you have an immutable history of
|
1148
|
+
# create it. This helps to ensure that you have an immutable history of
|
967
1149
|
# sensitive data findings and discovery results for data privacy and
|
968
1150
|
# protection audits or investigations.
|
969
1151
|
#
|
970
|
-
#
|
971
|
-
#
|
972
|
-
#
|
973
|
-
# {
|
974
|
-
# client_token: "__string", # required
|
975
|
-
# custom_data_identifier_ids: ["__string"],
|
976
|
-
# description: "__string",
|
977
|
-
# initial_run: false,
|
978
|
-
# job_type: "ONE_TIME", # required, accepts ONE_TIME, SCHEDULED
|
979
|
-
# managed_data_identifier_ids: ["__string"],
|
980
|
-
# managed_data_identifier_selector: "ALL", # accepts ALL, EXCLUDE, INCLUDE, NONE
|
981
|
-
# name: "__string", # required
|
982
|
-
# s3_job_definition: { # required
|
983
|
-
# bucket_definitions: [
|
984
|
-
# {
|
985
|
-
# account_id: "__string", # required
|
986
|
-
# buckets: ["__string"], # required
|
987
|
-
# },
|
988
|
-
# ],
|
989
|
-
# scoping: {
|
990
|
-
# excludes: {
|
991
|
-
# and: [
|
992
|
-
# {
|
993
|
-
# simple_scope_term: {
|
994
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
995
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
996
|
-
# values: ["__string"],
|
997
|
-
# },
|
998
|
-
# tag_scope_term: {
|
999
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1000
|
-
# key: "__string",
|
1001
|
-
# tag_values: [
|
1002
|
-
# {
|
1003
|
-
# key: "__string",
|
1004
|
-
# value: "__string",
|
1005
|
-
# },
|
1006
|
-
# ],
|
1007
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
1008
|
-
# },
|
1009
|
-
# },
|
1010
|
-
# ],
|
1011
|
-
# },
|
1012
|
-
# includes: {
|
1013
|
-
# and: [
|
1014
|
-
# {
|
1015
|
-
# simple_scope_term: {
|
1016
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1017
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
1018
|
-
# values: ["__string"],
|
1019
|
-
# },
|
1020
|
-
# tag_scope_term: {
|
1021
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1022
|
-
# key: "__string",
|
1023
|
-
# tag_values: [
|
1024
|
-
# {
|
1025
|
-
# key: "__string",
|
1026
|
-
# value: "__string",
|
1027
|
-
# },
|
1028
|
-
# ],
|
1029
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
1030
|
-
# },
|
1031
|
-
# },
|
1032
|
-
# ],
|
1033
|
-
# },
|
1034
|
-
# },
|
1035
|
-
# bucket_criteria: {
|
1036
|
-
# excludes: {
|
1037
|
-
# and: [
|
1038
|
-
# {
|
1039
|
-
# simple_criterion: {
|
1040
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1041
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
1042
|
-
# values: ["__string"],
|
1043
|
-
# },
|
1044
|
-
# tag_criterion: {
|
1045
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1046
|
-
# tag_values: [
|
1047
|
-
# {
|
1048
|
-
# key: "__string",
|
1049
|
-
# value: "__string",
|
1050
|
-
# },
|
1051
|
-
# ],
|
1052
|
-
# },
|
1053
|
-
# },
|
1054
|
-
# ],
|
1055
|
-
# },
|
1056
|
-
# includes: {
|
1057
|
-
# and: [
|
1058
|
-
# {
|
1059
|
-
# simple_criterion: {
|
1060
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1061
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
1062
|
-
# values: ["__string"],
|
1063
|
-
# },
|
1064
|
-
# tag_criterion: {
|
1065
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1066
|
-
# tag_values: [
|
1067
|
-
# {
|
1068
|
-
# key: "__string",
|
1069
|
-
# value: "__string",
|
1070
|
-
# },
|
1071
|
-
# ],
|
1072
|
-
# },
|
1073
|
-
# },
|
1074
|
-
# ],
|
1075
|
-
# },
|
1076
|
-
# },
|
1077
|
-
# },
|
1078
|
-
# sampling_percentage: 1,
|
1079
|
-
# schedule_frequency: {
|
1080
|
-
# daily_schedule: {
|
1081
|
-
# },
|
1082
|
-
# monthly_schedule: {
|
1083
|
-
# day_of_month: 1,
|
1084
|
-
# },
|
1085
|
-
# weekly_schedule: {
|
1086
|
-
# day_of_week: "SUNDAY", # accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
|
1087
|
-
# },
|
1088
|
-
# },
|
1089
|
-
# tags: {
|
1090
|
-
# "__string" => "__string",
|
1091
|
-
# },
|
1092
|
-
# }
|
1152
|
+
# @!attribute [rw] allow_list_ids
|
1153
|
+
# @return [Array<String>]
|
1093
1154
|
#
|
1094
1155
|
# @!attribute [rw] client_token
|
1095
1156
|
# **A suitable default value is auto-generated.** You should normally
|
@@ -1139,13 +1200,13 @@ module Aws::Macie2
|
|
1139
1200
|
#
|
1140
1201
|
# @!attribute [rw] tags
|
1141
1202
|
# A string-to-string map of key-value pairs that specifies the tags
|
1142
|
-
# (keys and values) for
|
1143
|
-
# findings filter, or member account.
|
1203
|
+
# (keys and values) for an Amazon Macie resource.
|
1144
1204
|
# @return [Hash<String,String>]
|
1145
1205
|
#
|
1146
1206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateClassificationJobRequest AWS API Documentation
|
1147
1207
|
#
|
1148
1208
|
class CreateClassificationJobRequest < Struct.new(
|
1209
|
+
:allow_list_ids,
|
1149
1210
|
:client_token,
|
1150
1211
|
:custom_data_identifier_ids,
|
1151
1212
|
:description,
|
@@ -1182,32 +1243,10 @@ module Aws::Macie2
|
|
1182
1243
|
|
1183
1244
|
# Specifies the detection criteria and other settings for a custom data
|
1184
1245
|
# identifier. You can't change a custom data identifier after you
|
1185
|
-
# create it. This helps ensure that you have an immutable history of
|
1246
|
+
# create it. This helps to ensure that you have an immutable history of
|
1186
1247
|
# sensitive data findings and discovery results for data privacy and
|
1187
1248
|
# protection audits or investigations.
|
1188
1249
|
#
|
1189
|
-
# @note When making an API call, you may pass CreateCustomDataIdentifierRequest
|
1190
|
-
# data as a hash:
|
1191
|
-
#
|
1192
|
-
# {
|
1193
|
-
# client_token: "__string",
|
1194
|
-
# description: "__string",
|
1195
|
-
# ignore_words: ["__string"],
|
1196
|
-
# keywords: ["__string"],
|
1197
|
-
# maximum_match_distance: 1,
|
1198
|
-
# name: "__string",
|
1199
|
-
# regex: "__string",
|
1200
|
-
# severity_levels: [
|
1201
|
-
# {
|
1202
|
-
# occurrences_threshold: 1, # required
|
1203
|
-
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
1204
|
-
# },
|
1205
|
-
# ],
|
1206
|
-
# tags: {
|
1207
|
-
# "__string" => "__string",
|
1208
|
-
# },
|
1209
|
-
# }
|
1210
|
-
#
|
1211
1250
|
# @!attribute [rw] client_token
|
1212
1251
|
# **A suitable default value is auto-generated.** You should normally
|
1213
1252
|
# not need to pass this option.
|
@@ -1250,8 +1289,7 @@ module Aws::Macie2
|
|
1250
1289
|
#
|
1251
1290
|
# @!attribute [rw] tags
|
1252
1291
|
# A string-to-string map of key-value pairs that specifies the tags
|
1253
|
-
# (keys and values) for
|
1254
|
-
# findings filter, or member account.
|
1292
|
+
# (keys and values) for an Amazon Macie resource.
|
1255
1293
|
# @return [Hash<String,String>]
|
1256
1294
|
#
|
1257
1295
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateCustomDataIdentifierRequest AWS API Documentation
|
@@ -1286,36 +1324,9 @@ module Aws::Macie2
|
|
1286
1324
|
|
1287
1325
|
# Specifies the criteria and other settings for a new findings filter.
|
1288
1326
|
#
|
1289
|
-
# @note When making an API call, you may pass CreateFindingsFilterRequest
|
1290
|
-
# data as a hash:
|
1291
|
-
#
|
1292
|
-
# {
|
1293
|
-
# action: "ARCHIVE", # required, accepts ARCHIVE, NOOP
|
1294
|
-
# client_token: "__string",
|
1295
|
-
# description: "__string",
|
1296
|
-
# finding_criteria: { # required
|
1297
|
-
# criterion: {
|
1298
|
-
# "__string" => {
|
1299
|
-
# eq: ["__string"],
|
1300
|
-
# eq_exact_match: ["__string"],
|
1301
|
-
# gt: 1,
|
1302
|
-
# gte: 1,
|
1303
|
-
# lt: 1,
|
1304
|
-
# lte: 1,
|
1305
|
-
# neq: ["__string"],
|
1306
|
-
# },
|
1307
|
-
# },
|
1308
|
-
# },
|
1309
|
-
# name: "__string", # required
|
1310
|
-
# position: 1,
|
1311
|
-
# tags: {
|
1312
|
-
# "__string" => "__string",
|
1313
|
-
# },
|
1314
|
-
# }
|
1315
|
-
#
|
1316
1327
|
# @!attribute [rw] action
|
1317
|
-
# The action to perform on findings that
|
1318
|
-
# suppress (automatically archive) findings that
|
1328
|
+
# The action to perform on findings that match the filter criteria. To
|
1329
|
+
# suppress (automatically archive) findings that match the criteria,
|
1319
1330
|
# set this value to ARCHIVE. Valid values are:
|
1320
1331
|
# @return [String]
|
1321
1332
|
#
|
@@ -1340,8 +1351,7 @@ module Aws::Macie2
|
|
1340
1351
|
#
|
1341
1352
|
# @!attribute [rw] tags
|
1342
1353
|
# A string-to-string map of key-value pairs that specifies the tags
|
1343
|
-
# (keys and values) for
|
1344
|
-
# findings filter, or member account.
|
1354
|
+
# (keys and values) for an Amazon Macie resource.
|
1345
1355
|
# @return [Hash<String,String>]
|
1346
1356
|
#
|
1347
1357
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateFindingsFilterRequest AWS API Documentation
|
@@ -1383,15 +1393,6 @@ module Aws::Macie2
|
|
1383
1393
|
# notification on the recipient's console. You can optionally notify
|
1384
1394
|
# the recipient by also sending the invitation as an email message.
|
1385
1395
|
#
|
1386
|
-
# @note When making an API call, you may pass CreateInvitationsRequest
|
1387
|
-
# data as a hash:
|
1388
|
-
#
|
1389
|
-
# {
|
1390
|
-
# account_ids: ["__string"], # required
|
1391
|
-
# disable_email_notification: false,
|
1392
|
-
# message: "__string",
|
1393
|
-
# }
|
1394
|
-
#
|
1395
1396
|
# @!attribute [rw] account_ids
|
1396
1397
|
# @return [Array<String>]
|
1397
1398
|
#
|
@@ -1428,19 +1429,6 @@ module Aws::Macie2
|
|
1428
1429
|
# Specifies an Amazon Web Services account to associate with an Amazon
|
1429
1430
|
# Macie administrator account.
|
1430
1431
|
#
|
1431
|
-
# @note When making an API call, you may pass CreateMemberRequest
|
1432
|
-
# data as a hash:
|
1433
|
-
#
|
1434
|
-
# {
|
1435
|
-
# account: { # required
|
1436
|
-
# account_id: "__string", # required
|
1437
|
-
# email: "__string", # required
|
1438
|
-
# },
|
1439
|
-
# tags: {
|
1440
|
-
# "__string" => "__string",
|
1441
|
-
# },
|
1442
|
-
# }
|
1443
|
-
#
|
1444
1432
|
# @!attribute [rw] account
|
1445
1433
|
# Specifies the details of an account to associate with an Amazon
|
1446
1434
|
# Macie administrator account.
|
@@ -1448,8 +1436,7 @@ module Aws::Macie2
|
|
1448
1436
|
#
|
1449
1437
|
# @!attribute [rw] tags
|
1450
1438
|
# A string-to-string map of key-value pairs that specifies the tags
|
1451
|
-
# (keys and values) for
|
1452
|
-
# findings filter, or member account.
|
1439
|
+
# (keys and values) for an Amazon Macie resource.
|
1453
1440
|
# @return [Hash<String,String>]
|
1454
1441
|
#
|
1455
1442
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/CreateMemberRequest AWS API Documentation
|
@@ -1477,13 +1464,6 @@ module Aws::Macie2
|
|
1477
1464
|
|
1478
1465
|
# Specifies the types of sample findings to create.
|
1479
1466
|
#
|
1480
|
-
# @note When making an API call, you may pass CreateSampleFindingsRequest
|
1481
|
-
# data as a hash:
|
1482
|
-
#
|
1483
|
-
# {
|
1484
|
-
# finding_types: ["SensitiveData:S3Object/Multiple"], # accepts SensitiveData:S3Object/Multiple, SensitiveData:S3Object/Financial, SensitiveData:S3Object/Personal, SensitiveData:S3Object/Credentials, SensitiveData:S3Object/CustomIdentifier, Policy:IAMUser/S3BucketPublic, Policy:IAMUser/S3BucketSharedExternally, Policy:IAMUser/S3BucketReplicatedExternally, Policy:IAMUser/S3BucketEncryptionDisabled, Policy:IAMUser/S3BlockPublicAccessDisabled
|
1485
|
-
# }
|
1486
|
-
#
|
1487
1467
|
# @!attribute [rw] finding_types
|
1488
1468
|
# @return [Array<String>]
|
1489
1469
|
#
|
@@ -1503,30 +1483,6 @@ module Aws::Macie2
|
|
1503
1483
|
# criteria for including or excluding S3 buckets from a classification
|
1504
1484
|
# job.
|
1505
1485
|
#
|
1506
|
-
# @note When making an API call, you may pass CriteriaBlockForJob
|
1507
|
-
# data as a hash:
|
1508
|
-
#
|
1509
|
-
# {
|
1510
|
-
# and: [
|
1511
|
-
# {
|
1512
|
-
# simple_criterion: {
|
1513
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1514
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
1515
|
-
# values: ["__string"],
|
1516
|
-
# },
|
1517
|
-
# tag_criterion: {
|
1518
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1519
|
-
# tag_values: [
|
1520
|
-
# {
|
1521
|
-
# key: "__string",
|
1522
|
-
# value: "__string",
|
1523
|
-
# },
|
1524
|
-
# ],
|
1525
|
-
# },
|
1526
|
-
# },
|
1527
|
-
# ],
|
1528
|
-
# }
|
1529
|
-
#
|
1530
1486
|
# @!attribute [rw] and
|
1531
1487
|
# @return [Array<Types::CriteriaForJob>]
|
1532
1488
|
#
|
@@ -1541,26 +1497,6 @@ module Aws::Macie2
|
|
1541
1497
|
# Specifies a property- or tag-based condition that defines criteria for
|
1542
1498
|
# including or excluding S3 buckets from a classification job.
|
1543
1499
|
#
|
1544
|
-
# @note When making an API call, you may pass CriteriaForJob
|
1545
|
-
# data as a hash:
|
1546
|
-
#
|
1547
|
-
# {
|
1548
|
-
# simple_criterion: {
|
1549
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1550
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
1551
|
-
# values: ["__string"],
|
1552
|
-
# },
|
1553
|
-
# tag_criterion: {
|
1554
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
1555
|
-
# tag_values: [
|
1556
|
-
# {
|
1557
|
-
# key: "__string",
|
1558
|
-
# value: "__string",
|
1559
|
-
# },
|
1560
|
-
# ],
|
1561
|
-
# },
|
1562
|
-
# }
|
1563
|
-
#
|
1564
1500
|
# @!attribute [rw] simple_criterion
|
1565
1501
|
# Specifies a property-based condition that determines whether an S3
|
1566
1502
|
# bucket is included or excluded from a classification job.
|
@@ -1589,19 +1525,6 @@ module Aws::Macie2
|
|
1589
1525
|
#
|
1590
1526
|
# [1]: https://docs.aws.amazon.com/macie/latest/user/findings-filter-basics.html
|
1591
1527
|
#
|
1592
|
-
# @note When making an API call, you may pass CriterionAdditionalProperties
|
1593
|
-
# data as a hash:
|
1594
|
-
#
|
1595
|
-
# {
|
1596
|
-
# eq: ["__string"],
|
1597
|
-
# eq_exact_match: ["__string"],
|
1598
|
-
# gt: 1,
|
1599
|
-
# gte: 1,
|
1600
|
-
# lt: 1,
|
1601
|
-
# lte: 1,
|
1602
|
-
# neq: ["__string"],
|
1603
|
-
# }
|
1604
|
-
#
|
1605
1528
|
# @!attribute [rw] eq
|
1606
1529
|
# @return [Array<String>]
|
1607
1530
|
#
|
@@ -1730,13 +1653,6 @@ module Aws::Macie2
|
|
1730
1653
|
# Specifies one or more accounts that sent Amazon Macie membership
|
1731
1654
|
# invitations to decline.
|
1732
1655
|
#
|
1733
|
-
# @note When making an API call, you may pass DeclineInvitationsRequest
|
1734
|
-
# data as a hash:
|
1735
|
-
#
|
1736
|
-
# {
|
1737
|
-
# account_ids: ["__string"], # required
|
1738
|
-
# }
|
1739
|
-
#
|
1740
1656
|
# @!attribute [rw] account_ids
|
1741
1657
|
# @return [Array<String>]
|
1742
1658
|
#
|
@@ -1788,13 +1704,25 @@ module Aws::Macie2
|
|
1788
1704
|
include Aws::Structure
|
1789
1705
|
end
|
1790
1706
|
|
1791
|
-
#
|
1792
|
-
#
|
1707
|
+
# @!attribute [rw] id
|
1708
|
+
# @return [String]
|
1793
1709
|
#
|
1794
|
-
#
|
1795
|
-
#
|
1796
|
-
#
|
1710
|
+
# @!attribute [rw] ignore_job_checks
|
1711
|
+
# @return [String]
|
1712
|
+
#
|
1713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowListRequest AWS API Documentation
|
1714
|
+
#
|
1715
|
+
class DeleteAllowListRequest < Struct.new(
|
1716
|
+
:id,
|
1717
|
+
:ignore_job_checks)
|
1718
|
+
SENSITIVE = []
|
1719
|
+
include Aws::Structure
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DeleteAllowListResponse AWS API Documentation
|
1797
1723
|
#
|
1724
|
+
class DeleteAllowListResponse < Aws::EmptyStructure; end
|
1725
|
+
|
1798
1726
|
# @!attribute [rw] id
|
1799
1727
|
# @return [String]
|
1800
1728
|
#
|
@@ -1810,13 +1738,6 @@ module Aws::Macie2
|
|
1810
1738
|
#
|
1811
1739
|
class DeleteCustomDataIdentifierResponse < Aws::EmptyStructure; end
|
1812
1740
|
|
1813
|
-
# @note When making an API call, you may pass DeleteFindingsFilterRequest
|
1814
|
-
# data as a hash:
|
1815
|
-
#
|
1816
|
-
# {
|
1817
|
-
# id: "__string", # required
|
1818
|
-
# }
|
1819
|
-
#
|
1820
1741
|
# @!attribute [rw] id
|
1821
1742
|
# @return [String]
|
1822
1743
|
#
|
@@ -1835,13 +1756,6 @@ module Aws::Macie2
|
|
1835
1756
|
# Specifies one or more accounts that sent Amazon Macie membership
|
1836
1757
|
# invitations to delete.
|
1837
1758
|
#
|
1838
|
-
# @note When making an API call, you may pass DeleteInvitationsRequest
|
1839
|
-
# data as a hash:
|
1840
|
-
#
|
1841
|
-
# {
|
1842
|
-
# account_ids: ["__string"], # required
|
1843
|
-
# }
|
1844
|
-
#
|
1845
1759
|
# @!attribute [rw] account_ids
|
1846
1760
|
# @return [Array<String>]
|
1847
1761
|
#
|
@@ -1867,13 +1781,6 @@ module Aws::Macie2
|
|
1867
1781
|
include Aws::Structure
|
1868
1782
|
end
|
1869
1783
|
|
1870
|
-
# @note When making an API call, you may pass DeleteMemberRequest
|
1871
|
-
# data as a hash:
|
1872
|
-
#
|
1873
|
-
# {
|
1874
|
-
# id: "__string", # required
|
1875
|
-
# }
|
1876
|
-
#
|
1877
1784
|
# @!attribute [rw] id
|
1878
1785
|
# @return [String]
|
1879
1786
|
#
|
@@ -1893,29 +1800,6 @@ module Aws::Macie2
|
|
1893
1800
|
# of a query for statistical data and other information about S3
|
1894
1801
|
# buckets.
|
1895
1802
|
#
|
1896
|
-
# @note When making an API call, you may pass DescribeBucketsRequest
|
1897
|
-
# data as a hash:
|
1898
|
-
#
|
1899
|
-
# {
|
1900
|
-
# criteria: {
|
1901
|
-
# "__string" => {
|
1902
|
-
# eq: ["__string"],
|
1903
|
-
# gt: 1,
|
1904
|
-
# gte: 1,
|
1905
|
-
# lt: 1,
|
1906
|
-
# lte: 1,
|
1907
|
-
# neq: ["__string"],
|
1908
|
-
# prefix: "__string",
|
1909
|
-
# },
|
1910
|
-
# },
|
1911
|
-
# max_results: 1,
|
1912
|
-
# next_token: "__string",
|
1913
|
-
# sort_criteria: {
|
1914
|
-
# attribute_name: "__string",
|
1915
|
-
# order_by: "ASC", # accepts ASC, DESC
|
1916
|
-
# },
|
1917
|
-
# }
|
1918
|
-
#
|
1919
1803
|
# @!attribute [rw] criteria
|
1920
1804
|
# Specifies, as a map, one or more property-based conditions that
|
1921
1805
|
# filter the results of a query for information about S3 buckets.
|
@@ -1962,13 +1846,6 @@ module Aws::Macie2
|
|
1962
1846
|
include Aws::Structure
|
1963
1847
|
end
|
1964
1848
|
|
1965
|
-
# @note When making an API call, you may pass DescribeClassificationJobRequest
|
1966
|
-
# data as a hash:
|
1967
|
-
#
|
1968
|
-
# {
|
1969
|
-
# job_id: "__string", # required
|
1970
|
-
# }
|
1971
|
-
#
|
1972
1849
|
# @!attribute [rw] job_id
|
1973
1850
|
# @return [String]
|
1974
1851
|
#
|
@@ -1983,6 +1860,9 @@ module Aws::Macie2
|
|
1983
1860
|
# Provides information about a classification job, including the current
|
1984
1861
|
# configuration settings and status of the job.
|
1985
1862
|
#
|
1863
|
+
# @!attribute [rw] allow_list_ids
|
1864
|
+
# @return [Array<String>]
|
1865
|
+
#
|
1986
1866
|
# @!attribute [rw] client_token
|
1987
1867
|
# **A suitable default value is auto-generated.** You should normally
|
1988
1868
|
# not need to pass this option.
|
@@ -2062,8 +1942,7 @@ module Aws::Macie2
|
|
2062
1942
|
#
|
2063
1943
|
# @!attribute [rw] tags
|
2064
1944
|
# A string-to-string map of key-value pairs that specifies the tags
|
2065
|
-
# (keys and values) for
|
2066
|
-
# findings filter, or member account.
|
1945
|
+
# (keys and values) for an Amazon Macie resource.
|
2067
1946
|
# @return [Hash<String,String>]
|
2068
1947
|
#
|
2069
1948
|
# @!attribute [rw] user_paused_details
|
@@ -2080,6 +1959,7 @@ module Aws::Macie2
|
|
2080
1959
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DescribeClassificationJobResponse AWS API Documentation
|
2081
1960
|
#
|
2082
1961
|
class DescribeClassificationJobResponse < Struct.new(
|
1962
|
+
:allow_list_ids,
|
2083
1963
|
:client_token,
|
2084
1964
|
:created_at,
|
2085
1965
|
:custom_data_identifier_ids,
|
@@ -2128,6 +2008,60 @@ module Aws::Macie2
|
|
2128
2008
|
include Aws::Structure
|
2129
2009
|
end
|
2130
2010
|
|
2011
|
+
# Specifies 1-10 occurrences of a specific type of sensitive data
|
2012
|
+
# reported by a finding.
|
2013
|
+
#
|
2014
|
+
# @!attribute [rw] value
|
2015
|
+
# @return [String]
|
2016
|
+
#
|
2017
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DetectedDataDetails AWS API Documentation
|
2018
|
+
#
|
2019
|
+
class DetectedDataDetails < Struct.new(
|
2020
|
+
:value)
|
2021
|
+
SENSITIVE = []
|
2022
|
+
include Aws::Structure
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Provides information about a type of sensitive data that Amazon Macie
|
2026
|
+
# found in an S3 bucket while performing automated sensitive data
|
2027
|
+
# discovery for the bucket. The information also specifies the custom
|
2028
|
+
# data identifier or managed data identifier that detected the data.
|
2029
|
+
# This information is available only if automated sensitive data
|
2030
|
+
# discovery is currently enabled for your account.
|
2031
|
+
#
|
2032
|
+
# @!attribute [rw] arn
|
2033
|
+
# @return [String]
|
2034
|
+
#
|
2035
|
+
# @!attribute [rw] count
|
2036
|
+
# @return [Integer]
|
2037
|
+
#
|
2038
|
+
# @!attribute [rw] id
|
2039
|
+
# @return [String]
|
2040
|
+
#
|
2041
|
+
# @!attribute [rw] name
|
2042
|
+
# @return [String]
|
2043
|
+
#
|
2044
|
+
# @!attribute [rw] suppressed
|
2045
|
+
# @return [Boolean]
|
2046
|
+
#
|
2047
|
+
# @!attribute [rw] type
|
2048
|
+
# The type of data identifier that detected a specific type of
|
2049
|
+
# sensitive data in an S3 bucket. Possible values are:
|
2050
|
+
# @return [String]
|
2051
|
+
#
|
2052
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Detection AWS API Documentation
|
2053
|
+
#
|
2054
|
+
class Detection < Struct.new(
|
2055
|
+
:arn,
|
2056
|
+
:count,
|
2057
|
+
:id,
|
2058
|
+
:name,
|
2059
|
+
:suppressed,
|
2060
|
+
:type)
|
2061
|
+
SENSITIVE = []
|
2062
|
+
include Aws::Structure
|
2063
|
+
end
|
2064
|
+
|
2131
2065
|
# @api private
|
2132
2066
|
#
|
2133
2067
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/DisableMacieRequest AWS API Documentation
|
@@ -2138,13 +2072,6 @@ module Aws::Macie2
|
|
2138
2072
|
#
|
2139
2073
|
class DisableMacieResponse < Aws::EmptyStructure; end
|
2140
2074
|
|
2141
|
-
# @note When making an API call, you may pass DisableOrganizationAdminAccountRequest
|
2142
|
-
# data as a hash:
|
2143
|
-
#
|
2144
|
-
# {
|
2145
|
-
# admin_account_id: "__string", # required
|
2146
|
-
# }
|
2147
|
-
#
|
2148
2075
|
# @!attribute [rw] admin_account_id
|
2149
2076
|
# @return [String]
|
2150
2077
|
#
|
@@ -2180,13 +2107,6 @@ module Aws::Macie2
|
|
2180
2107
|
#
|
2181
2108
|
class DisassociateFromMasterAccountResponse < Aws::EmptyStructure; end
|
2182
2109
|
|
2183
|
-
# @note When making an API call, you may pass DisassociateMemberRequest
|
2184
|
-
# data as a hash:
|
2185
|
-
#
|
2186
|
-
# {
|
2187
|
-
# id: "__string", # required
|
2188
|
-
# }
|
2189
|
-
#
|
2190
2110
|
# @!attribute [rw] id
|
2191
2111
|
# @return [String]
|
2192
2112
|
#
|
@@ -2226,15 +2146,6 @@ module Aws::Macie2
|
|
2226
2146
|
# Enables Amazon Macie and specifies the configuration settings for a
|
2227
2147
|
# Macie account.
|
2228
2148
|
#
|
2229
|
-
# @note When making an API call, you may pass EnableMacieRequest
|
2230
|
-
# data as a hash:
|
2231
|
-
#
|
2232
|
-
# {
|
2233
|
-
# client_token: "__string",
|
2234
|
-
# finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
|
2235
|
-
# status: "PAUSED", # accepts PAUSED, ENABLED
|
2236
|
-
# }
|
2237
|
-
#
|
2238
2149
|
# @!attribute [rw] client_token
|
2239
2150
|
# **A suitable default value is auto-generated.** You should normally
|
2240
2151
|
# not need to pass this option.
|
@@ -2243,10 +2154,9 @@ module Aws::Macie2
|
|
2243
2154
|
# @!attribute [rw] finding_publishing_frequency
|
2244
2155
|
# The frequency with which Amazon Macie publishes updates to policy
|
2245
2156
|
# findings for an account. This includes publishing updates to
|
2246
|
-
# Security Hub and Amazon EventBridge (formerly
|
2247
|
-
#
|
2248
|
-
#
|
2249
|
-
# values are:
|
2157
|
+
# Security Hub and Amazon EventBridge (formerly Amazon CloudWatch
|
2158
|
+
# Events). For more information, see [Monitoring and processing
|
2159
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
2250
2160
|
#
|
2251
2161
|
#
|
2252
2162
|
#
|
@@ -2276,14 +2186,6 @@ module Aws::Macie2
|
|
2276
2186
|
# this request, you must be a user of the Organizations management
|
2277
2187
|
# account.
|
2278
2188
|
#
|
2279
|
-
# @note When making an API call, you may pass EnableOrganizationAdminAccountRequest
|
2280
|
-
# data as a hash:
|
2281
|
-
#
|
2282
|
-
# {
|
2283
|
-
# admin_account_id: "__string", # required
|
2284
|
-
# client_token: "__string",
|
2285
|
-
# }
|
2286
|
-
#
|
2287
2189
|
# @!attribute [rw] admin_account_id
|
2288
2190
|
# @return [String]
|
2289
2191
|
#
|
@@ -2348,12 +2250,12 @@ module Aws::Macie2
|
|
2348
2250
|
# @return [Boolean]
|
2349
2251
|
#
|
2350
2252
|
# @!attribute [rw] category
|
2351
|
-
# The category of the finding.
|
2253
|
+
# The category of the finding. Possible values are:
|
2352
2254
|
# @return [String]
|
2353
2255
|
#
|
2354
2256
|
# @!attribute [rw] classification_details
|
2355
|
-
# Provides information about a sensitive data finding
|
2356
|
-
#
|
2257
|
+
# Provides information about a sensitive data finding and the details
|
2258
|
+
# of the finding.
|
2357
2259
|
# @return [Types::ClassificationDetails]
|
2358
2260
|
#
|
2359
2261
|
# @!attribute [rw] count
|
@@ -2398,7 +2300,7 @@ module Aws::Macie2
|
|
2398
2300
|
#
|
2399
2301
|
# @!attribute [rw] type
|
2400
2302
|
# The type of finding. For details about each type, see [Types of
|
2401
|
-
# Amazon Macie findings][1] in the *Amazon Macie User Guide*.
|
2303
|
+
# Amazon Macie findings][1] in the *Amazon Macie User Guide*. Possible
|
2402
2304
|
# values are:
|
2403
2305
|
#
|
2404
2306
|
#
|
@@ -2487,23 +2389,6 @@ module Aws::Macie2
|
|
2487
2389
|
# Specifies, as a map, one or more property-based conditions that filter
|
2488
2390
|
# the results of a query for findings.
|
2489
2391
|
#
|
2490
|
-
# @note When making an API call, you may pass FindingCriteria
|
2491
|
-
# data as a hash:
|
2492
|
-
#
|
2493
|
-
# {
|
2494
|
-
# criterion: {
|
2495
|
-
# "__string" => {
|
2496
|
-
# eq: ["__string"],
|
2497
|
-
# eq_exact_match: ["__string"],
|
2498
|
-
# gt: 1,
|
2499
|
-
# gte: 1,
|
2500
|
-
# lt: 1,
|
2501
|
-
# lte: 1,
|
2502
|
-
# neq: ["__string"],
|
2503
|
-
# },
|
2504
|
-
# },
|
2505
|
-
# }
|
2506
|
-
#
|
2507
2392
|
# @!attribute [rw] criterion
|
2508
2393
|
# Specifies a condition that defines a property, operator, and one or
|
2509
2394
|
# more values to filter the results of a query for findings. The
|
@@ -2528,14 +2413,6 @@ module Aws::Macie2
|
|
2528
2413
|
# Specifies criteria for sorting the results of a query that retrieves
|
2529
2414
|
# aggregated statistical data about findings.
|
2530
2415
|
#
|
2531
|
-
# @note When making an API call, you may pass FindingStatisticsSortCriteria
|
2532
|
-
# data as a hash:
|
2533
|
-
#
|
2534
|
-
# {
|
2535
|
-
# attribute_name: "groupKey", # accepts groupKey, count
|
2536
|
-
# order_by: "ASC", # accepts ASC, DESC
|
2537
|
-
# }
|
2538
|
-
#
|
2539
2416
|
# @!attribute [rw] attribute_name
|
2540
2417
|
# The grouping to sort the results by. Valid values are:
|
2541
2418
|
# @return [String]
|
@@ -2555,8 +2432,8 @@ module Aws::Macie2
|
|
2555
2432
|
# Provides information about a findings filter.
|
2556
2433
|
#
|
2557
2434
|
# @!attribute [rw] action
|
2558
|
-
# The action to perform on findings that
|
2559
|
-
# suppress (automatically archive) findings that
|
2435
|
+
# The action to perform on findings that match the filter criteria. To
|
2436
|
+
# suppress (automatically archive) findings that match the criteria,
|
2560
2437
|
# set this value to ARCHIVE. Valid values are:
|
2561
2438
|
# @return [String]
|
2562
2439
|
#
|
@@ -2571,8 +2448,7 @@ module Aws::Macie2
|
|
2571
2448
|
#
|
2572
2449
|
# @!attribute [rw] tags
|
2573
2450
|
# A string-to-string map of key-value pairs that specifies the tags
|
2574
|
-
# (keys and values) for
|
2575
|
-
# findings filter, or member account.
|
2451
|
+
# (keys and values) for an Amazon Macie resource.
|
2576
2452
|
# @return [Hash<String,String>]
|
2577
2453
|
#
|
2578
2454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/FindingsFilterListItem AWS API Documentation
|
@@ -2610,46 +2486,159 @@ module Aws::Macie2
|
|
2610
2486
|
include Aws::Structure
|
2611
2487
|
end
|
2612
2488
|
|
2613
|
-
#
|
2614
|
-
# statistical data for.
|
2615
|
-
#
|
2616
|
-
# @note When making an API call, you may pass GetBucketStatisticsRequest
|
2617
|
-
# data as a hash:
|
2618
|
-
#
|
2619
|
-
# {
|
2620
|
-
# account_id: "__string",
|
2621
|
-
# }
|
2622
|
-
#
|
2623
|
-
# @!attribute [rw] account_id
|
2489
|
+
# @!attribute [rw] id
|
2624
2490
|
# @return [String]
|
2625
2491
|
#
|
2626
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/
|
2492
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowListRequest AWS API Documentation
|
2627
2493
|
#
|
2628
|
-
class
|
2629
|
-
:
|
2494
|
+
class GetAllowListRequest < Struct.new(
|
2495
|
+
:id)
|
2630
2496
|
SENSITIVE = []
|
2631
2497
|
include Aws::Structure
|
2632
2498
|
end
|
2633
2499
|
|
2634
|
-
# Provides the
|
2635
|
-
# data for all the S3 buckets that Amazon Macie monitors and analyzes
|
2636
|
-
# for your account.
|
2500
|
+
# Provides information about the settings and status of an allow list.
|
2637
2501
|
#
|
2638
|
-
# @!attribute [rw]
|
2639
|
-
# @return [
|
2502
|
+
# @!attribute [rw] arn
|
2503
|
+
# @return [String]
|
2640
2504
|
#
|
2641
|
-
# @!attribute [rw]
|
2642
|
-
#
|
2643
|
-
# publicly accessible based on a combination of permissions settings
|
2644
|
-
# for each bucket.
|
2645
|
-
# @return [Types::BucketCountByEffectivePermission]
|
2505
|
+
# @!attribute [rw] created_at
|
2506
|
+
# @return [Time]
|
2646
2507
|
#
|
2647
|
-
# @!attribute [rw]
|
2648
|
-
#
|
2649
|
-
#
|
2650
|
-
#
|
2651
|
-
#
|
2652
|
-
#
|
2508
|
+
# @!attribute [rw] criteria
|
2509
|
+
# Specifies the criteria for an allow list. The criteria must specify
|
2510
|
+
# a regular expression (regex) or an S3 object (s3WordsList). It
|
2511
|
+
# can't specify both.
|
2512
|
+
# @return [Types::AllowListCriteria]
|
2513
|
+
#
|
2514
|
+
# @!attribute [rw] description
|
2515
|
+
# @return [String]
|
2516
|
+
#
|
2517
|
+
# @!attribute [rw] id
|
2518
|
+
# @return [String]
|
2519
|
+
#
|
2520
|
+
# @!attribute [rw] name
|
2521
|
+
# @return [String]
|
2522
|
+
#
|
2523
|
+
# @!attribute [rw] status
|
2524
|
+
# Provides information about the current status of an allow list,
|
2525
|
+
# which indicates whether Amazon Macie can access and use the list's
|
2526
|
+
# criteria.
|
2527
|
+
# @return [Types::AllowListStatus]
|
2528
|
+
#
|
2529
|
+
# @!attribute [rw] tags
|
2530
|
+
# A string-to-string map of key-value pairs that specifies the tags
|
2531
|
+
# (keys and values) for an Amazon Macie resource.
|
2532
|
+
# @return [Hash<String,String>]
|
2533
|
+
#
|
2534
|
+
# @!attribute [rw] updated_at
|
2535
|
+
# @return [Time]
|
2536
|
+
#
|
2537
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAllowListResponse AWS API Documentation
|
2538
|
+
#
|
2539
|
+
class GetAllowListResponse < Struct.new(
|
2540
|
+
:arn,
|
2541
|
+
:created_at,
|
2542
|
+
:criteria,
|
2543
|
+
:description,
|
2544
|
+
:id,
|
2545
|
+
:name,
|
2546
|
+
:status,
|
2547
|
+
:tags,
|
2548
|
+
:updated_at)
|
2549
|
+
SENSITIVE = []
|
2550
|
+
include Aws::Structure
|
2551
|
+
end
|
2552
|
+
|
2553
|
+
# @api private
|
2554
|
+
#
|
2555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfigurationRequest AWS API Documentation
|
2556
|
+
#
|
2557
|
+
class GetAutomatedDiscoveryConfigurationRequest < Aws::EmptyStructure; end
|
2558
|
+
|
2559
|
+
# Provides information about the configuration settings for performing
|
2560
|
+
# automated sensitive data discovery for an Amazon Macie account, and
|
2561
|
+
# the status of the configuration for the account.
|
2562
|
+
#
|
2563
|
+
# @!attribute [rw] classification_scope_id
|
2564
|
+
# The unique identifier the classification scope.
|
2565
|
+
# @return [String]
|
2566
|
+
#
|
2567
|
+
# @!attribute [rw] disabled_at
|
2568
|
+
# Specifies a date and time in UTC and extended ISO 8601 format.
|
2569
|
+
# @return [Time]
|
2570
|
+
#
|
2571
|
+
# @!attribute [rw] first_enabled_at
|
2572
|
+
# Specifies a date and time in UTC and extended ISO 8601 format.
|
2573
|
+
# @return [Time]
|
2574
|
+
#
|
2575
|
+
# @!attribute [rw] last_updated_at
|
2576
|
+
# Specifies a date and time in UTC and extended ISO 8601 format.
|
2577
|
+
# @return [Time]
|
2578
|
+
#
|
2579
|
+
# @!attribute [rw] sensitivity_inspection_template_id
|
2580
|
+
# The unique identifier for the sensitivity inspection template.
|
2581
|
+
# @return [String]
|
2582
|
+
#
|
2583
|
+
# @!attribute [rw] status
|
2584
|
+
# The status of the automated sensitive data discovery configuration
|
2585
|
+
# for an Amazon Macie account. Valid values are:
|
2586
|
+
# @return [String]
|
2587
|
+
#
|
2588
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetAutomatedDiscoveryConfigurationResponse AWS API Documentation
|
2589
|
+
#
|
2590
|
+
class GetAutomatedDiscoveryConfigurationResponse < Struct.new(
|
2591
|
+
:classification_scope_id,
|
2592
|
+
:disabled_at,
|
2593
|
+
:first_enabled_at,
|
2594
|
+
:last_updated_at,
|
2595
|
+
:sensitivity_inspection_template_id,
|
2596
|
+
:status)
|
2597
|
+
SENSITIVE = []
|
2598
|
+
include Aws::Structure
|
2599
|
+
end
|
2600
|
+
|
2601
|
+
# Specifies the account that owns the S3 buckets to retrieve aggregated
|
2602
|
+
# statistical data for.
|
2603
|
+
#
|
2604
|
+
# @!attribute [rw] account_id
|
2605
|
+
# @return [String]
|
2606
|
+
#
|
2607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsRequest AWS API Documentation
|
2608
|
+
#
|
2609
|
+
class GetBucketStatisticsRequest < Struct.new(
|
2610
|
+
:account_id)
|
2611
|
+
SENSITIVE = []
|
2612
|
+
include Aws::Structure
|
2613
|
+
end
|
2614
|
+
|
2615
|
+
# Provides the results of a query that retrieved aggregated statistical
|
2616
|
+
# data for all the S3 buckets that Amazon Macie monitors and analyzes
|
2617
|
+
# for your account. By default, object count and storage size values
|
2618
|
+
# include data for object parts that are the result of incomplete
|
2619
|
+
# multipart uploads. For more information, see [How Macie monitors
|
2620
|
+
# Amazon S3 data security][1] in the *Amazon Macie User Guide*.
|
2621
|
+
#
|
2622
|
+
#
|
2623
|
+
#
|
2624
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
|
2625
|
+
#
|
2626
|
+
# @!attribute [rw] bucket_count
|
2627
|
+
# @return [Integer]
|
2628
|
+
#
|
2629
|
+
# @!attribute [rw] bucket_count_by_effective_permission
|
2630
|
+
# Provides information about the number of S3 buckets that are
|
2631
|
+
# publicly accessible due to a combination of permissions settings for
|
2632
|
+
# each bucket.
|
2633
|
+
# @return [Types::BucketCountByEffectivePermission]
|
2634
|
+
#
|
2635
|
+
# @!attribute [rw] bucket_count_by_encryption_type
|
2636
|
+
# Provides information about the number of S3 buckets whose settings
|
2637
|
+
# do or don't specify default server-side encryption behavior for
|
2638
|
+
# objects that are added to the buckets. For detailed information
|
2639
|
+
# about these settings, see [Setting default server-side encryption
|
2640
|
+
# behavior for Amazon S3 buckets][1] in the *Amazon Simple Storage
|
2641
|
+
# Service User Guide*.
|
2653
2642
|
#
|
2654
2643
|
#
|
2655
2644
|
#
|
@@ -2659,14 +2648,26 @@ module Aws::Macie2
|
|
2659
2648
|
# @!attribute [rw] bucket_count_by_object_encryption_requirement
|
2660
2649
|
# Provides information about the number of S3 buckets whose bucket
|
2661
2650
|
# policies do or don't require server-side encryption of objects when
|
2662
|
-
# objects are
|
2651
|
+
# objects are added to the buckets.
|
2663
2652
|
# @return [Types::BucketCountPolicyAllowsUnencryptedObjectUploads]
|
2664
2653
|
#
|
2665
2654
|
# @!attribute [rw] bucket_count_by_shared_access_type
|
2666
2655
|
# Provides information about the number of S3 buckets that are or
|
2667
|
-
# aren't shared with other Amazon Web Services accounts
|
2656
|
+
# aren't shared with other Amazon Web Services accounts, Amazon
|
2657
|
+
# CloudFront origin access identities (OAIs), or CloudFront origin
|
2658
|
+
# access controls (OACs). In this data, an *Amazon Macie organization*
|
2659
|
+
# is defined as a set of Macie accounts that are centrally managed as
|
2660
|
+
# a group of related accounts through Organizations or by Macie
|
2661
|
+
# invitation.
|
2668
2662
|
# @return [Types::BucketCountBySharedAccessType]
|
2669
2663
|
#
|
2664
|
+
# @!attribute [rw] bucket_statistics_by_sensitivity
|
2665
|
+
# Provides aggregated statistical data for sensitive data discovery
|
2666
|
+
# metrics that apply to S3 buckets, grouped by bucket sensitivity
|
2667
|
+
# score (sensitivityScore). If automated sensitive data discovery is
|
2668
|
+
# currently disabled for your account, the value for each metric is 0.
|
2669
|
+
# @return [Types::BucketStatisticsBySensitivity]
|
2670
|
+
#
|
2670
2671
|
# @!attribute [rw] classifiable_object_count
|
2671
2672
|
# @return [Integer]
|
2672
2673
|
#
|
@@ -2690,10 +2691,10 @@ module Aws::Macie2
|
|
2690
2691
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2691
2692
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
2692
2693
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
2693
|
-
# data is aggregated for the buckets in the query results. If
|
2694
|
-
# versioning is enabled for a bucket,
|
2695
|
-
#
|
2696
|
-
#
|
2694
|
+
# data is aggregated for all the buckets in the query results. If
|
2695
|
+
# versioning is enabled for a bucket, storage size values are based on
|
2696
|
+
# the size of the latest version of each applicable object in the
|
2697
|
+
# bucket.
|
2697
2698
|
# @return [Types::ObjectLevelStatistics]
|
2698
2699
|
#
|
2699
2700
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -2701,10 +2702,10 @@ module Aws::Macie2
|
|
2701
2702
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
2702
2703
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
2703
2704
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
2704
|
-
# data is aggregated for the buckets in the query results. If
|
2705
|
-
# versioning is enabled for a bucket,
|
2706
|
-
#
|
2707
|
-
#
|
2705
|
+
# data is aggregated for all the buckets in the query results. If
|
2706
|
+
# versioning is enabled for a bucket, storage size values are based on
|
2707
|
+
# the size of the latest version of each applicable object in the
|
2708
|
+
# bucket.
|
2708
2709
|
# @return [Types::ObjectLevelStatistics]
|
2709
2710
|
#
|
2710
2711
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetBucketStatisticsResponse AWS API Documentation
|
@@ -2715,6 +2716,7 @@ module Aws::Macie2
|
|
2715
2716
|
:bucket_count_by_encryption_type,
|
2716
2717
|
:bucket_count_by_object_encryption_requirement,
|
2717
2718
|
:bucket_count_by_shared_access_type,
|
2719
|
+
:bucket_statistics_by_sensitivity,
|
2718
2720
|
:classifiable_object_count,
|
2719
2721
|
:classifiable_size_in_bytes,
|
2720
2722
|
:last_updated,
|
@@ -2739,8 +2741,7 @@ module Aws::Macie2
|
|
2739
2741
|
# @!attribute [rw] configuration
|
2740
2742
|
# Specifies where to store data classification results, and the
|
2741
2743
|
# encryption settings to use when storing results in that location.
|
2742
|
-
#
|
2743
|
-
# bucket.
|
2744
|
+
# The location must be an S3 bucket.
|
2744
2745
|
# @return [Types::ClassificationExportConfiguration]
|
2745
2746
|
#
|
2746
2747
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationExportConfigurationResponse AWS API Documentation
|
@@ -2751,13 +2752,44 @@ module Aws::Macie2
|
|
2751
2752
|
include Aws::Structure
|
2752
2753
|
end
|
2753
2754
|
|
2754
|
-
#
|
2755
|
-
#
|
2755
|
+
# @!attribute [rw] id
|
2756
|
+
# @return [String]
|
2757
|
+
#
|
2758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScopeRequest AWS API Documentation
|
2759
|
+
#
|
2760
|
+
class GetClassificationScopeRequest < Struct.new(
|
2761
|
+
:id)
|
2762
|
+
SENSITIVE = []
|
2763
|
+
include Aws::Structure
|
2764
|
+
end
|
2765
|
+
|
2766
|
+
# Provides information about the classification scope settings for an
|
2767
|
+
# Amazon Macie account. Macie uses these settings when it performs
|
2768
|
+
# automated sensitive data discovery for the account.
|
2756
2769
|
#
|
2757
|
-
#
|
2758
|
-
#
|
2759
|
-
#
|
2770
|
+
# @!attribute [rw] id
|
2771
|
+
# The unique identifier the classification scope.
|
2772
|
+
# @return [String]
|
2773
|
+
#
|
2774
|
+
# @!attribute [rw] name
|
2775
|
+
# The name of the classification scope.
|
2776
|
+
# @return [String]
|
2777
|
+
#
|
2778
|
+
# @!attribute [rw] s3
|
2779
|
+
# Specifies the S3 buckets that are excluded from automated sensitive
|
2780
|
+
# data discovery for an Amazon Macie account.
|
2781
|
+
# @return [Types::S3ClassificationScope]
|
2760
2782
|
#
|
2783
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetClassificationScopeResponse AWS API Documentation
|
2784
|
+
#
|
2785
|
+
class GetClassificationScopeResponse < Struct.new(
|
2786
|
+
:id,
|
2787
|
+
:name,
|
2788
|
+
:s3)
|
2789
|
+
SENSITIVE = []
|
2790
|
+
include Aws::Structure
|
2791
|
+
end
|
2792
|
+
|
2761
2793
|
# @!attribute [rw] id
|
2762
2794
|
# @return [String]
|
2763
2795
|
#
|
@@ -2821,8 +2853,7 @@ module Aws::Macie2
|
|
2821
2853
|
#
|
2822
2854
|
# @!attribute [rw] tags
|
2823
2855
|
# A string-to-string map of key-value pairs that specifies the tags
|
2824
|
-
# (keys and values) for
|
2825
|
-
# findings filter, or member account.
|
2856
|
+
# (keys and values) for an Amazon Macie resource.
|
2826
2857
|
# @return [Hash<String,String>]
|
2827
2858
|
#
|
2828
2859
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetCustomDataIdentifierResponse AWS API Documentation
|
@@ -2848,31 +2879,6 @@ module Aws::Macie2
|
|
2848
2879
|
# the results of a query that retrieves aggregated statistical data
|
2849
2880
|
# about findings.
|
2850
2881
|
#
|
2851
|
-
# @note When making an API call, you may pass GetFindingStatisticsRequest
|
2852
|
-
# data as a hash:
|
2853
|
-
#
|
2854
|
-
# {
|
2855
|
-
# finding_criteria: {
|
2856
|
-
# criterion: {
|
2857
|
-
# "__string" => {
|
2858
|
-
# eq: ["__string"],
|
2859
|
-
# eq_exact_match: ["__string"],
|
2860
|
-
# gt: 1,
|
2861
|
-
# gte: 1,
|
2862
|
-
# lt: 1,
|
2863
|
-
# lte: 1,
|
2864
|
-
# neq: ["__string"],
|
2865
|
-
# },
|
2866
|
-
# },
|
2867
|
-
# },
|
2868
|
-
# group_by: "resourcesAffected.s3Bucket.name", # required, accepts resourcesAffected.s3Bucket.name, type, classificationDetails.jobId, severity.description
|
2869
|
-
# size: 1,
|
2870
|
-
# sort_criteria: {
|
2871
|
-
# attribute_name: "groupKey", # accepts groupKey, count
|
2872
|
-
# order_by: "ASC", # accepts ASC, DESC
|
2873
|
-
# },
|
2874
|
-
# }
|
2875
|
-
#
|
2876
2882
|
# @!attribute [rw] finding_criteria
|
2877
2883
|
# Specifies, as a map, one or more property-based conditions that
|
2878
2884
|
# filter the results of a query for findings.
|
@@ -2914,13 +2920,6 @@ module Aws::Macie2
|
|
2914
2920
|
include Aws::Structure
|
2915
2921
|
end
|
2916
2922
|
|
2917
|
-
# @note When making an API call, you may pass GetFindingsFilterRequest
|
2918
|
-
# data as a hash:
|
2919
|
-
#
|
2920
|
-
# {
|
2921
|
-
# id: "__string", # required
|
2922
|
-
# }
|
2923
|
-
#
|
2924
2923
|
# @!attribute [rw] id
|
2925
2924
|
# @return [String]
|
2926
2925
|
#
|
@@ -2936,8 +2935,8 @@ module Aws::Macie2
|
|
2936
2935
|
# findings filter.
|
2937
2936
|
#
|
2938
2937
|
# @!attribute [rw] action
|
2939
|
-
# The action to perform on findings that
|
2940
|
-
# suppress (automatically archive) findings that
|
2938
|
+
# The action to perform on findings that match the filter criteria. To
|
2939
|
+
# suppress (automatically archive) findings that match the criteria,
|
2941
2940
|
# set this value to ARCHIVE. Valid values are:
|
2942
2941
|
# @return [String]
|
2943
2942
|
#
|
@@ -2963,8 +2962,7 @@ module Aws::Macie2
|
|
2963
2962
|
#
|
2964
2963
|
# @!attribute [rw] tags
|
2965
2964
|
# A string-to-string map of key-value pairs that specifies the tags
|
2966
|
-
# (keys and values) for
|
2967
|
-
# findings filter, or member account.
|
2965
|
+
# (keys and values) for an Amazon Macie resource.
|
2968
2966
|
# @return [Hash<String,String>]
|
2969
2967
|
#
|
2970
2968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetFindingsFilterResponse AWS API Documentation
|
@@ -3012,17 +3010,6 @@ module Aws::Macie2
|
|
3012
3010
|
|
3013
3011
|
# Specifies one or more findings to retrieve.
|
3014
3012
|
#
|
3015
|
-
# @note When making an API call, you may pass GetFindingsRequest
|
3016
|
-
# data as a hash:
|
3017
|
-
#
|
3018
|
-
# {
|
3019
|
-
# finding_ids: ["__string"], # required
|
3020
|
-
# sort_criteria: {
|
3021
|
-
# attribute_name: "__string",
|
3022
|
-
# order_by: "ASC", # accepts ASC, DESC
|
3023
|
-
# },
|
3024
|
-
# }
|
3025
|
-
#
|
3026
3013
|
# @!attribute [rw] finding_ids
|
3027
3014
|
# @return [Array<String>]
|
3028
3015
|
#
|
@@ -3080,8 +3067,8 @@ module Aws::Macie2
|
|
3080
3067
|
#
|
3081
3068
|
class GetMacieSessionRequest < Aws::EmptyStructure; end
|
3082
3069
|
|
3083
|
-
# Provides information about the
|
3084
|
-
#
|
3070
|
+
# Provides information about the status and configuration settings for
|
3071
|
+
# an Amazon Macie account.
|
3085
3072
|
#
|
3086
3073
|
# @!attribute [rw] created_at
|
3087
3074
|
# @return [Time]
|
@@ -3089,10 +3076,9 @@ module Aws::Macie2
|
|
3089
3076
|
# @!attribute [rw] finding_publishing_frequency
|
3090
3077
|
# The frequency with which Amazon Macie publishes updates to policy
|
3091
3078
|
# findings for an account. This includes publishing updates to
|
3092
|
-
# Security Hub and Amazon EventBridge (formerly
|
3093
|
-
#
|
3094
|
-
#
|
3095
|
-
# values are:
|
3079
|
+
# Security Hub and Amazon EventBridge (formerly Amazon CloudWatch
|
3080
|
+
# Events). For more information, see [Monitoring and processing
|
3081
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
3096
3082
|
#
|
3097
3083
|
#
|
3098
3084
|
#
|
@@ -3144,13 +3130,6 @@ module Aws::Macie2
|
|
3144
3130
|
include Aws::Structure
|
3145
3131
|
end
|
3146
3132
|
|
3147
|
-
# @note When making an API call, you may pass GetMemberRequest
|
3148
|
-
# data as a hash:
|
3149
|
-
#
|
3150
|
-
# {
|
3151
|
-
# id: "__string", # required
|
3152
|
-
# }
|
3153
|
-
#
|
3154
3133
|
# @!attribute [rw] id
|
3155
3134
|
# @return [String]
|
3156
3135
|
#
|
@@ -3190,8 +3169,7 @@ module Aws::Macie2
|
|
3190
3169
|
#
|
3191
3170
|
# @!attribute [rw] tags
|
3192
3171
|
# A string-to-string map of key-value pairs that specifies the tags
|
3193
|
-
# (keys and values) for
|
3194
|
-
# findings filter, or member account.
|
3172
|
+
# (keys and values) for an Amazon Macie resource.
|
3195
3173
|
# @return [Hash<String,String>]
|
3196
3174
|
#
|
3197
3175
|
# @!attribute [rw] updated_at
|
@@ -3213,30 +3191,216 @@ module Aws::Macie2
|
|
3213
3191
|
include Aws::Structure
|
3214
3192
|
end
|
3215
3193
|
|
3194
|
+
# @!attribute [rw] resource_arn
|
3195
|
+
# @return [String]
|
3196
|
+
#
|
3197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfileRequest AWS API Documentation
|
3198
|
+
#
|
3199
|
+
class GetResourceProfileRequest < Struct.new(
|
3200
|
+
:resource_arn)
|
3201
|
+
SENSITIVE = []
|
3202
|
+
include Aws::Structure
|
3203
|
+
end
|
3204
|
+
|
3205
|
+
# Provides the results of a query that retrieved sensitive data
|
3206
|
+
# discovery statistics and the sensitivity score for an S3 bucket that
|
3207
|
+
# Amazon Macie monitors and analyzes for your account. This data is
|
3208
|
+
# available only if automated sensitive data discovery is currently
|
3209
|
+
# enabled for your account.
|
3210
|
+
#
|
3211
|
+
# @!attribute [rw] profile_updated_at
|
3212
|
+
# @return [Time]
|
3213
|
+
#
|
3214
|
+
# @!attribute [rw] sensitivity_score
|
3215
|
+
# @return [Integer]
|
3216
|
+
#
|
3217
|
+
# @!attribute [rw] sensitivity_score_overridden
|
3218
|
+
# @return [Boolean]
|
3219
|
+
#
|
3220
|
+
# @!attribute [rw] statistics
|
3221
|
+
# Provides statistical data for sensitive data discovery metrics that
|
3222
|
+
# apply to an S3 bucket that Amazon Macie monitors and analyzes for
|
3223
|
+
# your account. The statistics capture the results of automated
|
3224
|
+
# sensitive data discovery activities that Macie has performed for the
|
3225
|
+
# bucket. The data is available only if automated sensitive data
|
3226
|
+
# discovery is currently enabled for your account.
|
3227
|
+
# @return [Types::ResourceStatistics]
|
3228
|
+
#
|
3229
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetResourceProfileResponse AWS API Documentation
|
3230
|
+
#
|
3231
|
+
class GetResourceProfileResponse < Struct.new(
|
3232
|
+
:profile_updated_at,
|
3233
|
+
:sensitivity_score,
|
3234
|
+
:sensitivity_score_overridden,
|
3235
|
+
:statistics)
|
3236
|
+
SENSITIVE = []
|
3237
|
+
include Aws::Structure
|
3238
|
+
end
|
3239
|
+
|
3240
|
+
# @api private
|
3241
|
+
#
|
3242
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfigurationRequest AWS API Documentation
|
3243
|
+
#
|
3244
|
+
class GetRevealConfigurationRequest < Aws::EmptyStructure; end
|
3245
|
+
|
3246
|
+
# Provides information about the configuration settings for retrieving
|
3247
|
+
# occurrences of sensitive data reported by findings, and the status of
|
3248
|
+
# the configuration for an Amazon Macie account.
|
3249
|
+
#
|
3250
|
+
# @!attribute [rw] configuration
|
3251
|
+
# Specifies the configuration settings for retrieving occurrences of
|
3252
|
+
# sensitive data reported by findings, and the status of the
|
3253
|
+
# configuration for an Amazon Macie account. When you enable the
|
3254
|
+
# configuration for the first time, your request must specify an Key
|
3255
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
3256
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
3257
|
+
# @return [Types::RevealConfiguration]
|
3258
|
+
#
|
3259
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetRevealConfigurationResponse AWS API Documentation
|
3260
|
+
#
|
3261
|
+
class GetRevealConfigurationResponse < Struct.new(
|
3262
|
+
:configuration)
|
3263
|
+
SENSITIVE = []
|
3264
|
+
include Aws::Structure
|
3265
|
+
end
|
3266
|
+
|
3267
|
+
# @!attribute [rw] finding_id
|
3268
|
+
# @return [String]
|
3269
|
+
#
|
3270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesAvailabilityRequest AWS API Documentation
|
3271
|
+
#
|
3272
|
+
class GetSensitiveDataOccurrencesAvailabilityRequest < Struct.new(
|
3273
|
+
:finding_id)
|
3274
|
+
SENSITIVE = []
|
3275
|
+
include Aws::Structure
|
3276
|
+
end
|
3277
|
+
|
3278
|
+
# Provides information about whether occurrences of sensitive data can
|
3279
|
+
# be retrieved for a finding and, if not, why the data can't be
|
3280
|
+
# retrieved.
|
3281
|
+
#
|
3282
|
+
# @!attribute [rw] code
|
3283
|
+
# Specifies whether occurrences of sensitive data can be retrieved for
|
3284
|
+
# a finding. Possible values are:
|
3285
|
+
# @return [String]
|
3286
|
+
#
|
3287
|
+
# @!attribute [rw] reasons
|
3288
|
+
# @return [Array<String>]
|
3289
|
+
#
|
3290
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesAvailabilityResponse AWS API Documentation
|
3291
|
+
#
|
3292
|
+
class GetSensitiveDataOccurrencesAvailabilityResponse < Struct.new(
|
3293
|
+
:code,
|
3294
|
+
:reasons)
|
3295
|
+
SENSITIVE = []
|
3296
|
+
include Aws::Structure
|
3297
|
+
end
|
3298
|
+
|
3299
|
+
# @!attribute [rw] finding_id
|
3300
|
+
# @return [String]
|
3301
|
+
#
|
3302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesRequest AWS API Documentation
|
3303
|
+
#
|
3304
|
+
class GetSensitiveDataOccurrencesRequest < Struct.new(
|
3305
|
+
:finding_id)
|
3306
|
+
SENSITIVE = []
|
3307
|
+
include Aws::Structure
|
3308
|
+
end
|
3309
|
+
|
3310
|
+
# Provides the results of a request to retrieve occurrences of sensitive
|
3311
|
+
# data reported by a finding.
|
3312
|
+
#
|
3313
|
+
# @!attribute [rw] error
|
3314
|
+
# @return [String]
|
3315
|
+
#
|
3316
|
+
# @!attribute [rw] sensitive_data_occurrences
|
3317
|
+
# Specifies a type of sensitive data reported by a finding and
|
3318
|
+
# provides occurrences of the specified type of sensitive data.
|
3319
|
+
# @return [Hash<String,Array<Types::DetectedDataDetails>>]
|
3320
|
+
#
|
3321
|
+
# @!attribute [rw] status
|
3322
|
+
# The status of a request to retrieve occurrences of sensitive data
|
3323
|
+
# reported by a finding. Possible values are:
|
3324
|
+
# @return [String]
|
3325
|
+
#
|
3326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitiveDataOccurrencesResponse AWS API Documentation
|
3327
|
+
#
|
3328
|
+
class GetSensitiveDataOccurrencesResponse < Struct.new(
|
3329
|
+
:error,
|
3330
|
+
:sensitive_data_occurrences,
|
3331
|
+
:status)
|
3332
|
+
SENSITIVE = []
|
3333
|
+
include Aws::Structure
|
3334
|
+
end
|
3335
|
+
|
3336
|
+
# @!attribute [rw] id
|
3337
|
+
# @return [String]
|
3338
|
+
#
|
3339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplateRequest AWS API Documentation
|
3340
|
+
#
|
3341
|
+
class GetSensitivityInspectionTemplateRequest < Struct.new(
|
3342
|
+
:id)
|
3343
|
+
SENSITIVE = []
|
3344
|
+
include Aws::Structure
|
3345
|
+
end
|
3346
|
+
|
3347
|
+
# Provides information about the settings for the sensitivity inspection
|
3348
|
+
# template for an Amazon Macie account. Macie uses the template's
|
3349
|
+
# settings when it performs automated sensitive data discovery for the
|
3350
|
+
# account.
|
3351
|
+
#
|
3352
|
+
# @!attribute [rw] description
|
3353
|
+
# @return [String]
|
3354
|
+
#
|
3355
|
+
# @!attribute [rw] excludes
|
3356
|
+
# Specifies managed data identifiers to exclude (not use) when
|
3357
|
+
# performing automated sensitive data discovery for an Amazon Macie
|
3358
|
+
# account. For information about the managed data identifiers that
|
3359
|
+
# Amazon Macie currently provides, see [Using managed data
|
3360
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
3361
|
+
#
|
3362
|
+
#
|
3363
|
+
#
|
3364
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
3365
|
+
# @return [Types::SensitivityInspectionTemplateExcludes]
|
3366
|
+
#
|
3367
|
+
# @!attribute [rw] includes
|
3368
|
+
# Specifies the allow lists, custom data identifiers, and managed data
|
3369
|
+
# identifiers to include (use) when performing automated sensitive
|
3370
|
+
# data discovery for an Amazon Macie account. The configuration must
|
3371
|
+
# specify at least one custom data identifier or managed data
|
3372
|
+
# identifier. For information about the managed data identifiers that
|
3373
|
+
# Amazon Macie currently provides, see [Using managed data
|
3374
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
3375
|
+
#
|
3376
|
+
#
|
3377
|
+
#
|
3378
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
3379
|
+
# @return [Types::SensitivityInspectionTemplateIncludes]
|
3380
|
+
#
|
3381
|
+
# @!attribute [rw] name
|
3382
|
+
# @return [String]
|
3383
|
+
#
|
3384
|
+
# @!attribute [rw] sensitivity_inspection_template_id
|
3385
|
+
# The unique identifier for the sensitivity inspection template.
|
3386
|
+
# @return [String]
|
3387
|
+
#
|
3388
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/GetSensitivityInspectionTemplateResponse AWS API Documentation
|
3389
|
+
#
|
3390
|
+
class GetSensitivityInspectionTemplateResponse < Struct.new(
|
3391
|
+
:description,
|
3392
|
+
:excludes,
|
3393
|
+
:includes,
|
3394
|
+
:name,
|
3395
|
+
:sensitivity_inspection_template_id)
|
3396
|
+
SENSITIVE = []
|
3397
|
+
include Aws::Structure
|
3398
|
+
end
|
3399
|
+
|
3216
3400
|
# Specifies criteria for filtering, sorting, and paginating the results
|
3217
3401
|
# of a query for quotas and aggregated usage data for one or more Amazon
|
3218
3402
|
# Macie accounts.
|
3219
3403
|
#
|
3220
|
-
# @note When making an API call, you may pass GetUsageStatisticsRequest
|
3221
|
-
# data as a hash:
|
3222
|
-
#
|
3223
|
-
# {
|
3224
|
-
# filter_by: [
|
3225
|
-
# {
|
3226
|
-
# comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
|
3227
|
-
# key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
|
3228
|
-
# values: ["__string"],
|
3229
|
-
# },
|
3230
|
-
# ],
|
3231
|
-
# max_results: 1,
|
3232
|
-
# next_token: "__string",
|
3233
|
-
# sort_by: {
|
3234
|
-
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
3235
|
-
# order_by: "ASC", # accepts ASC, DESC
|
3236
|
-
# },
|
3237
|
-
# time_range: "MONTH_TO_DATE", # accepts MONTH_TO_DATE, PAST_30_DAYS
|
3238
|
-
# }
|
3239
|
-
#
|
3240
3404
|
# @!attribute [rw] filter_by
|
3241
3405
|
# @return [Array<Types::UsageStatisticsFilter>]
|
3242
3406
|
#
|
@@ -3292,13 +3456,6 @@ module Aws::Macie2
|
|
3292
3456
|
include Aws::Structure
|
3293
3457
|
end
|
3294
3458
|
|
3295
|
-
# @note When making an API call, you may pass GetUsageTotalsRequest
|
3296
|
-
# data as a hash:
|
3297
|
-
#
|
3298
|
-
# {
|
3299
|
-
# time_range: "__string",
|
3300
|
-
# }
|
3301
|
-
#
|
3302
3459
|
# @!attribute [rw] time_range
|
3303
3460
|
# @return [String]
|
3304
3461
|
#
|
@@ -3556,20 +3713,6 @@ module Aws::Macie2
|
|
3556
3713
|
|
3557
3714
|
# Specifies the recurrence pattern for running a classification job.
|
3558
3715
|
#
|
3559
|
-
# @note When making an API call, you may pass JobScheduleFrequency
|
3560
|
-
# data as a hash:
|
3561
|
-
#
|
3562
|
-
# {
|
3563
|
-
# daily_schedule: {
|
3564
|
-
# },
|
3565
|
-
# monthly_schedule: {
|
3566
|
-
# day_of_month: 1,
|
3567
|
-
# },
|
3568
|
-
# weekly_schedule: {
|
3569
|
-
# day_of_week: "SUNDAY", # accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
|
3570
|
-
# },
|
3571
|
-
# }
|
3572
|
-
#
|
3573
3716
|
# @!attribute [rw] daily_schedule
|
3574
3717
|
# Specifies that a classification job runs once a day, every day. This
|
3575
3718
|
# is an empty object.
|
@@ -3600,28 +3743,6 @@ module Aws::Macie2
|
|
3600
3743
|
# JobScopeTerm object can contain only one simpleScopeTerm object or one
|
3601
3744
|
# tagScopeTerm object.
|
3602
3745
|
#
|
3603
|
-
# @note When making an API call, you may pass JobScopeTerm
|
3604
|
-
# data as a hash:
|
3605
|
-
#
|
3606
|
-
# {
|
3607
|
-
# simple_scope_term: {
|
3608
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
3609
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
3610
|
-
# values: ["__string"],
|
3611
|
-
# },
|
3612
|
-
# tag_scope_term: {
|
3613
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
3614
|
-
# key: "__string",
|
3615
|
-
# tag_values: [
|
3616
|
-
# {
|
3617
|
-
# key: "__string",
|
3618
|
-
# value: "__string",
|
3619
|
-
# },
|
3620
|
-
# ],
|
3621
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
3622
|
-
# },
|
3623
|
-
# }
|
3624
|
-
#
|
3625
3746
|
# @!attribute [rw] simple_scope_term
|
3626
3747
|
# Specifies a property-based condition that determines whether an S3
|
3627
3748
|
# object is included or excluded from a classification job.
|
@@ -3645,32 +3766,6 @@ module Aws::Macie2
|
|
3645
3766
|
# criteria for including or excluding S3 objects from a classification
|
3646
3767
|
# job.
|
3647
3768
|
#
|
3648
|
-
# @note When making an API call, you may pass JobScopingBlock
|
3649
|
-
# data as a hash:
|
3650
|
-
#
|
3651
|
-
# {
|
3652
|
-
# and: [
|
3653
|
-
# {
|
3654
|
-
# simple_scope_term: {
|
3655
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
3656
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
3657
|
-
# values: ["__string"],
|
3658
|
-
# },
|
3659
|
-
# tag_scope_term: {
|
3660
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
3661
|
-
# key: "__string",
|
3662
|
-
# tag_values: [
|
3663
|
-
# {
|
3664
|
-
# key: "__string",
|
3665
|
-
# value: "__string",
|
3666
|
-
# },
|
3667
|
-
# ],
|
3668
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
3669
|
-
# },
|
3670
|
-
# },
|
3671
|
-
# ],
|
3672
|
-
# }
|
3673
|
-
#
|
3674
3769
|
# @!attribute [rw] and
|
3675
3770
|
# @return [Array<Types::JobScopeTerm>]
|
3676
3771
|
#
|
@@ -3685,6 +3780,12 @@ module Aws::Macie2
|
|
3685
3780
|
# Provides information about a classification job, including the current
|
3686
3781
|
# status of the job.
|
3687
3782
|
#
|
3783
|
+
# @!attribute [rw] bucket_criteria
|
3784
|
+
# Specifies property- and tag-based conditions that define criteria
|
3785
|
+
# for including or excluding S3 buckets from a classification job.
|
3786
|
+
# Exclude conditions take precedence over include conditions.
|
3787
|
+
# @return [Types::S3BucketCriteriaForJob]
|
3788
|
+
#
|
3688
3789
|
# @!attribute [rw] bucket_definitions
|
3689
3790
|
# @return [Array<Types::S3BucketDefinitionForJob>]
|
3690
3791
|
#
|
@@ -3727,15 +3828,10 @@ module Aws::Macie2
|
|
3727
3828
|
# status of RUNNING.
|
3728
3829
|
# @return [Types::UserPausedDetails]
|
3729
3830
|
#
|
3730
|
-
# @!attribute [rw] bucket_criteria
|
3731
|
-
# Specifies property- and tag-based conditions that define criteria
|
3732
|
-
# for including or excluding S3 buckets from a classification job.
|
3733
|
-
# Exclude conditions take precedence over include conditions.
|
3734
|
-
# @return [Types::S3BucketCriteriaForJob]
|
3735
|
-
#
|
3736
3831
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/JobSummary AWS API Documentation
|
3737
3832
|
#
|
3738
3833
|
class JobSummary < Struct.new(
|
3834
|
+
:bucket_criteria,
|
3739
3835
|
:bucket_definitions,
|
3740
3836
|
:created_at,
|
3741
3837
|
:job_id,
|
@@ -3743,8 +3839,7 @@ module Aws::Macie2
|
|
3743
3839
|
:job_type,
|
3744
3840
|
:last_run_error_status,
|
3745
3841
|
:name,
|
3746
|
-
:user_paused_details
|
3747
|
-
:bucket_criteria)
|
3842
|
+
:user_paused_details)
|
3748
3843
|
SENSITIVE = []
|
3749
3844
|
include Aws::Structure
|
3750
3845
|
end
|
@@ -3791,36 +3886,40 @@ module Aws::Macie2
|
|
3791
3886
|
include Aws::Structure
|
3792
3887
|
end
|
3793
3888
|
|
3794
|
-
#
|
3795
|
-
#
|
3889
|
+
# @!attribute [rw] max_results
|
3890
|
+
# @return [Integer]
|
3796
3891
|
#
|
3797
|
-
#
|
3798
|
-
#
|
3799
|
-
#
|
3800
|
-
#
|
3801
|
-
#
|
3802
|
-
|
3803
|
-
|
3804
|
-
|
3805
|
-
|
3806
|
-
|
3807
|
-
|
3808
|
-
|
3809
|
-
#
|
3810
|
-
#
|
3811
|
-
#
|
3812
|
-
#
|
3813
|
-
#
|
3814
|
-
#
|
3815
|
-
#
|
3816
|
-
#
|
3817
|
-
#
|
3818
|
-
#
|
3819
|
-
|
3820
|
-
|
3821
|
-
|
3822
|
-
|
3823
|
-
|
3892
|
+
# @!attribute [rw] next_token
|
3893
|
+
# @return [String]
|
3894
|
+
#
|
3895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowListsRequest AWS API Documentation
|
3896
|
+
#
|
3897
|
+
class ListAllowListsRequest < Struct.new(
|
3898
|
+
:max_results,
|
3899
|
+
:next_token)
|
3900
|
+
SENSITIVE = []
|
3901
|
+
include Aws::Structure
|
3902
|
+
end
|
3903
|
+
|
3904
|
+
# Provides the results of a request for information about allow lists.
|
3905
|
+
#
|
3906
|
+
# @!attribute [rw] allow_lists
|
3907
|
+
# @return [Array<Types::AllowListSummary>]
|
3908
|
+
#
|
3909
|
+
# @!attribute [rw] next_token
|
3910
|
+
# @return [String]
|
3911
|
+
#
|
3912
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListAllowListsResponse AWS API Documentation
|
3913
|
+
#
|
3914
|
+
class ListAllowListsResponse < Struct.new(
|
3915
|
+
:allow_lists,
|
3916
|
+
:next_token)
|
3917
|
+
SENSITIVE = []
|
3918
|
+
include Aws::Structure
|
3919
|
+
end
|
3920
|
+
|
3921
|
+
# Specifies criteria for filtering, sorting, and paginating the results
|
3922
|
+
# of a request for information about classification jobs.
|
3824
3923
|
#
|
3825
3924
|
# @!attribute [rw] filter_criteria
|
3826
3925
|
# Specifies criteria for filtering the results of a request for
|
@@ -3867,16 +3966,44 @@ module Aws::Macie2
|
|
3867
3966
|
include Aws::Structure
|
3868
3967
|
end
|
3869
3968
|
|
3870
|
-
#
|
3871
|
-
#
|
3969
|
+
# @!attribute [rw] name
|
3970
|
+
# @return [String]
|
3971
|
+
#
|
3972
|
+
# @!attribute [rw] next_token
|
3973
|
+
# @return [String]
|
3974
|
+
#
|
3975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopesRequest AWS API Documentation
|
3976
|
+
#
|
3977
|
+
class ListClassificationScopesRequest < Struct.new(
|
3978
|
+
:name,
|
3979
|
+
:next_token)
|
3980
|
+
SENSITIVE = []
|
3981
|
+
include Aws::Structure
|
3982
|
+
end
|
3983
|
+
|
3984
|
+
# Provides the results of a request for information about the
|
3985
|
+
# classification scope for an Amazon Macie account. Macie uses the
|
3986
|
+
# scope's settings when it performs automated sensitive data discovery
|
3987
|
+
# for the account.
|
3988
|
+
#
|
3989
|
+
# @!attribute [rw] classification_scopes
|
3990
|
+
# @return [Array<Types::ClassificationScopeSummary>]
|
3991
|
+
#
|
3992
|
+
# @!attribute [rw] next_token
|
3993
|
+
# Specifies which page of results to return in a paginated response.
|
3994
|
+
# @return [String]
|
3872
3995
|
#
|
3873
|
-
# @
|
3874
|
-
# data as a hash:
|
3996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListClassificationScopesResponse AWS API Documentation
|
3875
3997
|
#
|
3876
|
-
|
3877
|
-
|
3878
|
-
|
3879
|
-
|
3998
|
+
class ListClassificationScopesResponse < Struct.new(
|
3999
|
+
:classification_scopes,
|
4000
|
+
:next_token)
|
4001
|
+
SENSITIVE = []
|
4002
|
+
include Aws::Structure
|
4003
|
+
end
|
4004
|
+
|
4005
|
+
# Specifies criteria for paginating the results of a request for
|
4006
|
+
# information about custom data identifiers.
|
3880
4007
|
#
|
3881
4008
|
# @!attribute [rw] max_results
|
3882
4009
|
# @return [Integer]
|
@@ -3911,14 +4038,6 @@ module Aws::Macie2
|
|
3911
4038
|
include Aws::Structure
|
3912
4039
|
end
|
3913
4040
|
|
3914
|
-
# @note When making an API call, you may pass ListFindingsFiltersRequest
|
3915
|
-
# data as a hash:
|
3916
|
-
#
|
3917
|
-
# {
|
3918
|
-
# max_results: 1,
|
3919
|
-
# next_token: "__string",
|
3920
|
-
# }
|
3921
|
-
#
|
3922
4041
|
# @!attribute [rw] max_results
|
3923
4042
|
# @return [Integer]
|
3924
4043
|
#
|
@@ -3954,31 +4073,6 @@ module Aws::Macie2
|
|
3954
4073
|
# Specifies criteria for filtering, sorting, and paginating the results
|
3955
4074
|
# of a request for information about findings.
|
3956
4075
|
#
|
3957
|
-
# @note When making an API call, you may pass ListFindingsRequest
|
3958
|
-
# data as a hash:
|
3959
|
-
#
|
3960
|
-
# {
|
3961
|
-
# finding_criteria: {
|
3962
|
-
# criterion: {
|
3963
|
-
# "__string" => {
|
3964
|
-
# eq: ["__string"],
|
3965
|
-
# eq_exact_match: ["__string"],
|
3966
|
-
# gt: 1,
|
3967
|
-
# gte: 1,
|
3968
|
-
# lt: 1,
|
3969
|
-
# lte: 1,
|
3970
|
-
# neq: ["__string"],
|
3971
|
-
# },
|
3972
|
-
# },
|
3973
|
-
# },
|
3974
|
-
# max_results: 1,
|
3975
|
-
# next_token: "__string",
|
3976
|
-
# sort_criteria: {
|
3977
|
-
# attribute_name: "__string",
|
3978
|
-
# order_by: "ASC", # accepts ASC, DESC
|
3979
|
-
# },
|
3980
|
-
# }
|
3981
|
-
#
|
3982
4076
|
# @!attribute [rw] finding_criteria
|
3983
4077
|
# Specifies, as a map, one or more property-based conditions that
|
3984
4078
|
# filter the results of a query for findings.
|
@@ -4024,14 +4118,6 @@ module Aws::Macie2
|
|
4024
4118
|
include Aws::Structure
|
4025
4119
|
end
|
4026
4120
|
|
4027
|
-
# @note When making an API call, you may pass ListInvitationsRequest
|
4028
|
-
# data as a hash:
|
4029
|
-
#
|
4030
|
-
# {
|
4031
|
-
# max_results: 1,
|
4032
|
-
# next_token: "__string",
|
4033
|
-
# }
|
4034
|
-
#
|
4035
4121
|
# @!attribute [rw] max_results
|
4036
4122
|
# @return [Integer]
|
4037
4123
|
#
|
@@ -4068,26 +4154,6 @@ module Aws::Macie2
|
|
4068
4154
|
# Specifies criteria for filtering the results of a request for
|
4069
4155
|
# information about classification jobs.
|
4070
4156
|
#
|
4071
|
-
# @note When making an API call, you may pass ListJobsFilterCriteria
|
4072
|
-
# data as a hash:
|
4073
|
-
#
|
4074
|
-
# {
|
4075
|
-
# excludes: [
|
4076
|
-
# {
|
4077
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4078
|
-
# key: "jobType", # accepts jobType, jobStatus, createdAt, name
|
4079
|
-
# values: ["__string"],
|
4080
|
-
# },
|
4081
|
-
# ],
|
4082
|
-
# includes: [
|
4083
|
-
# {
|
4084
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4085
|
-
# key: "jobType", # accepts jobType, jobStatus, createdAt, name
|
4086
|
-
# values: ["__string"],
|
4087
|
-
# },
|
4088
|
-
# ],
|
4089
|
-
# }
|
4090
|
-
#
|
4091
4157
|
# @!attribute [rw] excludes
|
4092
4158
|
# @return [Array<Types::ListJobsFilterTerm>]
|
4093
4159
|
#
|
@@ -4107,17 +4173,9 @@ module Aws::Macie2
|
|
4107
4173
|
# information about classification jobs. Each condition consists of a
|
4108
4174
|
# property, an operator, and one or more values.
|
4109
4175
|
#
|
4110
|
-
# @note When making an API call, you may pass ListJobsFilterTerm
|
4111
|
-
# data as a hash:
|
4112
|
-
#
|
4113
|
-
# {
|
4114
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4115
|
-
# key: "jobType", # accepts jobType, jobStatus, createdAt, name
|
4116
|
-
# values: ["__string"],
|
4117
|
-
# }
|
4118
|
-
#
|
4119
4176
|
# @!attribute [rw] comparator
|
4120
|
-
# The operator to use in a condition.
|
4177
|
+
# The operator to use in a condition. Depending on the type of
|
4178
|
+
# condition, possible values are:
|
4121
4179
|
# @return [String]
|
4122
4180
|
#
|
4123
4181
|
# @!attribute [rw] key
|
@@ -4140,14 +4198,6 @@ module Aws::Macie2
|
|
4140
4198
|
# Specifies criteria for sorting the results of a request for
|
4141
4199
|
# information about classification jobs.
|
4142
4200
|
#
|
4143
|
-
# @note When making an API call, you may pass ListJobsSortCriteria
|
4144
|
-
# data as a hash:
|
4145
|
-
#
|
4146
|
-
# {
|
4147
|
-
# attribute_name: "createdAt", # accepts createdAt, jobStatus, name, jobType
|
4148
|
-
# order_by: "ASC", # accepts ASC, DESC
|
4149
|
-
# }
|
4150
|
-
#
|
4151
4201
|
# @!attribute [rw] attribute_name
|
4152
4202
|
# The property to sort the results by. Valid values are:
|
4153
4203
|
# @return [String]
|
@@ -4167,13 +4217,6 @@ module Aws::Macie2
|
|
4167
4217
|
# Specifies criteria for paginating the results of a request for
|
4168
4218
|
# information about managed data identifiers.
|
4169
4219
|
#
|
4170
|
-
# @note When making an API call, you may pass ListManagedDataIdentifiersRequest
|
4171
|
-
# data as a hash:
|
4172
|
-
#
|
4173
|
-
# {
|
4174
|
-
# next_token: "__string",
|
4175
|
-
# }
|
4176
|
-
#
|
4177
4220
|
# @!attribute [rw] next_token
|
4178
4221
|
# @return [String]
|
4179
4222
|
#
|
@@ -4203,15 +4246,6 @@ module Aws::Macie2
|
|
4203
4246
|
include Aws::Structure
|
4204
4247
|
end
|
4205
4248
|
|
4206
|
-
# @note When making an API call, you may pass ListMembersRequest
|
4207
|
-
# data as a hash:
|
4208
|
-
#
|
4209
|
-
# {
|
4210
|
-
# max_results: 1,
|
4211
|
-
# next_token: "__string",
|
4212
|
-
# only_associated: "__string",
|
4213
|
-
# }
|
4214
|
-
#
|
4215
4249
|
# @!attribute [rw] max_results
|
4216
4250
|
# @return [Integer]
|
4217
4251
|
#
|
@@ -4249,14 +4283,6 @@ module Aws::Macie2
|
|
4249
4283
|
include Aws::Structure
|
4250
4284
|
end
|
4251
4285
|
|
4252
|
-
# @note When making an API call, you may pass ListOrganizationAdminAccountsRequest
|
4253
|
-
# data as a hash:
|
4254
|
-
#
|
4255
|
-
# {
|
4256
|
-
# max_results: 1,
|
4257
|
-
# next_token: "__string",
|
4258
|
-
# }
|
4259
|
-
#
|
4260
4286
|
# @!attribute [rw] max_results
|
4261
4287
|
# @return [Integer]
|
4262
4288
|
#
|
@@ -4290,13 +4316,117 @@ module Aws::Macie2
|
|
4290
4316
|
include Aws::Structure
|
4291
4317
|
end
|
4292
4318
|
|
4293
|
-
#
|
4294
|
-
#
|
4319
|
+
# @!attribute [rw] next_token
|
4320
|
+
# @return [String]
|
4321
|
+
#
|
4322
|
+
# @!attribute [rw] resource_arn
|
4323
|
+
# @return [String]
|
4324
|
+
#
|
4325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifactsRequest AWS API Documentation
|
4326
|
+
#
|
4327
|
+
class ListResourceProfileArtifactsRequest < Struct.new(
|
4328
|
+
:next_token,
|
4329
|
+
:resource_arn)
|
4330
|
+
SENSITIVE = []
|
4331
|
+
include Aws::Structure
|
4332
|
+
end
|
4333
|
+
|
4334
|
+
# Provides the results of a request for information about the S3 objects
|
4335
|
+
# that Amazon Macie selected for analysis while performing automated
|
4336
|
+
# sensitive data discovery for an S3 bucket. This information is
|
4337
|
+
# available only if automated sensitive data discovery is currently
|
4338
|
+
# enabled for your account.
|
4339
|
+
#
|
4340
|
+
# @!attribute [rw] artifacts
|
4341
|
+
# @return [Array<Types::ResourceProfileArtifact>]
|
4342
|
+
#
|
4343
|
+
# @!attribute [rw] next_token
|
4344
|
+
# @return [String]
|
4345
|
+
#
|
4346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileArtifactsResponse AWS API Documentation
|
4347
|
+
#
|
4348
|
+
class ListResourceProfileArtifactsResponse < Struct.new(
|
4349
|
+
:artifacts,
|
4350
|
+
:next_token)
|
4351
|
+
SENSITIVE = []
|
4352
|
+
include Aws::Structure
|
4353
|
+
end
|
4354
|
+
|
4355
|
+
# @!attribute [rw] max_results
|
4356
|
+
# @return [Integer]
|
4357
|
+
#
|
4358
|
+
# @!attribute [rw] next_token
|
4359
|
+
# @return [String]
|
4360
|
+
#
|
4361
|
+
# @!attribute [rw] resource_arn
|
4362
|
+
# @return [String]
|
4363
|
+
#
|
4364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetectionsRequest AWS API Documentation
|
4365
|
+
#
|
4366
|
+
class ListResourceProfileDetectionsRequest < Struct.new(
|
4367
|
+
:max_results,
|
4368
|
+
:next_token,
|
4369
|
+
:resource_arn)
|
4370
|
+
SENSITIVE = []
|
4371
|
+
include Aws::Structure
|
4372
|
+
end
|
4373
|
+
|
4374
|
+
# Provides the results of a request for information about the types and
|
4375
|
+
# amount of sensitive data that Amazon Macie found in an S3 bucket while
|
4376
|
+
# performing automated sensitive data discovery for the bucket. This
|
4377
|
+
# information is available only if automated sensitive data discovery is
|
4378
|
+
# currently enabled for your account.
|
4379
|
+
#
|
4380
|
+
# @!attribute [rw] detections
|
4381
|
+
# @return [Array<Types::Detection>]
|
4382
|
+
#
|
4383
|
+
# @!attribute [rw] next_token
|
4384
|
+
# @return [String]
|
4385
|
+
#
|
4386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListResourceProfileDetectionsResponse AWS API Documentation
|
4387
|
+
#
|
4388
|
+
class ListResourceProfileDetectionsResponse < Struct.new(
|
4389
|
+
:detections,
|
4390
|
+
:next_token)
|
4391
|
+
SENSITIVE = []
|
4392
|
+
include Aws::Structure
|
4393
|
+
end
|
4394
|
+
|
4395
|
+
# @!attribute [rw] max_results
|
4396
|
+
# @return [Integer]
|
4397
|
+
#
|
4398
|
+
# @!attribute [rw] next_token
|
4399
|
+
# @return [String]
|
4400
|
+
#
|
4401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplatesRequest AWS API Documentation
|
4402
|
+
#
|
4403
|
+
class ListSensitivityInspectionTemplatesRequest < Struct.new(
|
4404
|
+
:max_results,
|
4405
|
+
:next_token)
|
4406
|
+
SENSITIVE = []
|
4407
|
+
include Aws::Structure
|
4408
|
+
end
|
4409
|
+
|
4410
|
+
# Provides the results of a request for information about the
|
4411
|
+
# sensitivity inspection template for an Amazon Macie account. Macie
|
4412
|
+
# uses the template's settings when it performs automated sensitive
|
4413
|
+
# data discovery for the account.
|
4414
|
+
#
|
4415
|
+
# @!attribute [rw] next_token
|
4416
|
+
# @return [String]
|
4417
|
+
#
|
4418
|
+
# @!attribute [rw] sensitivity_inspection_templates
|
4419
|
+
# @return [Array<Types::SensitivityInspectionTemplatesEntry>]
|
4295
4420
|
#
|
4296
|
-
#
|
4297
|
-
# resource_arn: "__string", # required
|
4298
|
-
# }
|
4421
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListSensitivityInspectionTemplatesResponse AWS API Documentation
|
4299
4422
|
#
|
4423
|
+
class ListSensitivityInspectionTemplatesResponse < Struct.new(
|
4424
|
+
:next_token,
|
4425
|
+
:sensitivity_inspection_templates)
|
4426
|
+
SENSITIVE = []
|
4427
|
+
include Aws::Structure
|
4428
|
+
end
|
4429
|
+
|
4300
4430
|
# @!attribute [rw] resource_arn
|
4301
4431
|
# @return [String]
|
4302
4432
|
#
|
@@ -4309,13 +4439,11 @@ module Aws::Macie2
|
|
4309
4439
|
end
|
4310
4440
|
|
4311
4441
|
# Provides information about the tags (keys and values) that are
|
4312
|
-
# associated with
|
4313
|
-
# filter, or member account.
|
4442
|
+
# associated with an Amazon Macie resource.
|
4314
4443
|
#
|
4315
4444
|
# @!attribute [rw] tags
|
4316
4445
|
# A string-to-string map of key-value pairs that specifies the tags
|
4317
|
-
# (keys and values) for
|
4318
|
-
# findings filter, or member account.
|
4446
|
+
# (keys and values) for an Amazon Macie resource.
|
4319
4447
|
# @return [Hash<String,String>]
|
4320
4448
|
#
|
4321
4449
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ListTagsForResourceResponse AWS API Documentation
|
@@ -4354,12 +4482,21 @@ module Aws::Macie2
|
|
4354
4482
|
end
|
4355
4483
|
|
4356
4484
|
# Provides statistical data and other information about an S3 bucket
|
4357
|
-
# that Amazon Macie monitors and analyzes for your account.
|
4358
|
-
#
|
4359
|
-
#
|
4360
|
-
#
|
4361
|
-
#
|
4362
|
-
#
|
4485
|
+
# that Amazon Macie monitors and analyzes for your account. By default,
|
4486
|
+
# object count and storage size values include data for object parts
|
4487
|
+
# that are the result of incomplete multipart uploads. For more
|
4488
|
+
# information, see [How Macie monitors Amazon S3 data security][1] in
|
4489
|
+
# the *Amazon Macie User Guide*.
|
4490
|
+
#
|
4491
|
+
# If an error occurs when Macie attempts to retrieve and process
|
4492
|
+
# information about the bucket or the bucket's objects, the value for
|
4493
|
+
# most of these properties is null. Key exceptions are accountId and
|
4494
|
+
# bucketName. To identify the cause of the error, refer to the errorCode
|
4495
|
+
# and errorMessage values.
|
4496
|
+
#
|
4497
|
+
#
|
4498
|
+
#
|
4499
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
|
4363
4500
|
#
|
4364
4501
|
# @!attribute [rw] account_id
|
4365
4502
|
# @return [String]
|
@@ -4375,8 +4512,8 @@ module Aws::Macie2
|
|
4375
4512
|
#
|
4376
4513
|
# @!attribute [rw] error_code
|
4377
4514
|
# The error code for an error that prevented Amazon Macie from
|
4378
|
-
# retrieving and processing
|
4379
|
-
# bucket's objects.
|
4515
|
+
# retrieving and processing metadata from Amazon S3 for an S3 bucket
|
4516
|
+
# and the bucket's objects.
|
4380
4517
|
# @return [String]
|
4381
4518
|
#
|
4382
4519
|
# @!attribute [rw] error_message
|
@@ -4388,6 +4525,9 @@ module Aws::Macie2
|
|
4388
4525
|
# of the job that ran most recently.
|
4389
4526
|
# @return [Types::JobDetails]
|
4390
4527
|
#
|
4528
|
+
# @!attribute [rw] last_automated_discovery_time
|
4529
|
+
# @return [Time]
|
4530
|
+
#
|
4391
4531
|
# @!attribute [rw] object_count
|
4392
4532
|
# @return [Integer]
|
4393
4533
|
#
|
@@ -4397,6 +4537,9 @@ module Aws::Macie2
|
|
4397
4537
|
# client-side encryption, or aren't encrypted.
|
4398
4538
|
# @return [Types::ObjectCountByEncryptionType]
|
4399
4539
|
#
|
4540
|
+
# @!attribute [rw] sensitivity_score
|
4541
|
+
# @return [Integer]
|
4542
|
+
#
|
4400
4543
|
# @!attribute [rw] size_in_bytes
|
4401
4544
|
# @return [Integer]
|
4402
4545
|
#
|
@@ -4408,10 +4551,10 @@ module Aws::Macie2
|
|
4408
4551
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
4409
4552
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
4410
4553
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
4411
|
-
# data is aggregated for the buckets in the query results. If
|
4412
|
-
# versioning is enabled for a bucket,
|
4413
|
-
#
|
4414
|
-
#
|
4554
|
+
# data is aggregated for all the buckets in the query results. If
|
4555
|
+
# versioning is enabled for a bucket, storage size values are based on
|
4556
|
+
# the size of the latest version of each applicable object in the
|
4557
|
+
# bucket.
|
4415
4558
|
# @return [Types::ObjectLevelStatistics]
|
4416
4559
|
#
|
4417
4560
|
# @!attribute [rw] unclassifiable_object_size_in_bytes
|
@@ -4419,10 +4562,10 @@ module Aws::Macie2
|
|
4419
4562
|
# number of objects that Amazon Macie can't analyze in one or more S3
|
4420
4563
|
# buckets. In a BucketMetadata or MatchingBucket object, this data is
|
4421
4564
|
# for a specific bucket. In a GetBucketStatisticsResponse object, this
|
4422
|
-
# data is aggregated for the buckets in the query results. If
|
4423
|
-
# versioning is enabled for a bucket,
|
4424
|
-
#
|
4425
|
-
#
|
4565
|
+
# data is aggregated for all the buckets in the query results. If
|
4566
|
+
# versioning is enabled for a bucket, storage size values are based on
|
4567
|
+
# the size of the latest version of each applicable object in the
|
4568
|
+
# bucket.
|
4426
4569
|
# @return [Types::ObjectLevelStatistics]
|
4427
4570
|
#
|
4428
4571
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingBucket AWS API Documentation
|
@@ -4435,8 +4578,10 @@ module Aws::Macie2
|
|
4435
4578
|
:error_code,
|
4436
4579
|
:error_message,
|
4437
4580
|
:job_details,
|
4581
|
+
:last_automated_discovery_time,
|
4438
4582
|
:object_count,
|
4439
4583
|
:object_count_by_encryption_type,
|
4584
|
+
:sensitivity_score,
|
4440
4585
|
:size_in_bytes,
|
4441
4586
|
:size_in_bytes_compressed,
|
4442
4587
|
:unclassifiable_object_count,
|
@@ -4451,12 +4596,21 @@ module Aws::Macie2
|
|
4451
4596
|
#
|
4452
4597
|
# @!attribute [rw] matching_bucket
|
4453
4598
|
# Provides statistical data and other information about an S3 bucket
|
4454
|
-
# that Amazon Macie monitors and analyzes for your account.
|
4455
|
-
#
|
4456
|
-
#
|
4457
|
-
#
|
4458
|
-
#
|
4459
|
-
#
|
4599
|
+
# that Amazon Macie monitors and analyzes for your account. By
|
4600
|
+
# default, object count and storage size values include data for
|
4601
|
+
# object parts that are the result of incomplete multipart uploads.
|
4602
|
+
# For more information, see [How Macie monitors Amazon S3 data
|
4603
|
+
# security][1] in the *Amazon Macie User Guide*.
|
4604
|
+
#
|
4605
|
+
# If an error occurs when Macie attempts to retrieve and process
|
4606
|
+
# information about the bucket or the bucket's objects, the value for
|
4607
|
+
# most of these properties is null. Key exceptions are accountId and
|
4608
|
+
# bucketName. To identify the cause of the error, refer to the
|
4609
|
+
# errorCode and errorMessage values.
|
4610
|
+
#
|
4611
|
+
#
|
4612
|
+
#
|
4613
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/monitoring-s3-how-it-works.html
|
4460
4614
|
# @return [Types::MatchingBucket]
|
4461
4615
|
#
|
4462
4616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/MatchingResource AWS API Documentation
|
@@ -4495,8 +4649,7 @@ module Aws::Macie2
|
|
4495
4649
|
#
|
4496
4650
|
# @!attribute [rw] tags
|
4497
4651
|
# A string-to-string map of key-value pairs that specifies the tags
|
4498
|
-
# (keys and values) for
|
4499
|
-
# findings filter, or member account.
|
4652
|
+
# (keys and values) for an Amazon Macie resource.
|
4500
4653
|
# @return [Hash<String,String>]
|
4501
4654
|
#
|
4502
4655
|
# @!attribute [rw] updated_at
|
@@ -4521,13 +4674,6 @@ module Aws::Macie2
|
|
4521
4674
|
# Specifies a monthly recurrence pattern for running a classification
|
4522
4675
|
# job.
|
4523
4676
|
#
|
4524
|
-
# @note When making an API call, you may pass MonthlySchedule
|
4525
|
-
# data as a hash:
|
4526
|
-
#
|
4527
|
-
# {
|
4528
|
-
# day_of_month: 1,
|
4529
|
-
# }
|
4530
|
-
#
|
4531
4677
|
# @!attribute [rw] day_of_month
|
4532
4678
|
# @return [Integer]
|
4533
4679
|
#
|
@@ -4574,9 +4720,9 @@ module Aws::Macie2
|
|
4574
4720
|
# of objects that Amazon Macie can't analyze in one or more S3 buckets.
|
4575
4721
|
# In a BucketMetadata or MatchingBucket object, this data is for a
|
4576
4722
|
# specific bucket. In a GetBucketStatisticsResponse object, this data is
|
4577
|
-
# aggregated for the buckets in the query results. If versioning is
|
4578
|
-
# enabled for a bucket,
|
4579
|
-
#
|
4723
|
+
# aggregated for all the buckets in the query results. If versioning is
|
4724
|
+
# enabled for a bucket, storage size values are based on the size of the
|
4725
|
+
# latest version of each applicable object in the bucket.
|
4580
4726
|
#
|
4581
4727
|
# @!attribute [rw] file_type
|
4582
4728
|
# @return [Integer]
|
@@ -4607,9 +4753,13 @@ module Aws::Macie2
|
|
4607
4753
|
# @return [Array<Types::Cell>]
|
4608
4754
|
#
|
4609
4755
|
# @!attribute [rw] line_ranges
|
4756
|
+
# Specifies the locations of occurrences of sensitive data in a
|
4757
|
+
# non-binary text file.
|
4610
4758
|
# @return [Array<Types::Range>]
|
4611
4759
|
#
|
4612
4760
|
# @!attribute [rw] offset_ranges
|
4761
|
+
# Specifies the locations of occurrences of sensitive data in a
|
4762
|
+
# non-binary text file.
|
4613
4763
|
# @return [Array<Types::Range>]
|
4614
4764
|
#
|
4615
4765
|
# @!attribute [rw] pages
|
@@ -4618,6 +4768,8 @@ module Aws::Macie2
|
|
4618
4768
|
# @return [Array<Types::Page>]
|
4619
4769
|
#
|
4620
4770
|
# @!attribute [rw] records
|
4771
|
+
# Specifies the locations of occurrences of sensitive data in an
|
4772
|
+
# Apache Avro object container or a structured data file.
|
4621
4773
|
# @return [Array<Types::Record>]
|
4622
4774
|
#
|
4623
4775
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/Occurrences AWS API Documentation
|
@@ -4636,13 +4788,15 @@ module Aws::Macie2
|
|
4636
4788
|
# Portable Document Format file.
|
4637
4789
|
#
|
4638
4790
|
# @!attribute [rw] line_range
|
4639
|
-
# Specifies the location of an occurrence of sensitive data in
|
4640
|
-
# non-binary text file
|
4791
|
+
# Specifies the location of an occurrence of sensitive data in an
|
4792
|
+
# email message or a non-binary text file such as an HTML, TXT, or XML
|
4793
|
+
# file.
|
4641
4794
|
# @return [Types::Range]
|
4642
4795
|
#
|
4643
4796
|
# @!attribute [rw] offset_range
|
4644
|
-
# Specifies the location of an occurrence of sensitive data in
|
4645
|
-
# non-binary text file
|
4797
|
+
# Specifies the location of an occurrence of sensitive data in an
|
4798
|
+
# email message or a non-binary text file such as an HTML, TXT, or XML
|
4799
|
+
# file.
|
4646
4800
|
# @return [Types::Range]
|
4647
4801
|
#
|
4648
4802
|
# @!attribute [rw] page_number
|
@@ -4681,26 +4835,11 @@ module Aws::Macie2
|
|
4681
4835
|
|
4682
4836
|
# Specifies where to store data classification results, and the
|
4683
4837
|
# encryption settings to use when storing results in that location.
|
4684
|
-
# Currently, you can store classification results only in an S3 bucket.
|
4685
|
-
#
|
4686
|
-
# @note When making an API call, you may pass PutClassificationExportConfigurationRequest
|
4687
|
-
# data as a hash:
|
4688
|
-
#
|
4689
|
-
# {
|
4690
|
-
# configuration: { # required
|
4691
|
-
# s3_destination: {
|
4692
|
-
# bucket_name: "__string", # required
|
4693
|
-
# key_prefix: "__string",
|
4694
|
-
# kms_key_arn: "__string", # required
|
4695
|
-
# },
|
4696
|
-
# },
|
4697
|
-
# }
|
4698
4838
|
#
|
4699
4839
|
# @!attribute [rw] configuration
|
4700
4840
|
# Specifies where to store data classification results, and the
|
4701
4841
|
# encryption settings to use when storing results in that location.
|
4702
|
-
#
|
4703
|
-
# bucket.
|
4842
|
+
# The location must be an S3 bucket.
|
4704
4843
|
# @return [Types::ClassificationExportConfiguration]
|
4705
4844
|
#
|
4706
4845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfigurationRequest AWS API Documentation
|
@@ -4717,8 +4856,7 @@ module Aws::Macie2
|
|
4717
4856
|
# @!attribute [rw] configuration
|
4718
4857
|
# Specifies where to store data classification results, and the
|
4719
4858
|
# encryption settings to use when storing results in that location.
|
4720
|
-
#
|
4721
|
-
# bucket.
|
4859
|
+
# The location must be an S3 bucket.
|
4722
4860
|
# @return [Types::ClassificationExportConfiguration]
|
4723
4861
|
#
|
4724
4862
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/PutClassificationExportConfigurationResponse AWS API Documentation
|
@@ -4732,17 +4870,6 @@ module Aws::Macie2
|
|
4732
4870
|
# Specifies configuration settings for publishing findings to Security
|
4733
4871
|
# Hub automatically.
|
4734
4872
|
#
|
4735
|
-
# @note When making an API call, you may pass PutFindingsPublicationConfigurationRequest
|
4736
|
-
# data as a hash:
|
4737
|
-
#
|
4738
|
-
# {
|
4739
|
-
# client_token: "__string",
|
4740
|
-
# security_hub_configuration: {
|
4741
|
-
# publish_classification_findings: false, # required
|
4742
|
-
# publish_policy_findings: false, # required
|
4743
|
-
# },
|
4744
|
-
# }
|
4745
|
-
#
|
4746
4873
|
# @!attribute [rw] client_token
|
4747
4874
|
# **A suitable default value is auto-generated.** You should normally
|
4748
4875
|
# not need to pass this option.
|
@@ -4772,8 +4899,8 @@ module Aws::Macie2
|
|
4772
4899
|
#
|
4773
4900
|
class PutFindingsPublicationConfigurationResponse < Aws::EmptyStructure; end
|
4774
4901
|
|
4775
|
-
# Specifies the location of an occurrence of sensitive data in
|
4776
|
-
# non-binary text file
|
4902
|
+
# Specifies the location of an occurrence of sensitive data in an email
|
4903
|
+
# message or a non-binary text file such as an HTML, TXT, or XML file.
|
4777
4904
|
#
|
4778
4905
|
# @!attribute [rw] end
|
4779
4906
|
# @return [Integer]
|
@@ -4850,6 +4977,81 @@ module Aws::Macie2
|
|
4850
4977
|
include Aws::Structure
|
4851
4978
|
end
|
4852
4979
|
|
4980
|
+
# Provides information about an S3 object that Amazon Macie selected for
|
4981
|
+
# analysis while performing automated sensitive data discovery for an S3
|
4982
|
+
# bucket, and the status and results of the analysis. This information
|
4983
|
+
# is available only if automated sensitive data discovery is currently
|
4984
|
+
# enabled for your account.
|
4985
|
+
#
|
4986
|
+
# @!attribute [rw] arn
|
4987
|
+
# @return [String]
|
4988
|
+
#
|
4989
|
+
# @!attribute [rw] classification_result_status
|
4990
|
+
# @return [String]
|
4991
|
+
#
|
4992
|
+
# @!attribute [rw] sensitive
|
4993
|
+
# @return [Boolean]
|
4994
|
+
#
|
4995
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ResourceProfileArtifact AWS API Documentation
|
4996
|
+
#
|
4997
|
+
class ResourceProfileArtifact < Struct.new(
|
4998
|
+
:arn,
|
4999
|
+
:classification_result_status,
|
5000
|
+
:sensitive)
|
5001
|
+
SENSITIVE = []
|
5002
|
+
include Aws::Structure
|
5003
|
+
end
|
5004
|
+
|
5005
|
+
# Provides statistical data for sensitive data discovery metrics that
|
5006
|
+
# apply to an S3 bucket that Amazon Macie monitors and analyzes for your
|
5007
|
+
# account. The statistics capture the results of automated sensitive
|
5008
|
+
# data discovery activities that Macie has performed for the bucket. The
|
5009
|
+
# data is available only if automated sensitive data discovery is
|
5010
|
+
# currently enabled for your account.
|
5011
|
+
#
|
5012
|
+
# @!attribute [rw] total_bytes_classified
|
5013
|
+
# @return [Integer]
|
5014
|
+
#
|
5015
|
+
# @!attribute [rw] total_detections
|
5016
|
+
# @return [Integer]
|
5017
|
+
#
|
5018
|
+
# @!attribute [rw] total_detections_suppressed
|
5019
|
+
# @return [Integer]
|
5020
|
+
#
|
5021
|
+
# @!attribute [rw] total_items_classified
|
5022
|
+
# @return [Integer]
|
5023
|
+
#
|
5024
|
+
# @!attribute [rw] total_items_sensitive
|
5025
|
+
# @return [Integer]
|
5026
|
+
#
|
5027
|
+
# @!attribute [rw] total_items_skipped
|
5028
|
+
# @return [Integer]
|
5029
|
+
#
|
5030
|
+
# @!attribute [rw] total_items_skipped_invalid_encryption
|
5031
|
+
# @return [Integer]
|
5032
|
+
#
|
5033
|
+
# @!attribute [rw] total_items_skipped_invalid_kms
|
5034
|
+
# @return [Integer]
|
5035
|
+
#
|
5036
|
+
# @!attribute [rw] total_items_skipped_permission_denied
|
5037
|
+
# @return [Integer]
|
5038
|
+
#
|
5039
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/ResourceStatistics AWS API Documentation
|
5040
|
+
#
|
5041
|
+
class ResourceStatistics < Struct.new(
|
5042
|
+
:total_bytes_classified,
|
5043
|
+
:total_detections,
|
5044
|
+
:total_detections_suppressed,
|
5045
|
+
:total_items_classified,
|
5046
|
+
:total_items_sensitive,
|
5047
|
+
:total_items_skipped,
|
5048
|
+
:total_items_skipped_invalid_encryption,
|
5049
|
+
:total_items_skipped_invalid_kms,
|
5050
|
+
:total_items_skipped_permission_denied)
|
5051
|
+
SENSITIVE = []
|
5052
|
+
include Aws::Structure
|
5053
|
+
end
|
5054
|
+
|
4853
5055
|
# Provides information about the resources that a finding applies to.
|
4854
5056
|
#
|
4855
5057
|
# @!attribute [rw] s3_bucket
|
@@ -4869,6 +5071,30 @@ module Aws::Macie2
|
|
4869
5071
|
include Aws::Structure
|
4870
5072
|
end
|
4871
5073
|
|
5074
|
+
# Specifies the configuration settings for retrieving occurrences of
|
5075
|
+
# sensitive data reported by findings, and the status of the
|
5076
|
+
# configuration for an Amazon Macie account. When you enable the
|
5077
|
+
# configuration for the first time, your request must specify an Key
|
5078
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
5079
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
5080
|
+
#
|
5081
|
+
# @!attribute [rw] kms_key_id
|
5082
|
+
# @return [String]
|
5083
|
+
#
|
5084
|
+
# @!attribute [rw] status
|
5085
|
+
# The status of the configuration for retrieving occurrences of
|
5086
|
+
# sensitive data reported by findings. Valid values are:
|
5087
|
+
# @return [String]
|
5088
|
+
#
|
5089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/RevealConfiguration AWS API Documentation
|
5090
|
+
#
|
5091
|
+
class RevealConfiguration < Struct.new(
|
5092
|
+
:kms_key_id,
|
5093
|
+
:status)
|
5094
|
+
SENSITIVE = []
|
5095
|
+
include Aws::Structure
|
5096
|
+
end
|
5097
|
+
|
4872
5098
|
# Provides information about the S3 bucket that a finding applies to.
|
4873
5099
|
#
|
4874
5100
|
# @!attribute [rw] allows_unencrypted_object_uploads
|
@@ -4881,8 +5107,9 @@ module Aws::Macie2
|
|
4881
5107
|
# @return [Time]
|
4882
5108
|
#
|
4883
5109
|
# @!attribute [rw] default_server_side_encryption
|
4884
|
-
# Provides information about the server-side encryption
|
4885
|
-
# an S3 bucket or S3
|
5110
|
+
# Provides information about the default server-side encryption
|
5111
|
+
# settings for an S3 bucket or the encryption settings for an S3
|
5112
|
+
# object.
|
4886
5113
|
# @return [Types::ServerSideEncryption]
|
4887
5114
|
#
|
4888
5115
|
# @!attribute [rw] name
|
@@ -4923,52 +5150,6 @@ module Aws::Macie2
|
|
4923
5150
|
# including or excluding S3 buckets from a classification job. Exclude
|
4924
5151
|
# conditions take precedence over include conditions.
|
4925
5152
|
#
|
4926
|
-
# @note When making an API call, you may pass S3BucketCriteriaForJob
|
4927
|
-
# data as a hash:
|
4928
|
-
#
|
4929
|
-
# {
|
4930
|
-
# excludes: {
|
4931
|
-
# and: [
|
4932
|
-
# {
|
4933
|
-
# simple_criterion: {
|
4934
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4935
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
4936
|
-
# values: ["__string"],
|
4937
|
-
# },
|
4938
|
-
# tag_criterion: {
|
4939
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4940
|
-
# tag_values: [
|
4941
|
-
# {
|
4942
|
-
# key: "__string",
|
4943
|
-
# value: "__string",
|
4944
|
-
# },
|
4945
|
-
# ],
|
4946
|
-
# },
|
4947
|
-
# },
|
4948
|
-
# ],
|
4949
|
-
# },
|
4950
|
-
# includes: {
|
4951
|
-
# and: [
|
4952
|
-
# {
|
4953
|
-
# simple_criterion: {
|
4954
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4955
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
4956
|
-
# values: ["__string"],
|
4957
|
-
# },
|
4958
|
-
# tag_criterion: {
|
4959
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
4960
|
-
# tag_values: [
|
4961
|
-
# {
|
4962
|
-
# key: "__string",
|
4963
|
-
# value: "__string",
|
4964
|
-
# },
|
4965
|
-
# ],
|
4966
|
-
# },
|
4967
|
-
# },
|
4968
|
-
# ],
|
4969
|
-
# },
|
4970
|
-
# }
|
4971
|
-
#
|
4972
5153
|
# @!attribute [rw] excludes
|
4973
5154
|
# Specifies one or more property- and tag-based conditions that define
|
4974
5155
|
# criteria for including or excluding S3 buckets from a classification
|
@@ -4994,14 +5175,6 @@ module Aws::Macie2
|
|
4994
5175
|
# classification job to analyze, and one or more specific buckets to
|
4995
5176
|
# analyze for that account.
|
4996
5177
|
#
|
4997
|
-
# @note When making an API call, you may pass S3BucketDefinitionForJob
|
4998
|
-
# data as a hash:
|
4999
|
-
#
|
5000
|
-
# {
|
5001
|
-
# account_id: "__string", # required
|
5002
|
-
# buckets: ["__string"], # required
|
5003
|
-
# }
|
5004
|
-
#
|
5005
5178
|
# @!attribute [rw] account_id
|
5006
5179
|
# @return [String]
|
5007
5180
|
#
|
@@ -5035,17 +5208,75 @@ module Aws::Macie2
|
|
5035
5208
|
include Aws::Structure
|
5036
5209
|
end
|
5037
5210
|
|
5038
|
-
# Specifies
|
5039
|
-
#
|
5211
|
+
# Specifies the S3 buckets that are excluded from automated sensitive
|
5212
|
+
# data discovery for an Amazon Macie account.
|
5213
|
+
#
|
5214
|
+
# @!attribute [rw] excludes
|
5215
|
+
# Specifies the names of the S3 buckets that are excluded from
|
5216
|
+
# automated sensitive data discovery.
|
5217
|
+
# @return [Types::S3ClassificationScopeExclusion]
|
5218
|
+
#
|
5219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScope AWS API Documentation
|
5220
|
+
#
|
5221
|
+
class S3ClassificationScope < Struct.new(
|
5222
|
+
:excludes)
|
5223
|
+
SENSITIVE = []
|
5224
|
+
include Aws::Structure
|
5225
|
+
end
|
5226
|
+
|
5227
|
+
# Specifies the names of the S3 buckets that are excluded from automated
|
5228
|
+
# sensitive data discovery.
|
5229
|
+
#
|
5230
|
+
# @!attribute [rw] bucket_names
|
5231
|
+
# @return [Array<String>]
|
5232
|
+
#
|
5233
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScopeExclusion AWS API Documentation
|
5234
|
+
#
|
5235
|
+
class S3ClassificationScopeExclusion < Struct.new(
|
5236
|
+
:bucket_names)
|
5237
|
+
SENSITIVE = []
|
5238
|
+
include Aws::Structure
|
5239
|
+
end
|
5240
|
+
|
5241
|
+
# Specifies S3 buckets to add or remove from the exclusion list defined
|
5242
|
+
# by the classification scope for an Amazon Macie account.
|
5243
|
+
#
|
5244
|
+
# @!attribute [rw] bucket_names
|
5245
|
+
# @return [Array<String>]
|
5246
|
+
#
|
5247
|
+
# @!attribute [rw] operation
|
5248
|
+
# Specifies how to apply changes to the S3 bucket exclusion list
|
5249
|
+
# defined by the classification scope for an Amazon Macie account.
|
5250
|
+
# Valid values are:
|
5251
|
+
# @return [String]
|
5252
|
+
#
|
5253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScopeExclusionUpdate AWS API Documentation
|
5040
5254
|
#
|
5041
|
-
|
5042
|
-
|
5255
|
+
class S3ClassificationScopeExclusionUpdate < Struct.new(
|
5256
|
+
:bucket_names,
|
5257
|
+
:operation)
|
5258
|
+
SENSITIVE = []
|
5259
|
+
include Aws::Structure
|
5260
|
+
end
|
5261
|
+
|
5262
|
+
# Specifies changes to the list of S3 buckets that are excluded from
|
5263
|
+
# automated sensitive data discovery for an Amazon Macie account.
|
5043
5264
|
#
|
5044
|
-
#
|
5045
|
-
#
|
5046
|
-
#
|
5047
|
-
#
|
5048
|
-
#
|
5265
|
+
# @!attribute [rw] excludes
|
5266
|
+
# Specifies S3 buckets to add or remove from the exclusion list
|
5267
|
+
# defined by the classification scope for an Amazon Macie account.
|
5268
|
+
# @return [Types::S3ClassificationScopeExclusionUpdate]
|
5269
|
+
#
|
5270
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3ClassificationScopeUpdate AWS API Documentation
|
5271
|
+
#
|
5272
|
+
class S3ClassificationScopeUpdate < Struct.new(
|
5273
|
+
:excludes)
|
5274
|
+
SENSITIVE = []
|
5275
|
+
include Aws::Structure
|
5276
|
+
end
|
5277
|
+
|
5278
|
+
# Specifies an S3 bucket to store data classification results in, and
|
5279
|
+
# the encryption settings to use when storing results in that bucket.
|
5049
5280
|
#
|
5050
5281
|
# @!attribute [rw] bucket_name
|
5051
5282
|
# @return [String]
|
@@ -5074,108 +5305,14 @@ module Aws::Macie2
|
|
5074
5305
|
# objects in any buckets that match the specified criteria each time the
|
5075
5306
|
# job starts to run.
|
5076
5307
|
#
|
5077
|
-
#
|
5078
|
-
#
|
5079
|
-
#
|
5080
|
-
#
|
5081
|
-
#
|
5082
|
-
#
|
5083
|
-
#
|
5084
|
-
#
|
5085
|
-
# },
|
5086
|
-
# ],
|
5087
|
-
# scoping: {
|
5088
|
-
# excludes: {
|
5089
|
-
# and: [
|
5090
|
-
# {
|
5091
|
-
# simple_scope_term: {
|
5092
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5093
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5094
|
-
# values: ["__string"],
|
5095
|
-
# },
|
5096
|
-
# tag_scope_term: {
|
5097
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5098
|
-
# key: "__string",
|
5099
|
-
# tag_values: [
|
5100
|
-
# {
|
5101
|
-
# key: "__string",
|
5102
|
-
# value: "__string",
|
5103
|
-
# },
|
5104
|
-
# ],
|
5105
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5106
|
-
# },
|
5107
|
-
# },
|
5108
|
-
# ],
|
5109
|
-
# },
|
5110
|
-
# includes: {
|
5111
|
-
# and: [
|
5112
|
-
# {
|
5113
|
-
# simple_scope_term: {
|
5114
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5115
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5116
|
-
# values: ["__string"],
|
5117
|
-
# },
|
5118
|
-
# tag_scope_term: {
|
5119
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5120
|
-
# key: "__string",
|
5121
|
-
# tag_values: [
|
5122
|
-
# {
|
5123
|
-
# key: "__string",
|
5124
|
-
# value: "__string",
|
5125
|
-
# },
|
5126
|
-
# ],
|
5127
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5128
|
-
# },
|
5129
|
-
# },
|
5130
|
-
# ],
|
5131
|
-
# },
|
5132
|
-
# },
|
5133
|
-
# bucket_criteria: {
|
5134
|
-
# excludes: {
|
5135
|
-
# and: [
|
5136
|
-
# {
|
5137
|
-
# simple_criterion: {
|
5138
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5139
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5140
|
-
# values: ["__string"],
|
5141
|
-
# },
|
5142
|
-
# tag_criterion: {
|
5143
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5144
|
-
# tag_values: [
|
5145
|
-
# {
|
5146
|
-
# key: "__string",
|
5147
|
-
# value: "__string",
|
5148
|
-
# },
|
5149
|
-
# ],
|
5150
|
-
# },
|
5151
|
-
# },
|
5152
|
-
# ],
|
5153
|
-
# },
|
5154
|
-
# includes: {
|
5155
|
-
# and: [
|
5156
|
-
# {
|
5157
|
-
# simple_criterion: {
|
5158
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5159
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5160
|
-
# values: ["__string"],
|
5161
|
-
# },
|
5162
|
-
# tag_criterion: {
|
5163
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5164
|
-
# tag_values: [
|
5165
|
-
# {
|
5166
|
-
# key: "__string",
|
5167
|
-
# value: "__string",
|
5168
|
-
# },
|
5169
|
-
# ],
|
5170
|
-
# },
|
5171
|
-
# },
|
5172
|
-
# ],
|
5173
|
-
# },
|
5174
|
-
# },
|
5175
|
-
# }
|
5176
|
-
#
|
5177
|
-
# @!attribute [rw] bucket_definitions
|
5178
|
-
# @return [Array<Types::S3BucketDefinitionForJob>]
|
5308
|
+
# @!attribute [rw] bucket_criteria
|
5309
|
+
# Specifies property- and tag-based conditions that define criteria
|
5310
|
+
# for including or excluding S3 buckets from a classification job.
|
5311
|
+
# Exclude conditions take precedence over include conditions.
|
5312
|
+
# @return [Types::S3BucketCriteriaForJob]
|
5313
|
+
#
|
5314
|
+
# @!attribute [rw] bucket_definitions
|
5315
|
+
# @return [Array<Types::S3BucketDefinitionForJob>]
|
5179
5316
|
#
|
5180
5317
|
# @!attribute [rw] scoping
|
5181
5318
|
# Specifies one or more property- and tag-based conditions that define
|
@@ -5183,18 +5320,12 @@ module Aws::Macie2
|
|
5183
5320
|
# job. Exclude conditions take precedence over include conditions.
|
5184
5321
|
# @return [Types::Scoping]
|
5185
5322
|
#
|
5186
|
-
# @!attribute [rw] bucket_criteria
|
5187
|
-
# Specifies property- and tag-based conditions that define criteria
|
5188
|
-
# for including or excluding S3 buckets from a classification job.
|
5189
|
-
# Exclude conditions take precedence over include conditions.
|
5190
|
-
# @return [Types::S3BucketCriteriaForJob]
|
5191
|
-
#
|
5192
5323
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3JobDefinition AWS API Documentation
|
5193
5324
|
#
|
5194
5325
|
class S3JobDefinition < Struct.new(
|
5326
|
+
:bucket_criteria,
|
5195
5327
|
:bucket_definitions,
|
5196
|
-
:scoping
|
5197
|
-
:bucket_criteria)
|
5328
|
+
:scoping)
|
5198
5329
|
SENSITIVE = []
|
5199
5330
|
include Aws::Structure
|
5200
5331
|
end
|
@@ -5223,8 +5354,9 @@ module Aws::Macie2
|
|
5223
5354
|
# @return [Boolean]
|
5224
5355
|
#
|
5225
5356
|
# @!attribute [rw] server_side_encryption
|
5226
|
-
# Provides information about the server-side encryption
|
5227
|
-
# an S3 bucket or S3
|
5357
|
+
# Provides information about the default server-side encryption
|
5358
|
+
# settings for an S3 bucket or the encryption settings for an S3
|
5359
|
+
# object.
|
5228
5360
|
# @return [Types::ServerSideEncryption]
|
5229
5361
|
#
|
5230
5362
|
# @!attribute [rw] size
|
@@ -5262,60 +5394,28 @@ module Aws::Macie2
|
|
5262
5394
|
include Aws::Structure
|
5263
5395
|
end
|
5264
5396
|
|
5397
|
+
# Provides information about an S3 object that lists specific text to
|
5398
|
+
# ignore.
|
5399
|
+
#
|
5400
|
+
# @!attribute [rw] bucket_name
|
5401
|
+
# @return [String]
|
5402
|
+
#
|
5403
|
+
# @!attribute [rw] object_key
|
5404
|
+
# @return [String]
|
5405
|
+
#
|
5406
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/S3WordsList AWS API Documentation
|
5407
|
+
#
|
5408
|
+
class S3WordsList < Struct.new(
|
5409
|
+
:bucket_name,
|
5410
|
+
:object_key)
|
5411
|
+
SENSITIVE = []
|
5412
|
+
include Aws::Structure
|
5413
|
+
end
|
5414
|
+
|
5265
5415
|
# Specifies one or more property- and tag-based conditions that define
|
5266
5416
|
# criteria for including or excluding S3 objects from a classification
|
5267
5417
|
# job. Exclude conditions take precedence over include conditions.
|
5268
5418
|
#
|
5269
|
-
# @note When making an API call, you may pass Scoping
|
5270
|
-
# data as a hash:
|
5271
|
-
#
|
5272
|
-
# {
|
5273
|
-
# excludes: {
|
5274
|
-
# and: [
|
5275
|
-
# {
|
5276
|
-
# simple_scope_term: {
|
5277
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5278
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5279
|
-
# values: ["__string"],
|
5280
|
-
# },
|
5281
|
-
# tag_scope_term: {
|
5282
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5283
|
-
# key: "__string",
|
5284
|
-
# tag_values: [
|
5285
|
-
# {
|
5286
|
-
# key: "__string",
|
5287
|
-
# value: "__string",
|
5288
|
-
# },
|
5289
|
-
# ],
|
5290
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5291
|
-
# },
|
5292
|
-
# },
|
5293
|
-
# ],
|
5294
|
-
# },
|
5295
|
-
# includes: {
|
5296
|
-
# and: [
|
5297
|
-
# {
|
5298
|
-
# simple_scope_term: {
|
5299
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5300
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
5301
|
-
# values: ["__string"],
|
5302
|
-
# },
|
5303
|
-
# tag_scope_term: {
|
5304
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5305
|
-
# key: "__string",
|
5306
|
-
# tag_values: [
|
5307
|
-
# {
|
5308
|
-
# key: "__string",
|
5309
|
-
# value: "__string",
|
5310
|
-
# },
|
5311
|
-
# ],
|
5312
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
5313
|
-
# },
|
5314
|
-
# },
|
5315
|
-
# ],
|
5316
|
-
# },
|
5317
|
-
# }
|
5318
|
-
#
|
5319
5419
|
# @!attribute [rw] excludes
|
5320
5420
|
# Specifies one or more property- and tag-based conditions that define
|
5321
5421
|
# criteria for including or excluding S3 objects from a classification
|
@@ -5341,52 +5441,6 @@ module Aws::Macie2
|
|
5341
5441
|
# criteria for including or excluding S3 buckets from the query results.
|
5342
5442
|
# Exclude conditions take precedence over include conditions.
|
5343
5443
|
#
|
5344
|
-
# @note When making an API call, you may pass SearchResourcesBucketCriteria
|
5345
|
-
# data as a hash:
|
5346
|
-
#
|
5347
|
-
# {
|
5348
|
-
# excludes: {
|
5349
|
-
# and: [
|
5350
|
-
# {
|
5351
|
-
# simple_criterion: {
|
5352
|
-
# comparator: "EQ", # accepts EQ, NE
|
5353
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5354
|
-
# values: ["__string"],
|
5355
|
-
# },
|
5356
|
-
# tag_criterion: {
|
5357
|
-
# comparator: "EQ", # accepts EQ, NE
|
5358
|
-
# tag_values: [
|
5359
|
-
# {
|
5360
|
-
# key: "__string",
|
5361
|
-
# value: "__string",
|
5362
|
-
# },
|
5363
|
-
# ],
|
5364
|
-
# },
|
5365
|
-
# },
|
5366
|
-
# ],
|
5367
|
-
# },
|
5368
|
-
# includes: {
|
5369
|
-
# and: [
|
5370
|
-
# {
|
5371
|
-
# simple_criterion: {
|
5372
|
-
# comparator: "EQ", # accepts EQ, NE
|
5373
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5374
|
-
# values: ["__string"],
|
5375
|
-
# },
|
5376
|
-
# tag_criterion: {
|
5377
|
-
# comparator: "EQ", # accepts EQ, NE
|
5378
|
-
# tag_values: [
|
5379
|
-
# {
|
5380
|
-
# key: "__string",
|
5381
|
-
# value: "__string",
|
5382
|
-
# },
|
5383
|
-
# ],
|
5384
|
-
# },
|
5385
|
-
# },
|
5386
|
-
# ],
|
5387
|
-
# },
|
5388
|
-
# }
|
5389
|
-
#
|
5390
5444
|
# @!attribute [rw] excludes
|
5391
5445
|
# Specifies property- and tag-based conditions that define filter
|
5392
5446
|
# criteria for including or excluding Amazon Web Services resources
|
@@ -5411,26 +5465,6 @@ module Aws::Macie2
|
|
5411
5465
|
# Specifies a property- or tag-based filter condition for including or
|
5412
5466
|
# excluding Amazon Web Services resources from the query results.
|
5413
5467
|
#
|
5414
|
-
# @note When making an API call, you may pass SearchResourcesCriteria
|
5415
|
-
# data as a hash:
|
5416
|
-
#
|
5417
|
-
# {
|
5418
|
-
# simple_criterion: {
|
5419
|
-
# comparator: "EQ", # accepts EQ, NE
|
5420
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5421
|
-
# values: ["__string"],
|
5422
|
-
# },
|
5423
|
-
# tag_criterion: {
|
5424
|
-
# comparator: "EQ", # accepts EQ, NE
|
5425
|
-
# tag_values: [
|
5426
|
-
# {
|
5427
|
-
# key: "__string",
|
5428
|
-
# value: "__string",
|
5429
|
-
# },
|
5430
|
-
# ],
|
5431
|
-
# },
|
5432
|
-
# }
|
5433
|
-
#
|
5434
5468
|
# @!attribute [rw] simple_criterion
|
5435
5469
|
# Specifies a property-based filter condition that determines which
|
5436
5470
|
# Amazon Web Services resources are included or excluded from the
|
@@ -5456,30 +5490,6 @@ module Aws::Macie2
|
|
5456
5490
|
# criteria for including or excluding Amazon Web Services resources from
|
5457
5491
|
# the query results.
|
5458
5492
|
#
|
5459
|
-
# @note When making an API call, you may pass SearchResourcesCriteriaBlock
|
5460
|
-
# data as a hash:
|
5461
|
-
#
|
5462
|
-
# {
|
5463
|
-
# and: [
|
5464
|
-
# {
|
5465
|
-
# simple_criterion: {
|
5466
|
-
# comparator: "EQ", # accepts EQ, NE
|
5467
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5468
|
-
# values: ["__string"],
|
5469
|
-
# },
|
5470
|
-
# tag_criterion: {
|
5471
|
-
# comparator: "EQ", # accepts EQ, NE
|
5472
|
-
# tag_values: [
|
5473
|
-
# {
|
5474
|
-
# key: "__string",
|
5475
|
-
# value: "__string",
|
5476
|
-
# },
|
5477
|
-
# ],
|
5478
|
-
# },
|
5479
|
-
# },
|
5480
|
-
# ],
|
5481
|
-
# }
|
5482
|
-
#
|
5483
5493
|
# @!attribute [rw] and
|
5484
5494
|
# @return [Array<Types::SearchResourcesCriteria>]
|
5485
5495
|
#
|
@@ -5495,60 +5505,6 @@ module Aws::Macie2
|
|
5495
5505
|
# of a query for statistical data and other information about Amazon Web
|
5496
5506
|
# Services resources that Amazon Macie monitors and analyzes.
|
5497
5507
|
#
|
5498
|
-
# @note When making an API call, you may pass SearchResourcesRequest
|
5499
|
-
# data as a hash:
|
5500
|
-
#
|
5501
|
-
# {
|
5502
|
-
# bucket_criteria: {
|
5503
|
-
# excludes: {
|
5504
|
-
# and: [
|
5505
|
-
# {
|
5506
|
-
# simple_criterion: {
|
5507
|
-
# comparator: "EQ", # accepts EQ, NE
|
5508
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5509
|
-
# values: ["__string"],
|
5510
|
-
# },
|
5511
|
-
# tag_criterion: {
|
5512
|
-
# comparator: "EQ", # accepts EQ, NE
|
5513
|
-
# tag_values: [
|
5514
|
-
# {
|
5515
|
-
# key: "__string",
|
5516
|
-
# value: "__string",
|
5517
|
-
# },
|
5518
|
-
# ],
|
5519
|
-
# },
|
5520
|
-
# },
|
5521
|
-
# ],
|
5522
|
-
# },
|
5523
|
-
# includes: {
|
5524
|
-
# and: [
|
5525
|
-
# {
|
5526
|
-
# simple_criterion: {
|
5527
|
-
# comparator: "EQ", # accepts EQ, NE
|
5528
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5529
|
-
# values: ["__string"],
|
5530
|
-
# },
|
5531
|
-
# tag_criterion: {
|
5532
|
-
# comparator: "EQ", # accepts EQ, NE
|
5533
|
-
# tag_values: [
|
5534
|
-
# {
|
5535
|
-
# key: "__string",
|
5536
|
-
# value: "__string",
|
5537
|
-
# },
|
5538
|
-
# ],
|
5539
|
-
# },
|
5540
|
-
# },
|
5541
|
-
# ],
|
5542
|
-
# },
|
5543
|
-
# },
|
5544
|
-
# max_results: 1,
|
5545
|
-
# next_token: "__string",
|
5546
|
-
# sort_criteria: {
|
5547
|
-
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, RESOURCE_NAME, S3_CLASSIFIABLE_OBJECT_COUNT, S3_CLASSIFIABLE_SIZE_IN_BYTES
|
5548
|
-
# order_by: "ASC", # accepts ASC, DESC
|
5549
|
-
# },
|
5550
|
-
# }
|
5551
|
-
#
|
5552
5508
|
# @!attribute [rw] bucket_criteria
|
5553
5509
|
# Specifies property- and tag-based conditions that define filter
|
5554
5510
|
# criteria for including or excluding S3 buckets from the query
|
@@ -5601,15 +5557,6 @@ module Aws::Macie2
|
|
5601
5557
|
# Amazon Web Services resources are included or excluded from the query
|
5602
5558
|
# results.
|
5603
5559
|
#
|
5604
|
-
# @note When making an API call, you may pass SearchResourcesSimpleCriterion
|
5605
|
-
# data as a hash:
|
5606
|
-
#
|
5607
|
-
# {
|
5608
|
-
# comparator: "EQ", # accepts EQ, NE
|
5609
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5610
|
-
# values: ["__string"],
|
5611
|
-
# }
|
5612
|
-
#
|
5613
5560
|
# @!attribute [rw] comparator
|
5614
5561
|
# The operator to use in a condition that filters the results of a
|
5615
5562
|
# query. Valid values are:
|
@@ -5637,14 +5584,6 @@ module Aws::Macie2
|
|
5637
5584
|
# about Amazon Web Services resources that Amazon Macie monitors and
|
5638
5585
|
# analyzes.
|
5639
5586
|
#
|
5640
|
-
# @note When making an API call, you may pass SearchResourcesSortCriteria
|
5641
|
-
# data as a hash:
|
5642
|
-
#
|
5643
|
-
# {
|
5644
|
-
# attribute_name: "ACCOUNT_ID", # accepts ACCOUNT_ID, RESOURCE_NAME, S3_CLASSIFIABLE_OBJECT_COUNT, S3_CLASSIFIABLE_SIZE_IN_BYTES
|
5645
|
-
# order_by: "ASC", # accepts ASC, DESC
|
5646
|
-
# }
|
5647
|
-
#
|
5648
5587
|
# @!attribute [rw] attribute_name
|
5649
5588
|
# The property to sort the query results by. Valid values are:
|
5650
5589
|
# @return [String]
|
@@ -5665,19 +5604,6 @@ module Aws::Macie2
|
|
5665
5604
|
# Web Services resources are included or excluded from the query
|
5666
5605
|
# results.
|
5667
5606
|
#
|
5668
|
-
# @note When making an API call, you may pass SearchResourcesTagCriterion
|
5669
|
-
# data as a hash:
|
5670
|
-
#
|
5671
|
-
# {
|
5672
|
-
# comparator: "EQ", # accepts EQ, NE
|
5673
|
-
# tag_values: [
|
5674
|
-
# {
|
5675
|
-
# key: "__string",
|
5676
|
-
# value: "__string",
|
5677
|
-
# },
|
5678
|
-
# ],
|
5679
|
-
# }
|
5680
|
-
#
|
5681
5607
|
# @!attribute [rw] comparator
|
5682
5608
|
# The operator to use in a condition that filters the results of a
|
5683
5609
|
# query. Valid values are:
|
@@ -5700,14 +5626,6 @@ module Aws::Macie2
|
|
5700
5626
|
# values are case sensitive. Also, Amazon Macie doesn't support use of
|
5701
5627
|
# partial values or wildcard characters in tag-based filter conditions.
|
5702
5628
|
#
|
5703
|
-
# @note When making an API call, you may pass SearchResourcesTagCriterionPair
|
5704
|
-
# data as a hash:
|
5705
|
-
#
|
5706
|
-
# {
|
5707
|
-
# key: "__string",
|
5708
|
-
# value: "__string",
|
5709
|
-
# }
|
5710
|
-
#
|
5711
5629
|
# @!attribute [rw] key
|
5712
5630
|
# @return [String]
|
5713
5631
|
#
|
@@ -5732,14 +5650,6 @@ module Aws::Macie2
|
|
5732
5650
|
#
|
5733
5651
|
# [1]: https://docs.aws.amazon.com/macie/latest/user/securityhub-integration.html
|
5734
5652
|
#
|
5735
|
-
# @note When making an API call, you may pass SecurityHubConfiguration
|
5736
|
-
# data as a hash:
|
5737
|
-
#
|
5738
|
-
# {
|
5739
|
-
# publish_classification_findings: false, # required
|
5740
|
-
# publish_policy_findings: false, # required
|
5741
|
-
# }
|
5742
|
-
#
|
5743
5653
|
# @!attribute [rw] publish_classification_findings
|
5744
5654
|
# @return [Boolean]
|
5745
5655
|
#
|
@@ -5785,12 +5695,114 @@ module Aws::Macie2
|
|
5785
5695
|
include Aws::Structure
|
5786
5696
|
end
|
5787
5697
|
|
5788
|
-
# Provides
|
5789
|
-
#
|
5698
|
+
# Provides aggregated statistical data for sensitive data discovery
|
5699
|
+
# metrics that apply to S3 buckets. Each field contains aggregated data
|
5700
|
+
# for all the buckets that have a sensitivity score (sensitivityScore)
|
5701
|
+
# of a specified value or within a specified range
|
5702
|
+
# (BucketStatisticsBySensitivity). If automated sensitive data discovery
|
5703
|
+
# is currently disabled for your account, the value for each field is 0.
|
5704
|
+
#
|
5705
|
+
# @!attribute [rw] classifiable_size_in_bytes
|
5706
|
+
# @return [Integer]
|
5707
|
+
#
|
5708
|
+
# @!attribute [rw] publicly_accessible_count
|
5709
|
+
# @return [Integer]
|
5710
|
+
#
|
5711
|
+
# @!attribute [rw] total_count
|
5712
|
+
# @return [Integer]
|
5713
|
+
#
|
5714
|
+
# @!attribute [rw] total_size_in_bytes
|
5715
|
+
# @return [Integer]
|
5716
|
+
#
|
5717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityAggregations AWS API Documentation
|
5718
|
+
#
|
5719
|
+
class SensitivityAggregations < Struct.new(
|
5720
|
+
:classifiable_size_in_bytes,
|
5721
|
+
:publicly_accessible_count,
|
5722
|
+
:total_count,
|
5723
|
+
:total_size_in_bytes)
|
5724
|
+
SENSITIVE = []
|
5725
|
+
include Aws::Structure
|
5726
|
+
end
|
5727
|
+
|
5728
|
+
# Specifies managed data identifiers to exclude (not use) when
|
5729
|
+
# performing automated sensitive data discovery for an Amazon Macie
|
5730
|
+
# account. For information about the managed data identifiers that
|
5731
|
+
# Amazon Macie currently provides, see [Using managed data
|
5732
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
5733
|
+
#
|
5734
|
+
#
|
5735
|
+
#
|
5736
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
5737
|
+
#
|
5738
|
+
# @!attribute [rw] managed_data_identifier_ids
|
5739
|
+
# @return [Array<String>]
|
5740
|
+
#
|
5741
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityInspectionTemplateExcludes AWS API Documentation
|
5742
|
+
#
|
5743
|
+
class SensitivityInspectionTemplateExcludes < Struct.new(
|
5744
|
+
:managed_data_identifier_ids)
|
5745
|
+
SENSITIVE = []
|
5746
|
+
include Aws::Structure
|
5747
|
+
end
|
5748
|
+
|
5749
|
+
# Specifies the allow lists, custom data identifiers, and managed data
|
5750
|
+
# identifiers to include (use) when performing automated sensitive data
|
5751
|
+
# discovery for an Amazon Macie account. The configuration must specify
|
5752
|
+
# at least one custom data identifier or managed data identifier. For
|
5753
|
+
# information about the managed data identifiers that Amazon Macie
|
5754
|
+
# currently provides, see [Using managed data identifiers][1] in the
|
5755
|
+
# *Amazon Macie User Guide*.
|
5756
|
+
#
|
5757
|
+
#
|
5758
|
+
#
|
5759
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
5760
|
+
#
|
5761
|
+
# @!attribute [rw] allow_list_ids
|
5762
|
+
# @return [Array<String>]
|
5763
|
+
#
|
5764
|
+
# @!attribute [rw] custom_data_identifier_ids
|
5765
|
+
# @return [Array<String>]
|
5766
|
+
#
|
5767
|
+
# @!attribute [rw] managed_data_identifier_ids
|
5768
|
+
# @return [Array<String>]
|
5769
|
+
#
|
5770
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityInspectionTemplateIncludes AWS API Documentation
|
5771
|
+
#
|
5772
|
+
class SensitivityInspectionTemplateIncludes < Struct.new(
|
5773
|
+
:allow_list_ids,
|
5774
|
+
:custom_data_identifier_ids,
|
5775
|
+
:managed_data_identifier_ids)
|
5776
|
+
SENSITIVE = []
|
5777
|
+
include Aws::Structure
|
5778
|
+
end
|
5779
|
+
|
5780
|
+
# Provides information about the sensitivity inspection template for an
|
5781
|
+
# Amazon Macie account. Macie uses the template's settings when it
|
5782
|
+
# performs automated sensitive data discovery for the account.
|
5783
|
+
#
|
5784
|
+
# @!attribute [rw] id
|
5785
|
+
# @return [String]
|
5786
|
+
#
|
5787
|
+
# @!attribute [rw] name
|
5788
|
+
# @return [String]
|
5789
|
+
#
|
5790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SensitivityInspectionTemplatesEntry AWS API Documentation
|
5791
|
+
#
|
5792
|
+
class SensitivityInspectionTemplatesEntry < Struct.new(
|
5793
|
+
:id,
|
5794
|
+
:name)
|
5795
|
+
SENSITIVE = []
|
5796
|
+
include Aws::Structure
|
5797
|
+
end
|
5798
|
+
|
5799
|
+
# Provides information about the default server-side encryption settings
|
5800
|
+
# for an S3 bucket or the encryption settings for an S3 object.
|
5790
5801
|
#
|
5791
5802
|
# @!attribute [rw] encryption_type
|
5792
|
-
# The
|
5793
|
-
# object or
|
5803
|
+
# The server-side encryption algorithm that was used to encrypt an S3
|
5804
|
+
# object or is used by default to encrypt objects that are added to an
|
5805
|
+
# S3 bucket. Possible values are:
|
5794
5806
|
# @return [String]
|
5795
5807
|
#
|
5796
5808
|
# @!attribute [rw] kms_master_key_id
|
@@ -5932,17 +5944,9 @@ module Aws::Macie2
|
|
5932
5944
|
|
5933
5945
|
# Specifies a severity level for findings that a custom data identifier
|
5934
5946
|
# produces. A severity level determines which severity is assigned to
|
5935
|
-
# the findings, based on the number of occurrences of text that
|
5947
|
+
# the findings, based on the number of occurrences of text that match
|
5936
5948
|
# the custom data identifier's detection criteria.
|
5937
5949
|
#
|
5938
|
-
# @note When making an API call, you may pass SeverityLevel
|
5939
|
-
# data as a hash:
|
5940
|
-
#
|
5941
|
-
# {
|
5942
|
-
# occurrences_threshold: 1, # required
|
5943
|
-
# severity: "LOW", # required, accepts LOW, MEDIUM, HIGH
|
5944
|
-
# }
|
5945
|
-
#
|
5946
5950
|
# @!attribute [rw] occurrences_threshold
|
5947
5951
|
# @return [Integer]
|
5948
5952
|
#
|
@@ -5963,17 +5967,9 @@ module Aws::Macie2
|
|
5963
5967
|
# Specifies a property-based condition that determines whether an S3
|
5964
5968
|
# bucket is included or excluded from a classification job.
|
5965
5969
|
#
|
5966
|
-
# @note When making an API call, you may pass SimpleCriterionForJob
|
5967
|
-
# data as a hash:
|
5968
|
-
#
|
5969
|
-
# {
|
5970
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
5971
|
-
# key: "ACCOUNT_ID", # accepts ACCOUNT_ID, S3_BUCKET_NAME, S3_BUCKET_EFFECTIVE_PERMISSION, S3_BUCKET_SHARED_ACCESS
|
5972
|
-
# values: ["__string"],
|
5973
|
-
# }
|
5974
|
-
#
|
5975
5970
|
# @!attribute [rw] comparator
|
5976
|
-
# The operator to use in a condition.
|
5971
|
+
# The operator to use in a condition. Depending on the type of
|
5972
|
+
# condition, possible values are:
|
5977
5973
|
# @return [String]
|
5978
5974
|
#
|
5979
5975
|
# @!attribute [rw] key
|
@@ -5998,17 +5994,9 @@ module Aws::Macie2
|
|
5998
5994
|
# Specifies a property-based condition that determines whether an S3
|
5999
5995
|
# object is included or excluded from a classification job.
|
6000
5996
|
#
|
6001
|
-
# @note When making an API call, you may pass SimpleScopeTerm
|
6002
|
-
# data as a hash:
|
6003
|
-
#
|
6004
|
-
# {
|
6005
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
6006
|
-
# key: "OBJECT_EXTENSION", # accepts OBJECT_EXTENSION, OBJECT_LAST_MODIFIED_DATE, OBJECT_SIZE, OBJECT_KEY
|
6007
|
-
# values: ["__string"],
|
6008
|
-
# }
|
6009
|
-
#
|
6010
5997
|
# @!attribute [rw] comparator
|
6011
|
-
# The operator to use in a condition.
|
5998
|
+
# The operator to use in a condition. Depending on the type of
|
5999
|
+
# condition, possible values are:
|
6012
6000
|
# @return [String]
|
6013
6001
|
#
|
6014
6002
|
# @!attribute [rw] key
|
@@ -6032,14 +6020,6 @@ module Aws::Macie2
|
|
6032
6020
|
|
6033
6021
|
# Specifies criteria for sorting the results of a request for findings.
|
6034
6022
|
#
|
6035
|
-
# @note When making an API call, you may pass SortCriteria
|
6036
|
-
# data as a hash:
|
6037
|
-
#
|
6038
|
-
# {
|
6039
|
-
# attribute_name: "__string",
|
6040
|
-
# order_by: "ASC", # accepts ASC, DESC
|
6041
|
-
# }
|
6042
|
-
#
|
6043
6023
|
# @!attribute [rw] attribute_name
|
6044
6024
|
# @return [String]
|
6045
6025
|
#
|
@@ -6072,24 +6052,33 @@ module Aws::Macie2
|
|
6072
6052
|
include Aws::Structure
|
6073
6053
|
end
|
6074
6054
|
|
6075
|
-
# Specifies a
|
6076
|
-
#
|
6055
|
+
# Specifies a custom data identifier or managed data identifier that
|
6056
|
+
# detected a type of sensitive data to start excluding or including in
|
6057
|
+
# an S3 bucket's sensitivity score.
|
6058
|
+
#
|
6059
|
+
# @!attribute [rw] id
|
6060
|
+
# @return [String]
|
6061
|
+
#
|
6062
|
+
# @!attribute [rw] type
|
6063
|
+
# The type of data identifier that detected a specific type of
|
6064
|
+
# sensitive data in an S3 bucket. Possible values are:
|
6065
|
+
# @return [String]
|
6077
6066
|
#
|
6078
|
-
# @
|
6079
|
-
# data as a hash:
|
6067
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/SuppressDataIdentifier AWS API Documentation
|
6080
6068
|
#
|
6081
|
-
|
6082
|
-
|
6083
|
-
|
6084
|
-
|
6085
|
-
|
6086
|
-
|
6087
|
-
|
6088
|
-
#
|
6089
|
-
#
|
6069
|
+
class SuppressDataIdentifier < Struct.new(
|
6070
|
+
:id,
|
6071
|
+
:type)
|
6072
|
+
SENSITIVE = []
|
6073
|
+
include Aws::Structure
|
6074
|
+
end
|
6075
|
+
|
6076
|
+
# Specifies a tag-based condition that determines whether an S3 bucket
|
6077
|
+
# is included or excluded from a classification job.
|
6090
6078
|
#
|
6091
6079
|
# @!attribute [rw] comparator
|
6092
|
-
# The operator to use in a condition.
|
6080
|
+
# The operator to use in a condition. Depending on the type of
|
6081
|
+
# condition, possible values are:
|
6093
6082
|
# @return [String]
|
6094
6083
|
#
|
6095
6084
|
# @!attribute [rw] tag_values
|
@@ -6110,14 +6099,6 @@ module Aws::Macie2
|
|
6110
6099
|
# are case sensitive. Also, Amazon Macie doesn't support use of partial
|
6111
6100
|
# values or wildcard characters in tag-based conditions.
|
6112
6101
|
#
|
6113
|
-
# @note When making an API call, you may pass TagCriterionPairForJob
|
6114
|
-
# data as a hash:
|
6115
|
-
#
|
6116
|
-
# {
|
6117
|
-
# key: "__string",
|
6118
|
-
# value: "__string",
|
6119
|
-
# }
|
6120
|
-
#
|
6121
6102
|
# @!attribute [rw] key
|
6122
6103
|
# @return [String]
|
6123
6104
|
#
|
@@ -6133,27 +6114,15 @@ module Aws::Macie2
|
|
6133
6114
|
include Aws::Structure
|
6134
6115
|
end
|
6135
6116
|
|
6136
|
-
# Specifies the tags (keys and values) to associate with
|
6137
|
-
#
|
6138
|
-
# account.
|
6139
|
-
#
|
6140
|
-
# @note When making an API call, you may pass TagResourceRequest
|
6141
|
-
# data as a hash:
|
6142
|
-
#
|
6143
|
-
# {
|
6144
|
-
# resource_arn: "__string", # required
|
6145
|
-
# tags: { # required
|
6146
|
-
# "__string" => "__string",
|
6147
|
-
# },
|
6148
|
-
# }
|
6117
|
+
# Specifies the tags (keys and values) to associate with an Amazon Macie
|
6118
|
+
# resource.
|
6149
6119
|
#
|
6150
6120
|
# @!attribute [rw] resource_arn
|
6151
6121
|
# @return [String]
|
6152
6122
|
#
|
6153
6123
|
# @!attribute [rw] tags
|
6154
6124
|
# A string-to-string map of key-value pairs that specifies the tags
|
6155
|
-
# (keys and values) for
|
6156
|
-
# findings filter, or member account.
|
6125
|
+
# (keys and values) for an Amazon Macie resource.
|
6157
6126
|
# @return [Hash<String,String>]
|
6158
6127
|
#
|
6159
6128
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResourceRequest AWS API Documentation
|
@@ -6165,7 +6134,8 @@ module Aws::Macie2
|
|
6165
6134
|
include Aws::Structure
|
6166
6135
|
end
|
6167
6136
|
|
6168
|
-
# The request succeeded. The specified tags were added
|
6137
|
+
# The request succeeded. The specified tags were added or updated for
|
6138
|
+
# the resource.
|
6169
6139
|
#
|
6170
6140
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/TagResourceResponse AWS API Documentation
|
6171
6141
|
#
|
@@ -6174,23 +6144,9 @@ module Aws::Macie2
|
|
6174
6144
|
# Specifies a tag-based condition that determines whether an S3 object
|
6175
6145
|
# is included or excluded from a classification job.
|
6176
6146
|
#
|
6177
|
-
# @note When making an API call, you may pass TagScopeTerm
|
6178
|
-
# data as a hash:
|
6179
|
-
#
|
6180
|
-
# {
|
6181
|
-
# comparator: "EQ", # accepts EQ, GT, GTE, LT, LTE, NE, CONTAINS, STARTS_WITH
|
6182
|
-
# key: "__string",
|
6183
|
-
# tag_values: [
|
6184
|
-
# {
|
6185
|
-
# key: "__string",
|
6186
|
-
# value: "__string",
|
6187
|
-
# },
|
6188
|
-
# ],
|
6189
|
-
# target: "S3_OBJECT", # accepts S3_OBJECT
|
6190
|
-
# }
|
6191
|
-
#
|
6192
6147
|
# @!attribute [rw] comparator
|
6193
|
-
# The operator to use in a condition.
|
6148
|
+
# The operator to use in a condition. Depending on the type of
|
6149
|
+
# condition, possible values are:
|
6194
6150
|
# @return [String]
|
6195
6151
|
#
|
6196
6152
|
# @!attribute [rw] key
|
@@ -6221,14 +6177,6 @@ module Aws::Macie2
|
|
6221
6177
|
# Also, Amazon Macie doesn't support use of partial values or wildcard
|
6222
6178
|
# characters in tag-based conditions.
|
6223
6179
|
#
|
6224
|
-
# @note When making an API call, you may pass TagValuePair
|
6225
|
-
# data as a hash:
|
6226
|
-
#
|
6227
|
-
# {
|
6228
|
-
# key: "__string",
|
6229
|
-
# value: "__string",
|
6230
|
-
# }
|
6231
|
-
#
|
6232
6180
|
# @!attribute [rw] key
|
6233
6181
|
# @return [String]
|
6234
6182
|
#
|
@@ -6246,17 +6194,6 @@ module Aws::Macie2
|
|
6246
6194
|
|
6247
6195
|
# Specifies the detection criteria of a custom data identifier to test.
|
6248
6196
|
#
|
6249
|
-
# @note When making an API call, you may pass TestCustomDataIdentifierRequest
|
6250
|
-
# data as a hash:
|
6251
|
-
#
|
6252
|
-
# {
|
6253
|
-
# ignore_words: ["__string"],
|
6254
|
-
# keywords: ["__string"],
|
6255
|
-
# maximum_match_distance: 1,
|
6256
|
-
# regex: "__string", # required
|
6257
|
-
# sample_text: "__string", # required
|
6258
|
-
# }
|
6259
|
-
#
|
6260
6197
|
# @!attribute [rw] ignore_words
|
6261
6198
|
# @return [Array<String>]
|
6262
6199
|
#
|
@@ -6311,6 +6248,20 @@ module Aws::Macie2
|
|
6311
6248
|
include Aws::Structure
|
6312
6249
|
end
|
6313
6250
|
|
6251
|
+
# Provides information about an error that occurred due to an
|
6252
|
+
# unprocessable entity.
|
6253
|
+
#
|
6254
|
+
# @!attribute [rw] message
|
6255
|
+
# @return [String]
|
6256
|
+
#
|
6257
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UnprocessableEntityException AWS API Documentation
|
6258
|
+
#
|
6259
|
+
class UnprocessableEntityException < Struct.new(
|
6260
|
+
:message)
|
6261
|
+
SENSITIVE = []
|
6262
|
+
include Aws::Structure
|
6263
|
+
end
|
6264
|
+
|
6314
6265
|
# Provides information about an account-related request that hasn't
|
6315
6266
|
# been processed.
|
6316
6267
|
#
|
@@ -6334,14 +6285,6 @@ module Aws::Macie2
|
|
6334
6285
|
include Aws::Structure
|
6335
6286
|
end
|
6336
6287
|
|
6337
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
6338
|
-
# data as a hash:
|
6339
|
-
#
|
6340
|
-
# {
|
6341
|
-
# resource_arn: "__string", # required
|
6342
|
-
# tag_keys: ["__string"], # required
|
6343
|
-
# }
|
6344
|
-
#
|
6345
6288
|
# @!attribute [rw] resource_arn
|
6346
6289
|
# @return [String]
|
6347
6290
|
#
|
@@ -6364,6 +6307,76 @@ module Aws::Macie2
|
|
6364
6307
|
#
|
6365
6308
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
6366
6309
|
|
6310
|
+
# Changes the settings for an allow list. If you change the list's
|
6311
|
+
# criteria, Amazon Macie tests the new criteria when it processes your
|
6312
|
+
# request. If the criteria specify a regular expression that Macie
|
6313
|
+
# can't compile or an S3 object that Macie can't retrieve or parse, an
|
6314
|
+
# error occurs.
|
6315
|
+
#
|
6316
|
+
# @!attribute [rw] criteria
|
6317
|
+
# Specifies the criteria for an allow list. The criteria must specify
|
6318
|
+
# a regular expression (regex) or an S3 object (s3WordsList). It
|
6319
|
+
# can't specify both.
|
6320
|
+
# @return [Types::AllowListCriteria]
|
6321
|
+
#
|
6322
|
+
# @!attribute [rw] description
|
6323
|
+
# @return [String]
|
6324
|
+
#
|
6325
|
+
# @!attribute [rw] id
|
6326
|
+
# @return [String]
|
6327
|
+
#
|
6328
|
+
# @!attribute [rw] name
|
6329
|
+
# @return [String]
|
6330
|
+
#
|
6331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowListRequest AWS API Documentation
|
6332
|
+
#
|
6333
|
+
class UpdateAllowListRequest < Struct.new(
|
6334
|
+
:criteria,
|
6335
|
+
:description,
|
6336
|
+
:id,
|
6337
|
+
:name)
|
6338
|
+
SENSITIVE = []
|
6339
|
+
include Aws::Structure
|
6340
|
+
end
|
6341
|
+
|
6342
|
+
# Provides information about an allow list whose settings were changed
|
6343
|
+
# in response to a request.
|
6344
|
+
#
|
6345
|
+
# @!attribute [rw] arn
|
6346
|
+
# @return [String]
|
6347
|
+
#
|
6348
|
+
# @!attribute [rw] id
|
6349
|
+
# @return [String]
|
6350
|
+
#
|
6351
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAllowListResponse AWS API Documentation
|
6352
|
+
#
|
6353
|
+
class UpdateAllowListResponse < Struct.new(
|
6354
|
+
:arn,
|
6355
|
+
:id)
|
6356
|
+
SENSITIVE = []
|
6357
|
+
include Aws::Structure
|
6358
|
+
end
|
6359
|
+
|
6360
|
+
# Enables or disables automated sensitive data discovery for an Amazon
|
6361
|
+
# Macie account.
|
6362
|
+
#
|
6363
|
+
# @!attribute [rw] status
|
6364
|
+
# The status of the automated sensitive data discovery configuration
|
6365
|
+
# for an Amazon Macie account. Valid values are:
|
6366
|
+
# @return [String]
|
6367
|
+
#
|
6368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfigurationRequest AWS API Documentation
|
6369
|
+
#
|
6370
|
+
class UpdateAutomatedDiscoveryConfigurationRequest < Struct.new(
|
6371
|
+
:status)
|
6372
|
+
SENSITIVE = []
|
6373
|
+
include Aws::Structure
|
6374
|
+
end
|
6375
|
+
|
6376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateAutomatedDiscoveryConfigurationResponse AWS API Documentation
|
6377
|
+
#
|
6378
|
+
class UpdateAutomatedDiscoveryConfigurationResponse < Aws::EmptyStructure; end
|
6379
|
+
|
6367
6380
|
# Changes the status of a classification job. For more information about
|
6368
6381
|
# pausing, resuming, or cancelling jobs, see [Managing sensitive data
|
6369
6382
|
# discovery jobs][1] in the *Amazon Macie User Guide*.
|
@@ -6372,14 +6385,6 @@ module Aws::Macie2
|
|
6372
6385
|
#
|
6373
6386
|
# [1]: https://docs.aws.amazon.com/macie/latest/user/discovery-jobs-manage.html
|
6374
6387
|
#
|
6375
|
-
# @note When making an API call, you may pass UpdateClassificationJobRequest
|
6376
|
-
# data as a hash:
|
6377
|
-
#
|
6378
|
-
# {
|
6379
|
-
# job_id: "__string", # required
|
6380
|
-
# job_status: "RUNNING", # required, accepts RUNNING, PAUSED, CANCELLED, COMPLETE, IDLE, USER_PAUSED
|
6381
|
-
# }
|
6382
|
-
#
|
6383
6388
|
# @!attribute [rw] job_id
|
6384
6389
|
# @return [String]
|
6385
6390
|
#
|
@@ -6400,39 +6405,46 @@ module Aws::Macie2
|
|
6400
6405
|
#
|
6401
6406
|
class UpdateClassificationJobResponse < Aws::EmptyStructure; end
|
6402
6407
|
|
6403
|
-
# Specifies
|
6408
|
+
# Specifies new classification scope settings for an Amazon Macie
|
6409
|
+
# account. Macie uses these settings when it performs automated
|
6410
|
+
# sensitive data discovery for the account. To update the settings,
|
6411
|
+
# automated sensitive data discovery must currently be enabled for the
|
6412
|
+
# account.
|
6413
|
+
#
|
6414
|
+
# @!attribute [rw] id
|
6415
|
+
# @return [String]
|
6416
|
+
#
|
6417
|
+
# @!attribute [rw] s3
|
6418
|
+
# Specifies changes to the list of S3 buckets that are excluded from
|
6419
|
+
# automated sensitive data discovery for an Amazon Macie account.
|
6420
|
+
# @return [Types::S3ClassificationScopeUpdate]
|
6404
6421
|
#
|
6405
|
-
# @
|
6406
|
-
#
|
6407
|
-
|
6408
|
-
|
6409
|
-
|
6410
|
-
|
6411
|
-
|
6412
|
-
|
6413
|
-
|
6414
|
-
#
|
6415
|
-
#
|
6416
|
-
|
6417
|
-
|
6418
|
-
#
|
6419
|
-
# lte: 1,
|
6420
|
-
# neq: ["__string"],
|
6421
|
-
# },
|
6422
|
-
# },
|
6423
|
-
# },
|
6424
|
-
# id: "__string", # required
|
6425
|
-
# name: "__string",
|
6426
|
-
# position: 1,
|
6427
|
-
# client_token: "__string",
|
6428
|
-
# }
|
6422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScopeRequest AWS API Documentation
|
6423
|
+
#
|
6424
|
+
class UpdateClassificationScopeRequest < Struct.new(
|
6425
|
+
:id,
|
6426
|
+
:s3)
|
6427
|
+
SENSITIVE = []
|
6428
|
+
include Aws::Structure
|
6429
|
+
end
|
6430
|
+
|
6431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateClassificationScopeResponse AWS API Documentation
|
6432
|
+
#
|
6433
|
+
class UpdateClassificationScopeResponse < Aws::EmptyStructure; end
|
6434
|
+
|
6435
|
+
# Specifies the criteria and other settings for a findings filter.
|
6429
6436
|
#
|
6430
6437
|
# @!attribute [rw] action
|
6431
|
-
# The action to perform on findings that
|
6432
|
-
# suppress (automatically archive) findings that
|
6438
|
+
# The action to perform on findings that match the filter criteria. To
|
6439
|
+
# suppress (automatically archive) findings that match the criteria,
|
6433
6440
|
# set this value to ARCHIVE. Valid values are:
|
6434
6441
|
# @return [String]
|
6435
6442
|
#
|
6443
|
+
# @!attribute [rw] client_token
|
6444
|
+
# **A suitable default value is auto-generated.** You should normally
|
6445
|
+
# not need to pass this option.
|
6446
|
+
# @return [String]
|
6447
|
+
#
|
6436
6448
|
# @!attribute [rw] description
|
6437
6449
|
# @return [String]
|
6438
6450
|
#
|
@@ -6450,21 +6462,16 @@ module Aws::Macie2
|
|
6450
6462
|
# @!attribute [rw] position
|
6451
6463
|
# @return [Integer]
|
6452
6464
|
#
|
6453
|
-
# @!attribute [rw] client_token
|
6454
|
-
# **A suitable default value is auto-generated.** You should normally
|
6455
|
-
# not need to pass this option.
|
6456
|
-
# @return [String]
|
6457
|
-
#
|
6458
6465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateFindingsFilterRequest AWS API Documentation
|
6459
6466
|
#
|
6460
6467
|
class UpdateFindingsFilterRequest < Struct.new(
|
6461
6468
|
:action,
|
6469
|
+
:client_token,
|
6462
6470
|
:description,
|
6463
6471
|
:finding_criteria,
|
6464
6472
|
:id,
|
6465
6473
|
:name,
|
6466
|
-
:position
|
6467
|
-
:client_token)
|
6474
|
+
:position)
|
6468
6475
|
SENSITIVE = []
|
6469
6476
|
include Aws::Structure
|
6470
6477
|
end
|
@@ -6490,21 +6497,12 @@ module Aws::Macie2
|
|
6490
6497
|
# Changes the status or configuration settings for an Amazon Macie
|
6491
6498
|
# account.
|
6492
6499
|
#
|
6493
|
-
# @note When making an API call, you may pass UpdateMacieSessionRequest
|
6494
|
-
# data as a hash:
|
6495
|
-
#
|
6496
|
-
# {
|
6497
|
-
# finding_publishing_frequency: "FIFTEEN_MINUTES", # accepts FIFTEEN_MINUTES, ONE_HOUR, SIX_HOURS
|
6498
|
-
# status: "PAUSED", # accepts PAUSED, ENABLED
|
6499
|
-
# }
|
6500
|
-
#
|
6501
6500
|
# @!attribute [rw] finding_publishing_frequency
|
6502
6501
|
# The frequency with which Amazon Macie publishes updates to policy
|
6503
6502
|
# findings for an account. This includes publishing updates to
|
6504
|
-
# Security Hub and Amazon EventBridge (formerly
|
6505
|
-
#
|
6506
|
-
#
|
6507
|
-
# values are:
|
6503
|
+
# Security Hub and Amazon EventBridge (formerly Amazon CloudWatch
|
6504
|
+
# Events). For more information, see [Monitoring and processing
|
6505
|
+
# findings][1] in the *Amazon Macie User Guide*. Valid values are:
|
6508
6506
|
#
|
6509
6507
|
#
|
6510
6508
|
#
|
@@ -6530,14 +6528,6 @@ module Aws::Macie2
|
|
6530
6528
|
|
6531
6529
|
# Suspends (pauses) or re-enables Amazon Macie for a member account.
|
6532
6530
|
#
|
6533
|
-
# @note When making an API call, you may pass UpdateMemberSessionRequest
|
6534
|
-
# data as a hash:
|
6535
|
-
#
|
6536
|
-
# {
|
6537
|
-
# id: "__string", # required
|
6538
|
-
# status: "PAUSED", # required, accepts PAUSED, ENABLED
|
6539
|
-
# }
|
6540
|
-
#
|
6541
6531
|
# @!attribute [rw] id
|
6542
6532
|
# @return [String]
|
6543
6533
|
#
|
@@ -6561,13 +6551,6 @@ module Aws::Macie2
|
|
6561
6551
|
# Specifies whether to enable Amazon Macie automatically for accounts
|
6562
6552
|
# that are added to an organization in Organizations.
|
6563
6553
|
#
|
6564
|
-
# @note When making an API call, you may pass UpdateOrganizationConfigurationRequest
|
6565
|
-
# data as a hash:
|
6566
|
-
#
|
6567
|
-
# {
|
6568
|
-
# auto_enable: false, # required
|
6569
|
-
# }
|
6570
|
-
#
|
6571
6554
|
# @!attribute [rw] auto_enable
|
6572
6555
|
# @return [Boolean]
|
6573
6556
|
#
|
@@ -6583,6 +6566,150 @@ module Aws::Macie2
|
|
6583
6566
|
#
|
6584
6567
|
class UpdateOrganizationConfigurationResponse < Aws::EmptyStructure; end
|
6585
6568
|
|
6569
|
+
# Updates the sensitivity scoring settings for an S3 bucket that Amazon
|
6570
|
+
# Macie monitors and analyzes for your account. The settings specify
|
6571
|
+
# whether to exclude or include occurrences of specific types of
|
6572
|
+
# sensitive data in calculations of the bucket's sensitivity score. You
|
6573
|
+
# can update the settings only if automated sensitive data discovery is
|
6574
|
+
# currently enabled for your account.
|
6575
|
+
#
|
6576
|
+
# @!attribute [rw] resource_arn
|
6577
|
+
# @return [String]
|
6578
|
+
#
|
6579
|
+
# @!attribute [rw] suppress_data_identifiers
|
6580
|
+
# @return [Array<Types::SuppressDataIdentifier>]
|
6581
|
+
#
|
6582
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetectionsRequest AWS API Documentation
|
6583
|
+
#
|
6584
|
+
class UpdateResourceProfileDetectionsRequest < Struct.new(
|
6585
|
+
:resource_arn,
|
6586
|
+
:suppress_data_identifiers)
|
6587
|
+
SENSITIVE = []
|
6588
|
+
include Aws::Structure
|
6589
|
+
end
|
6590
|
+
|
6591
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileDetectionsResponse AWS API Documentation
|
6592
|
+
#
|
6593
|
+
class UpdateResourceProfileDetectionsResponse < Aws::EmptyStructure; end
|
6594
|
+
|
6595
|
+
# Specifies a new sensitivity score for an S3 bucket that Amazon Macie
|
6596
|
+
# monitors and analyzes for your account. To update the score, automated
|
6597
|
+
# sensitive data discovery must currently be enabled for your account.
|
6598
|
+
#
|
6599
|
+
# @!attribute [rw] resource_arn
|
6600
|
+
# @return [String]
|
6601
|
+
#
|
6602
|
+
# @!attribute [rw] sensitivity_score_override
|
6603
|
+
# @return [Integer]
|
6604
|
+
#
|
6605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileRequest AWS API Documentation
|
6606
|
+
#
|
6607
|
+
class UpdateResourceProfileRequest < Struct.new(
|
6608
|
+
:resource_arn,
|
6609
|
+
:sensitivity_score_override)
|
6610
|
+
SENSITIVE = []
|
6611
|
+
include Aws::Structure
|
6612
|
+
end
|
6613
|
+
|
6614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateResourceProfileResponse AWS API Documentation
|
6615
|
+
#
|
6616
|
+
class UpdateResourceProfileResponse < Aws::EmptyStructure; end
|
6617
|
+
|
6618
|
+
# Specifies the configuration settings for retrieving occurrences of
|
6619
|
+
# sensitive data reported by findings, and the status of the
|
6620
|
+
# configuration for an Amazon Macie account.
|
6621
|
+
#
|
6622
|
+
# @!attribute [rw] configuration
|
6623
|
+
# Specifies the configuration settings for retrieving occurrences of
|
6624
|
+
# sensitive data reported by findings, and the status of the
|
6625
|
+
# configuration for an Amazon Macie account. When you enable the
|
6626
|
+
# configuration for the first time, your request must specify an Key
|
6627
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
6628
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
6629
|
+
# @return [Types::RevealConfiguration]
|
6630
|
+
#
|
6631
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfigurationRequest AWS API Documentation
|
6632
|
+
#
|
6633
|
+
class UpdateRevealConfigurationRequest < Struct.new(
|
6634
|
+
:configuration)
|
6635
|
+
SENSITIVE = []
|
6636
|
+
include Aws::Structure
|
6637
|
+
end
|
6638
|
+
|
6639
|
+
# Provides information about updated configuration settings for
|
6640
|
+
# retrieving occurrences of sensitive data reported by findings, and the
|
6641
|
+
# status of the configuration for an Amazon Macie account.
|
6642
|
+
#
|
6643
|
+
# @!attribute [rw] configuration
|
6644
|
+
# Specifies the configuration settings for retrieving occurrences of
|
6645
|
+
# sensitive data reported by findings, and the status of the
|
6646
|
+
# configuration for an Amazon Macie account. When you enable the
|
6647
|
+
# configuration for the first time, your request must specify an Key
|
6648
|
+
# Management Service (KMS) key. Otherwise, an error occurs. Macie uses
|
6649
|
+
# the specified key to encrypt the sensitive data that you retrieve.
|
6650
|
+
# @return [Types::RevealConfiguration]
|
6651
|
+
#
|
6652
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateRevealConfigurationResponse AWS API Documentation
|
6653
|
+
#
|
6654
|
+
class UpdateRevealConfigurationResponse < Struct.new(
|
6655
|
+
:configuration)
|
6656
|
+
SENSITIVE = []
|
6657
|
+
include Aws::Structure
|
6658
|
+
end
|
6659
|
+
|
6660
|
+
# Specifies settings for the sensitivity inspection template for an
|
6661
|
+
# Amazon Macie account. Macie uses the template's settings when it
|
6662
|
+
# performs automated sensitive data discovery for the account. To update
|
6663
|
+
# the settings, automated sensitive data discovery must currently be
|
6664
|
+
# enabled for the account.
|
6665
|
+
#
|
6666
|
+
# @!attribute [rw] description
|
6667
|
+
# @return [String]
|
6668
|
+
#
|
6669
|
+
# @!attribute [rw] excludes
|
6670
|
+
# Specifies managed data identifiers to exclude (not use) when
|
6671
|
+
# performing automated sensitive data discovery for an Amazon Macie
|
6672
|
+
# account. For information about the managed data identifiers that
|
6673
|
+
# Amazon Macie currently provides, see [Using managed data
|
6674
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
6675
|
+
#
|
6676
|
+
#
|
6677
|
+
#
|
6678
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
6679
|
+
# @return [Types::SensitivityInspectionTemplateExcludes]
|
6680
|
+
#
|
6681
|
+
# @!attribute [rw] id
|
6682
|
+
# @return [String]
|
6683
|
+
#
|
6684
|
+
# @!attribute [rw] includes
|
6685
|
+
# Specifies the allow lists, custom data identifiers, and managed data
|
6686
|
+
# identifiers to include (use) when performing automated sensitive
|
6687
|
+
# data discovery for an Amazon Macie account. The configuration must
|
6688
|
+
# specify at least one custom data identifier or managed data
|
6689
|
+
# identifier. For information about the managed data identifiers that
|
6690
|
+
# Amazon Macie currently provides, see [Using managed data
|
6691
|
+
# identifiers][1] in the *Amazon Macie User Guide*.
|
6692
|
+
#
|
6693
|
+
#
|
6694
|
+
#
|
6695
|
+
# [1]: https://docs.aws.amazon.com/macie/latest/user/managed-data-identifiers.html
|
6696
|
+
# @return [Types::SensitivityInspectionTemplateIncludes]
|
6697
|
+
#
|
6698
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplateRequest AWS API Documentation
|
6699
|
+
#
|
6700
|
+
class UpdateSensitivityInspectionTemplateRequest < Struct.new(
|
6701
|
+
:description,
|
6702
|
+
:excludes,
|
6703
|
+
:id,
|
6704
|
+
:includes)
|
6705
|
+
SENSITIVE = []
|
6706
|
+
include Aws::Structure
|
6707
|
+
end
|
6708
|
+
|
6709
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/macie2-2020-01-01/UpdateSensitivityInspectionTemplateResponse AWS API Documentation
|
6710
|
+
#
|
6711
|
+
class UpdateSensitivityInspectionTemplateResponse < Aws::EmptyStructure; end
|
6712
|
+
|
6586
6713
|
# Provides data for a specific usage metric and the corresponding quota
|
6587
6714
|
# for an Amazon Macie account.
|
6588
6715
|
#
|
@@ -6619,6 +6746,9 @@ module Aws::Macie2
|
|
6619
6746
|
# @!attribute [rw] account_id
|
6620
6747
|
# @return [String]
|
6621
6748
|
#
|
6749
|
+
# @!attribute [rw] automated_discovery_free_trial_start_date
|
6750
|
+
# @return [Time]
|
6751
|
+
#
|
6622
6752
|
# @!attribute [rw] free_trial_start_date
|
6623
6753
|
# @return [Time]
|
6624
6754
|
#
|
@@ -6629,6 +6759,7 @@ module Aws::Macie2
|
|
6629
6759
|
#
|
6630
6760
|
class UsageRecord < Struct.new(
|
6631
6761
|
:account_id,
|
6762
|
+
:automated_discovery_free_trial_start_date,
|
6632
6763
|
:free_trial_start_date,
|
6633
6764
|
:usage)
|
6634
6765
|
SENSITIVE = []
|
@@ -6638,15 +6769,6 @@ module Aws::Macie2
|
|
6638
6769
|
# Specifies a condition for filtering the results of a query for quota
|
6639
6770
|
# and usage data for one or more Amazon Macie accounts.
|
6640
6771
|
#
|
6641
|
-
# @note When making an API call, you may pass UsageStatisticsFilter
|
6642
|
-
# data as a hash:
|
6643
|
-
#
|
6644
|
-
# {
|
6645
|
-
# comparator: "GT", # accepts GT, GTE, LT, LTE, EQ, NE, CONTAINS
|
6646
|
-
# key: "accountId", # accepts accountId, serviceLimit, freeTrialStartDate, total
|
6647
|
-
# values: ["__string"],
|
6648
|
-
# }
|
6649
|
-
#
|
6650
6772
|
# @!attribute [rw] comparator
|
6651
6773
|
# The operator to use in a condition that filters the results of a
|
6652
6774
|
# query for Amazon Macie account quotas and usage data. Valid values
|
@@ -6674,14 +6796,6 @@ module Aws::Macie2
|
|
6674
6796
|
# Specifies criteria for sorting the results of a query for Amazon Macie
|
6675
6797
|
# account quotas and usage data.
|
6676
6798
|
#
|
6677
|
-
# @note When making an API call, you may pass UsageStatisticsSortBy
|
6678
|
-
# data as a hash:
|
6679
|
-
#
|
6680
|
-
# {
|
6681
|
-
# key: "accountId", # accepts accountId, total, serviceLimitValue, freeTrialStartDate
|
6682
|
-
# order_by: "ASC", # accepts ASC, DESC
|
6683
|
-
# }
|
6684
|
-
#
|
6685
6799
|
# @!attribute [rw] key
|
6686
6800
|
# The field to use to sort the results of a query for Amazon Macie
|
6687
6801
|
# account quotas and usage data. Valid values are:
|
@@ -6855,13 +6969,6 @@ module Aws::Macie2
|
|
6855
6969
|
# Specifies a weekly recurrence pattern for running a classification
|
6856
6970
|
# job.
|
6857
6971
|
#
|
6858
|
-
# @note When making an API call, you may pass WeeklySchedule
|
6859
|
-
# data as a hash:
|
6860
|
-
#
|
6861
|
-
# {
|
6862
|
-
# day_of_week: "SUNDAY", # accepts SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY
|
6863
|
-
# }
|
6864
|
-
#
|
6865
6972
|
# @!attribute [rw] day_of_week
|
6866
6973
|
# @return [String]
|
6867
6974
|
#
|