aws-sdk-guardduty 1.86.0 → 1.87.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs ADDED
@@ -0,0 +1,1150 @@
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 GuardDuty
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/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 _AcceptAdministratorInvitationResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcceptAdministratorInvitationResponse]
77
+ end
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#accept_administrator_invitation-instance_method
79
+ def accept_administrator_invitation: (
80
+ detector_id: ::String,
81
+ administrator_id: ::String,
82
+ invitation_id: ::String
83
+ ) -> _AcceptAdministratorInvitationResponseSuccess
84
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptAdministratorInvitationResponseSuccess
85
+
86
+ interface _AcceptInvitationResponseSuccess
87
+ include ::Seahorse::Client::_ResponseSuccess[Types::AcceptInvitationResponse]
88
+ end
89
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#accept_invitation-instance_method
90
+ def accept_invitation: (
91
+ detector_id: ::String,
92
+ master_id: ::String,
93
+ invitation_id: ::String
94
+ ) -> _AcceptInvitationResponseSuccess
95
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AcceptInvitationResponseSuccess
96
+
97
+ interface _ArchiveFindingsResponseSuccess
98
+ include ::Seahorse::Client::_ResponseSuccess[Types::ArchiveFindingsResponse]
99
+ end
100
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#archive_findings-instance_method
101
+ def archive_findings: (
102
+ detector_id: ::String,
103
+ finding_ids: Array[::String]
104
+ ) -> _ArchiveFindingsResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ArchiveFindingsResponseSuccess
106
+
107
+ interface _CreateDetectorResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDetectorResponse]
109
+ def detector_id: () -> ::String
110
+ def unprocessed_data_sources: () -> Types::UnprocessedDataSourcesResult
111
+ end
112
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_detector-instance_method
113
+ def create_detector: (
114
+ enable: bool,
115
+ ?client_token: ::String,
116
+ ?finding_publishing_frequency: ("FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"),
117
+ ?data_sources: {
118
+ s3_logs: {
119
+ enable: bool
120
+ }?,
121
+ kubernetes: {
122
+ audit_logs: {
123
+ enable: bool
124
+ }
125
+ }?,
126
+ malware_protection: {
127
+ scan_ec2_instance_with_findings: {
128
+ ebs_volumes: bool?
129
+ }?
130
+ }?
131
+ },
132
+ ?tags: Hash[::String, ::String],
133
+ ?features: Array[
134
+ {
135
+ name: ("S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING")?,
136
+ status: ("ENABLED" | "DISABLED")?,
137
+ additional_configuration: Array[
138
+ {
139
+ name: ("EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT")?,
140
+ status: ("ENABLED" | "DISABLED")?
141
+ },
142
+ ]?
143
+ },
144
+ ]
145
+ ) -> _CreateDetectorResponseSuccess
146
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDetectorResponseSuccess
147
+
148
+ interface _CreateFilterResponseSuccess
149
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateFilterResponse]
150
+ def name: () -> ::String
151
+ end
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_filter-instance_method
153
+ def create_filter: (
154
+ detector_id: ::String,
155
+ name: ::String,
156
+ ?description: ::String,
157
+ ?action: ("NOOP" | "ARCHIVE"),
158
+ ?rank: ::Integer,
159
+ finding_criteria: {
160
+ criterion: Hash[::String, {
161
+ eq: Array[::String]?,
162
+ neq: Array[::String]?,
163
+ gt: ::Integer?,
164
+ gte: ::Integer?,
165
+ lt: ::Integer?,
166
+ lte: ::Integer?,
167
+ equals: Array[::String]?,
168
+ not_equals: Array[::String]?,
169
+ greater_than: ::Integer?,
170
+ greater_than_or_equal: ::Integer?,
171
+ less_than: ::Integer?,
172
+ less_than_or_equal: ::Integer?
173
+ }]?
174
+ },
175
+ ?client_token: ::String,
176
+ ?tags: Hash[::String, ::String]
177
+ ) -> _CreateFilterResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFilterResponseSuccess
179
+
180
+ interface _CreateIPSetResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIPSetResponse]
182
+ def ip_set_id: () -> ::String
183
+ end
184
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_ip_set-instance_method
185
+ def create_ip_set: (
186
+ detector_id: ::String,
187
+ name: ::String,
188
+ format: ("TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE"),
189
+ location: ::String,
190
+ activate: bool,
191
+ ?client_token: ::String,
192
+ ?tags: Hash[::String, ::String]
193
+ ) -> _CreateIPSetResponseSuccess
194
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIPSetResponseSuccess
195
+
196
+ interface _CreateMembersResponseSuccess
197
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMembersResponse]
198
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
199
+ end
200
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_members-instance_method
201
+ def create_members: (
202
+ detector_id: ::String,
203
+ account_details: Array[
204
+ {
205
+ account_id: ::String,
206
+ email: ::String
207
+ },
208
+ ]
209
+ ) -> _CreateMembersResponseSuccess
210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMembersResponseSuccess
211
+
212
+ interface _CreatePublishingDestinationResponseSuccess
213
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePublishingDestinationResponse]
214
+ def destination_id: () -> ::String
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_publishing_destination-instance_method
217
+ def create_publishing_destination: (
218
+ detector_id: ::String,
219
+ destination_type: ("S3"),
220
+ destination_properties: {
221
+ destination_arn: ::String?,
222
+ kms_key_arn: ::String?
223
+ },
224
+ ?client_token: ::String
225
+ ) -> _CreatePublishingDestinationResponseSuccess
226
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePublishingDestinationResponseSuccess
227
+
228
+ interface _CreateSampleFindingsResponseSuccess
229
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSampleFindingsResponse]
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_sample_findings-instance_method
232
+ def create_sample_findings: (
233
+ detector_id: ::String,
234
+ ?finding_types: Array[::String]
235
+ ) -> _CreateSampleFindingsResponseSuccess
236
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSampleFindingsResponseSuccess
237
+
238
+ interface _CreateThreatIntelSetResponseSuccess
239
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateThreatIntelSetResponse]
240
+ def threat_intel_set_id: () -> ::String
241
+ end
242
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#create_threat_intel_set-instance_method
243
+ def create_threat_intel_set: (
244
+ detector_id: ::String,
245
+ name: ::String,
246
+ format: ("TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE"),
247
+ location: ::String,
248
+ activate: bool,
249
+ ?client_token: ::String,
250
+ ?tags: Hash[::String, ::String]
251
+ ) -> _CreateThreatIntelSetResponseSuccess
252
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateThreatIntelSetResponseSuccess
253
+
254
+ interface _DeclineInvitationsResponseSuccess
255
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeclineInvitationsResponse]
256
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
257
+ end
258
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#decline_invitations-instance_method
259
+ def decline_invitations: (
260
+ account_ids: Array[::String]
261
+ ) -> _DeclineInvitationsResponseSuccess
262
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeclineInvitationsResponseSuccess
263
+
264
+ interface _DeleteDetectorResponseSuccess
265
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDetectorResponse]
266
+ end
267
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_detector-instance_method
268
+ def delete_detector: (
269
+ detector_id: ::String
270
+ ) -> _DeleteDetectorResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDetectorResponseSuccess
272
+
273
+ interface _DeleteFilterResponseSuccess
274
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFilterResponse]
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_filter-instance_method
277
+ def delete_filter: (
278
+ detector_id: ::String,
279
+ filter_name: ::String
280
+ ) -> _DeleteFilterResponseSuccess
281
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFilterResponseSuccess
282
+
283
+ interface _DeleteIPSetResponseSuccess
284
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIPSetResponse]
285
+ end
286
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_ip_set-instance_method
287
+ def delete_ip_set: (
288
+ detector_id: ::String,
289
+ ip_set_id: ::String
290
+ ) -> _DeleteIPSetResponseSuccess
291
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIPSetResponseSuccess
292
+
293
+ interface _DeleteInvitationsResponseSuccess
294
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteInvitationsResponse]
295
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
296
+ end
297
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_invitations-instance_method
298
+ def delete_invitations: (
299
+ account_ids: Array[::String]
300
+ ) -> _DeleteInvitationsResponseSuccess
301
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInvitationsResponseSuccess
302
+
303
+ interface _DeleteMembersResponseSuccess
304
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMembersResponse]
305
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
306
+ end
307
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_members-instance_method
308
+ def delete_members: (
309
+ detector_id: ::String,
310
+ account_ids: Array[::String]
311
+ ) -> _DeleteMembersResponseSuccess
312
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMembersResponseSuccess
313
+
314
+ interface _DeletePublishingDestinationResponseSuccess
315
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePublishingDestinationResponse]
316
+ end
317
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_publishing_destination-instance_method
318
+ def delete_publishing_destination: (
319
+ detector_id: ::String,
320
+ destination_id: ::String
321
+ ) -> _DeletePublishingDestinationResponseSuccess
322
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePublishingDestinationResponseSuccess
323
+
324
+ interface _DeleteThreatIntelSetResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteThreatIntelSetResponse]
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#delete_threat_intel_set-instance_method
328
+ def delete_threat_intel_set: (
329
+ detector_id: ::String,
330
+ threat_intel_set_id: ::String
331
+ ) -> _DeleteThreatIntelSetResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteThreatIntelSetResponseSuccess
333
+
334
+ interface _DescribeMalwareScansResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeMalwareScansResponse]
336
+ def scans: () -> ::Array[Types::Scan]
337
+ def next_token: () -> ::String
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#describe_malware_scans-instance_method
340
+ def describe_malware_scans: (
341
+ detector_id: ::String,
342
+ ?next_token: ::String,
343
+ ?max_results: ::Integer,
344
+ ?filter_criteria: {
345
+ filter_criterion: Array[
346
+ {
347
+ criterion_key: ("EC2_INSTANCE_ARN" | "SCAN_ID" | "ACCOUNT_ID" | "GUARDDUTY_FINDING_ID" | "SCAN_START_TIME" | "SCAN_STATUS" | "SCAN_TYPE")?,
348
+ filter_condition: {
349
+ equals_value: ::String?,
350
+ greater_than: ::Integer?,
351
+ less_than: ::Integer?
352
+ }?
353
+ },
354
+ ]?
355
+ },
356
+ ?sort_criteria: {
357
+ attribute_name: ::String?,
358
+ order_by: ("ASC" | "DESC")?
359
+ }
360
+ ) -> _DescribeMalwareScansResponseSuccess
361
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeMalwareScansResponseSuccess
362
+
363
+ interface _DescribeOrganizationConfigurationResponseSuccess
364
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeOrganizationConfigurationResponse]
365
+ def auto_enable: () -> bool
366
+ def member_account_limit_reached: () -> bool
367
+ def data_sources: () -> Types::OrganizationDataSourceConfigurationsResult
368
+ def features: () -> ::Array[Types::OrganizationFeatureConfigurationResult]
369
+ def next_token: () -> ::String
370
+ def auto_enable_organization_members: () -> ("NEW" | "ALL" | "NONE")
371
+ end
372
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#describe_organization_configuration-instance_method
373
+ def describe_organization_configuration: (
374
+ detector_id: ::String,
375
+ ?max_results: ::Integer,
376
+ ?next_token: ::String
377
+ ) -> _DescribeOrganizationConfigurationResponseSuccess
378
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeOrganizationConfigurationResponseSuccess
379
+
380
+ interface _DescribePublishingDestinationResponseSuccess
381
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribePublishingDestinationResponse]
382
+ def destination_id: () -> ::String
383
+ def destination_type: () -> ("S3")
384
+ def status: () -> ("PENDING_VERIFICATION" | "PUBLISHING" | "UNABLE_TO_PUBLISH_FIX_DESTINATION_PROPERTY" | "STOPPED")
385
+ def publishing_failure_start_timestamp: () -> ::Integer
386
+ def destination_properties: () -> Types::DestinationProperties
387
+ end
388
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#describe_publishing_destination-instance_method
389
+ def describe_publishing_destination: (
390
+ detector_id: ::String,
391
+ destination_id: ::String
392
+ ) -> _DescribePublishingDestinationResponseSuccess
393
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePublishingDestinationResponseSuccess
394
+
395
+ interface _DisableOrganizationAdminAccountResponseSuccess
396
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableOrganizationAdminAccountResponse]
397
+ end
398
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#disable_organization_admin_account-instance_method
399
+ def disable_organization_admin_account: (
400
+ admin_account_id: ::String
401
+ ) -> _DisableOrganizationAdminAccountResponseSuccess
402
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableOrganizationAdminAccountResponseSuccess
403
+
404
+ interface _DisassociateFromAdministratorAccountResponseSuccess
405
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFromAdministratorAccountResponse]
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#disassociate_from_administrator_account-instance_method
408
+ def disassociate_from_administrator_account: (
409
+ detector_id: ::String
410
+ ) -> _DisassociateFromAdministratorAccountResponseSuccess
411
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFromAdministratorAccountResponseSuccess
412
+
413
+ interface _DisassociateFromMasterAccountResponseSuccess
414
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateFromMasterAccountResponse]
415
+ end
416
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#disassociate_from_master_account-instance_method
417
+ def disassociate_from_master_account: (
418
+ detector_id: ::String
419
+ ) -> _DisassociateFromMasterAccountResponseSuccess
420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateFromMasterAccountResponseSuccess
421
+
422
+ interface _DisassociateMembersResponseSuccess
423
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateMembersResponse]
424
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#disassociate_members-instance_method
427
+ def disassociate_members: (
428
+ detector_id: ::String,
429
+ account_ids: Array[::String]
430
+ ) -> _DisassociateMembersResponseSuccess
431
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateMembersResponseSuccess
432
+
433
+ interface _EnableOrganizationAdminAccountResponseSuccess
434
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableOrganizationAdminAccountResponse]
435
+ end
436
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#enable_organization_admin_account-instance_method
437
+ def enable_organization_admin_account: (
438
+ admin_account_id: ::String
439
+ ) -> _EnableOrganizationAdminAccountResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableOrganizationAdminAccountResponseSuccess
441
+
442
+ interface _GetAdministratorAccountResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAdministratorAccountResponse]
444
+ def administrator: () -> Types::Administrator
445
+ end
446
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_administrator_account-instance_method
447
+ def get_administrator_account: (
448
+ detector_id: ::String
449
+ ) -> _GetAdministratorAccountResponseSuccess
450
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAdministratorAccountResponseSuccess
451
+
452
+ interface _GetCoverageStatisticsResponseSuccess
453
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetCoverageStatisticsResponse]
454
+ def coverage_statistics: () -> Types::CoverageStatistics
455
+ end
456
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_coverage_statistics-instance_method
457
+ def get_coverage_statistics: (
458
+ detector_id: ::String,
459
+ ?filter_criteria: {
460
+ filter_criterion: Array[
461
+ {
462
+ criterion_key: ("ACCOUNT_ID" | "CLUSTER_NAME" | "RESOURCE_TYPE" | "COVERAGE_STATUS" | "ADDON_VERSION" | "MANAGEMENT_TYPE" | "EKS_CLUSTER_NAME" | "ECS_CLUSTER_NAME" | "AGENT_VERSION" | "INSTANCE_ID" | "CLUSTER_ARN")?,
463
+ filter_condition: {
464
+ equals: Array[::String]?,
465
+ not_equals: Array[::String]?
466
+ }?
467
+ },
468
+ ]?
469
+ },
470
+ statistics_type: Array[("COUNT_BY_RESOURCE_TYPE" | "COUNT_BY_COVERAGE_STATUS")]
471
+ ) -> _GetCoverageStatisticsResponseSuccess
472
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetCoverageStatisticsResponseSuccess
473
+
474
+ interface _GetDetectorResponseSuccess
475
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDetectorResponse]
476
+ def created_at: () -> ::String
477
+ def finding_publishing_frequency: () -> ("FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS")
478
+ def service_role: () -> ::String
479
+ def status: () -> ("ENABLED" | "DISABLED")
480
+ def updated_at: () -> ::String
481
+ def data_sources: () -> Types::DataSourceConfigurationsResult
482
+ def tags: () -> ::Hash[::String, ::String]
483
+ def features: () -> ::Array[Types::DetectorFeatureConfigurationResult]
484
+ end
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_detector-instance_method
486
+ def get_detector: (
487
+ detector_id: ::String
488
+ ) -> _GetDetectorResponseSuccess
489
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDetectorResponseSuccess
490
+
491
+ interface _GetFilterResponseSuccess
492
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFilterResponse]
493
+ def name: () -> ::String
494
+ def description: () -> ::String
495
+ def action: () -> ("NOOP" | "ARCHIVE")
496
+ def rank: () -> ::Integer
497
+ def finding_criteria: () -> Types::FindingCriteria
498
+ def tags: () -> ::Hash[::String, ::String]
499
+ end
500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_filter-instance_method
501
+ def get_filter: (
502
+ detector_id: ::String,
503
+ filter_name: ::String
504
+ ) -> _GetFilterResponseSuccess
505
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFilterResponseSuccess
506
+
507
+ interface _GetFindingsResponseSuccess
508
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsResponse]
509
+ def findings: () -> ::Array[Types::Finding]
510
+ end
511
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_findings-instance_method
512
+ def get_findings: (
513
+ detector_id: ::String,
514
+ finding_ids: Array[::String],
515
+ ?sort_criteria: {
516
+ attribute_name: ::String?,
517
+ order_by: ("ASC" | "DESC")?
518
+ }
519
+ ) -> _GetFindingsResponseSuccess
520
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsResponseSuccess
521
+
522
+ interface _GetFindingsStatisticsResponseSuccess
523
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsStatisticsResponse]
524
+ def finding_statistics: () -> Types::FindingStatistics
525
+ end
526
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_findings_statistics-instance_method
527
+ def get_findings_statistics: (
528
+ detector_id: ::String,
529
+ finding_statistic_types: Array[("COUNT_BY_SEVERITY")],
530
+ ?finding_criteria: {
531
+ criterion: Hash[::String, {
532
+ eq: Array[::String]?,
533
+ neq: Array[::String]?,
534
+ gt: ::Integer?,
535
+ gte: ::Integer?,
536
+ lt: ::Integer?,
537
+ lte: ::Integer?,
538
+ equals: Array[::String]?,
539
+ not_equals: Array[::String]?,
540
+ greater_than: ::Integer?,
541
+ greater_than_or_equal: ::Integer?,
542
+ less_than: ::Integer?,
543
+ less_than_or_equal: ::Integer?
544
+ }]?
545
+ }
546
+ ) -> _GetFindingsStatisticsResponseSuccess
547
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsStatisticsResponseSuccess
548
+
549
+ interface _GetIPSetResponseSuccess
550
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIPSetResponse]
551
+ def name: () -> ::String
552
+ def format: () -> ("TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE")
553
+ def location: () -> ::String
554
+ def status: () -> ("INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED")
555
+ def tags: () -> ::Hash[::String, ::String]
556
+ end
557
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_ip_set-instance_method
558
+ def get_ip_set: (
559
+ detector_id: ::String,
560
+ ip_set_id: ::String
561
+ ) -> _GetIPSetResponseSuccess
562
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIPSetResponseSuccess
563
+
564
+ interface _GetInvitationsCountResponseSuccess
565
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetInvitationsCountResponse]
566
+ def invitations_count: () -> ::Integer
567
+ end
568
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_invitations_count-instance_method
569
+ def get_invitations_count: (
570
+ ) -> _GetInvitationsCountResponseSuccess
571
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInvitationsCountResponseSuccess
572
+
573
+ interface _GetMalwareScanSettingsResponseSuccess
574
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMalwareScanSettingsResponse]
575
+ def scan_resource_criteria: () -> Types::ScanResourceCriteria
576
+ def ebs_snapshot_preservation: () -> ("NO_RETENTION" | "RETENTION_WITH_FINDING")
577
+ end
578
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_malware_scan_settings-instance_method
579
+ def get_malware_scan_settings: (
580
+ detector_id: ::String
581
+ ) -> _GetMalwareScanSettingsResponseSuccess
582
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMalwareScanSettingsResponseSuccess
583
+
584
+ interface _GetMasterAccountResponseSuccess
585
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMasterAccountResponse]
586
+ def master: () -> Types::Master
587
+ end
588
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_master_account-instance_method
589
+ def get_master_account: (
590
+ detector_id: ::String
591
+ ) -> _GetMasterAccountResponseSuccess
592
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMasterAccountResponseSuccess
593
+
594
+ interface _GetMemberDetectorsResponseSuccess
595
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMemberDetectorsResponse]
596
+ def member_data_source_configurations: () -> ::Array[Types::MemberDataSourceConfiguration]
597
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
598
+ end
599
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_member_detectors-instance_method
600
+ def get_member_detectors: (
601
+ detector_id: ::String,
602
+ account_ids: Array[::String]
603
+ ) -> _GetMemberDetectorsResponseSuccess
604
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMemberDetectorsResponseSuccess
605
+
606
+ interface _GetMembersResponseSuccess
607
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMembersResponse]
608
+ def members: () -> ::Array[Types::Member]
609
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
610
+ end
611
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_members-instance_method
612
+ def get_members: (
613
+ detector_id: ::String,
614
+ account_ids: Array[::String]
615
+ ) -> _GetMembersResponseSuccess
616
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMembersResponseSuccess
617
+
618
+ interface _GetOrganizationStatisticsResponseSuccess
619
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOrganizationStatisticsResponse]
620
+ def organization_details: () -> Types::OrganizationDetails
621
+ end
622
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_organization_statistics-instance_method
623
+ def get_organization_statistics: () -> _GetOrganizationStatisticsResponseSuccess
624
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOrganizationStatisticsResponseSuccess
625
+
626
+ interface _GetRemainingFreeTrialDaysResponseSuccess
627
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRemainingFreeTrialDaysResponse]
628
+ def accounts: () -> ::Array[Types::AccountFreeTrialInfo]
629
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
630
+ end
631
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_remaining_free_trial_days-instance_method
632
+ def get_remaining_free_trial_days: (
633
+ detector_id: ::String,
634
+ ?account_ids: Array[::String]
635
+ ) -> _GetRemainingFreeTrialDaysResponseSuccess
636
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRemainingFreeTrialDaysResponseSuccess
637
+
638
+ interface _GetThreatIntelSetResponseSuccess
639
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetThreatIntelSetResponse]
640
+ def name: () -> ::String
641
+ def format: () -> ("TXT" | "STIX" | "OTX_CSV" | "ALIEN_VAULT" | "PROOF_POINT" | "FIRE_EYE")
642
+ def location: () -> ::String
643
+ def status: () -> ("INACTIVE" | "ACTIVATING" | "ACTIVE" | "DEACTIVATING" | "ERROR" | "DELETE_PENDING" | "DELETED")
644
+ def tags: () -> ::Hash[::String, ::String]
645
+ end
646
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_threat_intel_set-instance_method
647
+ def get_threat_intel_set: (
648
+ detector_id: ::String,
649
+ threat_intel_set_id: ::String
650
+ ) -> _GetThreatIntelSetResponseSuccess
651
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetThreatIntelSetResponseSuccess
652
+
653
+ interface _GetUsageStatisticsResponseSuccess
654
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUsageStatisticsResponse]
655
+ def usage_statistics: () -> Types::UsageStatistics
656
+ def next_token: () -> ::String
657
+ end
658
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_usage_statistics-instance_method
659
+ def get_usage_statistics: (
660
+ detector_id: ::String,
661
+ usage_statistic_type: ("SUM_BY_ACCOUNT" | "SUM_BY_DATA_SOURCE" | "SUM_BY_RESOURCE" | "TOP_RESOURCES" | "SUM_BY_FEATURES" | "TOP_ACCOUNTS_BY_FEATURE"),
662
+ usage_criteria: {
663
+ account_ids: Array[::String]?,
664
+ data_sources: Array[("FLOW_LOGS" | "CLOUD_TRAIL" | "DNS_LOGS" | "S3_LOGS" | "KUBERNETES_AUDIT_LOGS" | "EC2_MALWARE_SCAN")]?,
665
+ resources: Array[::String]?,
666
+ features: Array[("FLOW_LOGS" | "CLOUD_TRAIL" | "DNS_LOGS" | "S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "LAMBDA_NETWORK_LOGS" | "EKS_RUNTIME_MONITORING" | "FARGATE_RUNTIME_MONITORING" | "EC2_RUNTIME_MONITORING")]?
667
+ },
668
+ ?unit: ::String,
669
+ ?max_results: ::Integer,
670
+ ?next_token: ::String
671
+ ) -> _GetUsageStatisticsResponseSuccess
672
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUsageStatisticsResponseSuccess
673
+
674
+ interface _InviteMembersResponseSuccess
675
+ include ::Seahorse::Client::_ResponseSuccess[Types::InviteMembersResponse]
676
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
677
+ end
678
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#invite_members-instance_method
679
+ def invite_members: (
680
+ detector_id: ::String,
681
+ account_ids: Array[::String],
682
+ ?disable_email_notification: bool,
683
+ ?message: ::String
684
+ ) -> _InviteMembersResponseSuccess
685
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InviteMembersResponseSuccess
686
+
687
+ interface _ListCoverageResponseSuccess
688
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCoverageResponse]
689
+ def resources: () -> ::Array[Types::CoverageResource]
690
+ def next_token: () -> ::String
691
+ end
692
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_coverage-instance_method
693
+ def list_coverage: (
694
+ detector_id: ::String,
695
+ ?next_token: ::String,
696
+ ?max_results: ::Integer,
697
+ ?filter_criteria: {
698
+ filter_criterion: Array[
699
+ {
700
+ criterion_key: ("ACCOUNT_ID" | "CLUSTER_NAME" | "RESOURCE_TYPE" | "COVERAGE_STATUS" | "ADDON_VERSION" | "MANAGEMENT_TYPE" | "EKS_CLUSTER_NAME" | "ECS_CLUSTER_NAME" | "AGENT_VERSION" | "INSTANCE_ID" | "CLUSTER_ARN")?,
701
+ filter_condition: {
702
+ equals: Array[::String]?,
703
+ not_equals: Array[::String]?
704
+ }?
705
+ },
706
+ ]?
707
+ },
708
+ ?sort_criteria: {
709
+ attribute_name: ("ACCOUNT_ID" | "CLUSTER_NAME" | "COVERAGE_STATUS" | "ISSUE" | "ADDON_VERSION" | "UPDATED_AT" | "EKS_CLUSTER_NAME" | "ECS_CLUSTER_NAME" | "INSTANCE_ID")?,
710
+ order_by: ("ASC" | "DESC")?
711
+ }
712
+ ) -> _ListCoverageResponseSuccess
713
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCoverageResponseSuccess
714
+
715
+ interface _ListDetectorsResponseSuccess
716
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDetectorsResponse]
717
+ def detector_ids: () -> ::Array[::String]
718
+ def next_token: () -> ::String
719
+ end
720
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_detectors-instance_method
721
+ def list_detectors: (
722
+ ?max_results: ::Integer,
723
+ ?next_token: ::String
724
+ ) -> _ListDetectorsResponseSuccess
725
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDetectorsResponseSuccess
726
+
727
+ interface _ListFiltersResponseSuccess
728
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFiltersResponse]
729
+ def filter_names: () -> ::Array[::String]
730
+ def next_token: () -> ::String
731
+ end
732
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_filters-instance_method
733
+ def list_filters: (
734
+ detector_id: ::String,
735
+ ?max_results: ::Integer,
736
+ ?next_token: ::String
737
+ ) -> _ListFiltersResponseSuccess
738
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFiltersResponseSuccess
739
+
740
+ interface _ListFindingsResponseSuccess
741
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsResponse]
742
+ def finding_ids: () -> ::Array[::String]
743
+ def next_token: () -> ::String
744
+ end
745
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_findings-instance_method
746
+ def list_findings: (
747
+ detector_id: ::String,
748
+ ?finding_criteria: {
749
+ criterion: Hash[::String, {
750
+ eq: Array[::String]?,
751
+ neq: Array[::String]?,
752
+ gt: ::Integer?,
753
+ gte: ::Integer?,
754
+ lt: ::Integer?,
755
+ lte: ::Integer?,
756
+ equals: Array[::String]?,
757
+ not_equals: Array[::String]?,
758
+ greater_than: ::Integer?,
759
+ greater_than_or_equal: ::Integer?,
760
+ less_than: ::Integer?,
761
+ less_than_or_equal: ::Integer?
762
+ }]?
763
+ },
764
+ ?sort_criteria: {
765
+ attribute_name: ::String?,
766
+ order_by: ("ASC" | "DESC")?
767
+ },
768
+ ?max_results: ::Integer,
769
+ ?next_token: ::String
770
+ ) -> _ListFindingsResponseSuccess
771
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsResponseSuccess
772
+
773
+ interface _ListIPSetsResponseSuccess
774
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIPSetsResponse]
775
+ def ip_set_ids: () -> ::Array[::String]
776
+ def next_token: () -> ::String
777
+ end
778
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_ip_sets-instance_method
779
+ def list_ip_sets: (
780
+ detector_id: ::String,
781
+ ?max_results: ::Integer,
782
+ ?next_token: ::String
783
+ ) -> _ListIPSetsResponseSuccess
784
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIPSetsResponseSuccess
785
+
786
+ interface _ListInvitationsResponseSuccess
787
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListInvitationsResponse]
788
+ def invitations: () -> ::Array[Types::Invitation]
789
+ def next_token: () -> ::String
790
+ end
791
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_invitations-instance_method
792
+ def list_invitations: (
793
+ ?max_results: ::Integer,
794
+ ?next_token: ::String
795
+ ) -> _ListInvitationsResponseSuccess
796
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInvitationsResponseSuccess
797
+
798
+ interface _ListMembersResponseSuccess
799
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMembersResponse]
800
+ def members: () -> ::Array[Types::Member]
801
+ def next_token: () -> ::String
802
+ end
803
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_members-instance_method
804
+ def list_members: (
805
+ detector_id: ::String,
806
+ ?max_results: ::Integer,
807
+ ?next_token: ::String,
808
+ ?only_associated: ::String
809
+ ) -> _ListMembersResponseSuccess
810
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembersResponseSuccess
811
+
812
+ interface _ListOrganizationAdminAccountsResponseSuccess
813
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListOrganizationAdminAccountsResponse]
814
+ def admin_accounts: () -> ::Array[Types::AdminAccount]
815
+ def next_token: () -> ::String
816
+ end
817
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_organization_admin_accounts-instance_method
818
+ def list_organization_admin_accounts: (
819
+ ?max_results: ::Integer,
820
+ ?next_token: ::String
821
+ ) -> _ListOrganizationAdminAccountsResponseSuccess
822
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListOrganizationAdminAccountsResponseSuccess
823
+
824
+ interface _ListPublishingDestinationsResponseSuccess
825
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPublishingDestinationsResponse]
826
+ def destinations: () -> ::Array[Types::Destination]
827
+ def next_token: () -> ::String
828
+ end
829
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_publishing_destinations-instance_method
830
+ def list_publishing_destinations: (
831
+ detector_id: ::String,
832
+ ?max_results: ::Integer,
833
+ ?next_token: ::String
834
+ ) -> _ListPublishingDestinationsResponseSuccess
835
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPublishingDestinationsResponseSuccess
836
+
837
+ interface _ListTagsForResourceResponseSuccess
838
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
839
+ def tags: () -> ::Hash[::String, ::String]
840
+ end
841
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_tags_for_resource-instance_method
842
+ def list_tags_for_resource: (
843
+ resource_arn: ::String
844
+ ) -> _ListTagsForResourceResponseSuccess
845
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
846
+
847
+ interface _ListThreatIntelSetsResponseSuccess
848
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListThreatIntelSetsResponse]
849
+ def threat_intel_set_ids: () -> ::Array[::String]
850
+ def next_token: () -> ::String
851
+ end
852
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#list_threat_intel_sets-instance_method
853
+ def list_threat_intel_sets: (
854
+ detector_id: ::String,
855
+ ?max_results: ::Integer,
856
+ ?next_token: ::String
857
+ ) -> _ListThreatIntelSetsResponseSuccess
858
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatIntelSetsResponseSuccess
859
+
860
+ interface _StartMalwareScanResponseSuccess
861
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartMalwareScanResponse]
862
+ def scan_id: () -> ::String
863
+ end
864
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#start_malware_scan-instance_method
865
+ def start_malware_scan: (
866
+ resource_arn: ::String
867
+ ) -> _StartMalwareScanResponseSuccess
868
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMalwareScanResponseSuccess
869
+
870
+ interface _StartMonitoringMembersResponseSuccess
871
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartMonitoringMembersResponse]
872
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
873
+ end
874
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#start_monitoring_members-instance_method
875
+ def start_monitoring_members: (
876
+ detector_id: ::String,
877
+ account_ids: Array[::String]
878
+ ) -> _StartMonitoringMembersResponseSuccess
879
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMonitoringMembersResponseSuccess
880
+
881
+ interface _StopMonitoringMembersResponseSuccess
882
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopMonitoringMembersResponse]
883
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
884
+ end
885
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#stop_monitoring_members-instance_method
886
+ def stop_monitoring_members: (
887
+ detector_id: ::String,
888
+ account_ids: Array[::String]
889
+ ) -> _StopMonitoringMembersResponseSuccess
890
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopMonitoringMembersResponseSuccess
891
+
892
+ interface _TagResourceResponseSuccess
893
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
894
+ end
895
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#tag_resource-instance_method
896
+ def tag_resource: (
897
+ resource_arn: ::String,
898
+ tags: Hash[::String, ::String]
899
+ ) -> _TagResourceResponseSuccess
900
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
901
+
902
+ interface _UnarchiveFindingsResponseSuccess
903
+ include ::Seahorse::Client::_ResponseSuccess[Types::UnarchiveFindingsResponse]
904
+ end
905
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#unarchive_findings-instance_method
906
+ def unarchive_findings: (
907
+ detector_id: ::String,
908
+ finding_ids: Array[::String]
909
+ ) -> _UnarchiveFindingsResponseSuccess
910
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UnarchiveFindingsResponseSuccess
911
+
912
+ interface _UntagResourceResponseSuccess
913
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
914
+ end
915
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#untag_resource-instance_method
916
+ def untag_resource: (
917
+ resource_arn: ::String,
918
+ tag_keys: Array[::String]
919
+ ) -> _UntagResourceResponseSuccess
920
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
921
+
922
+ interface _UpdateDetectorResponseSuccess
923
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDetectorResponse]
924
+ end
925
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_detector-instance_method
926
+ def update_detector: (
927
+ detector_id: ::String,
928
+ ?enable: bool,
929
+ ?finding_publishing_frequency: ("FIFTEEN_MINUTES" | "ONE_HOUR" | "SIX_HOURS"),
930
+ ?data_sources: {
931
+ s3_logs: {
932
+ enable: bool
933
+ }?,
934
+ kubernetes: {
935
+ audit_logs: {
936
+ enable: bool
937
+ }
938
+ }?,
939
+ malware_protection: {
940
+ scan_ec2_instance_with_findings: {
941
+ ebs_volumes: bool?
942
+ }?
943
+ }?
944
+ },
945
+ ?features: Array[
946
+ {
947
+ name: ("S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING")?,
948
+ status: ("ENABLED" | "DISABLED")?,
949
+ additional_configuration: Array[
950
+ {
951
+ name: ("EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT")?,
952
+ status: ("ENABLED" | "DISABLED")?
953
+ },
954
+ ]?
955
+ },
956
+ ]
957
+ ) -> _UpdateDetectorResponseSuccess
958
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDetectorResponseSuccess
959
+
960
+ interface _UpdateFilterResponseSuccess
961
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFilterResponse]
962
+ def name: () -> ::String
963
+ end
964
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_filter-instance_method
965
+ def update_filter: (
966
+ detector_id: ::String,
967
+ filter_name: ::String,
968
+ ?description: ::String,
969
+ ?action: ("NOOP" | "ARCHIVE"),
970
+ ?rank: ::Integer,
971
+ ?finding_criteria: {
972
+ criterion: Hash[::String, {
973
+ eq: Array[::String]?,
974
+ neq: Array[::String]?,
975
+ gt: ::Integer?,
976
+ gte: ::Integer?,
977
+ lt: ::Integer?,
978
+ lte: ::Integer?,
979
+ equals: Array[::String]?,
980
+ not_equals: Array[::String]?,
981
+ greater_than: ::Integer?,
982
+ greater_than_or_equal: ::Integer?,
983
+ less_than: ::Integer?,
984
+ less_than_or_equal: ::Integer?
985
+ }]?
986
+ }
987
+ ) -> _UpdateFilterResponseSuccess
988
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFilterResponseSuccess
989
+
990
+ interface _UpdateFindingsFeedbackResponseSuccess
991
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFindingsFeedbackResponse]
992
+ end
993
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_findings_feedback-instance_method
994
+ def update_findings_feedback: (
995
+ detector_id: ::String,
996
+ finding_ids: Array[::String],
997
+ feedback: ("USEFUL" | "NOT_USEFUL"),
998
+ ?comments: ::String
999
+ ) -> _UpdateFindingsFeedbackResponseSuccess
1000
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFindingsFeedbackResponseSuccess
1001
+
1002
+ interface _UpdateIPSetResponseSuccess
1003
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIPSetResponse]
1004
+ end
1005
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_ip_set-instance_method
1006
+ def update_ip_set: (
1007
+ detector_id: ::String,
1008
+ ip_set_id: ::String,
1009
+ ?name: ::String,
1010
+ ?location: ::String,
1011
+ ?activate: bool
1012
+ ) -> _UpdateIPSetResponseSuccess
1013
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIPSetResponseSuccess
1014
+
1015
+ interface _UpdateMalwareScanSettingsResponseSuccess
1016
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMalwareScanSettingsResponse]
1017
+ end
1018
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_malware_scan_settings-instance_method
1019
+ def update_malware_scan_settings: (
1020
+ detector_id: ::String,
1021
+ ?scan_resource_criteria: {
1022
+ include: Hash[("EC2_INSTANCE_TAG"), {
1023
+ map_equals: Array[
1024
+ {
1025
+ key: ::String,
1026
+ value: ::String?
1027
+ },
1028
+ ]
1029
+ }]?,
1030
+ exclude: Hash[("EC2_INSTANCE_TAG"), {
1031
+ map_equals: Array[
1032
+ {
1033
+ key: ::String,
1034
+ value: ::String?
1035
+ },
1036
+ ]
1037
+ }]?
1038
+ },
1039
+ ?ebs_snapshot_preservation: ("NO_RETENTION" | "RETENTION_WITH_FINDING")
1040
+ ) -> _UpdateMalwareScanSettingsResponseSuccess
1041
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMalwareScanSettingsResponseSuccess
1042
+
1043
+ interface _UpdateMemberDetectorsResponseSuccess
1044
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMemberDetectorsResponse]
1045
+ def unprocessed_accounts: () -> ::Array[Types::UnprocessedAccount]
1046
+ end
1047
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_member_detectors-instance_method
1048
+ def update_member_detectors: (
1049
+ detector_id: ::String,
1050
+ account_ids: Array[::String],
1051
+ ?data_sources: {
1052
+ s3_logs: {
1053
+ enable: bool
1054
+ }?,
1055
+ kubernetes: {
1056
+ audit_logs: {
1057
+ enable: bool
1058
+ }
1059
+ }?,
1060
+ malware_protection: {
1061
+ scan_ec2_instance_with_findings: {
1062
+ ebs_volumes: bool?
1063
+ }?
1064
+ }?
1065
+ },
1066
+ ?features: Array[
1067
+ {
1068
+ name: ("S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING")?,
1069
+ status: ("ENABLED" | "DISABLED")?,
1070
+ additional_configuration: Array[
1071
+ {
1072
+ name: ("EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT")?,
1073
+ status: ("ENABLED" | "DISABLED")?
1074
+ },
1075
+ ]?
1076
+ },
1077
+ ]
1078
+ ) -> _UpdateMemberDetectorsResponseSuccess
1079
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMemberDetectorsResponseSuccess
1080
+
1081
+ interface _UpdateOrganizationConfigurationResponseSuccess
1082
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateOrganizationConfigurationResponse]
1083
+ end
1084
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_organization_configuration-instance_method
1085
+ def update_organization_configuration: (
1086
+ detector_id: ::String,
1087
+ ?auto_enable: bool,
1088
+ ?data_sources: {
1089
+ s3_logs: {
1090
+ auto_enable: bool
1091
+ }?,
1092
+ kubernetes: {
1093
+ audit_logs: {
1094
+ auto_enable: bool
1095
+ }
1096
+ }?,
1097
+ malware_protection: {
1098
+ scan_ec2_instance_with_findings: {
1099
+ ebs_volumes: {
1100
+ auto_enable: bool?
1101
+ }?
1102
+ }?
1103
+ }?
1104
+ },
1105
+ ?features: Array[
1106
+ {
1107
+ name: ("S3_DATA_EVENTS" | "EKS_AUDIT_LOGS" | "EBS_MALWARE_PROTECTION" | "RDS_LOGIN_EVENTS" | "EKS_RUNTIME_MONITORING" | "LAMBDA_NETWORK_LOGS" | "RUNTIME_MONITORING")?,
1108
+ auto_enable: ("NEW" | "NONE" | "ALL")?,
1109
+ additional_configuration: Array[
1110
+ {
1111
+ name: ("EKS_ADDON_MANAGEMENT" | "ECS_FARGATE_AGENT_MANAGEMENT")?,
1112
+ auto_enable: ("NEW" | "NONE" | "ALL")?
1113
+ },
1114
+ ]?
1115
+ },
1116
+ ],
1117
+ ?auto_enable_organization_members: ("NEW" | "ALL" | "NONE")
1118
+ ) -> _UpdateOrganizationConfigurationResponseSuccess
1119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateOrganizationConfigurationResponseSuccess
1120
+
1121
+ interface _UpdatePublishingDestinationResponseSuccess
1122
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePublishingDestinationResponse]
1123
+ end
1124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_publishing_destination-instance_method
1125
+ def update_publishing_destination: (
1126
+ detector_id: ::String,
1127
+ destination_id: ::String,
1128
+ ?destination_properties: {
1129
+ destination_arn: ::String?,
1130
+ kms_key_arn: ::String?
1131
+ }
1132
+ ) -> _UpdatePublishingDestinationResponseSuccess
1133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePublishingDestinationResponseSuccess
1134
+
1135
+ interface _UpdateThreatIntelSetResponseSuccess
1136
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateThreatIntelSetResponse]
1137
+ end
1138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#update_threat_intel_set-instance_method
1139
+ def update_threat_intel_set: (
1140
+ detector_id: ::String,
1141
+ threat_intel_set_id: ::String,
1142
+ ?name: ::String,
1143
+ ?location: ::String,
1144
+ ?activate: bool
1145
+ ) -> _UpdateThreatIntelSetResponseSuccess
1146
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThreatIntelSetResponseSuccess
1147
+ end
1148
+ end
1149
+ end
1150
+