aws-sdk-opensearchserverless 1.14.0 → 1.16.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,572 @@
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 OpenSearchServerless
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/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
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchGetCollectionResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCollectionResponse]
78
+ def collection_details: () -> ::Array[Types::CollectionDetail]
79
+ def collection_error_details: () -> ::Array[Types::CollectionErrorDetail]
80
+ end
81
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#batch_get_collection-instance_method
82
+ def batch_get_collection: (
83
+ ?ids: Array[::String],
84
+ ?names: Array[::String]
85
+ ) -> _BatchGetCollectionResponseSuccess
86
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCollectionResponseSuccess
87
+
88
+ interface _BatchGetEffectiveLifecyclePolicyResponseSuccess
89
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetEffectiveLifecyclePolicyResponse]
90
+ def effective_lifecycle_policy_details: () -> ::Array[Types::EffectiveLifecyclePolicyDetail]
91
+ def effective_lifecycle_policy_error_details: () -> ::Array[Types::EffectiveLifecyclePolicyErrorDetail]
92
+ end
93
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#batch_get_effective_lifecycle_policy-instance_method
94
+ def batch_get_effective_lifecycle_policy: (
95
+ resource_identifiers: Array[
96
+ {
97
+ resource: ::String,
98
+ type: ("retention")
99
+ },
100
+ ]
101
+ ) -> _BatchGetEffectiveLifecyclePolicyResponseSuccess
102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetEffectiveLifecyclePolicyResponseSuccess
103
+
104
+ interface _BatchGetLifecyclePolicyResponseSuccess
105
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetLifecyclePolicyResponse]
106
+ def lifecycle_policy_details: () -> ::Array[Types::LifecyclePolicyDetail]
107
+ def lifecycle_policy_error_details: () -> ::Array[Types::LifecyclePolicyErrorDetail]
108
+ end
109
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#batch_get_lifecycle_policy-instance_method
110
+ def batch_get_lifecycle_policy: (
111
+ identifiers: Array[
112
+ {
113
+ name: ::String,
114
+ type: ("retention")
115
+ },
116
+ ]
117
+ ) -> _BatchGetLifecyclePolicyResponseSuccess
118
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetLifecyclePolicyResponseSuccess
119
+
120
+ interface _BatchGetVpcEndpointResponseSuccess
121
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetVpcEndpointResponse]
122
+ def vpc_endpoint_details: () -> ::Array[Types::VpcEndpointDetail]
123
+ def vpc_endpoint_error_details: () -> ::Array[Types::VpcEndpointErrorDetail]
124
+ end
125
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#batch_get_vpc_endpoint-instance_method
126
+ def batch_get_vpc_endpoint: (
127
+ ids: Array[::String]
128
+ ) -> _BatchGetVpcEndpointResponseSuccess
129
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetVpcEndpointResponseSuccess
130
+
131
+ interface _CreateAccessPolicyResponseSuccess
132
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAccessPolicyResponse]
133
+ def access_policy_detail: () -> Types::AccessPolicyDetail
134
+ end
135
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_access_policy-instance_method
136
+ def create_access_policy: (
137
+ ?client_token: ::String,
138
+ ?description: ::String,
139
+ name: ::String,
140
+ policy: ::String,
141
+ type: ("data")
142
+ ) -> _CreateAccessPolicyResponseSuccess
143
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccessPolicyResponseSuccess
144
+
145
+ interface _CreateCollectionResponseSuccess
146
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCollectionResponse]
147
+ def create_collection_detail: () -> Types::CreateCollectionDetail
148
+ end
149
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_collection-instance_method
150
+ def create_collection: (
151
+ ?client_token: ::String,
152
+ ?description: ::String,
153
+ name: ::String,
154
+ ?standby_replicas: ("ENABLED" | "DISABLED"),
155
+ ?tags: Array[
156
+ {
157
+ key: ::String,
158
+ value: ::String
159
+ },
160
+ ],
161
+ ?type: ("SEARCH" | "TIMESERIES" | "VECTORSEARCH")
162
+ ) -> _CreateCollectionResponseSuccess
163
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectionResponseSuccess
164
+
165
+ interface _CreateLifecyclePolicyResponseSuccess
166
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateLifecyclePolicyResponse]
167
+ def lifecycle_policy_detail: () -> Types::LifecyclePolicyDetail
168
+ end
169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_lifecycle_policy-instance_method
170
+ def create_lifecycle_policy: (
171
+ ?client_token: ::String,
172
+ ?description: ::String,
173
+ name: ::String,
174
+ policy: ::String,
175
+ type: ("retention")
176
+ ) -> _CreateLifecyclePolicyResponseSuccess
177
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLifecyclePolicyResponseSuccess
178
+
179
+ interface _CreateSecurityConfigResponseSuccess
180
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityConfigResponse]
181
+ def security_config_detail: () -> Types::SecurityConfigDetail
182
+ end
183
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_security_config-instance_method
184
+ def create_security_config: (
185
+ ?client_token: ::String,
186
+ ?description: ::String,
187
+ name: ::String,
188
+ ?saml_options: {
189
+ group_attribute: ::String?,
190
+ metadata: ::String,
191
+ session_timeout: ::Integer?,
192
+ user_attribute: ::String?
193
+ },
194
+ type: ("saml")
195
+ ) -> _CreateSecurityConfigResponseSuccess
196
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityConfigResponseSuccess
197
+
198
+ interface _CreateSecurityPolicyResponseSuccess
199
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityPolicyResponse]
200
+ def security_policy_detail: () -> Types::SecurityPolicyDetail
201
+ end
202
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_security_policy-instance_method
203
+ def create_security_policy: (
204
+ ?client_token: ::String,
205
+ ?description: ::String,
206
+ name: ::String,
207
+ policy: ::String,
208
+ type: ("encryption" | "network")
209
+ ) -> _CreateSecurityPolicyResponseSuccess
210
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityPolicyResponseSuccess
211
+
212
+ interface _CreateVpcEndpointResponseSuccess
213
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVpcEndpointResponse]
214
+ def create_vpc_endpoint_detail: () -> Types::CreateVpcEndpointDetail
215
+ end
216
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_vpc_endpoint-instance_method
217
+ def create_vpc_endpoint: (
218
+ ?client_token: ::String,
219
+ name: ::String,
220
+ ?security_group_ids: Array[::String],
221
+ subnet_ids: Array[::String],
222
+ vpc_id: ::String
223
+ ) -> _CreateVpcEndpointResponseSuccess
224
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcEndpointResponseSuccess
225
+
226
+ interface _DeleteAccessPolicyResponseSuccess
227
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAccessPolicyResponse]
228
+ end
229
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_access_policy-instance_method
230
+ def delete_access_policy: (
231
+ ?client_token: ::String,
232
+ name: ::String,
233
+ type: ("data")
234
+ ) -> _DeleteAccessPolicyResponseSuccess
235
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccessPolicyResponseSuccess
236
+
237
+ interface _DeleteCollectionResponseSuccess
238
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCollectionResponse]
239
+ def delete_collection_detail: () -> Types::DeleteCollectionDetail
240
+ end
241
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_collection-instance_method
242
+ def delete_collection: (
243
+ ?client_token: ::String,
244
+ id: ::String
245
+ ) -> _DeleteCollectionResponseSuccess
246
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCollectionResponseSuccess
247
+
248
+ interface _DeleteLifecyclePolicyResponseSuccess
249
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLifecyclePolicyResponse]
250
+ end
251
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_lifecycle_policy-instance_method
252
+ def delete_lifecycle_policy: (
253
+ ?client_token: ::String,
254
+ name: ::String,
255
+ type: ("retention")
256
+ ) -> _DeleteLifecyclePolicyResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLifecyclePolicyResponseSuccess
258
+
259
+ interface _DeleteSecurityConfigResponseSuccess
260
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityConfigResponse]
261
+ end
262
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_security_config-instance_method
263
+ def delete_security_config: (
264
+ ?client_token: ::String,
265
+ id: ::String
266
+ ) -> _DeleteSecurityConfigResponseSuccess
267
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityConfigResponseSuccess
268
+
269
+ interface _DeleteSecurityPolicyResponseSuccess
270
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityPolicyResponse]
271
+ end
272
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_security_policy-instance_method
273
+ def delete_security_policy: (
274
+ ?client_token: ::String,
275
+ name: ::String,
276
+ type: ("encryption" | "network")
277
+ ) -> _DeleteSecurityPolicyResponseSuccess
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityPolicyResponseSuccess
279
+
280
+ interface _DeleteVpcEndpointResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVpcEndpointResponse]
282
+ def delete_vpc_endpoint_detail: () -> Types::DeleteVpcEndpointDetail
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_vpc_endpoint-instance_method
285
+ def delete_vpc_endpoint: (
286
+ ?client_token: ::String,
287
+ id: ::String
288
+ ) -> _DeleteVpcEndpointResponseSuccess
289
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcEndpointResponseSuccess
290
+
291
+ interface _GetAccessPolicyResponseSuccess
292
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccessPolicyResponse]
293
+ def access_policy_detail: () -> Types::AccessPolicyDetail
294
+ end
295
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_access_policy-instance_method
296
+ def get_access_policy: (
297
+ name: ::String,
298
+ type: ("data")
299
+ ) -> _GetAccessPolicyResponseSuccess
300
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccessPolicyResponseSuccess
301
+
302
+ interface _GetAccountSettingsResponseSuccess
303
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
304
+ def account_settings_detail: () -> Types::AccountSettingsDetail
305
+ end
306
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_account_settings-instance_method
307
+ def get_account_settings: (
308
+ ) -> _GetAccountSettingsResponseSuccess
309
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccountSettingsResponseSuccess
310
+
311
+ interface _GetPoliciesStatsResponseSuccess
312
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPoliciesStatsResponse]
313
+ def access_policy_stats: () -> Types::AccessPolicyStats
314
+ def lifecycle_policy_stats: () -> Types::LifecyclePolicyStats
315
+ def security_config_stats: () -> Types::SecurityConfigStats
316
+ def security_policy_stats: () -> Types::SecurityPolicyStats
317
+ def total_policy_count: () -> ::Integer
318
+ end
319
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_policies_stats-instance_method
320
+ def get_policies_stats: (
321
+ ) -> _GetPoliciesStatsResponseSuccess
322
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPoliciesStatsResponseSuccess
323
+
324
+ interface _GetSecurityConfigResponseSuccess
325
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSecurityConfigResponse]
326
+ def security_config_detail: () -> Types::SecurityConfigDetail
327
+ end
328
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_security_config-instance_method
329
+ def get_security_config: (
330
+ id: ::String
331
+ ) -> _GetSecurityConfigResponseSuccess
332
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSecurityConfigResponseSuccess
333
+
334
+ interface _GetSecurityPolicyResponseSuccess
335
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSecurityPolicyResponse]
336
+ def security_policy_detail: () -> Types::SecurityPolicyDetail
337
+ end
338
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_security_policy-instance_method
339
+ def get_security_policy: (
340
+ name: ::String,
341
+ type: ("encryption" | "network")
342
+ ) -> _GetSecurityPolicyResponseSuccess
343
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSecurityPolicyResponseSuccess
344
+
345
+ interface _ListAccessPoliciesResponseSuccess
346
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAccessPoliciesResponse]
347
+ def access_policy_summaries: () -> ::Array[Types::AccessPolicySummary]
348
+ def next_token: () -> ::String
349
+ end
350
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_access_policies-instance_method
351
+ def list_access_policies: (
352
+ ?max_results: ::Integer,
353
+ ?next_token: ::String,
354
+ ?resource: Array[::String],
355
+ type: ("data")
356
+ ) -> _ListAccessPoliciesResponseSuccess
357
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessPoliciesResponseSuccess
358
+
359
+ interface _ListCollectionsResponseSuccess
360
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCollectionsResponse]
361
+ def collection_summaries: () -> ::Array[Types::CollectionSummary]
362
+ def next_token: () -> ::String
363
+ end
364
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_collections-instance_method
365
+ def list_collections: (
366
+ ?collection_filters: {
367
+ name: ::String?,
368
+ status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")?
369
+ },
370
+ ?max_results: ::Integer,
371
+ ?next_token: ::String
372
+ ) -> _ListCollectionsResponseSuccess
373
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCollectionsResponseSuccess
374
+
375
+ interface _ListLifecyclePoliciesResponseSuccess
376
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListLifecyclePoliciesResponse]
377
+ def lifecycle_policy_summaries: () -> ::Array[Types::LifecyclePolicySummary]
378
+ def next_token: () -> ::String
379
+ end
380
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_lifecycle_policies-instance_method
381
+ def list_lifecycle_policies: (
382
+ ?max_results: ::Integer,
383
+ ?next_token: ::String,
384
+ ?resources: Array[::String],
385
+ type: ("retention")
386
+ ) -> _ListLifecyclePoliciesResponseSuccess
387
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLifecyclePoliciesResponseSuccess
388
+
389
+ interface _ListSecurityConfigsResponseSuccess
390
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityConfigsResponse]
391
+ def next_token: () -> ::String
392
+ def security_config_summaries: () -> ::Array[Types::SecurityConfigSummary]
393
+ end
394
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_security_configs-instance_method
395
+ def list_security_configs: (
396
+ ?max_results: ::Integer,
397
+ ?next_token: ::String,
398
+ type: ("saml")
399
+ ) -> _ListSecurityConfigsResponseSuccess
400
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityConfigsResponseSuccess
401
+
402
+ interface _ListSecurityPoliciesResponseSuccess
403
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityPoliciesResponse]
404
+ def next_token: () -> ::String
405
+ def security_policy_summaries: () -> ::Array[Types::SecurityPolicySummary]
406
+ end
407
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_security_policies-instance_method
408
+ def list_security_policies: (
409
+ ?max_results: ::Integer,
410
+ ?next_token: ::String,
411
+ ?resource: Array[::String],
412
+ type: ("encryption" | "network")
413
+ ) -> _ListSecurityPoliciesResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityPoliciesResponseSuccess
415
+
416
+ interface _ListTagsForResourceResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
418
+ def tags: () -> ::Array[Types::Tag]
419
+ end
420
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_tags_for_resource-instance_method
421
+ def list_tags_for_resource: (
422
+ resource_arn: ::String
423
+ ) -> _ListTagsForResourceResponseSuccess
424
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
425
+
426
+ interface _ListVpcEndpointsResponseSuccess
427
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcEndpointsResponse]
428
+ def next_token: () -> ::String
429
+ def vpc_endpoint_summaries: () -> ::Array[Types::VpcEndpointSummary]
430
+ end
431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_vpc_endpoints-instance_method
432
+ def list_vpc_endpoints: (
433
+ ?max_results: ::Integer,
434
+ ?next_token: ::String,
435
+ ?vpc_endpoint_filters: {
436
+ status: ("PENDING" | "DELETING" | "ACTIVE" | "FAILED")?
437
+ }
438
+ ) -> _ListVpcEndpointsResponseSuccess
439
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcEndpointsResponseSuccess
440
+
441
+ interface _TagResourceResponseSuccess
442
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#tag_resource-instance_method
445
+ def tag_resource: (
446
+ resource_arn: ::String,
447
+ tags: Array[
448
+ {
449
+ key: ::String,
450
+ value: ::String
451
+ },
452
+ ]
453
+ ) -> _TagResourceResponseSuccess
454
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
455
+
456
+ interface _UntagResourceResponseSuccess
457
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
458
+ end
459
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#untag_resource-instance_method
460
+ def untag_resource: (
461
+ resource_arn: ::String,
462
+ tag_keys: Array[::String]
463
+ ) -> _UntagResourceResponseSuccess
464
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
465
+
466
+ interface _UpdateAccessPolicyResponseSuccess
467
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccessPolicyResponse]
468
+ def access_policy_detail: () -> Types::AccessPolicyDetail
469
+ end
470
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_access_policy-instance_method
471
+ def update_access_policy: (
472
+ ?client_token: ::String,
473
+ ?description: ::String,
474
+ name: ::String,
475
+ ?policy: ::String,
476
+ policy_version: ::String,
477
+ type: ("data")
478
+ ) -> _UpdateAccessPolicyResponseSuccess
479
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccessPolicyResponseSuccess
480
+
481
+ interface _UpdateAccountSettingsResponseSuccess
482
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAccountSettingsResponse]
483
+ def account_settings_detail: () -> Types::AccountSettingsDetail
484
+ end
485
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_account_settings-instance_method
486
+ def update_account_settings: (
487
+ ?capacity_limits: {
488
+ max_indexing_capacity_in_ocu: ::Integer?,
489
+ max_search_capacity_in_ocu: ::Integer?
490
+ }
491
+ ) -> _UpdateAccountSettingsResponseSuccess
492
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccountSettingsResponseSuccess
493
+
494
+ interface _UpdateCollectionResponseSuccess
495
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCollectionResponse]
496
+ def update_collection_detail: () -> Types::UpdateCollectionDetail
497
+ end
498
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_collection-instance_method
499
+ def update_collection: (
500
+ ?client_token: ::String,
501
+ ?description: ::String,
502
+ id: ::String
503
+ ) -> _UpdateCollectionResponseSuccess
504
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectionResponseSuccess
505
+
506
+ interface _UpdateLifecyclePolicyResponseSuccess
507
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateLifecyclePolicyResponse]
508
+ def lifecycle_policy_detail: () -> Types::LifecyclePolicyDetail
509
+ end
510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_lifecycle_policy-instance_method
511
+ def update_lifecycle_policy: (
512
+ ?client_token: ::String,
513
+ ?description: ::String,
514
+ name: ::String,
515
+ ?policy: ::String,
516
+ policy_version: ::String,
517
+ type: ("retention")
518
+ ) -> _UpdateLifecyclePolicyResponseSuccess
519
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLifecyclePolicyResponseSuccess
520
+
521
+ interface _UpdateSecurityConfigResponseSuccess
522
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecurityConfigResponse]
523
+ def security_config_detail: () -> Types::SecurityConfigDetail
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_security_config-instance_method
526
+ def update_security_config: (
527
+ ?client_token: ::String,
528
+ config_version: ::String,
529
+ ?description: ::String,
530
+ id: ::String,
531
+ ?saml_options: {
532
+ group_attribute: ::String?,
533
+ metadata: ::String,
534
+ session_timeout: ::Integer?,
535
+ user_attribute: ::String?
536
+ }
537
+ ) -> _UpdateSecurityConfigResponseSuccess
538
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityConfigResponseSuccess
539
+
540
+ interface _UpdateSecurityPolicyResponseSuccess
541
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecurityPolicyResponse]
542
+ def security_policy_detail: () -> Types::SecurityPolicyDetail
543
+ end
544
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_security_policy-instance_method
545
+ def update_security_policy: (
546
+ ?client_token: ::String,
547
+ ?description: ::String,
548
+ name: ::String,
549
+ ?policy: ::String,
550
+ policy_version: ::String,
551
+ type: ("encryption" | "network")
552
+ ) -> _UpdateSecurityPolicyResponseSuccess
553
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityPolicyResponseSuccess
554
+
555
+ interface _UpdateVpcEndpointResponseSuccess
556
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVpcEndpointResponse]
557
+ def update_vpc_endpoint_detail: () -> Types::UpdateVpcEndpointDetail
558
+ end
559
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_vpc_endpoint-instance_method
560
+ def update_vpc_endpoint: (
561
+ ?add_security_group_ids: Array[::String],
562
+ ?add_subnet_ids: Array[::String],
563
+ ?client_token: ::String,
564
+ id: ::String,
565
+ ?remove_security_group_ids: Array[::String],
566
+ ?remove_subnet_ids: Array[::String]
567
+ ) -> _UpdateVpcEndpointResponseSuccess
568
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVpcEndpointResponseSuccess
569
+ end
570
+ end
571
+ end
572
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,38 @@
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 OpenSearchServerless
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class ConflictException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class InternalServerException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class OcuLimitExceededException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class ResourceNotFoundException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ def quota_code: () -> ::String
29
+ def resource_id: () -> ::String
30
+ def resource_type: () -> ::String
31
+ def service_code: () -> ::String
32
+ end
33
+ class ValidationException < ::Aws::Errors::ServiceError
34
+ def message: () -> ::String
35
+ end
36
+ end
37
+ end
38
+ end