aws-sdk-finspacedata 1.30.0 → 1.32.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,553 @@
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 FinSpaceData
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/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 _AssociateUserToPermissionGroupResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateUserToPermissionGroupResponse]
77
+ def status_code: () -> ::Integer
78
+ end
79
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#associate_user_to_permission_group-instance_method
80
+ def associate_user_to_permission_group: (
81
+ permission_group_id: ::String,
82
+ user_id: ::String,
83
+ ?client_token: ::String
84
+ ) -> _AssociateUserToPermissionGroupResponseSuccess
85
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateUserToPermissionGroupResponseSuccess
86
+
87
+ interface _CreateChangesetResponseSuccess
88
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChangesetResponse]
89
+ def dataset_id: () -> ::String
90
+ def changeset_id: () -> ::String
91
+ end
92
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#create_changeset-instance_method
93
+ def create_changeset: (
94
+ ?client_token: ::String,
95
+ dataset_id: ::String,
96
+ change_type: ("REPLACE" | "APPEND" | "MODIFY"),
97
+ source_params: Hash[::String, ::String],
98
+ format_params: Hash[::String, ::String]
99
+ ) -> _CreateChangesetResponseSuccess
100
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChangesetResponseSuccess
101
+
102
+ interface _CreateDataViewResponseSuccess
103
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDataViewResponse]
104
+ def dataset_id: () -> ::String
105
+ def data_view_id: () -> ::String
106
+ end
107
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#create_data_view-instance_method
108
+ def create_data_view: (
109
+ ?client_token: ::String,
110
+ dataset_id: ::String,
111
+ ?auto_update: bool,
112
+ ?sort_columns: Array[::String],
113
+ ?partition_columns: Array[::String],
114
+ ?as_of_timestamp: ::Integer,
115
+ destination_type_params: {
116
+ destination_type: ::String,
117
+ s3_destination_export_file_format: ("PARQUET" | "DELIMITED_TEXT")?,
118
+ s3_destination_export_file_format_options: Hash[::String, ::String]?
119
+ }
120
+ ) -> _CreateDataViewResponseSuccess
121
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDataViewResponseSuccess
122
+
123
+ interface _CreateDatasetResponseSuccess
124
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDatasetResponse]
125
+ def dataset_id: () -> ::String
126
+ end
127
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#create_dataset-instance_method
128
+ def create_dataset: (
129
+ ?client_token: ::String,
130
+ dataset_title: ::String,
131
+ kind: ("TABULAR" | "NON_TABULAR"),
132
+ ?dataset_description: ::String,
133
+ ?owner_info: {
134
+ name: ::String?,
135
+ phone_number: ::String?,
136
+ email: ::String?
137
+ },
138
+ permission_group_params: {
139
+ permission_group_id: ::String?,
140
+ dataset_permissions: Array[
141
+ {
142
+ permission: ::String?
143
+ },
144
+ ]?
145
+ },
146
+ ?alias: ::String,
147
+ ?schema_definition: {
148
+ tabular_schema_config: {
149
+ columns: Array[
150
+ {
151
+ data_type: ("STRING" | "CHAR" | "INTEGER" | "TINYINT" | "SMALLINT" | "BIGINT" | "FLOAT" | "DOUBLE" | "DATE" | "DATETIME" | "BOOLEAN" | "BINARY")?,
152
+ column_name: ::String?,
153
+ column_description: ::String?
154
+ },
155
+ ]?,
156
+ primary_key_columns: Array[::String]?
157
+ }?
158
+ }
159
+ ) -> _CreateDatasetResponseSuccess
160
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDatasetResponseSuccess
161
+
162
+ interface _CreatePermissionGroupResponseSuccess
163
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePermissionGroupResponse]
164
+ def permission_group_id: () -> ::String
165
+ end
166
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#create_permission_group-instance_method
167
+ def create_permission_group: (
168
+ name: ::String,
169
+ ?description: ::String,
170
+ application_permissions: Array[("CreateDataset" | "ManageClusters" | "ManageUsersAndGroups" | "ManageAttributeSets" | "ViewAuditData" | "AccessNotebooks" | "GetTemporaryCredentials")],
171
+ ?client_token: ::String
172
+ ) -> _CreatePermissionGroupResponseSuccess
173
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePermissionGroupResponseSuccess
174
+
175
+ interface _CreateUserResponseSuccess
176
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserResponse]
177
+ def user_id: () -> ::String
178
+ end
179
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#create_user-instance_method
180
+ def create_user: (
181
+ email_address: ::String,
182
+ type: ("SUPER_USER" | "APP_USER"),
183
+ ?first_name: ::String,
184
+ ?last_name: ::String,
185
+ ?api_access: ("ENABLED" | "DISABLED"),
186
+ ?api_access_principal_arn: ::String,
187
+ ?client_token: ::String
188
+ ) -> _CreateUserResponseSuccess
189
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
190
+
191
+ interface _DeleteDatasetResponseSuccess
192
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDatasetResponse]
193
+ def dataset_id: () -> ::String
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#delete_dataset-instance_method
196
+ def delete_dataset: (
197
+ ?client_token: ::String,
198
+ dataset_id: ::String
199
+ ) -> _DeleteDatasetResponseSuccess
200
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDatasetResponseSuccess
201
+
202
+ interface _DeletePermissionGroupResponseSuccess
203
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeletePermissionGroupResponse]
204
+ def permission_group_id: () -> ::String
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#delete_permission_group-instance_method
207
+ def delete_permission_group: (
208
+ permission_group_id: ::String,
209
+ ?client_token: ::String
210
+ ) -> _DeletePermissionGroupResponseSuccess
211
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePermissionGroupResponseSuccess
212
+
213
+ interface _DisableUserResponseSuccess
214
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableUserResponse]
215
+ def user_id: () -> ::String
216
+ end
217
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#disable_user-instance_method
218
+ def disable_user: (
219
+ user_id: ::String,
220
+ ?client_token: ::String
221
+ ) -> _DisableUserResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableUserResponseSuccess
223
+
224
+ interface _DisassociateUserFromPermissionGroupResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateUserFromPermissionGroupResponse]
226
+ def status_code: () -> ::Integer
227
+ end
228
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#disassociate_user_from_permission_group-instance_method
229
+ def disassociate_user_from_permission_group: (
230
+ permission_group_id: ::String,
231
+ user_id: ::String,
232
+ ?client_token: ::String
233
+ ) -> _DisassociateUserFromPermissionGroupResponseSuccess
234
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateUserFromPermissionGroupResponseSuccess
235
+
236
+ interface _EnableUserResponseSuccess
237
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableUserResponse]
238
+ def user_id: () -> ::String
239
+ end
240
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#enable_user-instance_method
241
+ def enable_user: (
242
+ user_id: ::String,
243
+ ?client_token: ::String
244
+ ) -> _EnableUserResponseSuccess
245
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableUserResponseSuccess
246
+
247
+ interface _GetChangesetResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetChangesetResponse]
249
+ def changeset_id: () -> ::String
250
+ def changeset_arn: () -> ::String
251
+ def dataset_id: () -> ::String
252
+ def change_type: () -> ("REPLACE" | "APPEND" | "MODIFY")
253
+ def source_params: () -> ::Hash[::String, ::String]
254
+ def format_params: () -> ::Hash[::String, ::String]
255
+ def create_time: () -> ::Integer
256
+ def status: () -> ("PENDING" | "FAILED" | "SUCCESS" | "RUNNING" | "STOP_REQUESTED")
257
+ def error_info: () -> Types::ChangesetErrorInfo
258
+ def active_until_timestamp: () -> ::Integer
259
+ def active_from_timestamp: () -> ::Integer
260
+ def updates_changeset_id: () -> ::String
261
+ def updated_by_changeset_id: () -> ::String
262
+ end
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_changeset-instance_method
264
+ def get_changeset: (
265
+ dataset_id: ::String,
266
+ changeset_id: ::String
267
+ ) -> _GetChangesetResponseSuccess
268
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetChangesetResponseSuccess
269
+
270
+ interface _GetDataViewResponseSuccess
271
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDataViewResponse]
272
+ def auto_update: () -> bool
273
+ def partition_columns: () -> ::Array[::String]
274
+ def dataset_id: () -> ::String
275
+ def as_of_timestamp: () -> ::Integer
276
+ def error_info: () -> Types::DataViewErrorInfo
277
+ def last_modified_time: () -> ::Integer
278
+ def create_time: () -> ::Integer
279
+ def sort_columns: () -> ::Array[::String]
280
+ def data_view_id: () -> ::String
281
+ def data_view_arn: () -> ::String
282
+ def destination_type_params: () -> Types::DataViewDestinationTypeParams
283
+ def status: () -> ("RUNNING" | "STARTING" | "FAILED" | "CANCELLED" | "TIMEOUT" | "SUCCESS" | "PENDING" | "FAILED_CLEANUP_FAILED")
284
+ end
285
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_data_view-instance_method
286
+ def get_data_view: (
287
+ data_view_id: ::String,
288
+ dataset_id: ::String
289
+ ) -> _GetDataViewResponseSuccess
290
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataViewResponseSuccess
291
+
292
+ interface _GetDatasetResponseSuccess
293
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDatasetResponse]
294
+ def dataset_id: () -> ::String
295
+ def dataset_arn: () -> ::String
296
+ def dataset_title: () -> ::String
297
+ def kind: () -> ("TABULAR" | "NON_TABULAR")
298
+ def dataset_description: () -> ::String
299
+ def create_time: () -> ::Integer
300
+ def last_modified_time: () -> ::Integer
301
+ def schema_definition: () -> Types::SchemaUnion
302
+ def alias: () -> ::String
303
+ def status: () -> ("PENDING" | "FAILED" | "SUCCESS" | "RUNNING")
304
+ end
305
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_dataset-instance_method
306
+ def get_dataset: (
307
+ dataset_id: ::String
308
+ ) -> _GetDatasetResponseSuccess
309
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDatasetResponseSuccess
310
+
311
+ interface _GetExternalDataViewAccessDetailsResponseSuccess
312
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExternalDataViewAccessDetailsResponse]
313
+ def credentials: () -> Types::AwsCredentials
314
+ def s3_location: () -> Types::S3Location
315
+ end
316
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_external_data_view_access_details-instance_method
317
+ def get_external_data_view_access_details: (
318
+ data_view_id: ::String,
319
+ dataset_id: ::String
320
+ ) -> _GetExternalDataViewAccessDetailsResponseSuccess
321
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExternalDataViewAccessDetailsResponseSuccess
322
+
323
+ interface _GetPermissionGroupResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPermissionGroupResponse]
325
+ def permission_group: () -> Types::PermissionGroup
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_permission_group-instance_method
328
+ def get_permission_group: (
329
+ permission_group_id: ::String
330
+ ) -> _GetPermissionGroupResponseSuccess
331
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPermissionGroupResponseSuccess
332
+
333
+ interface _GetProgrammaticAccessCredentialsResponseSuccess
334
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProgrammaticAccessCredentialsResponse]
335
+ def credentials: () -> Types::Credentials
336
+ def duration_in_minutes: () -> ::Integer
337
+ end
338
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_programmatic_access_credentials-instance_method
339
+ def get_programmatic_access_credentials: (
340
+ ?duration_in_minutes: ::Integer,
341
+ environment_id: ::String
342
+ ) -> _GetProgrammaticAccessCredentialsResponseSuccess
343
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProgrammaticAccessCredentialsResponseSuccess
344
+
345
+ interface _GetUserResponseSuccess
346
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetUserResponse]
347
+ def user_id: () -> ::String
348
+ def status: () -> ("CREATING" | "ENABLED" | "DISABLED")
349
+ def first_name: () -> ::String
350
+ def last_name: () -> ::String
351
+ def email_address: () -> ::String
352
+ def type: () -> ("SUPER_USER" | "APP_USER")
353
+ def api_access: () -> ("ENABLED" | "DISABLED")
354
+ def api_access_principal_arn: () -> ::String
355
+ def create_time: () -> ::Integer
356
+ def last_enabled_time: () -> ::Integer
357
+ def last_disabled_time: () -> ::Integer
358
+ def last_modified_time: () -> ::Integer
359
+ def last_login_time: () -> ::Integer
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_user-instance_method
362
+ def get_user: (
363
+ user_id: ::String
364
+ ) -> _GetUserResponseSuccess
365
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUserResponseSuccess
366
+
367
+ interface _GetWorkingLocationResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkingLocationResponse]
369
+ def s3_uri: () -> ::String
370
+ def s3_path: () -> ::String
371
+ def s3_bucket: () -> ::String
372
+ end
373
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#get_working_location-instance_method
374
+ def get_working_location: (
375
+ ?location_type: ("INGESTION" | "SAGEMAKER")
376
+ ) -> _GetWorkingLocationResponseSuccess
377
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkingLocationResponseSuccess
378
+
379
+ interface _ListChangesetsResponseSuccess
380
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChangesetsResponse]
381
+ def changesets: () -> ::Array[Types::ChangesetSummary]
382
+ def next_token: () -> ::String
383
+ end
384
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_changesets-instance_method
385
+ def list_changesets: (
386
+ dataset_id: ::String,
387
+ ?max_results: ::Integer,
388
+ ?next_token: ::String
389
+ ) -> _ListChangesetsResponseSuccess
390
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChangesetsResponseSuccess
391
+
392
+ interface _ListDataViewsResponseSuccess
393
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDataViewsResponse]
394
+ def next_token: () -> ::String
395
+ def data_views: () -> ::Array[Types::DataViewSummary]
396
+ end
397
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_data_views-instance_method
398
+ def list_data_views: (
399
+ dataset_id: ::String,
400
+ ?next_token: ::String,
401
+ ?max_results: ::Integer
402
+ ) -> _ListDataViewsResponseSuccess
403
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataViewsResponseSuccess
404
+
405
+ interface _ListDatasetsResponseSuccess
406
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDatasetsResponse]
407
+ def datasets: () -> ::Array[Types::Dataset]
408
+ def next_token: () -> ::String
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_datasets-instance_method
411
+ def list_datasets: (
412
+ ?next_token: ::String,
413
+ ?max_results: ::Integer
414
+ ) -> _ListDatasetsResponseSuccess
415
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDatasetsResponseSuccess
416
+
417
+ interface _ListPermissionGroupsResponseSuccess
418
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionGroupsResponse]
419
+ def permission_groups: () -> ::Array[Types::PermissionGroup]
420
+ def next_token: () -> ::String
421
+ end
422
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_permission_groups-instance_method
423
+ def list_permission_groups: (
424
+ ?next_token: ::String,
425
+ max_results: ::Integer
426
+ ) -> _ListPermissionGroupsResponseSuccess
427
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionGroupsResponseSuccess
428
+
429
+ interface _ListPermissionGroupsByUserResponseSuccess
430
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPermissionGroupsByUserResponse]
431
+ def permission_groups: () -> ::Array[Types::PermissionGroupByUser]
432
+ def next_token: () -> ::String
433
+ end
434
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_permission_groups_by_user-instance_method
435
+ def list_permission_groups_by_user: (
436
+ user_id: ::String,
437
+ ?next_token: ::String,
438
+ max_results: ::Integer
439
+ ) -> _ListPermissionGroupsByUserResponseSuccess
440
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPermissionGroupsByUserResponseSuccess
441
+
442
+ interface _ListUsersResponseSuccess
443
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListUsersResponse]
444
+ def users: () -> ::Array[Types::User]
445
+ def next_token: () -> ::String
446
+ end
447
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_users-instance_method
448
+ def list_users: (
449
+ ?next_token: ::String,
450
+ max_results: ::Integer
451
+ ) -> _ListUsersResponseSuccess
452
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsersResponseSuccess
453
+
454
+ interface _ListUsersByPermissionGroupResponseSuccess
455
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListUsersByPermissionGroupResponse]
456
+ def users: () -> ::Array[Types::UserByPermissionGroup]
457
+ def next_token: () -> ::String
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#list_users_by_permission_group-instance_method
460
+ def list_users_by_permission_group: (
461
+ permission_group_id: ::String,
462
+ ?next_token: ::String,
463
+ max_results: ::Integer
464
+ ) -> _ListUsersByPermissionGroupResponseSuccess
465
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsersByPermissionGroupResponseSuccess
466
+
467
+ interface _ResetUserPasswordResponseSuccess
468
+ include ::Seahorse::Client::_ResponseSuccess[Types::ResetUserPasswordResponse]
469
+ def user_id: () -> ::String
470
+ def temporary_password: () -> ::String
471
+ end
472
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#reset_user_password-instance_method
473
+ def reset_user_password: (
474
+ user_id: ::String,
475
+ ?client_token: ::String
476
+ ) -> _ResetUserPasswordResponseSuccess
477
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetUserPasswordResponseSuccess
478
+
479
+ interface _UpdateChangesetResponseSuccess
480
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChangesetResponse]
481
+ def changeset_id: () -> ::String
482
+ def dataset_id: () -> ::String
483
+ end
484
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#update_changeset-instance_method
485
+ def update_changeset: (
486
+ ?client_token: ::String,
487
+ dataset_id: ::String,
488
+ changeset_id: ::String,
489
+ source_params: Hash[::String, ::String],
490
+ format_params: Hash[::String, ::String]
491
+ ) -> _UpdateChangesetResponseSuccess
492
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChangesetResponseSuccess
493
+
494
+ interface _UpdateDatasetResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDatasetResponse]
496
+ def dataset_id: () -> ::String
497
+ end
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#update_dataset-instance_method
499
+ def update_dataset: (
500
+ ?client_token: ::String,
501
+ dataset_id: ::String,
502
+ dataset_title: ::String,
503
+ kind: ("TABULAR" | "NON_TABULAR"),
504
+ ?dataset_description: ::String,
505
+ ?alias: ::String,
506
+ ?schema_definition: {
507
+ tabular_schema_config: {
508
+ columns: Array[
509
+ {
510
+ data_type: ("STRING" | "CHAR" | "INTEGER" | "TINYINT" | "SMALLINT" | "BIGINT" | "FLOAT" | "DOUBLE" | "DATE" | "DATETIME" | "BOOLEAN" | "BINARY")?,
511
+ column_name: ::String?,
512
+ column_description: ::String?
513
+ },
514
+ ]?,
515
+ primary_key_columns: Array[::String]?
516
+ }?
517
+ }
518
+ ) -> _UpdateDatasetResponseSuccess
519
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDatasetResponseSuccess
520
+
521
+ interface _UpdatePermissionGroupResponseSuccess
522
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePermissionGroupResponse]
523
+ def permission_group_id: () -> ::String
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#update_permission_group-instance_method
526
+ def update_permission_group: (
527
+ permission_group_id: ::String,
528
+ ?name: ::String,
529
+ ?description: ::String,
530
+ ?application_permissions: Array[("CreateDataset" | "ManageClusters" | "ManageUsersAndGroups" | "ManageAttributeSets" | "ViewAuditData" | "AccessNotebooks" | "GetTemporaryCredentials")],
531
+ ?client_token: ::String
532
+ ) -> _UpdatePermissionGroupResponseSuccess
533
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePermissionGroupResponseSuccess
534
+
535
+ interface _UpdateUserResponseSuccess
536
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserResponse]
537
+ def user_id: () -> ::String
538
+ end
539
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FinSpaceData/Client.html#update_user-instance_method
540
+ def update_user: (
541
+ user_id: ::String,
542
+ ?type: ("SUPER_USER" | "APP_USER"),
543
+ ?first_name: ::String,
544
+ ?last_name: ::String,
545
+ ?api_access: ("ENABLED" | "DISABLED"),
546
+ ?api_access_principal_arn: ::String,
547
+ ?client_token: ::String
548
+ ) -> _UpdateUserResponseSuccess
549
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserResponseSuccess
550
+ end
551
+ end
552
+ end
553
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,39 @@
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 FinSpaceData
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class AccessDeniedException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class ConflictException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ def reason: () -> ::String
20
+ end
21
+ class InternalServerException < ::Aws::Errors::ServiceError
22
+ def message: () -> ::String
23
+ end
24
+ class LimitExceededException < ::Aws::Errors::ServiceError
25
+ def message: () -> ::String
26
+ end
27
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
28
+ def message: () -> ::String
29
+ def reason: () -> ::String
30
+ end
31
+ class ThrottlingException < ::Aws::Errors::ServiceError
32
+ end
33
+ class ValidationException < ::Aws::Errors::ServiceError
34
+ def message: () -> ::String
35
+ def reason: () -> ::String
36
+ end
37
+ end
38
+ end
39
+ end