aws-sdk-securitylake 1.13.0 → 1.15.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,596 @@
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 SecurityLake
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/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 _CreateAwsLogSourceResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAwsLogSourceResponse]
77
+ def failed: () -> ::Array[::String]
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_aws_log_source-instance_method
80
+ def create_aws_log_source: (
81
+ sources: Array[
82
+ {
83
+ accounts: Array[::String]?,
84
+ regions: Array[::String],
85
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA"),
86
+ source_version: ::String?
87
+ },
88
+ ]
89
+ ) -> _CreateAwsLogSourceResponseSuccess
90
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAwsLogSourceResponseSuccess
91
+
92
+ interface _CreateCustomLogSourceResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCustomLogSourceResponse]
94
+ def source: () -> Types::CustomLogSourceResource
95
+ end
96
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_custom_log_source-instance_method
97
+ def create_custom_log_source: (
98
+ ?configuration: {
99
+ crawler_configuration: {
100
+ role_arn: ::String
101
+ },
102
+ provider_identity: {
103
+ external_id: ::String,
104
+ principal: ::String
105
+ }
106
+ },
107
+ ?event_classes: Array[::String],
108
+ source_name: ::String,
109
+ ?source_version: ::String
110
+ ) -> _CreateCustomLogSourceResponseSuccess
111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCustomLogSourceResponseSuccess
112
+
113
+ interface _CreateDataLakeResponseSuccess
114
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataLakeResponse]
115
+ def data_lakes: () -> ::Array[Types::DataLakeResource]
116
+ end
117
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_data_lake-instance_method
118
+ def create_data_lake: (
119
+ configurations: Array[
120
+ {
121
+ encryption_configuration: {
122
+ kms_key_id: ::String?
123
+ }?,
124
+ lifecycle_configuration: {
125
+ expiration: {
126
+ days: ::Integer?
127
+ }?,
128
+ transitions: Array[
129
+ {
130
+ days: ::Integer?,
131
+ storage_class: ::String?
132
+ },
133
+ ]?
134
+ }?,
135
+ region: ::String,
136
+ replication_configuration: {
137
+ regions: Array[::String]?,
138
+ role_arn: ::String?
139
+ }?
140
+ },
141
+ ],
142
+ meta_store_manager_role_arn: ::String,
143
+ ?tags: Array[
144
+ {
145
+ key: ::String,
146
+ value: ::String
147
+ },
148
+ ]
149
+ ) -> _CreateDataLakeResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataLakeResponseSuccess
151
+
152
+ interface _CreateDataLakeExceptionSubscriptionResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataLakeExceptionSubscriptionResponse]
154
+ end
155
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_data_lake_exception_subscription-instance_method
156
+ def create_data_lake_exception_subscription: (
157
+ ?exception_time_to_live: ::Integer,
158
+ notification_endpoint: ::String,
159
+ subscription_protocol: ::String
160
+ ) -> _CreateDataLakeExceptionSubscriptionResponseSuccess
161
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataLakeExceptionSubscriptionResponseSuccess
162
+
163
+ interface _CreateDataLakeOrganizationConfigurationResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataLakeOrganizationConfigurationResponse]
165
+ end
166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_data_lake_organization_configuration-instance_method
167
+ def create_data_lake_organization_configuration: (
168
+ auto_enable_new_account: Array[
169
+ {
170
+ region: ::String,
171
+ sources: Array[
172
+ {
173
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA")?,
174
+ source_version: ::String?
175
+ },
176
+ ]
177
+ },
178
+ ]
179
+ ) -> _CreateDataLakeOrganizationConfigurationResponseSuccess
180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataLakeOrganizationConfigurationResponseSuccess
181
+
182
+ interface _CreateSubscriberResponseSuccess
183
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriberResponse]
184
+ def subscriber: () -> Types::SubscriberResource
185
+ end
186
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_subscriber-instance_method
187
+ def create_subscriber: (
188
+ ?access_types: Array[("LAKEFORMATION" | "S3")],
189
+ sources: Array[
190
+ {
191
+ aws_log_source: {
192
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA")?,
193
+ source_version: ::String?
194
+ }?,
195
+ custom_log_source: {
196
+ attributes: {
197
+ crawler_arn: ::String?,
198
+ database_arn: ::String?,
199
+ table_arn: ::String?
200
+ }?,
201
+ provider: {
202
+ location: ::String?,
203
+ role_arn: ::String?
204
+ }?,
205
+ source_name: ::String?,
206
+ source_version: ::String?
207
+ }?
208
+ },
209
+ ],
210
+ ?subscriber_description: ::String,
211
+ subscriber_identity: {
212
+ external_id: ::String,
213
+ principal: ::String
214
+ },
215
+ subscriber_name: ::String,
216
+ ?tags: Array[
217
+ {
218
+ key: ::String,
219
+ value: ::String
220
+ },
221
+ ]
222
+ ) -> _CreateSubscriberResponseSuccess
223
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubscriberResponseSuccess
224
+
225
+ interface _CreateSubscriberNotificationResponseSuccess
226
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSubscriberNotificationResponse]
227
+ def subscriber_endpoint: () -> ::String
228
+ end
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#create_subscriber_notification-instance_method
230
+ def create_subscriber_notification: (
231
+ configuration: {
232
+ https_notification_configuration: {
233
+ authorization_api_key_name: ::String?,
234
+ authorization_api_key_value: ::String?,
235
+ endpoint: ::String,
236
+ http_method: ("POST" | "PUT")?,
237
+ target_role_arn: ::String
238
+ }?,
239
+ sqs_notification_configuration: {
240
+ }?
241
+ },
242
+ subscriber_id: ::String
243
+ ) -> _CreateSubscriberNotificationResponseSuccess
244
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSubscriberNotificationResponseSuccess
245
+
246
+ interface _DeleteAwsLogSourceResponseSuccess
247
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAwsLogSourceResponse]
248
+ def failed: () -> ::Array[::String]
249
+ end
250
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_aws_log_source-instance_method
251
+ def delete_aws_log_source: (
252
+ sources: Array[
253
+ {
254
+ accounts: Array[::String]?,
255
+ regions: Array[::String],
256
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA"),
257
+ source_version: ::String?
258
+ },
259
+ ]
260
+ ) -> _DeleteAwsLogSourceResponseSuccess
261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAwsLogSourceResponseSuccess
262
+
263
+ interface _DeleteCustomLogSourceResponseSuccess
264
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCustomLogSourceResponse]
265
+ end
266
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_custom_log_source-instance_method
267
+ def delete_custom_log_source: (
268
+ source_name: ::String,
269
+ ?source_version: ::String
270
+ ) -> _DeleteCustomLogSourceResponseSuccess
271
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCustomLogSourceResponseSuccess
272
+
273
+ interface _DeleteDataLakeResponseSuccess
274
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataLakeResponse]
275
+ end
276
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_data_lake-instance_method
277
+ def delete_data_lake: (
278
+ regions: Array[::String]
279
+ ) -> _DeleteDataLakeResponseSuccess
280
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataLakeResponseSuccess
281
+
282
+ interface _DeleteDataLakeExceptionSubscriptionResponseSuccess
283
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataLakeExceptionSubscriptionResponse]
284
+ end
285
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_data_lake_exception_subscription-instance_method
286
+ def delete_data_lake_exception_subscription: (
287
+ ) -> _DeleteDataLakeExceptionSubscriptionResponseSuccess
288
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataLakeExceptionSubscriptionResponseSuccess
289
+
290
+ interface _DeleteDataLakeOrganizationConfigurationResponseSuccess
291
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataLakeOrganizationConfigurationResponse]
292
+ end
293
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_data_lake_organization_configuration-instance_method
294
+ def delete_data_lake_organization_configuration: (
295
+ auto_enable_new_account: Array[
296
+ {
297
+ region: ::String,
298
+ sources: Array[
299
+ {
300
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA")?,
301
+ source_version: ::String?
302
+ },
303
+ ]
304
+ },
305
+ ]
306
+ ) -> _DeleteDataLakeOrganizationConfigurationResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataLakeOrganizationConfigurationResponseSuccess
308
+
309
+ interface _DeleteSubscriberResponseSuccess
310
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSubscriberResponse]
311
+ end
312
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_subscriber-instance_method
313
+ def delete_subscriber: (
314
+ subscriber_id: ::String
315
+ ) -> _DeleteSubscriberResponseSuccess
316
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSubscriberResponseSuccess
317
+
318
+ interface _DeleteSubscriberNotificationResponseSuccess
319
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSubscriberNotificationResponse]
320
+ end
321
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#delete_subscriber_notification-instance_method
322
+ def delete_subscriber_notification: (
323
+ subscriber_id: ::String
324
+ ) -> _DeleteSubscriberNotificationResponseSuccess
325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSubscriberNotificationResponseSuccess
326
+
327
+ interface _DeregisterDataLakeDelegatedAdministratorResponseSuccess
328
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeregisterDataLakeDelegatedAdministratorResponse]
329
+ end
330
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#deregister_data_lake_delegated_administrator-instance_method
331
+ def deregister_data_lake_delegated_administrator: (
332
+ ) -> _DeregisterDataLakeDelegatedAdministratorResponseSuccess
333
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeregisterDataLakeDelegatedAdministratorResponseSuccess
334
+
335
+ interface _GetDataLakeExceptionSubscriptionResponseSuccess
336
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataLakeExceptionSubscriptionResponse]
337
+ def exception_time_to_live: () -> ::Integer
338
+ def notification_endpoint: () -> ::String
339
+ def subscription_protocol: () -> ::String
340
+ end
341
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#get_data_lake_exception_subscription-instance_method
342
+ def get_data_lake_exception_subscription: (
343
+ ) -> _GetDataLakeExceptionSubscriptionResponseSuccess
344
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataLakeExceptionSubscriptionResponseSuccess
345
+
346
+ interface _GetDataLakeOrganizationConfigurationResponseSuccess
347
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataLakeOrganizationConfigurationResponse]
348
+ def auto_enable_new_account: () -> ::Array[Types::DataLakeAutoEnableNewAccountConfiguration]
349
+ end
350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#get_data_lake_organization_configuration-instance_method
351
+ def get_data_lake_organization_configuration: (
352
+ ) -> _GetDataLakeOrganizationConfigurationResponseSuccess
353
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataLakeOrganizationConfigurationResponseSuccess
354
+
355
+ interface _GetDataLakeSourcesResponseSuccess
356
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataLakeSourcesResponse]
357
+ def data_lake_arn: () -> ::String
358
+ def data_lake_sources: () -> ::Array[Types::DataLakeSource]
359
+ def next_token: () -> ::String
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#get_data_lake_sources-instance_method
362
+ def get_data_lake_sources: (
363
+ ?accounts: Array[::String],
364
+ ?max_results: ::Integer,
365
+ ?next_token: ::String
366
+ ) -> _GetDataLakeSourcesResponseSuccess
367
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataLakeSourcesResponseSuccess
368
+
369
+ interface _GetSubscriberResponseSuccess
370
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSubscriberResponse]
371
+ def subscriber: () -> Types::SubscriberResource
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#get_subscriber-instance_method
374
+ def get_subscriber: (
375
+ subscriber_id: ::String
376
+ ) -> _GetSubscriberResponseSuccess
377
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSubscriberResponseSuccess
378
+
379
+ interface _ListDataLakeExceptionsResponseSuccess
380
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataLakeExceptionsResponse]
381
+ def exceptions: () -> ::Array[Types::DataLakeException]
382
+ def next_token: () -> ::String
383
+ end
384
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#list_data_lake_exceptions-instance_method
385
+ def list_data_lake_exceptions: (
386
+ ?max_results: ::Integer,
387
+ ?next_token: ::String,
388
+ ?regions: Array[::String]
389
+ ) -> _ListDataLakeExceptionsResponseSuccess
390
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataLakeExceptionsResponseSuccess
391
+
392
+ interface _ListDataLakesResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataLakesResponse]
394
+ def data_lakes: () -> ::Array[Types::DataLakeResource]
395
+ end
396
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#list_data_lakes-instance_method
397
+ def list_data_lakes: (
398
+ ?regions: Array[::String]
399
+ ) -> _ListDataLakesResponseSuccess
400
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataLakesResponseSuccess
401
+
402
+ interface _ListLogSourcesResponseSuccess
403
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLogSourcesResponse]
404
+ def next_token: () -> ::String
405
+ def sources: () -> ::Array[Types::LogSource]
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#list_log_sources-instance_method
408
+ def list_log_sources: (
409
+ ?accounts: Array[::String],
410
+ ?max_results: ::Integer,
411
+ ?next_token: ::String,
412
+ ?regions: Array[::String],
413
+ ?sources: Array[
414
+ {
415
+ aws_log_source: {
416
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA")?,
417
+ source_version: ::String?
418
+ }?,
419
+ custom_log_source: {
420
+ attributes: {
421
+ crawler_arn: ::String?,
422
+ database_arn: ::String?,
423
+ table_arn: ::String?
424
+ }?,
425
+ provider: {
426
+ location: ::String?,
427
+ role_arn: ::String?
428
+ }?,
429
+ source_name: ::String?,
430
+ source_version: ::String?
431
+ }?
432
+ },
433
+ ]
434
+ ) -> _ListLogSourcesResponseSuccess
435
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLogSourcesResponseSuccess
436
+
437
+ interface _ListSubscribersResponseSuccess
438
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSubscribersResponse]
439
+ def next_token: () -> ::String
440
+ def subscribers: () -> ::Array[Types::SubscriberResource]
441
+ end
442
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#list_subscribers-instance_method
443
+ def list_subscribers: (
444
+ ?max_results: ::Integer,
445
+ ?next_token: ::String
446
+ ) -> _ListSubscribersResponseSuccess
447
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSubscribersResponseSuccess
448
+
449
+ interface _ListTagsForResourceResponseSuccess
450
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
451
+ def tags: () -> ::Array[Types::Tag]
452
+ end
453
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#list_tags_for_resource-instance_method
454
+ def list_tags_for_resource: (
455
+ resource_arn: ::String
456
+ ) -> _ListTagsForResourceResponseSuccess
457
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
458
+
459
+ interface _RegisterDataLakeDelegatedAdministratorResponseSuccess
460
+ include ::Seahorse::Client::_ResponseSuccess[Types::RegisterDataLakeDelegatedAdministratorResponse]
461
+ end
462
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#register_data_lake_delegated_administrator-instance_method
463
+ def register_data_lake_delegated_administrator: (
464
+ account_id: ::String
465
+ ) -> _RegisterDataLakeDelegatedAdministratorResponseSuccess
466
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterDataLakeDelegatedAdministratorResponseSuccess
467
+
468
+ interface _TagResourceResponseSuccess
469
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#tag_resource-instance_method
472
+ def tag_resource: (
473
+ resource_arn: ::String,
474
+ tags: Array[
475
+ {
476
+ key: ::String,
477
+ value: ::String
478
+ },
479
+ ]
480
+ ) -> _TagResourceResponseSuccess
481
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
482
+
483
+ interface _UntagResourceResponseSuccess
484
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
485
+ end
486
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#untag_resource-instance_method
487
+ def untag_resource: (
488
+ resource_arn: ::String,
489
+ tag_keys: Array[::String]
490
+ ) -> _UntagResourceResponseSuccess
491
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
492
+
493
+ interface _UpdateDataLakeResponseSuccess
494
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataLakeResponse]
495
+ def data_lakes: () -> ::Array[Types::DataLakeResource]
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#update_data_lake-instance_method
498
+ def update_data_lake: (
499
+ configurations: Array[
500
+ {
501
+ encryption_configuration: {
502
+ kms_key_id: ::String?
503
+ }?,
504
+ lifecycle_configuration: {
505
+ expiration: {
506
+ days: ::Integer?
507
+ }?,
508
+ transitions: Array[
509
+ {
510
+ days: ::Integer?,
511
+ storage_class: ::String?
512
+ },
513
+ ]?
514
+ }?,
515
+ region: ::String,
516
+ replication_configuration: {
517
+ regions: Array[::String]?,
518
+ role_arn: ::String?
519
+ }?
520
+ },
521
+ ]
522
+ ) -> _UpdateDataLakeResponseSuccess
523
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataLakeResponseSuccess
524
+
525
+ interface _UpdateDataLakeExceptionSubscriptionResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataLakeExceptionSubscriptionResponse]
527
+ end
528
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#update_data_lake_exception_subscription-instance_method
529
+ def update_data_lake_exception_subscription: (
530
+ ?exception_time_to_live: ::Integer,
531
+ notification_endpoint: ::String,
532
+ subscription_protocol: ::String
533
+ ) -> _UpdateDataLakeExceptionSubscriptionResponseSuccess
534
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataLakeExceptionSubscriptionResponseSuccess
535
+
536
+ interface _UpdateSubscriberResponseSuccess
537
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubscriberResponse]
538
+ def subscriber: () -> Types::SubscriberResource
539
+ end
540
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#update_subscriber-instance_method
541
+ def update_subscriber: (
542
+ ?sources: Array[
543
+ {
544
+ aws_log_source: {
545
+ source_name: ("ROUTE53" | "VPC_FLOW" | "SH_FINDINGS" | "CLOUD_TRAIL_MGMT" | "LAMBDA_EXECUTION" | "S3_DATA")?,
546
+ source_version: ::String?
547
+ }?,
548
+ custom_log_source: {
549
+ attributes: {
550
+ crawler_arn: ::String?,
551
+ database_arn: ::String?,
552
+ table_arn: ::String?
553
+ }?,
554
+ provider: {
555
+ location: ::String?,
556
+ role_arn: ::String?
557
+ }?,
558
+ source_name: ::String?,
559
+ source_version: ::String?
560
+ }?
561
+ },
562
+ ],
563
+ ?subscriber_description: ::String,
564
+ subscriber_id: ::String,
565
+ ?subscriber_identity: {
566
+ external_id: ::String,
567
+ principal: ::String
568
+ },
569
+ ?subscriber_name: ::String
570
+ ) -> _UpdateSubscriberResponseSuccess
571
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubscriberResponseSuccess
572
+
573
+ interface _UpdateSubscriberNotificationResponseSuccess
574
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSubscriberNotificationResponse]
575
+ def subscriber_endpoint: () -> ::String
576
+ end
577
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityLake/Client.html#update_subscriber_notification-instance_method
578
+ def update_subscriber_notification: (
579
+ configuration: {
580
+ https_notification_configuration: {
581
+ authorization_api_key_name: ::String?,
582
+ authorization_api_key_value: ::String?,
583
+ endpoint: ::String,
584
+ http_method: ("POST" | "PUT")?,
585
+ target_role_arn: ::String
586
+ }?,
587
+ sqs_notification_configuration: {
588
+ }?
589
+ },
590
+ subscriber_id: ::String
591
+ ) -> _UpdateSubscriberNotificationResponseSuccess
592
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSubscriberNotificationResponseSuccess
593
+ end
594
+ end
595
+ end
596
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,42 @@
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 SecurityLake
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def error_code: () -> ::String
16
+ def message: () -> ::String
17
+ end
18
+ class BadRequestException < ::Aws::Errors::ServiceError
19
+ def message: () -> ::String
20
+ end
21
+ class ConflictException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ def resource_name: () -> ::String
24
+ def resource_type: () -> ::String
25
+ end
26
+ class InternalServerException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
30
+ def message: () -> ::String
31
+ def resource_name: () -> ::String
32
+ def resource_type: () -> ::String
33
+ end
34
+ class ThrottlingException < ::Aws::Errors::ServiceError
35
+ def message: () -> ::String
36
+ def quota_code: () -> ::String
37
+ def retry_after_seconds: () -> ::String
38
+ def service_code: () -> ::String
39
+ end
40
+ end
41
+ end
42
+ end