aws-sdk-macie2 1.65.0 → 1.66.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.
data/sig/client.rbs ADDED
@@ -0,0 +1,1333 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Macie2
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _AcceptInvitationResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcceptInvitationResponse]
77
+ end
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#accept_invitation-instance_method
79
+ def accept_invitation: (
80
+ ?administrator_account_id: ::String,
81
+ invitation_id: ::String,
82
+ ?master_account: ::String
83
+ ) -> _AcceptInvitationResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptInvitationResponseSuccess
85
+
86
+ interface _BatchGetCustomDataIdentifiersResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCustomDataIdentifiersResponse]
88
+ def custom_data_identifiers: () -> ::Array[Types::BatchGetCustomDataIdentifierSummary]
89
+ def not_found_identifier_ids: () -> ::Array[::String]
90
+ end
91
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#batch_get_custom_data_identifiers-instance_method
92
+ def batch_get_custom_data_identifiers: (
93
+ ?ids: Array[::String]
94
+ ) -> _BatchGetCustomDataIdentifiersResponseSuccess
95
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCustomDataIdentifiersResponseSuccess
96
+
97
+ interface _CreateAllowListResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAllowListResponse]
99
+ def arn: () -> ::String
100
+ def id: () -> ::String
101
+ end
102
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_allow_list-instance_method
103
+ def create_allow_list: (
104
+ client_token: ::String,
105
+ criteria: {
106
+ regex: ::String?,
107
+ s3_words_list: {
108
+ bucket_name: ::String,
109
+ object_key: ::String
110
+ }?
111
+ },
112
+ ?description: ::String,
113
+ name: ::String,
114
+ ?tags: Hash[::String, ::String]
115
+ ) -> _CreateAllowListResponseSuccess
116
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAllowListResponseSuccess
117
+
118
+ interface _CreateClassificationJobResponseSuccess
119
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateClassificationJobResponse]
120
+ def job_arn: () -> ::String
121
+ def job_id: () -> ::String
122
+ end
123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_classification_job-instance_method
124
+ def create_classification_job: (
125
+ ?allow_list_ids: Array[::String],
126
+ client_token: ::String,
127
+ ?custom_data_identifier_ids: Array[::String],
128
+ ?description: ::String,
129
+ ?initial_run: bool,
130
+ job_type: ("ONE_TIME" | "SCHEDULED"),
131
+ ?managed_data_identifier_ids: Array[::String],
132
+ ?managed_data_identifier_selector: ("ALL" | "EXCLUDE" | "INCLUDE" | "NONE" | "RECOMMENDED"),
133
+ name: ::String,
134
+ s3_job_definition: {
135
+ bucket_criteria: {
136
+ excludes: {
137
+ and: Array[
138
+ {
139
+ simple_criterion: {
140
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
141
+ key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
142
+ values: Array[::String]?
143
+ }?,
144
+ tag_criterion: {
145
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
146
+ tag_values: Array[
147
+ {
148
+ key: ::String?,
149
+ value: ::String?
150
+ },
151
+ ]?
152
+ }?
153
+ },
154
+ ]?
155
+ }?,
156
+ includes: {
157
+ and: Array[
158
+ {
159
+ simple_criterion: {
160
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
161
+ key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
162
+ values: Array[::String]?
163
+ }?,
164
+ tag_criterion: {
165
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
166
+ tag_values: Array[
167
+ {
168
+ key: ::String?,
169
+ value: ::String?
170
+ },
171
+ ]?
172
+ }?
173
+ },
174
+ ]?
175
+ }?
176
+ }?,
177
+ bucket_definitions: Array[
178
+ {
179
+ account_id: ::String,
180
+ buckets: Array[::String]
181
+ },
182
+ ]?,
183
+ scoping: {
184
+ excludes: {
185
+ and: Array[
186
+ {
187
+ simple_scope_term: {
188
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
189
+ key: ("OBJECT_EXTENSION" | "OBJECT_LAST_MODIFIED_DATE" | "OBJECT_SIZE" | "OBJECT_KEY")?,
190
+ values: Array[::String]?
191
+ }?,
192
+ tag_scope_term: {
193
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
194
+ key: ::String?,
195
+ tag_values: Array[
196
+ {
197
+ key: ::String?,
198
+ value: ::String?
199
+ },
200
+ ]?,
201
+ target: ("S3_OBJECT")?
202
+ }?
203
+ },
204
+ ]?
205
+ }?,
206
+ includes: {
207
+ and: Array[
208
+ {
209
+ simple_scope_term: {
210
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
211
+ key: ("OBJECT_EXTENSION" | "OBJECT_LAST_MODIFIED_DATE" | "OBJECT_SIZE" | "OBJECT_KEY")?,
212
+ values: Array[::String]?
213
+ }?,
214
+ tag_scope_term: {
215
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
216
+ key: ::String?,
217
+ tag_values: Array[
218
+ {
219
+ key: ::String?,
220
+ value: ::String?
221
+ },
222
+ ]?,
223
+ target: ("S3_OBJECT")?
224
+ }?
225
+ },
226
+ ]?
227
+ }?
228
+ }?
229
+ },
230
+ ?sampling_percentage: ::Integer,
231
+ ?schedule_frequency: {
232
+ daily_schedule: {
233
+ }?,
234
+ monthly_schedule: {
235
+ day_of_month: ::Integer?
236
+ }?,
237
+ weekly_schedule: {
238
+ day_of_week: ("SUNDAY" | "MONDAY" | "TUESDAY" | "WEDNESDAY" | "THURSDAY" | "FRIDAY" | "SATURDAY")?
239
+ }?
240
+ },
241
+ ?tags: Hash[::String, ::String]
242
+ ) -> _CreateClassificationJobResponseSuccess
243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClassificationJobResponseSuccess
244
+
245
+ interface _CreateCustomDataIdentifierResponseSuccess
246
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomDataIdentifierResponse]
247
+ def custom_data_identifier_id: () -> ::String
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_custom_data_identifier-instance_method
250
+ def create_custom_data_identifier: (
251
+ ?client_token: ::String,
252
+ ?description: ::String,
253
+ ?ignore_words: Array[::String],
254
+ ?keywords: Array[::String],
255
+ ?maximum_match_distance: ::Integer,
256
+ name: ::String,
257
+ regex: ::String,
258
+ ?severity_levels: Array[
259
+ {
260
+ occurrences_threshold: ::Integer,
261
+ severity: ("LOW" | "MEDIUM" | "HIGH")
262
+ },
263
+ ],
264
+ ?tags: Hash[::String, ::String]
265
+ ) -> _CreateCustomDataIdentifierResponseSuccess
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomDataIdentifierResponseSuccess
267
+
268
+ interface _CreateFindingsFilterResponseSuccess
269
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFindingsFilterResponse]
270
+ def arn: () -> ::String
271
+ def id: () -> ::String
272
+ end
273
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_findings_filter-instance_method
274
+ def create_findings_filter: (
275
+ action: ("ARCHIVE" | "NOOP"),
276
+ ?client_token: ::String,
277
+ ?description: ::String,
278
+ finding_criteria: {
279
+ criterion: Hash[::String, {
280
+ eq: Array[::String]?,
281
+ eq_exact_match: Array[::String]?,
282
+ gt: ::Integer?,
283
+ gte: ::Integer?,
284
+ lt: ::Integer?,
285
+ lte: ::Integer?,
286
+ neq: Array[::String]?
287
+ }]?
288
+ },
289
+ name: ::String,
290
+ ?position: ::Integer,
291
+ ?tags: Hash[::String, ::String]
292
+ ) -> _CreateFindingsFilterResponseSuccess
293
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFindingsFilterResponseSuccess
294
+
295
+ interface _CreateInvitationsResponseSuccess
296
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateInvitationsResponse]
297
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
298
+ end
299
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_invitations-instance_method
300
+ def create_invitations: (
301
+ account_ids: Array[::String],
302
+ ?disable_email_notification: bool,
303
+ ?message: ::String
304
+ ) -> _CreateInvitationsResponseSuccess
305
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInvitationsResponseSuccess
306
+
307
+ interface _CreateMemberResponseSuccess
308
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMemberResponse]
309
+ def arn: () -> ::String
310
+ end
311
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_member-instance_method
312
+ def create_member: (
313
+ account: {
314
+ account_id: ::String,
315
+ email: ::String
316
+ },
317
+ ?tags: Hash[::String, ::String]
318
+ ) -> _CreateMemberResponseSuccess
319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMemberResponseSuccess
320
+
321
+ interface _CreateSampleFindingsResponseSuccess
322
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSampleFindingsResponse]
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#create_sample_findings-instance_method
325
+ def create_sample_findings: (
326
+ ?finding_types: Array[("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" | "Policy:IAMUser/S3BucketSharedWithCloudFront")]
327
+ ) -> _CreateSampleFindingsResponseSuccess
328
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSampleFindingsResponseSuccess
329
+
330
+ interface _DeclineInvitationsResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeclineInvitationsResponse]
332
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
333
+ end
334
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#decline_invitations-instance_method
335
+ def decline_invitations: (
336
+ account_ids: Array[::String]
337
+ ) -> _DeclineInvitationsResponseSuccess
338
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeclineInvitationsResponseSuccess
339
+
340
+ interface _DeleteAllowListResponseSuccess
341
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAllowListResponse]
342
+ end
343
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#delete_allow_list-instance_method
344
+ def delete_allow_list: (
345
+ id: ::String,
346
+ ?ignore_job_checks: ::String
347
+ ) -> _DeleteAllowListResponseSuccess
348
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAllowListResponseSuccess
349
+
350
+ interface _DeleteCustomDataIdentifierResponseSuccess
351
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomDataIdentifierResponse]
352
+ end
353
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#delete_custom_data_identifier-instance_method
354
+ def delete_custom_data_identifier: (
355
+ id: ::String
356
+ ) -> _DeleteCustomDataIdentifierResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomDataIdentifierResponseSuccess
358
+
359
+ interface _DeleteFindingsFilterResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFindingsFilterResponse]
361
+ end
362
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#delete_findings_filter-instance_method
363
+ def delete_findings_filter: (
364
+ id: ::String
365
+ ) -> _DeleteFindingsFilterResponseSuccess
366
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFindingsFilterResponseSuccess
367
+
368
+ interface _DeleteInvitationsResponseSuccess
369
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInvitationsResponse]
370
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#delete_invitations-instance_method
373
+ def delete_invitations: (
374
+ account_ids: Array[::String]
375
+ ) -> _DeleteInvitationsResponseSuccess
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInvitationsResponseSuccess
377
+
378
+ interface _DeleteMemberResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMemberResponse]
380
+ end
381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#delete_member-instance_method
382
+ def delete_member: (
383
+ id: ::String
384
+ ) -> _DeleteMemberResponseSuccess
385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMemberResponseSuccess
386
+
387
+ interface _DescribeBucketsResponseSuccess
388
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBucketsResponse]
389
+ def buckets: () -> ::Array[Types::BucketMetadata]
390
+ def next_token: () -> ::String
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#describe_buckets-instance_method
393
+ def describe_buckets: (
394
+ ?criteria: Hash[::String, {
395
+ eq: Array[::String]?,
396
+ gt: ::Integer?,
397
+ gte: ::Integer?,
398
+ lt: ::Integer?,
399
+ lte: ::Integer?,
400
+ neq: Array[::String]?,
401
+ prefix: ::String?
402
+ }],
403
+ ?max_results: ::Integer,
404
+ ?next_token: ::String,
405
+ ?sort_criteria: {
406
+ attribute_name: ::String?,
407
+ order_by: ("ASC" | "DESC")?
408
+ }
409
+ ) -> _DescribeBucketsResponseSuccess
410
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeBucketsResponseSuccess
411
+
412
+ interface _DescribeClassificationJobResponseSuccess
413
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClassificationJobResponse]
414
+ def allow_list_ids: () -> ::Array[::String]
415
+ def client_token: () -> ::String
416
+ def created_at: () -> ::Time
417
+ def custom_data_identifier_ids: () -> ::Array[::String]
418
+ def description: () -> ::String
419
+ def initial_run: () -> bool
420
+ def job_arn: () -> ::String
421
+ def job_id: () -> ::String
422
+ def job_status: () -> ("RUNNING" | "PAUSED" | "CANCELLED" | "COMPLETE" | "IDLE" | "USER_PAUSED")
423
+ def job_type: () -> ("ONE_TIME" | "SCHEDULED")
424
+ def last_run_error_status: () -> Types::LastRunErrorStatus
425
+ def last_run_time: () -> ::Time
426
+ def managed_data_identifier_ids: () -> ::Array[::String]
427
+ def managed_data_identifier_selector: () -> ("ALL" | "EXCLUDE" | "INCLUDE" | "NONE" | "RECOMMENDED")
428
+ def name: () -> ::String
429
+ def s3_job_definition: () -> Types::S3JobDefinition
430
+ def sampling_percentage: () -> ::Integer
431
+ def schedule_frequency: () -> Types::JobScheduleFrequency
432
+ def statistics: () -> Types::Statistics
433
+ def tags: () -> ::Hash[::String, ::String]
434
+ def user_paused_details: () -> Types::UserPausedDetails
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#describe_classification_job-instance_method
437
+ def describe_classification_job: (
438
+ job_id: ::String
439
+ ) -> _DescribeClassificationJobResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClassificationJobResponseSuccess
441
+
442
+ interface _DescribeOrganizationConfigurationResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationConfigurationResponse]
444
+ def auto_enable: () -> bool
445
+ def max_account_limit_reached: () -> bool
446
+ end
447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#describe_organization_configuration-instance_method
448
+ def describe_organization_configuration: (
449
+ ) -> _DescribeOrganizationConfigurationResponseSuccess
450
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationConfigurationResponseSuccess
451
+
452
+ interface _DisableMacieResponseSuccess
453
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableMacieResponse]
454
+ end
455
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#disable_macie-instance_method
456
+ def disable_macie: (
457
+ ) -> _DisableMacieResponseSuccess
458
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableMacieResponseSuccess
459
+
460
+ interface _DisableOrganizationAdminAccountResponseSuccess
461
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableOrganizationAdminAccountResponse]
462
+ end
463
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#disable_organization_admin_account-instance_method
464
+ def disable_organization_admin_account: (
465
+ admin_account_id: ::String
466
+ ) -> _DisableOrganizationAdminAccountResponseSuccess
467
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableOrganizationAdminAccountResponseSuccess
468
+
469
+ interface _DisassociateFromAdministratorAccountResponseSuccess
470
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFromAdministratorAccountResponse]
471
+ end
472
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#disassociate_from_administrator_account-instance_method
473
+ def disassociate_from_administrator_account: (
474
+ ) -> _DisassociateFromAdministratorAccountResponseSuccess
475
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFromAdministratorAccountResponseSuccess
476
+
477
+ interface _DisassociateFromMasterAccountResponseSuccess
478
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFromMasterAccountResponse]
479
+ end
480
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#disassociate_from_master_account-instance_method
481
+ def disassociate_from_master_account: (
482
+ ) -> _DisassociateFromMasterAccountResponseSuccess
483
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFromMasterAccountResponseSuccess
484
+
485
+ interface _DisassociateMemberResponseSuccess
486
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateMemberResponse]
487
+ end
488
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#disassociate_member-instance_method
489
+ def disassociate_member: (
490
+ id: ::String
491
+ ) -> _DisassociateMemberResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateMemberResponseSuccess
493
+
494
+ interface _EnableMacieResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableMacieResponse]
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#enable_macie-instance_method
498
+ def enable_macie: (
499
+ ?client_token: ::String,
500
+ ?finding_publishing_frequency: ("FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"),
501
+ ?status: ("PAUSED" | "ENABLED")
502
+ ) -> _EnableMacieResponseSuccess
503
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableMacieResponseSuccess
504
+
505
+ interface _EnableOrganizationAdminAccountResponseSuccess
506
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableOrganizationAdminAccountResponse]
507
+ end
508
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#enable_organization_admin_account-instance_method
509
+ def enable_organization_admin_account: (
510
+ admin_account_id: ::String,
511
+ ?client_token: ::String
512
+ ) -> _EnableOrganizationAdminAccountResponseSuccess
513
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableOrganizationAdminAccountResponseSuccess
514
+
515
+ interface _GetAdministratorAccountResponseSuccess
516
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAdministratorAccountResponse]
517
+ def administrator: () -> Types::Invitation
518
+ end
519
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_administrator_account-instance_method
520
+ def get_administrator_account: (
521
+ ) -> _GetAdministratorAccountResponseSuccess
522
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdministratorAccountResponseSuccess
523
+
524
+ interface _GetAllowListResponseSuccess
525
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAllowListResponse]
526
+ def arn: () -> ::String
527
+ def created_at: () -> ::Time
528
+ def criteria: () -> Types::AllowListCriteria
529
+ def description: () -> ::String
530
+ def id: () -> ::String
531
+ def name: () -> ::String
532
+ def status: () -> Types::AllowListStatus
533
+ def tags: () -> ::Hash[::String, ::String]
534
+ def updated_at: () -> ::Time
535
+ end
536
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_allow_list-instance_method
537
+ def get_allow_list: (
538
+ id: ::String
539
+ ) -> _GetAllowListResponseSuccess
540
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAllowListResponseSuccess
541
+
542
+ interface _GetAutomatedDiscoveryConfigurationResponseSuccess
543
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAutomatedDiscoveryConfigurationResponse]
544
+ def classification_scope_id: () -> ::String
545
+ def disabled_at: () -> ::Time
546
+ def first_enabled_at: () -> ::Time
547
+ def last_updated_at: () -> ::Time
548
+ def sensitivity_inspection_template_id: () -> ::String
549
+ def status: () -> ("ENABLED" | "DISABLED")
550
+ end
551
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_automated_discovery_configuration-instance_method
552
+ def get_automated_discovery_configuration: (
553
+ ) -> _GetAutomatedDiscoveryConfigurationResponseSuccess
554
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAutomatedDiscoveryConfigurationResponseSuccess
555
+
556
+ interface _GetBucketStatisticsResponseSuccess
557
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketStatisticsResponse]
558
+ def bucket_count: () -> ::Integer
559
+ def bucket_count_by_effective_permission: () -> Types::BucketCountByEffectivePermission
560
+ def bucket_count_by_encryption_type: () -> Types::BucketCountByEncryptionType
561
+ def bucket_count_by_object_encryption_requirement: () -> Types::BucketCountPolicyAllowsUnencryptedObjectUploads
562
+ def bucket_count_by_shared_access_type: () -> Types::BucketCountBySharedAccessType
563
+ def bucket_statistics_by_sensitivity: () -> Types::BucketStatisticsBySensitivity
564
+ def classifiable_object_count: () -> ::Integer
565
+ def classifiable_size_in_bytes: () -> ::Integer
566
+ def last_updated: () -> ::Time
567
+ def object_count: () -> ::Integer
568
+ def size_in_bytes: () -> ::Integer
569
+ def size_in_bytes_compressed: () -> ::Integer
570
+ def unclassifiable_object_count: () -> Types::ObjectLevelStatistics
571
+ def unclassifiable_object_size_in_bytes: () -> Types::ObjectLevelStatistics
572
+ end
573
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_bucket_statistics-instance_method
574
+ def get_bucket_statistics: (
575
+ ?account_id: ::String
576
+ ) -> _GetBucketStatisticsResponseSuccess
577
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketStatisticsResponseSuccess
578
+
579
+ interface _GetClassificationExportConfigurationResponseSuccess
580
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetClassificationExportConfigurationResponse]
581
+ def configuration: () -> Types::ClassificationExportConfiguration
582
+ end
583
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_classification_export_configuration-instance_method
584
+ def get_classification_export_configuration: (
585
+ ) -> _GetClassificationExportConfigurationResponseSuccess
586
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClassificationExportConfigurationResponseSuccess
587
+
588
+ interface _GetClassificationScopeResponseSuccess
589
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetClassificationScopeResponse]
590
+ def id: () -> ::String
591
+ def name: () -> ::String
592
+ def s3: () -> Types::S3ClassificationScope
593
+ end
594
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_classification_scope-instance_method
595
+ def get_classification_scope: (
596
+ id: ::String
597
+ ) -> _GetClassificationScopeResponseSuccess
598
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetClassificationScopeResponseSuccess
599
+
600
+ interface _GetCustomDataIdentifierResponseSuccess
601
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCustomDataIdentifierResponse]
602
+ def arn: () -> ::String
603
+ def created_at: () -> ::Time
604
+ def deleted: () -> bool
605
+ def description: () -> ::String
606
+ def id: () -> ::String
607
+ def ignore_words: () -> ::Array[::String]
608
+ def keywords: () -> ::Array[::String]
609
+ def maximum_match_distance: () -> ::Integer
610
+ def name: () -> ::String
611
+ def regex: () -> ::String
612
+ def severity_levels: () -> ::Array[Types::SeverityLevel]
613
+ def tags: () -> ::Hash[::String, ::String]
614
+ end
615
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_custom_data_identifier-instance_method
616
+ def get_custom_data_identifier: (
617
+ id: ::String
618
+ ) -> _GetCustomDataIdentifierResponseSuccess
619
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCustomDataIdentifierResponseSuccess
620
+
621
+ interface _GetFindingStatisticsResponseSuccess
622
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingStatisticsResponse]
623
+ def counts_by_group: () -> ::Array[Types::GroupCount]
624
+ end
625
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_finding_statistics-instance_method
626
+ def get_finding_statistics: (
627
+ ?finding_criteria: {
628
+ criterion: Hash[::String, {
629
+ eq: Array[::String]?,
630
+ eq_exact_match: Array[::String]?,
631
+ gt: ::Integer?,
632
+ gte: ::Integer?,
633
+ lt: ::Integer?,
634
+ lte: ::Integer?,
635
+ neq: Array[::String]?
636
+ }]?
637
+ },
638
+ group_by: ("resourcesAffected.s3Bucket.name" | "type" | "classificationDetails.jobId" | "severity.description"),
639
+ ?size: ::Integer,
640
+ ?sort_criteria: {
641
+ attribute_name: ("groupKey" | "count")?,
642
+ order_by: ("ASC" | "DESC")?
643
+ }
644
+ ) -> _GetFindingStatisticsResponseSuccess
645
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingStatisticsResponseSuccess
646
+
647
+ interface _GetFindingsResponseSuccess
648
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsResponse]
649
+ def findings: () -> ::Array[Types::Finding]
650
+ end
651
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_findings-instance_method
652
+ def get_findings: (
653
+ finding_ids: Array[::String],
654
+ ?sort_criteria: {
655
+ attribute_name: ::String?,
656
+ order_by: ("ASC" | "DESC")?
657
+ }
658
+ ) -> _GetFindingsResponseSuccess
659
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsResponseSuccess
660
+
661
+ interface _GetFindingsFilterResponseSuccess
662
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsFilterResponse]
663
+ def action: () -> ("ARCHIVE" | "NOOP")
664
+ def arn: () -> ::String
665
+ def description: () -> ::String
666
+ def finding_criteria: () -> Types::FindingCriteria
667
+ def id: () -> ::String
668
+ def name: () -> ::String
669
+ def position: () -> ::Integer
670
+ def tags: () -> ::Hash[::String, ::String]
671
+ end
672
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_findings_filter-instance_method
673
+ def get_findings_filter: (
674
+ id: ::String
675
+ ) -> _GetFindingsFilterResponseSuccess
676
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsFilterResponseSuccess
677
+
678
+ interface _GetFindingsPublicationConfigurationResponseSuccess
679
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsPublicationConfigurationResponse]
680
+ def security_hub_configuration: () -> Types::SecurityHubConfiguration
681
+ end
682
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_findings_publication_configuration-instance_method
683
+ def get_findings_publication_configuration: (
684
+ ) -> _GetFindingsPublicationConfigurationResponseSuccess
685
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsPublicationConfigurationResponseSuccess
686
+
687
+ interface _GetInvitationsCountResponseSuccess
688
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInvitationsCountResponse]
689
+ def invitations_count: () -> ::Integer
690
+ end
691
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_invitations_count-instance_method
692
+ def get_invitations_count: (
693
+ ) -> _GetInvitationsCountResponseSuccess
694
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvitationsCountResponseSuccess
695
+
696
+ interface _GetMacieSessionResponseSuccess
697
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMacieSessionResponse]
698
+ def created_at: () -> ::Time
699
+ def finding_publishing_frequency: () -> ("FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS")
700
+ def service_role: () -> ::String
701
+ def status: () -> ("PAUSED" | "ENABLED")
702
+ def updated_at: () -> ::Time
703
+ end
704
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_macie_session-instance_method
705
+ def get_macie_session: (
706
+ ) -> _GetMacieSessionResponseSuccess
707
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMacieSessionResponseSuccess
708
+
709
+ interface _GetMasterAccountResponseSuccess
710
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMasterAccountResponse]
711
+ def master: () -> Types::Invitation
712
+ end
713
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_master_account-instance_method
714
+ def get_master_account: (
715
+ ) -> _GetMasterAccountResponseSuccess
716
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMasterAccountResponseSuccess
717
+
718
+ interface _GetMemberResponseSuccess
719
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMemberResponse]
720
+ def account_id: () -> ::String
721
+ def administrator_account_id: () -> ::String
722
+ def arn: () -> ::String
723
+ def email: () -> ::String
724
+ def invited_at: () -> ::Time
725
+ def master_account_id: () -> ::String
726
+ def relationship_status: () -> ("Enabled" | "Paused" | "Invited" | "Created" | "Removed" | "Resigned" | "EmailVerificationInProgress" | "EmailVerificationFailed" | "RegionDisabled" | "AccountSuspended")
727
+ def tags: () -> ::Hash[::String, ::String]
728
+ def updated_at: () -> ::Time
729
+ end
730
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_member-instance_method
731
+ def get_member: (
732
+ id: ::String
733
+ ) -> _GetMemberResponseSuccess
734
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemberResponseSuccess
735
+
736
+ interface _GetResourceProfileResponseSuccess
737
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourceProfileResponse]
738
+ def profile_updated_at: () -> ::Time
739
+ def sensitivity_score: () -> ::Integer
740
+ def sensitivity_score_overridden: () -> bool
741
+ def statistics: () -> Types::ResourceStatistics
742
+ end
743
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_resource_profile-instance_method
744
+ def get_resource_profile: (
745
+ resource_arn: ::String
746
+ ) -> _GetResourceProfileResponseSuccess
747
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourceProfileResponseSuccess
748
+
749
+ interface _GetRevealConfigurationResponseSuccess
750
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRevealConfigurationResponse]
751
+ def configuration: () -> Types::RevealConfiguration
752
+ def retrieval_configuration: () -> Types::RetrievalConfiguration
753
+ end
754
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_reveal_configuration-instance_method
755
+ def get_reveal_configuration: (
756
+ ) -> _GetRevealConfigurationResponseSuccess
757
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRevealConfigurationResponseSuccess
758
+
759
+ interface _GetSensitiveDataOccurrencesResponseSuccess
760
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSensitiveDataOccurrencesResponse]
761
+ def sensitive_data_occurrences: () -> ::Hash[::String, ::Array[Types::DetectedDataDetails]]
762
+ def status: () -> ("SUCCESS" | "PROCESSING" | "ERROR")
763
+ end
764
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_sensitive_data_occurrences-instance_method
765
+ def get_sensitive_data_occurrences: (
766
+ finding_id: ::String
767
+ ) -> _GetSensitiveDataOccurrencesResponseSuccess
768
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSensitiveDataOccurrencesResponseSuccess
769
+
770
+ interface _GetSensitiveDataOccurrencesAvailabilityResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSensitiveDataOccurrencesAvailabilityResponse]
772
+ def code: () -> ("AVAILABLE" | "UNAVAILABLE")
773
+ def reasons: () -> ::Array[("OBJECT_EXCEEDS_SIZE_QUOTA" | "UNSUPPORTED_OBJECT_TYPE" | "UNSUPPORTED_FINDING_TYPE" | "INVALID_CLASSIFICATION_RESULT" | "OBJECT_UNAVAILABLE" | "ACCOUNT_NOT_IN_ORGANIZATION" | "MISSING_GET_MEMBER_PERMISSION" | "ROLE_TOO_PERMISSIVE" | "MEMBER_ROLE_TOO_PERMISSIVE" | "INVALID_RESULT_SIGNATURE" | "RESULT_NOT_SIGNED")]
774
+ end
775
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_sensitive_data_occurrences_availability-instance_method
776
+ def get_sensitive_data_occurrences_availability: (
777
+ finding_id: ::String
778
+ ) -> _GetSensitiveDataOccurrencesAvailabilityResponseSuccess
779
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSensitiveDataOccurrencesAvailabilityResponseSuccess
780
+
781
+ interface _GetSensitivityInspectionTemplateResponseSuccess
782
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSensitivityInspectionTemplateResponse]
783
+ def description: () -> ::String
784
+ def excludes: () -> Types::SensitivityInspectionTemplateExcludes
785
+ def includes: () -> Types::SensitivityInspectionTemplateIncludes
786
+ def name: () -> ::String
787
+ def sensitivity_inspection_template_id: () -> ::String
788
+ end
789
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_sensitivity_inspection_template-instance_method
790
+ def get_sensitivity_inspection_template: (
791
+ id: ::String
792
+ ) -> _GetSensitivityInspectionTemplateResponseSuccess
793
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSensitivityInspectionTemplateResponseSuccess
794
+
795
+ interface _GetUsageStatisticsResponseSuccess
796
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageStatisticsResponse]
797
+ def next_token: () -> ::String
798
+ def records: () -> ::Array[Types::UsageRecord]
799
+ def time_range: () -> ("MONTH_TO_DATE" | "PAST_30_DAYS")
800
+ end
801
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_usage_statistics-instance_method
802
+ def get_usage_statistics: (
803
+ ?filter_by: Array[
804
+ {
805
+ comparator: ("GT" | "GTE" | "LT" | "LTE" | "EQ" | "NE" | "CONTAINS")?,
806
+ key: ("accountId" | "serviceLimit" | "freeTrialStartDate" | "total")?,
807
+ values: Array[::String]?
808
+ },
809
+ ],
810
+ ?max_results: ::Integer,
811
+ ?next_token: ::String,
812
+ ?sort_by: {
813
+ key: ("accountId" | "total" | "serviceLimitValue" | "freeTrialStartDate")?,
814
+ order_by: ("ASC" | "DESC")?
815
+ },
816
+ ?time_range: ("MONTH_TO_DATE" | "PAST_30_DAYS")
817
+ ) -> _GetUsageStatisticsResponseSuccess
818
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageStatisticsResponseSuccess
819
+
820
+ interface _GetUsageTotalsResponseSuccess
821
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageTotalsResponse]
822
+ def time_range: () -> ("MONTH_TO_DATE" | "PAST_30_DAYS")
823
+ def usage_totals: () -> ::Array[Types::UsageTotal]
824
+ end
825
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#get_usage_totals-instance_method
826
+ def get_usage_totals: (
827
+ ?time_range: ::String
828
+ ) -> _GetUsageTotalsResponseSuccess
829
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageTotalsResponseSuccess
830
+
831
+ interface _ListAllowListsResponseSuccess
832
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAllowListsResponse]
833
+ def allow_lists: () -> ::Array[Types::AllowListSummary]
834
+ def next_token: () -> ::String
835
+ end
836
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_allow_lists-instance_method
837
+ def list_allow_lists: (
838
+ ?max_results: ::Integer,
839
+ ?next_token: ::String
840
+ ) -> _ListAllowListsResponseSuccess
841
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAllowListsResponseSuccess
842
+
843
+ interface _ListClassificationJobsResponseSuccess
844
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClassificationJobsResponse]
845
+ def items: () -> ::Array[Types::JobSummary]
846
+ def next_token: () -> ::String
847
+ end
848
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_classification_jobs-instance_method
849
+ def list_classification_jobs: (
850
+ ?filter_criteria: {
851
+ excludes: Array[
852
+ {
853
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
854
+ key: ("jobType" | "jobStatus" | "createdAt" | "name")?,
855
+ values: Array[::String]?
856
+ },
857
+ ]?,
858
+ includes: Array[
859
+ {
860
+ comparator: ("EQ" | "GT" | "GTE" | "LT" | "LTE" | "NE" | "CONTAINS" | "STARTS_WITH")?,
861
+ key: ("jobType" | "jobStatus" | "createdAt" | "name")?,
862
+ values: Array[::String]?
863
+ },
864
+ ]?
865
+ },
866
+ ?max_results: ::Integer,
867
+ ?next_token: ::String,
868
+ ?sort_criteria: {
869
+ attribute_name: ("createdAt" | "jobStatus" | "name" | "jobType")?,
870
+ order_by: ("ASC" | "DESC")?
871
+ }
872
+ ) -> _ListClassificationJobsResponseSuccess
873
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClassificationJobsResponseSuccess
874
+
875
+ interface _ListClassificationScopesResponseSuccess
876
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClassificationScopesResponse]
877
+ def classification_scopes: () -> ::Array[Types::ClassificationScopeSummary]
878
+ def next_token: () -> ::String
879
+ end
880
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_classification_scopes-instance_method
881
+ def list_classification_scopes: (
882
+ ?name: ::String,
883
+ ?next_token: ::String
884
+ ) -> _ListClassificationScopesResponseSuccess
885
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClassificationScopesResponseSuccess
886
+
887
+ interface _ListCustomDataIdentifiersResponseSuccess
888
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCustomDataIdentifiersResponse]
889
+ def items: () -> ::Array[Types::CustomDataIdentifierSummary]
890
+ def next_token: () -> ::String
891
+ end
892
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_custom_data_identifiers-instance_method
893
+ def list_custom_data_identifiers: (
894
+ ?max_results: ::Integer,
895
+ ?next_token: ::String
896
+ ) -> _ListCustomDataIdentifiersResponseSuccess
897
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCustomDataIdentifiersResponseSuccess
898
+
899
+ interface _ListFindingsResponseSuccess
900
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsResponse]
901
+ def finding_ids: () -> ::Array[::String]
902
+ def next_token: () -> ::String
903
+ end
904
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_findings-instance_method
905
+ def list_findings: (
906
+ ?finding_criteria: {
907
+ criterion: Hash[::String, {
908
+ eq: Array[::String]?,
909
+ eq_exact_match: Array[::String]?,
910
+ gt: ::Integer?,
911
+ gte: ::Integer?,
912
+ lt: ::Integer?,
913
+ lte: ::Integer?,
914
+ neq: Array[::String]?
915
+ }]?
916
+ },
917
+ ?max_results: ::Integer,
918
+ ?next_token: ::String,
919
+ ?sort_criteria: {
920
+ attribute_name: ::String?,
921
+ order_by: ("ASC" | "DESC")?
922
+ }
923
+ ) -> _ListFindingsResponseSuccess
924
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsResponseSuccess
925
+
926
+ interface _ListFindingsFiltersResponseSuccess
927
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsFiltersResponse]
928
+ def findings_filter_list_items: () -> ::Array[Types::FindingsFilterListItem]
929
+ def next_token: () -> ::String
930
+ end
931
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_findings_filters-instance_method
932
+ def list_findings_filters: (
933
+ ?max_results: ::Integer,
934
+ ?next_token: ::String
935
+ ) -> _ListFindingsFiltersResponseSuccess
936
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsFiltersResponseSuccess
937
+
938
+ interface _ListInvitationsResponseSuccess
939
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInvitationsResponse]
940
+ def invitations: () -> ::Array[Types::Invitation]
941
+ def next_token: () -> ::String
942
+ end
943
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_invitations-instance_method
944
+ def list_invitations: (
945
+ ?max_results: ::Integer,
946
+ ?next_token: ::String
947
+ ) -> _ListInvitationsResponseSuccess
948
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvitationsResponseSuccess
949
+
950
+ interface _ListManagedDataIdentifiersResponseSuccess
951
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListManagedDataIdentifiersResponse]
952
+ def items: () -> ::Array[Types::ManagedDataIdentifierSummary]
953
+ def next_token: () -> ::String
954
+ end
955
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_managed_data_identifiers-instance_method
956
+ def list_managed_data_identifiers: (
957
+ ?next_token: ::String
958
+ ) -> _ListManagedDataIdentifiersResponseSuccess
959
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListManagedDataIdentifiersResponseSuccess
960
+
961
+ interface _ListMembersResponseSuccess
962
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMembersResponse]
963
+ def members: () -> ::Array[Types::Member]
964
+ def next_token: () -> ::String
965
+ end
966
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_members-instance_method
967
+ def list_members: (
968
+ ?max_results: ::Integer,
969
+ ?next_token: ::String,
970
+ ?only_associated: ::String
971
+ ) -> _ListMembersResponseSuccess
972
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembersResponseSuccess
973
+
974
+ interface _ListOrganizationAdminAccountsResponseSuccess
975
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationAdminAccountsResponse]
976
+ def admin_accounts: () -> ::Array[Types::AdminAccount]
977
+ def next_token: () -> ::String
978
+ end
979
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_organization_admin_accounts-instance_method
980
+ def list_organization_admin_accounts: (
981
+ ?max_results: ::Integer,
982
+ ?next_token: ::String
983
+ ) -> _ListOrganizationAdminAccountsResponseSuccess
984
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationAdminAccountsResponseSuccess
985
+
986
+ interface _ListResourceProfileArtifactsResponseSuccess
987
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceProfileArtifactsResponse]
988
+ def artifacts: () -> ::Array[Types::ResourceProfileArtifact]
989
+ def next_token: () -> ::String
990
+ end
991
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_resource_profile_artifacts-instance_method
992
+ def list_resource_profile_artifacts: (
993
+ ?next_token: ::String,
994
+ resource_arn: ::String
995
+ ) -> _ListResourceProfileArtifactsResponseSuccess
996
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceProfileArtifactsResponseSuccess
997
+
998
+ interface _ListResourceProfileDetectionsResponseSuccess
999
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListResourceProfileDetectionsResponse]
1000
+ def detections: () -> ::Array[Types::Detection]
1001
+ def next_token: () -> ::String
1002
+ end
1003
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_resource_profile_detections-instance_method
1004
+ def list_resource_profile_detections: (
1005
+ ?max_results: ::Integer,
1006
+ ?next_token: ::String,
1007
+ resource_arn: ::String
1008
+ ) -> _ListResourceProfileDetectionsResponseSuccess
1009
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListResourceProfileDetectionsResponseSuccess
1010
+
1011
+ interface _ListSensitivityInspectionTemplatesResponseSuccess
1012
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSensitivityInspectionTemplatesResponse]
1013
+ def next_token: () -> ::String
1014
+ def sensitivity_inspection_templates: () -> ::Array[Types::SensitivityInspectionTemplatesEntry]
1015
+ end
1016
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_sensitivity_inspection_templates-instance_method
1017
+ def list_sensitivity_inspection_templates: (
1018
+ ?max_results: ::Integer,
1019
+ ?next_token: ::String
1020
+ ) -> _ListSensitivityInspectionTemplatesResponseSuccess
1021
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSensitivityInspectionTemplatesResponseSuccess
1022
+
1023
+ interface _ListTagsForResourceResponseSuccess
1024
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
1025
+ def tags: () -> ::Hash[::String, ::String]
1026
+ end
1027
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#list_tags_for_resource-instance_method
1028
+ def list_tags_for_resource: (
1029
+ resource_arn: ::String
1030
+ ) -> _ListTagsForResourceResponseSuccess
1031
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
1032
+
1033
+ interface _PutClassificationExportConfigurationResponseSuccess
1034
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutClassificationExportConfigurationResponse]
1035
+ def configuration: () -> Types::ClassificationExportConfiguration
1036
+ end
1037
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#put_classification_export_configuration-instance_method
1038
+ def put_classification_export_configuration: (
1039
+ configuration: {
1040
+ s3_destination: {
1041
+ bucket_name: ::String,
1042
+ key_prefix: ::String?,
1043
+ kms_key_arn: ::String
1044
+ }?
1045
+ }
1046
+ ) -> _PutClassificationExportConfigurationResponseSuccess
1047
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutClassificationExportConfigurationResponseSuccess
1048
+
1049
+ interface _PutFindingsPublicationConfigurationResponseSuccess
1050
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutFindingsPublicationConfigurationResponse]
1051
+ end
1052
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#put_findings_publication_configuration-instance_method
1053
+ def put_findings_publication_configuration: (
1054
+ ?client_token: ::String,
1055
+ ?security_hub_configuration: {
1056
+ publish_classification_findings: bool,
1057
+ publish_policy_findings: bool
1058
+ }
1059
+ ) -> _PutFindingsPublicationConfigurationResponseSuccess
1060
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutFindingsPublicationConfigurationResponseSuccess
1061
+
1062
+ interface _SearchResourcesResponseSuccess
1063
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchResourcesResponse]
1064
+ def matching_resources: () -> ::Array[Types::MatchingResource]
1065
+ def next_token: () -> ::String
1066
+ end
1067
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#search_resources-instance_method
1068
+ def search_resources: (
1069
+ ?bucket_criteria: {
1070
+ excludes: {
1071
+ and: Array[
1072
+ {
1073
+ simple_criterion: {
1074
+ comparator: ("EQ" | "NE")?,
1075
+ key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
1076
+ values: Array[::String]?
1077
+ }?,
1078
+ tag_criterion: {
1079
+ comparator: ("EQ" | "NE")?,
1080
+ tag_values: Array[
1081
+ {
1082
+ key: ::String?,
1083
+ value: ::String?
1084
+ },
1085
+ ]?
1086
+ }?
1087
+ },
1088
+ ]?
1089
+ }?,
1090
+ includes: {
1091
+ and: Array[
1092
+ {
1093
+ simple_criterion: {
1094
+ comparator: ("EQ" | "NE")?,
1095
+ key: ("ACCOUNT_ID" | "S3_BUCKET_NAME" | "S3_BUCKET_EFFECTIVE_PERMISSION" | "S3_BUCKET_SHARED_ACCESS")?,
1096
+ values: Array[::String]?
1097
+ }?,
1098
+ tag_criterion: {
1099
+ comparator: ("EQ" | "NE")?,
1100
+ tag_values: Array[
1101
+ {
1102
+ key: ::String?,
1103
+ value: ::String?
1104
+ },
1105
+ ]?
1106
+ }?
1107
+ },
1108
+ ]?
1109
+ }?
1110
+ },
1111
+ ?max_results: ::Integer,
1112
+ ?next_token: ::String,
1113
+ ?sort_criteria: {
1114
+ attribute_name: ("ACCOUNT_ID" | "RESOURCE_NAME" | "S3_CLASSIFIABLE_OBJECT_COUNT" | "S3_CLASSIFIABLE_SIZE_IN_BYTES")?,
1115
+ order_by: ("ASC" | "DESC")?
1116
+ }
1117
+ ) -> _SearchResourcesResponseSuccess
1118
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchResourcesResponseSuccess
1119
+
1120
+ interface _TagResourceResponseSuccess
1121
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
1122
+ end
1123
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#tag_resource-instance_method
1124
+ def tag_resource: (
1125
+ resource_arn: ::String,
1126
+ tags: Hash[::String, ::String]
1127
+ ) -> _TagResourceResponseSuccess
1128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1129
+
1130
+ interface _TestCustomDataIdentifierResponseSuccess
1131
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestCustomDataIdentifierResponse]
1132
+ def match_count: () -> ::Integer
1133
+ end
1134
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#test_custom_data_identifier-instance_method
1135
+ def test_custom_data_identifier: (
1136
+ ?ignore_words: Array[::String],
1137
+ ?keywords: Array[::String],
1138
+ ?maximum_match_distance: ::Integer,
1139
+ regex: ::String,
1140
+ sample_text: ::String
1141
+ ) -> _TestCustomDataIdentifierResponseSuccess
1142
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestCustomDataIdentifierResponseSuccess
1143
+
1144
+ interface _UntagResourceResponseSuccess
1145
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
1146
+ end
1147
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#untag_resource-instance_method
1148
+ def untag_resource: (
1149
+ resource_arn: ::String,
1150
+ tag_keys: Array[::String]
1151
+ ) -> _UntagResourceResponseSuccess
1152
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1153
+
1154
+ interface _UpdateAllowListResponseSuccess
1155
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAllowListResponse]
1156
+ def arn: () -> ::String
1157
+ def id: () -> ::String
1158
+ end
1159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_allow_list-instance_method
1160
+ def update_allow_list: (
1161
+ criteria: {
1162
+ regex: ::String?,
1163
+ s3_words_list: {
1164
+ bucket_name: ::String,
1165
+ object_key: ::String
1166
+ }?
1167
+ },
1168
+ ?description: ::String,
1169
+ id: ::String,
1170
+ name: ::String
1171
+ ) -> _UpdateAllowListResponseSuccess
1172
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAllowListResponseSuccess
1173
+
1174
+ interface _UpdateAutomatedDiscoveryConfigurationResponseSuccess
1175
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAutomatedDiscoveryConfigurationResponse]
1176
+ end
1177
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_automated_discovery_configuration-instance_method
1178
+ def update_automated_discovery_configuration: (
1179
+ status: ("ENABLED" | "DISABLED")
1180
+ ) -> _UpdateAutomatedDiscoveryConfigurationResponseSuccess
1181
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAutomatedDiscoveryConfigurationResponseSuccess
1182
+
1183
+ interface _UpdateClassificationJobResponseSuccess
1184
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClassificationJobResponse]
1185
+ end
1186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_classification_job-instance_method
1187
+ def update_classification_job: (
1188
+ job_id: ::String,
1189
+ job_status: ("RUNNING" | "PAUSED" | "CANCELLED" | "COMPLETE" | "IDLE" | "USER_PAUSED")
1190
+ ) -> _UpdateClassificationJobResponseSuccess
1191
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClassificationJobResponseSuccess
1192
+
1193
+ interface _UpdateClassificationScopeResponseSuccess
1194
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClassificationScopeResponse]
1195
+ end
1196
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_classification_scope-instance_method
1197
+ def update_classification_scope: (
1198
+ id: ::String,
1199
+ ?s3: {
1200
+ excludes: {
1201
+ bucket_names: Array[::String],
1202
+ operation: ("ADD" | "REPLACE" | "REMOVE")
1203
+ }
1204
+ }
1205
+ ) -> _UpdateClassificationScopeResponseSuccess
1206
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClassificationScopeResponseSuccess
1207
+
1208
+ interface _UpdateFindingsFilterResponseSuccess
1209
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFindingsFilterResponse]
1210
+ def arn: () -> ::String
1211
+ def id: () -> ::String
1212
+ end
1213
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_findings_filter-instance_method
1214
+ def update_findings_filter: (
1215
+ ?action: ("ARCHIVE" | "NOOP"),
1216
+ ?client_token: ::String,
1217
+ ?description: ::String,
1218
+ ?finding_criteria: {
1219
+ criterion: Hash[::String, {
1220
+ eq: Array[::String]?,
1221
+ eq_exact_match: Array[::String]?,
1222
+ gt: ::Integer?,
1223
+ gte: ::Integer?,
1224
+ lt: ::Integer?,
1225
+ lte: ::Integer?,
1226
+ neq: Array[::String]?
1227
+ }]?
1228
+ },
1229
+ id: ::String,
1230
+ ?name: ::String,
1231
+ ?position: ::Integer
1232
+ ) -> _UpdateFindingsFilterResponseSuccess
1233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFindingsFilterResponseSuccess
1234
+
1235
+ interface _UpdateMacieSessionResponseSuccess
1236
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMacieSessionResponse]
1237
+ end
1238
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_macie_session-instance_method
1239
+ def update_macie_session: (
1240
+ ?finding_publishing_frequency: ("FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"),
1241
+ ?status: ("PAUSED" | "ENABLED")
1242
+ ) -> _UpdateMacieSessionResponseSuccess
1243
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMacieSessionResponseSuccess
1244
+
1245
+ interface _UpdateMemberSessionResponseSuccess
1246
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMemberSessionResponse]
1247
+ end
1248
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_member_session-instance_method
1249
+ def update_member_session: (
1250
+ id: ::String,
1251
+ status: ("PAUSED" | "ENABLED")
1252
+ ) -> _UpdateMemberSessionResponseSuccess
1253
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMemberSessionResponseSuccess
1254
+
1255
+ interface _UpdateOrganizationConfigurationResponseSuccess
1256
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOrganizationConfigurationResponse]
1257
+ end
1258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_organization_configuration-instance_method
1259
+ def update_organization_configuration: (
1260
+ auto_enable: bool
1261
+ ) -> _UpdateOrganizationConfigurationResponseSuccess
1262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOrganizationConfigurationResponseSuccess
1263
+
1264
+ interface _UpdateResourceProfileResponseSuccess
1265
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceProfileResponse]
1266
+ end
1267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_resource_profile-instance_method
1268
+ def update_resource_profile: (
1269
+ resource_arn: ::String,
1270
+ ?sensitivity_score_override: ::Integer
1271
+ ) -> _UpdateResourceProfileResponseSuccess
1272
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceProfileResponseSuccess
1273
+
1274
+ interface _UpdateResourceProfileDetectionsResponseSuccess
1275
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateResourceProfileDetectionsResponse]
1276
+ end
1277
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_resource_profile_detections-instance_method
1278
+ def update_resource_profile_detections: (
1279
+ resource_arn: ::String,
1280
+ ?suppress_data_identifiers: Array[
1281
+ {
1282
+ id: ::String?,
1283
+ type: ("CUSTOM" | "MANAGED")?
1284
+ },
1285
+ ]
1286
+ ) -> _UpdateResourceProfileDetectionsResponseSuccess
1287
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateResourceProfileDetectionsResponseSuccess
1288
+
1289
+ interface _UpdateRevealConfigurationResponseSuccess
1290
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRevealConfigurationResponse]
1291
+ def configuration: () -> Types::RevealConfiguration
1292
+ def retrieval_configuration: () -> Types::RetrievalConfiguration
1293
+ end
1294
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_reveal_configuration-instance_method
1295
+ def update_reveal_configuration: (
1296
+ configuration: {
1297
+ kms_key_id: ::String?,
1298
+ status: ("ENABLED" | "DISABLED")
1299
+ },
1300
+ ?retrieval_configuration: {
1301
+ retrieval_mode: ("CALLER_CREDENTIALS" | "ASSUME_ROLE"),
1302
+ role_name: ::String?
1303
+ }
1304
+ ) -> _UpdateRevealConfigurationResponseSuccess
1305
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRevealConfigurationResponseSuccess
1306
+
1307
+ interface _UpdateSensitivityInspectionTemplateResponseSuccess
1308
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSensitivityInspectionTemplateResponse]
1309
+ end
1310
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#update_sensitivity_inspection_template-instance_method
1311
+ def update_sensitivity_inspection_template: (
1312
+ ?description: ::String,
1313
+ ?excludes: {
1314
+ managed_data_identifier_ids: Array[::String]?
1315
+ },
1316
+ id: ::String,
1317
+ ?includes: {
1318
+ allow_list_ids: Array[::String]?,
1319
+ custom_data_identifier_ids: Array[::String]?,
1320
+ managed_data_identifier_ids: Array[::String]?
1321
+ }
1322
+ ) -> _UpdateSensitivityInspectionTemplateResponseSuccess
1323
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSensitivityInspectionTemplateResponseSuccess
1324
+
1325
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Macie2/Client.html#wait_until-instance_method
1326
+ def wait_until: (:finding_revealed waiter_name,
1327
+ finding_id: ::String
1328
+ ) -> Client::_GetSensitiveDataOccurrencesResponseSuccess
1329
+ | (:finding_revealed waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_GetSensitiveDataOccurrencesResponseSuccess
1330
+ end
1331
+ end
1332
+ end
1333
+