aws-sdk-opensearchserverless 1.33.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchserverless/client.rb +468 -463
- data/lib/aws-sdk-opensearchserverless/client_api.rb +157 -155
- data/lib/aws-sdk-opensearchserverless/errors.rb +5 -5
- data/lib/aws-sdk-opensearchserverless/types.rb +767 -761
- data/lib/aws-sdk-opensearchserverless/waiters.rb +15 -0
- data/lib/aws-sdk-opensearchserverless.rb +2 -1
- data/sig/client.rbs +98 -96
- data/sig/errors.rbs +1 -1
- data/sig/types.rbs +156 -155
- metadata +3 -2
@@ -0,0 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
require 'aws-sdk-core/waiters'
|
11
|
+
|
12
|
+
module Aws::OpenSearchServerless
|
13
|
+
module Waiters
|
14
|
+
end
|
15
|
+
end
|
@@ -49,12 +49,13 @@ module Aws::OpenSearchServerless
|
|
49
49
|
end
|
50
50
|
autoload :Client, 'aws-sdk-opensearchserverless/client'
|
51
51
|
autoload :Errors, 'aws-sdk-opensearchserverless/errors'
|
52
|
+
autoload :Waiters, 'aws-sdk-opensearchserverless/waiters'
|
52
53
|
autoload :Resource, 'aws-sdk-opensearchserverless/resource'
|
53
54
|
autoload :EndpointParameters, 'aws-sdk-opensearchserverless/endpoint_parameters'
|
54
55
|
autoload :EndpointProvider, 'aws-sdk-opensearchserverless/endpoint_provider'
|
55
56
|
autoload :Endpoints, 'aws-sdk-opensearchserverless/endpoints'
|
56
57
|
|
57
|
-
GEM_VERSION = '1.
|
58
|
+
GEM_VERSION = '1.35.0'
|
58
59
|
|
59
60
|
end
|
60
61
|
|
data/sig/client.rbs
CHANGED
@@ -99,8 +99,8 @@ module Aws
|
|
99
99
|
def batch_get_effective_lifecycle_policy: (
|
100
100
|
resource_identifiers: Array[
|
101
101
|
{
|
102
|
-
|
103
|
-
|
102
|
+
type: ("retention"),
|
103
|
+
resource: ::String
|
104
104
|
},
|
105
105
|
]
|
106
106
|
) -> _BatchGetEffectiveLifecyclePolicyResponseSuccess
|
@@ -115,8 +115,8 @@ module Aws
|
|
115
115
|
def batch_get_lifecycle_policy: (
|
116
116
|
identifiers: Array[
|
117
117
|
{
|
118
|
-
|
119
|
-
|
118
|
+
type: ("retention"),
|
119
|
+
name: ::String
|
120
120
|
},
|
121
121
|
]
|
122
122
|
) -> _BatchGetLifecyclePolicyResponseSuccess
|
@@ -139,11 +139,11 @@ module Aws
|
|
139
139
|
end
|
140
140
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_access_policy-instance_method
|
141
141
|
def create_access_policy: (
|
142
|
-
|
143
|
-
?description: ::String,
|
142
|
+
type: ("data"),
|
144
143
|
name: ::String,
|
144
|
+
?description: ::String,
|
145
145
|
policy: ::String,
|
146
|
-
|
146
|
+
?client_token: ::String
|
147
147
|
) -> _CreateAccessPolicyResponseSuccess
|
148
148
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAccessPolicyResponseSuccess
|
149
149
|
|
@@ -153,17 +153,17 @@ module Aws
|
|
153
153
|
end
|
154
154
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_collection-instance_method
|
155
155
|
def create_collection: (
|
156
|
-
?client_token: ::String,
|
157
|
-
?description: ::String,
|
158
156
|
name: ::String,
|
159
|
-
?
|
157
|
+
?type: ("SEARCH" | "TIMESERIES" | "VECTORSEARCH"),
|
158
|
+
?description: ::String,
|
160
159
|
?tags: Array[
|
161
160
|
{
|
162
161
|
key: ::String,
|
163
162
|
value: ::String
|
164
163
|
},
|
165
164
|
],
|
166
|
-
?
|
165
|
+
?standby_replicas: ("ENABLED" | "DISABLED"),
|
166
|
+
?client_token: ::String
|
167
167
|
) -> _CreateCollectionResponseSuccess
|
168
168
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCollectionResponseSuccess
|
169
169
|
|
@@ -173,11 +173,11 @@ module Aws
|
|
173
173
|
end
|
174
174
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_lifecycle_policy-instance_method
|
175
175
|
def create_lifecycle_policy: (
|
176
|
-
|
177
|
-
?description: ::String,
|
176
|
+
type: ("retention"),
|
178
177
|
name: ::String,
|
178
|
+
?description: ::String,
|
179
179
|
policy: ::String,
|
180
|
-
|
180
|
+
?client_token: ::String
|
181
181
|
) -> _CreateLifecyclePolicyResponseSuccess
|
182
182
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLifecyclePolicyResponseSuccess
|
183
183
|
|
@@ -187,21 +187,22 @@ module Aws
|
|
187
187
|
end
|
188
188
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_security_config-instance_method
|
189
189
|
def create_security_config: (
|
190
|
-
|
191
|
-
?description: ::String,
|
192
|
-
?iam_identity_center_options: {
|
193
|
-
group_attribute: ("GroupId" | "GroupName")?,
|
194
|
-
instance_arn: ::String,
|
195
|
-
user_attribute: ("UserId" | "UserName" | "Email")?
|
196
|
-
},
|
190
|
+
type: ("saml" | "iamidentitycenter"),
|
197
191
|
name: ::String,
|
192
|
+
?description: ::String,
|
198
193
|
?saml_options: {
|
199
|
-
group_attribute: ::String?,
|
200
194
|
metadata: ::String,
|
201
|
-
|
202
|
-
|
195
|
+
user_attribute: ::String?,
|
196
|
+
group_attribute: ::String?,
|
197
|
+
open_search_serverless_entity_id: ::String?,
|
198
|
+
session_timeout: ::Integer?
|
199
|
+
},
|
200
|
+
?iam_identity_center_options: {
|
201
|
+
instance_arn: ::String,
|
202
|
+
user_attribute: ("UserId" | "UserName" | "Email")?,
|
203
|
+
group_attribute: ("GroupId" | "GroupName")?
|
203
204
|
},
|
204
|
-
|
205
|
+
?client_token: ::String
|
205
206
|
) -> _CreateSecurityConfigResponseSuccess
|
206
207
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityConfigResponseSuccess
|
207
208
|
|
@@ -211,11 +212,11 @@ module Aws
|
|
211
212
|
end
|
212
213
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_security_policy-instance_method
|
213
214
|
def create_security_policy: (
|
214
|
-
|
215
|
-
?description: ::String,
|
215
|
+
type: ("encryption" | "network"),
|
216
216
|
name: ::String,
|
217
|
+
?description: ::String,
|
217
218
|
policy: ::String,
|
218
|
-
|
219
|
+
?client_token: ::String
|
219
220
|
) -> _CreateSecurityPolicyResponseSuccess
|
220
221
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityPolicyResponseSuccess
|
221
222
|
|
@@ -225,11 +226,11 @@ module Aws
|
|
225
226
|
end
|
226
227
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_vpc_endpoint-instance_method
|
227
228
|
def create_vpc_endpoint: (
|
228
|
-
?client_token: ::String,
|
229
229
|
name: ::String,
|
230
|
-
|
230
|
+
vpc_id: ::String,
|
231
231
|
subnet_ids: Array[::String],
|
232
|
-
|
232
|
+
?security_group_ids: Array[::String],
|
233
|
+
?client_token: ::String
|
233
234
|
) -> _CreateVpcEndpointResponseSuccess
|
234
235
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcEndpointResponseSuccess
|
235
236
|
|
@@ -238,9 +239,9 @@ module Aws
|
|
238
239
|
end
|
239
240
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_access_policy-instance_method
|
240
241
|
def delete_access_policy: (
|
241
|
-
|
242
|
+
type: ("data"),
|
242
243
|
name: ::String,
|
243
|
-
|
244
|
+
?client_token: ::String
|
244
245
|
) -> _DeleteAccessPolicyResponseSuccess
|
245
246
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAccessPolicyResponseSuccess
|
246
247
|
|
@@ -250,8 +251,8 @@ module Aws
|
|
250
251
|
end
|
251
252
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_collection-instance_method
|
252
253
|
def delete_collection: (
|
253
|
-
|
254
|
-
|
254
|
+
id: ::String,
|
255
|
+
?client_token: ::String
|
255
256
|
) -> _DeleteCollectionResponseSuccess
|
256
257
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCollectionResponseSuccess
|
257
258
|
|
@@ -260,9 +261,9 @@ module Aws
|
|
260
261
|
end
|
261
262
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_lifecycle_policy-instance_method
|
262
263
|
def delete_lifecycle_policy: (
|
263
|
-
|
264
|
+
type: ("retention"),
|
264
265
|
name: ::String,
|
265
|
-
|
266
|
+
?client_token: ::String
|
266
267
|
) -> _DeleteLifecyclePolicyResponseSuccess
|
267
268
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLifecyclePolicyResponseSuccess
|
268
269
|
|
@@ -271,8 +272,8 @@ module Aws
|
|
271
272
|
end
|
272
273
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_security_config-instance_method
|
273
274
|
def delete_security_config: (
|
274
|
-
|
275
|
-
|
275
|
+
id: ::String,
|
276
|
+
?client_token: ::String
|
276
277
|
) -> _DeleteSecurityConfigResponseSuccess
|
277
278
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityConfigResponseSuccess
|
278
279
|
|
@@ -281,9 +282,9 @@ module Aws
|
|
281
282
|
end
|
282
283
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_security_policy-instance_method
|
283
284
|
def delete_security_policy: (
|
284
|
-
|
285
|
+
type: ("encryption" | "network"),
|
285
286
|
name: ::String,
|
286
|
-
|
287
|
+
?client_token: ::String
|
287
288
|
) -> _DeleteSecurityPolicyResponseSuccess
|
288
289
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityPolicyResponseSuccess
|
289
290
|
|
@@ -293,8 +294,8 @@ module Aws
|
|
293
294
|
end
|
294
295
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#delete_vpc_endpoint-instance_method
|
295
296
|
def delete_vpc_endpoint: (
|
296
|
-
|
297
|
-
|
297
|
+
id: ::String,
|
298
|
+
?client_token: ::String
|
298
299
|
) -> _DeleteVpcEndpointResponseSuccess
|
299
300
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVpcEndpointResponseSuccess
|
300
301
|
|
@@ -304,8 +305,8 @@ module Aws
|
|
304
305
|
end
|
305
306
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_access_policy-instance_method
|
306
307
|
def get_access_policy: (
|
307
|
-
|
308
|
-
|
308
|
+
type: ("data"),
|
309
|
+
name: ::String
|
309
310
|
) -> _GetAccessPolicyResponseSuccess
|
310
311
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetAccessPolicyResponseSuccess
|
311
312
|
|
@@ -321,9 +322,9 @@ module Aws
|
|
321
322
|
interface _GetPoliciesStatsResponseSuccess
|
322
323
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetPoliciesStatsResponse]
|
323
324
|
def access_policy_stats: () -> Types::AccessPolicyStats
|
324
|
-
def lifecycle_policy_stats: () -> Types::LifecyclePolicyStats
|
325
|
-
def security_config_stats: () -> Types::SecurityConfigStats
|
326
325
|
def security_policy_stats: () -> Types::SecurityPolicyStats
|
326
|
+
def security_config_stats: () -> Types::SecurityConfigStats
|
327
|
+
def lifecycle_policy_stats: () -> Types::LifecyclePolicyStats
|
327
328
|
def total_policy_count: () -> ::Integer
|
328
329
|
end
|
329
330
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_policies_stats-instance_method
|
@@ -347,8 +348,8 @@ module Aws
|
|
347
348
|
end
|
348
349
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#get_security_policy-instance_method
|
349
350
|
def get_security_policy: (
|
350
|
-
|
351
|
-
|
351
|
+
type: ("encryption" | "network"),
|
352
|
+
name: ::String
|
352
353
|
) -> _GetSecurityPolicyResponseSuccess
|
353
354
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSecurityPolicyResponseSuccess
|
354
355
|
|
@@ -359,10 +360,10 @@ module Aws
|
|
359
360
|
end
|
360
361
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_access_policies-instance_method
|
361
362
|
def list_access_policies: (
|
362
|
-
|
363
|
-
?next_token: ::String,
|
363
|
+
type: ("data"),
|
364
364
|
?resource: Array[::String],
|
365
|
-
|
365
|
+
?next_token: ::String,
|
366
|
+
?max_results: ::Integer
|
366
367
|
) -> _ListAccessPoliciesResponseSuccess
|
367
368
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAccessPoliciesResponseSuccess
|
368
369
|
|
@@ -377,8 +378,8 @@ module Aws
|
|
377
378
|
name: ::String?,
|
378
379
|
status: ("CREATING" | "DELETING" | "ACTIVE" | "FAILED")?
|
379
380
|
},
|
380
|
-
?
|
381
|
-
?
|
381
|
+
?next_token: ::String,
|
382
|
+
?max_results: ::Integer
|
382
383
|
) -> _ListCollectionsResponseSuccess
|
383
384
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCollectionsResponseSuccess
|
384
385
|
|
@@ -389,37 +390,37 @@ module Aws
|
|
389
390
|
end
|
390
391
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_lifecycle_policies-instance_method
|
391
392
|
def list_lifecycle_policies: (
|
392
|
-
|
393
|
-
?next_token: ::String,
|
393
|
+
type: ("retention"),
|
394
394
|
?resources: Array[::String],
|
395
|
-
|
395
|
+
?next_token: ::String,
|
396
|
+
?max_results: ::Integer
|
396
397
|
) -> _ListLifecyclePoliciesResponseSuccess
|
397
398
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListLifecyclePoliciesResponseSuccess
|
398
399
|
|
399
400
|
interface _ListSecurityConfigsResponseSuccess
|
400
401
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityConfigsResponse]
|
401
|
-
def next_token: () -> ::String
|
402
402
|
def security_config_summaries: () -> ::Array[Types::SecurityConfigSummary]
|
403
|
+
def next_token: () -> ::String
|
403
404
|
end
|
404
405
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_security_configs-instance_method
|
405
406
|
def list_security_configs: (
|
406
|
-
|
407
|
+
type: ("saml" | "iamidentitycenter"),
|
407
408
|
?next_token: ::String,
|
408
|
-
|
409
|
+
?max_results: ::Integer
|
409
410
|
) -> _ListSecurityConfigsResponseSuccess
|
410
411
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityConfigsResponseSuccess
|
411
412
|
|
412
413
|
interface _ListSecurityPoliciesResponseSuccess
|
413
414
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityPoliciesResponse]
|
414
|
-
def next_token: () -> ::String
|
415
415
|
def security_policy_summaries: () -> ::Array[Types::SecurityPolicySummary]
|
416
|
+
def next_token: () -> ::String
|
416
417
|
end
|
417
418
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_security_policies-instance_method
|
418
419
|
def list_security_policies: (
|
419
|
-
|
420
|
-
?next_token: ::String,
|
420
|
+
type: ("encryption" | "network"),
|
421
421
|
?resource: Array[::String],
|
422
|
-
|
422
|
+
?next_token: ::String,
|
423
|
+
?max_results: ::Integer
|
423
424
|
) -> _ListSecurityPoliciesResponseSuccess
|
424
425
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityPoliciesResponseSuccess
|
425
426
|
|
@@ -435,16 +436,16 @@ module Aws
|
|
435
436
|
|
436
437
|
interface _ListVpcEndpointsResponseSuccess
|
437
438
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListVpcEndpointsResponse]
|
438
|
-
def next_token: () -> ::String
|
439
439
|
def vpc_endpoint_summaries: () -> ::Array[Types::VpcEndpointSummary]
|
440
|
+
def next_token: () -> ::String
|
440
441
|
end
|
441
442
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_vpc_endpoints-instance_method
|
442
443
|
def list_vpc_endpoints: (
|
443
|
-
?max_results: ::Integer,
|
444
|
-
?next_token: ::String,
|
445
444
|
?vpc_endpoint_filters: {
|
446
445
|
status: ("PENDING" | "DELETING" | "ACTIVE" | "FAILED")?
|
447
|
-
}
|
446
|
+
},
|
447
|
+
?next_token: ::String,
|
448
|
+
?max_results: ::Integer
|
448
449
|
) -> _ListVpcEndpointsResponseSuccess
|
449
450
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVpcEndpointsResponseSuccess
|
450
451
|
|
@@ -479,12 +480,12 @@ module Aws
|
|
479
480
|
end
|
480
481
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_access_policy-instance_method
|
481
482
|
def update_access_policy: (
|
482
|
-
|
483
|
-
?description: ::String,
|
483
|
+
type: ("data"),
|
484
484
|
name: ::String,
|
485
|
-
?policy: ::String,
|
486
485
|
policy_version: ::String,
|
487
|
-
|
486
|
+
?description: ::String,
|
487
|
+
?policy: ::String,
|
488
|
+
?client_token: ::String
|
488
489
|
) -> _UpdateAccessPolicyResponseSuccess
|
489
490
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAccessPolicyResponseSuccess
|
490
491
|
|
@@ -507,9 +508,9 @@ module Aws
|
|
507
508
|
end
|
508
509
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_collection-instance_method
|
509
510
|
def update_collection: (
|
510
|
-
|
511
|
+
id: ::String,
|
511
512
|
?description: ::String,
|
512
|
-
|
513
|
+
?client_token: ::String
|
513
514
|
) -> _UpdateCollectionResponseSuccess
|
514
515
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCollectionResponseSuccess
|
515
516
|
|
@@ -519,12 +520,12 @@ module Aws
|
|
519
520
|
end
|
520
521
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_lifecycle_policy-instance_method
|
521
522
|
def update_lifecycle_policy: (
|
522
|
-
|
523
|
-
?description: ::String,
|
523
|
+
type: ("retention"),
|
524
524
|
name: ::String,
|
525
|
-
?policy: ::String,
|
526
525
|
policy_version: ::String,
|
527
|
-
|
526
|
+
?description: ::String,
|
527
|
+
?policy: ::String,
|
528
|
+
?client_token: ::String
|
528
529
|
) -> _UpdateLifecyclePolicyResponseSuccess
|
529
530
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLifecyclePolicyResponseSuccess
|
530
531
|
|
@@ -534,20 +535,21 @@ module Aws
|
|
534
535
|
end
|
535
536
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_security_config-instance_method
|
536
537
|
def update_security_config: (
|
537
|
-
|
538
|
+
id: ::String,
|
538
539
|
config_version: ::String,
|
539
540
|
?description: ::String,
|
540
|
-
?iam_identity_center_options_updates: {
|
541
|
-
group_attribute: ("GroupId" | "GroupName")?,
|
542
|
-
user_attribute: ("UserId" | "UserName" | "Email")?
|
543
|
-
},
|
544
|
-
id: ::String,
|
545
541
|
?saml_options: {
|
546
|
-
group_attribute: ::String?,
|
547
542
|
metadata: ::String,
|
548
|
-
|
549
|
-
|
550
|
-
|
543
|
+
user_attribute: ::String?,
|
544
|
+
group_attribute: ::String?,
|
545
|
+
open_search_serverless_entity_id: ::String?,
|
546
|
+
session_timeout: ::Integer?
|
547
|
+
},
|
548
|
+
?iam_identity_center_options_updates: {
|
549
|
+
user_attribute: ("UserId" | "UserName" | "Email")?,
|
550
|
+
group_attribute: ("GroupId" | "GroupName")?
|
551
|
+
},
|
552
|
+
?client_token: ::String
|
551
553
|
) -> _UpdateSecurityConfigResponseSuccess
|
552
554
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityConfigResponseSuccess
|
553
555
|
|
@@ -557,12 +559,12 @@ module Aws
|
|
557
559
|
end
|
558
560
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_security_policy-instance_method
|
559
561
|
def update_security_policy: (
|
560
|
-
|
561
|
-
?description: ::String,
|
562
|
+
type: ("encryption" | "network"),
|
562
563
|
name: ::String,
|
563
|
-
?policy: ::String,
|
564
564
|
policy_version: ::String,
|
565
|
-
|
565
|
+
?description: ::String,
|
566
|
+
?policy: ::String,
|
567
|
+
?client_token: ::String
|
566
568
|
) -> _UpdateSecurityPolicyResponseSuccess
|
567
569
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityPolicyResponseSuccess
|
568
570
|
|
@@ -572,12 +574,12 @@ module Aws
|
|
572
574
|
end
|
573
575
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#update_vpc_endpoint-instance_method
|
574
576
|
def update_vpc_endpoint: (
|
575
|
-
?add_security_group_ids: Array[::String],
|
576
|
-
?add_subnet_ids: Array[::String],
|
577
|
-
?client_token: ::String,
|
578
577
|
id: ::String,
|
578
|
+
?add_subnet_ids: Array[::String],
|
579
|
+
?remove_subnet_ids: Array[::String],
|
580
|
+
?add_security_group_ids: Array[::String],
|
579
581
|
?remove_security_group_ids: Array[::String],
|
580
|
-
?
|
582
|
+
?client_token: ::String
|
581
583
|
) -> _UpdateVpcEndpointResponseSuccess
|
582
584
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVpcEndpointResponseSuccess
|
583
585
|
end
|
data/sig/errors.rbs
CHANGED
@@ -25,10 +25,10 @@ module Aws
|
|
25
25
|
end
|
26
26
|
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
27
27
|
def message: () -> ::String
|
28
|
-
def quota_code: () -> ::String
|
29
28
|
def resource_id: () -> ::String
|
30
29
|
def resource_type: () -> ::String
|
31
30
|
def service_code: () -> ::String
|
31
|
+
def quota_code: () -> ::String
|
32
32
|
end
|
33
33
|
class ValidationException < ::Aws::Errors::ServiceError
|
34
34
|
def message: () -> ::String
|