aws-sdk-opensearchservice 1.42.0 → 1.44.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-opensearchservice/client.rb +42 -2
- data/lib/aws-sdk-opensearchservice/client_api.rb +19 -0
- data/lib/aws-sdk-opensearchservice/types.rb +74 -2
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- data/sig/client.rbs +12 -0
- data/sig/types.rbs +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b8080b22b61f80486d5aa0bcf83ab06c7cae685aa397a4321cbc37ff5c647e9
|
4
|
+
data.tar.gz: 922d3950895f246b3c068ebd68ae5fd17418712b64e13249a5648cc10a00b48d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ce09beb04114b2cc97aa19d2901794ff7e687dada05eea81f0a735a889956421c8f969b50093328c2e25feb31802ed42411d417a64097e9eda26d023c606670
|
7
|
+
data.tar.gz: 894d528c1268b44acd334c1a6a1ec0a82f6aecbedb5227fe86edfd45a5c78c7681b5fab01288f01be4e432106080285d792ef493f3f115d3e810be64c8ecbdea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2024-06-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release enables customers to use JSON Web Tokens (JWT) for authentication on their Amazon OpenSearch Service domains.
|
8
|
+
|
9
|
+
1.43.0 (2024-06-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.42.0 (2024-05-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -936,6 +936,12 @@ module Aws::OpenSearchService
|
|
936
936
|
# roles_key: "String",
|
937
937
|
# session_timeout_minutes: 1,
|
938
938
|
# },
|
939
|
+
# jwt_options: {
|
940
|
+
# enabled: false,
|
941
|
+
# subject_key: "SubjectKey",
|
942
|
+
# roles_key: "RolesKey",
|
943
|
+
# public_key: "String",
|
944
|
+
# },
|
939
945
|
# anonymous_auth_enabled: false,
|
940
946
|
# },
|
941
947
|
# tag_list: [
|
@@ -1047,6 +1053,10 @@ module Aws::OpenSearchService
|
|
1047
1053
|
# resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
|
1048
1054
|
# resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
|
1049
1055
|
# resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
|
1056
|
+
# resp.domain_status.advanced_security_options.jwt_options.enabled #=> Boolean
|
1057
|
+
# resp.domain_status.advanced_security_options.jwt_options.subject_key #=> String
|
1058
|
+
# resp.domain_status.advanced_security_options.jwt_options.roles_key #=> String
|
1059
|
+
# resp.domain_status.advanced_security_options.jwt_options.public_key #=> String
|
1050
1060
|
# resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time
|
1051
1061
|
# resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean
|
1052
1062
|
# resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
|
@@ -1408,6 +1418,10 @@ module Aws::OpenSearchService
|
|
1408
1418
|
# resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
|
1409
1419
|
# resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
|
1410
1420
|
# resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
|
1421
|
+
# resp.domain_status.advanced_security_options.jwt_options.enabled #=> Boolean
|
1422
|
+
# resp.domain_status.advanced_security_options.jwt_options.subject_key #=> String
|
1423
|
+
# resp.domain_status.advanced_security_options.jwt_options.roles_key #=> String
|
1424
|
+
# resp.domain_status.advanced_security_options.jwt_options.public_key #=> String
|
1411
1425
|
# resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time
|
1412
1426
|
# resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean
|
1413
1427
|
# resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
|
@@ -1702,6 +1716,10 @@ module Aws::OpenSearchService
|
|
1702
1716
|
# resp.domain_status.advanced_security_options.saml_options.subject_key #=> String
|
1703
1717
|
# resp.domain_status.advanced_security_options.saml_options.roles_key #=> String
|
1704
1718
|
# resp.domain_status.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
|
1719
|
+
# resp.domain_status.advanced_security_options.jwt_options.enabled #=> Boolean
|
1720
|
+
# resp.domain_status.advanced_security_options.jwt_options.subject_key #=> String
|
1721
|
+
# resp.domain_status.advanced_security_options.jwt_options.roles_key #=> String
|
1722
|
+
# resp.domain_status.advanced_security_options.jwt_options.public_key #=> String
|
1705
1723
|
# resp.domain_status.advanced_security_options.anonymous_auth_disable_date #=> Time
|
1706
1724
|
# resp.domain_status.advanced_security_options.anonymous_auth_enabled #=> Boolean
|
1707
1725
|
# resp.domain_status.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
|
@@ -1979,6 +1997,10 @@ module Aws::OpenSearchService
|
|
1979
1997
|
# resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
|
1980
1998
|
# resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
|
1981
1999
|
# resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
|
2000
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.enabled #=> Boolean
|
2001
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.subject_key #=> String
|
2002
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.roles_key #=> String
|
2003
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.public_key #=> String
|
1982
2004
|
# resp.domain_config.advanced_security_options.options.anonymous_auth_disable_date #=> Time
|
1983
2005
|
# resp.domain_config.advanced_security_options.options.anonymous_auth_enabled #=> Boolean
|
1984
2006
|
# resp.domain_config.advanced_security_options.status.creation_date #=> Time
|
@@ -2227,6 +2249,10 @@ module Aws::OpenSearchService
|
|
2227
2249
|
# resp.domain_status_list[0].advanced_security_options.saml_options.subject_key #=> String
|
2228
2250
|
# resp.domain_status_list[0].advanced_security_options.saml_options.roles_key #=> String
|
2229
2251
|
# resp.domain_status_list[0].advanced_security_options.saml_options.session_timeout_minutes #=> Integer
|
2252
|
+
# resp.domain_status_list[0].advanced_security_options.jwt_options.enabled #=> Boolean
|
2253
|
+
# resp.domain_status_list[0].advanced_security_options.jwt_options.subject_key #=> String
|
2254
|
+
# resp.domain_status_list[0].advanced_security_options.jwt_options.roles_key #=> String
|
2255
|
+
# resp.domain_status_list[0].advanced_security_options.jwt_options.public_key #=> String
|
2230
2256
|
# resp.domain_status_list[0].advanced_security_options.anonymous_auth_disable_date #=> Time
|
2231
2257
|
# resp.domain_status_list[0].advanced_security_options.anonymous_auth_enabled #=> Boolean
|
2232
2258
|
# resp.domain_status_list[0].auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
|
@@ -2373,6 +2399,10 @@ module Aws::OpenSearchService
|
|
2373
2399
|
# resp.dry_run_config.advanced_security_options.saml_options.subject_key #=> String
|
2374
2400
|
# resp.dry_run_config.advanced_security_options.saml_options.roles_key #=> String
|
2375
2401
|
# resp.dry_run_config.advanced_security_options.saml_options.session_timeout_minutes #=> Integer
|
2402
|
+
# resp.dry_run_config.advanced_security_options.jwt_options.enabled #=> Boolean
|
2403
|
+
# resp.dry_run_config.advanced_security_options.jwt_options.subject_key #=> String
|
2404
|
+
# resp.dry_run_config.advanced_security_options.jwt_options.roles_key #=> String
|
2405
|
+
# resp.dry_run_config.advanced_security_options.jwt_options.public_key #=> String
|
2376
2406
|
# resp.dry_run_config.advanced_security_options.anonymous_auth_disable_date #=> Time
|
2377
2407
|
# resp.dry_run_config.advanced_security_options.anonymous_auth_enabled #=> Boolean
|
2378
2408
|
# resp.dry_run_config.auto_tune_options.state #=> String, one of "ENABLED", "DISABLED", "ENABLE_IN_PROGRESS", "DISABLE_IN_PROGRESS", "DISABLED_AND_ROLLBACK_SCHEDULED", "DISABLED_AND_ROLLBACK_IN_PROGRESS", "DISABLED_AND_ROLLBACK_COMPLETE", "DISABLED_AND_ROLLBACK_ERROR", "ERROR"
|
@@ -3992,7 +4022,7 @@ module Aws::OpenSearchService
|
|
3992
4022
|
# A new description of the data source.
|
3993
4023
|
#
|
3994
4024
|
# @option params [String] :status
|
3995
|
-
# The status of the data source update
|
4025
|
+
# The status of the data source update.
|
3996
4026
|
#
|
3997
4027
|
# @return [Types::UpdateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3998
4028
|
#
|
@@ -4230,6 +4260,12 @@ module Aws::OpenSearchService
|
|
4230
4260
|
# roles_key: "String",
|
4231
4261
|
# session_timeout_minutes: 1,
|
4232
4262
|
# },
|
4263
|
+
# jwt_options: {
|
4264
|
+
# enabled: false,
|
4265
|
+
# subject_key: "SubjectKey",
|
4266
|
+
# roles_key: "RolesKey",
|
4267
|
+
# public_key: "String",
|
4268
|
+
# },
|
4233
4269
|
# anonymous_auth_enabled: false,
|
4234
4270
|
# },
|
4235
4271
|
# auto_tune_options: {
|
@@ -4383,6 +4419,10 @@ module Aws::OpenSearchService
|
|
4383
4419
|
# resp.domain_config.advanced_security_options.options.saml_options.subject_key #=> String
|
4384
4420
|
# resp.domain_config.advanced_security_options.options.saml_options.roles_key #=> String
|
4385
4421
|
# resp.domain_config.advanced_security_options.options.saml_options.session_timeout_minutes #=> Integer
|
4422
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.enabled #=> Boolean
|
4423
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.subject_key #=> String
|
4424
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.roles_key #=> String
|
4425
|
+
# resp.domain_config.advanced_security_options.options.jwt_options.public_key #=> String
|
4386
4426
|
# resp.domain_config.advanced_security_options.options.anonymous_auth_disable_date #=> Time
|
4387
4427
|
# resp.domain_config.advanced_security_options.options.anonymous_auth_enabled #=> Boolean
|
4388
4428
|
# resp.domain_config.advanced_security_options.status.creation_date #=> Time
|
@@ -4722,7 +4762,7 @@ module Aws::OpenSearchService
|
|
4722
4762
|
params: params,
|
4723
4763
|
config: config)
|
4724
4764
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
4725
|
-
context[:gem_version] = '1.
|
4765
|
+
context[:gem_version] = '1.44.0'
|
4726
4766
|
Seahorse::Client::Request.new(handlers, context)
|
4727
4767
|
end
|
4728
4768
|
|
@@ -244,6 +244,8 @@ module Aws::OpenSearchService
|
|
244
244
|
InvalidTypeException = Shapes::StructureShape.new(name: 'InvalidTypeException')
|
245
245
|
Issue = Shapes::StringShape.new(name: 'Issue')
|
246
246
|
Issues = Shapes::ListShape.new(name: 'Issues')
|
247
|
+
JWTOptionsInput = Shapes::StructureShape.new(name: 'JWTOptionsInput')
|
248
|
+
JWTOptionsOutput = Shapes::StructureShape.new(name: 'JWTOptionsOutput')
|
247
249
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
248
250
|
LastUpdated = Shapes::TimestampShape.new(name: 'LastUpdated')
|
249
251
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
@@ -356,6 +358,7 @@ module Aws::OpenSearchService
|
|
356
358
|
RevokeVpcEndpointAccessRequest = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessRequest')
|
357
359
|
RevokeVpcEndpointAccessResponse = Shapes::StructureShape.new(name: 'RevokeVpcEndpointAccessResponse')
|
358
360
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
361
|
+
RolesKey = Shapes::StringShape.new(name: 'RolesKey')
|
359
362
|
RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
|
360
363
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
361
364
|
S3GlueDataCatalog = Shapes::StructureShape.new(name: 'S3GlueDataCatalog')
|
@@ -398,6 +401,7 @@ module Aws::OpenSearchService
|
|
398
401
|
StorageTypeName = Shapes::StringShape.new(name: 'StorageTypeName')
|
399
402
|
String = Shapes::StringShape.new(name: 'String')
|
400
403
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
404
|
+
SubjectKey = Shapes::StringShape.new(name: 'SubjectKey')
|
401
405
|
TLSSecurityPolicy = Shapes::StringShape.new(name: 'TLSSecurityPolicy')
|
402
406
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
403
407
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
@@ -501,6 +505,7 @@ module Aws::OpenSearchService
|
|
501
505
|
AdvancedSecurityOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
502
506
|
AdvancedSecurityOptions.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
|
503
507
|
AdvancedSecurityOptions.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsOutput, location_name: "SAMLOptions"))
|
508
|
+
AdvancedSecurityOptions.add_member(:jwt_options, Shapes::ShapeRef.new(shape: JWTOptionsOutput, location_name: "JWTOptions"))
|
504
509
|
AdvancedSecurityOptions.add_member(:anonymous_auth_disable_date, Shapes::ShapeRef.new(shape: DisableTimestamp, location_name: "AnonymousAuthDisableDate"))
|
505
510
|
AdvancedSecurityOptions.add_member(:anonymous_auth_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AnonymousAuthEnabled"))
|
506
511
|
AdvancedSecurityOptions.struct_class = Types::AdvancedSecurityOptions
|
@@ -509,6 +514,7 @@ module Aws::OpenSearchService
|
|
509
514
|
AdvancedSecurityOptionsInput.add_member(:internal_user_database_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "InternalUserDatabaseEnabled"))
|
510
515
|
AdvancedSecurityOptionsInput.add_member(:master_user_options, Shapes::ShapeRef.new(shape: MasterUserOptions, location_name: "MasterUserOptions"))
|
511
516
|
AdvancedSecurityOptionsInput.add_member(:saml_options, Shapes::ShapeRef.new(shape: SAMLOptionsInput, location_name: "SAMLOptions"))
|
517
|
+
AdvancedSecurityOptionsInput.add_member(:jwt_options, Shapes::ShapeRef.new(shape: JWTOptionsInput, location_name: "JWTOptions"))
|
512
518
|
AdvancedSecurityOptionsInput.add_member(:anonymous_auth_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AnonymousAuthEnabled"))
|
513
519
|
AdvancedSecurityOptionsInput.struct_class = Types::AdvancedSecurityOptionsInput
|
514
520
|
|
@@ -1217,6 +1223,18 @@ module Aws::OpenSearchService
|
|
1217
1223
|
|
1218
1224
|
Issues.member = Shapes::ShapeRef.new(shape: Issue)
|
1219
1225
|
|
1226
|
+
JWTOptionsInput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
1227
|
+
JWTOptionsInput.add_member(:subject_key, Shapes::ShapeRef.new(shape: SubjectKey, location_name: "SubjectKey"))
|
1228
|
+
JWTOptionsInput.add_member(:roles_key, Shapes::ShapeRef.new(shape: RolesKey, location_name: "RolesKey"))
|
1229
|
+
JWTOptionsInput.add_member(:public_key, Shapes::ShapeRef.new(shape: String, location_name: "PublicKey"))
|
1230
|
+
JWTOptionsInput.struct_class = Types::JWTOptionsInput
|
1231
|
+
|
1232
|
+
JWTOptionsOutput.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
|
1233
|
+
JWTOptionsOutput.add_member(:subject_key, Shapes::ShapeRef.new(shape: String, location_name: "SubjectKey"))
|
1234
|
+
JWTOptionsOutput.add_member(:roles_key, Shapes::ShapeRef.new(shape: String, location_name: "RolesKey"))
|
1235
|
+
JWTOptionsOutput.add_member(:public_key, Shapes::ShapeRef.new(shape: String, location_name: "PublicKey"))
|
1236
|
+
JWTOptionsOutput.struct_class = Types::JWTOptionsOutput
|
1237
|
+
|
1220
1238
|
LimitExceededException.struct_class = Types::LimitExceededException
|
1221
1239
|
|
1222
1240
|
LimitValueList.member = Shapes::ShapeRef.new(shape: LimitValue)
|
@@ -1763,6 +1781,7 @@ module Aws::OpenSearchService
|
|
1763
1781
|
|
1764
1782
|
api.metadata = {
|
1765
1783
|
"apiVersion" => "2021-01-01",
|
1784
|
+
"auth" => ["aws.auth#sigv4"],
|
1766
1785
|
"endpointPrefix" => "es",
|
1767
1786
|
"protocol" => "rest-json",
|
1768
1787
|
"protocols" => ["rest-json"],
|
@@ -250,6 +250,11 @@ module Aws::OpenSearchService
|
|
250
250
|
# OpenSearch Dashboards.
|
251
251
|
# @return [Types::SAMLOptionsOutput]
|
252
252
|
#
|
253
|
+
# @!attribute [rw] jwt_options
|
254
|
+
# Container for information about the JWT configuration of the Amazon
|
255
|
+
# OpenSearch Service.
|
256
|
+
# @return [Types::JWTOptionsOutput]
|
257
|
+
#
|
253
258
|
# @!attribute [rw] anonymous_auth_disable_date
|
254
259
|
# Date and time when the migration period will be disabled. Only
|
255
260
|
# necessary when [enabling fine-grained access control on an existing
|
@@ -276,6 +281,7 @@ module Aws::OpenSearchService
|
|
276
281
|
:enabled,
|
277
282
|
:internal_user_database_enabled,
|
278
283
|
:saml_options,
|
284
|
+
:jwt_options,
|
279
285
|
:anonymous_auth_disable_date,
|
280
286
|
:anonymous_auth_enabled)
|
281
287
|
SENSITIVE = []
|
@@ -307,6 +313,11 @@ module Aws::OpenSearchService
|
|
307
313
|
# OpenSearch Dashboards.
|
308
314
|
# @return [Types::SAMLOptionsInput]
|
309
315
|
#
|
316
|
+
# @!attribute [rw] jwt_options
|
317
|
+
# Container for information about the JWT configuration of the Amazon
|
318
|
+
# OpenSearch Service.
|
319
|
+
# @return [Types::JWTOptionsInput]
|
320
|
+
#
|
310
321
|
# @!attribute [rw] anonymous_auth_enabled
|
311
322
|
# True to enable a 30-day migration period during which administrators
|
312
323
|
# can create role mappings. Only necessary when [enabling fine-grained
|
@@ -324,6 +335,7 @@ module Aws::OpenSearchService
|
|
324
335
|
:internal_user_database_enabled,
|
325
336
|
:master_user_options,
|
326
337
|
:saml_options,
|
338
|
+
:jwt_options,
|
327
339
|
:anonymous_auth_enabled)
|
328
340
|
SENSITIVE = []
|
329
341
|
include Aws::Structure
|
@@ -3508,7 +3520,7 @@ module Aws::OpenSearchService
|
|
3508
3520
|
# @return [String]
|
3509
3521
|
#
|
3510
3522
|
# @!attribute [rw] status
|
3511
|
-
# The status of the data source
|
3523
|
+
# The status of the data source.
|
3512
3524
|
# @return [String]
|
3513
3525
|
#
|
3514
3526
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSourceResponse AWS API Documentation
|
@@ -3942,6 +3954,66 @@ module Aws::OpenSearchService
|
|
3942
3954
|
#
|
3943
3955
|
class InvalidTypeException < Aws::EmptyStructure; end
|
3944
3956
|
|
3957
|
+
# The JWT authentication and authorization configuration for an Amazon
|
3958
|
+
# OpenSearch Service domain.
|
3959
|
+
#
|
3960
|
+
# @!attribute [rw] enabled
|
3961
|
+
# True to enable JWT authentication and authorization for a domain.
|
3962
|
+
# @return [Boolean]
|
3963
|
+
#
|
3964
|
+
# @!attribute [rw] subject_key
|
3965
|
+
# Element of the JWT assertion to use for the user name.
|
3966
|
+
# @return [String]
|
3967
|
+
#
|
3968
|
+
# @!attribute [rw] roles_key
|
3969
|
+
# Element of the JWT assertion to use for roles.
|
3970
|
+
# @return [String]
|
3971
|
+
#
|
3972
|
+
# @!attribute [rw] public_key
|
3973
|
+
# Element of the JWT assertion used by the cluster to verify JWT
|
3974
|
+
# signatures.
|
3975
|
+
# @return [String]
|
3976
|
+
#
|
3977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/JWTOptionsInput AWS API Documentation
|
3978
|
+
#
|
3979
|
+
class JWTOptionsInput < Struct.new(
|
3980
|
+
:enabled,
|
3981
|
+
:subject_key,
|
3982
|
+
:roles_key,
|
3983
|
+
:public_key)
|
3984
|
+
SENSITIVE = []
|
3985
|
+
include Aws::Structure
|
3986
|
+
end
|
3987
|
+
|
3988
|
+
# Describes the JWT options configured for the domain.
|
3989
|
+
#
|
3990
|
+
# @!attribute [rw] enabled
|
3991
|
+
# True if JWT use is enabled.
|
3992
|
+
# @return [Boolean]
|
3993
|
+
#
|
3994
|
+
# @!attribute [rw] subject_key
|
3995
|
+
# The key used for matching the JWT subject attribute.
|
3996
|
+
# @return [String]
|
3997
|
+
#
|
3998
|
+
# @!attribute [rw] roles_key
|
3999
|
+
# The key used for matching the JWT roles attribute.
|
4000
|
+
# @return [String]
|
4001
|
+
#
|
4002
|
+
# @!attribute [rw] public_key
|
4003
|
+
# The key used to verify the signature of incoming JWT requests.
|
4004
|
+
# @return [String]
|
4005
|
+
#
|
4006
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/JWTOptionsOutput AWS API Documentation
|
4007
|
+
#
|
4008
|
+
class JWTOptionsOutput < Struct.new(
|
4009
|
+
:enabled,
|
4010
|
+
:subject_key,
|
4011
|
+
:roles_key,
|
4012
|
+
:public_key)
|
4013
|
+
SENSITIVE = []
|
4014
|
+
include Aws::Structure
|
4015
|
+
end
|
4016
|
+
|
3945
4017
|
# An exception for trying to create more than the allowed number of
|
3946
4018
|
# resources or sub-resources.
|
3947
4019
|
#
|
@@ -5884,7 +5956,7 @@ module Aws::OpenSearchService
|
|
5884
5956
|
# @return [String]
|
5885
5957
|
#
|
5886
5958
|
# @!attribute [rw] status
|
5887
|
-
# The status of the data source update
|
5959
|
+
# The status of the data source update.
|
5888
5960
|
# @return [String]
|
5889
5961
|
#
|
5890
5962
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSourceRequest AWS API Documentation
|
data/sig/client.rbs
CHANGED
@@ -243,6 +243,12 @@ module Aws
|
|
243
243
|
roles_key: ::String?,
|
244
244
|
session_timeout_minutes: ::Integer?
|
245
245
|
}?,
|
246
|
+
jwt_options: {
|
247
|
+
enabled: bool?,
|
248
|
+
subject_key: ::String?,
|
249
|
+
roles_key: ::String?,
|
250
|
+
public_key: ::String?
|
251
|
+
}?,
|
246
252
|
anonymous_auth_enabled: bool?
|
247
253
|
},
|
248
254
|
?tag_list: Array[
|
@@ -1019,6 +1025,12 @@ module Aws
|
|
1019
1025
|
roles_key: ::String?,
|
1020
1026
|
session_timeout_minutes: ::Integer?
|
1021
1027
|
}?,
|
1028
|
+
jwt_options: {
|
1029
|
+
enabled: bool?,
|
1030
|
+
subject_key: ::String?,
|
1031
|
+
roles_key: ::String?,
|
1032
|
+
public_key: ::String?
|
1033
|
+
}?,
|
1022
1034
|
anonymous_auth_enabled: bool?
|
1023
1035
|
},
|
1024
1036
|
?auto_tune_options: {
|
data/sig/types.rbs
CHANGED
@@ -69,6 +69,7 @@ module Aws::OpenSearchService
|
|
69
69
|
attr_accessor enabled: bool
|
70
70
|
attr_accessor internal_user_database_enabled: bool
|
71
71
|
attr_accessor saml_options: Types::SAMLOptionsOutput
|
72
|
+
attr_accessor jwt_options: Types::JWTOptionsOutput
|
72
73
|
attr_accessor anonymous_auth_disable_date: ::Time
|
73
74
|
attr_accessor anonymous_auth_enabled: bool
|
74
75
|
SENSITIVE: []
|
@@ -79,6 +80,7 @@ module Aws::OpenSearchService
|
|
79
80
|
attr_accessor internal_user_database_enabled: bool
|
80
81
|
attr_accessor master_user_options: Types::MasterUserOptions
|
81
82
|
attr_accessor saml_options: Types::SAMLOptionsInput
|
83
|
+
attr_accessor jwt_options: Types::JWTOptionsInput
|
82
84
|
attr_accessor anonymous_auth_enabled: bool
|
83
85
|
SENSITIVE: []
|
84
86
|
end
|
@@ -994,6 +996,22 @@ module Aws::OpenSearchService
|
|
994
996
|
class InvalidTypeException < Aws::EmptyStructure
|
995
997
|
end
|
996
998
|
|
999
|
+
class JWTOptionsInput
|
1000
|
+
attr_accessor enabled: bool
|
1001
|
+
attr_accessor subject_key: ::String
|
1002
|
+
attr_accessor roles_key: ::String
|
1003
|
+
attr_accessor public_key: ::String
|
1004
|
+
SENSITIVE: []
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
class JWTOptionsOutput
|
1008
|
+
attr_accessor enabled: bool
|
1009
|
+
attr_accessor subject_key: ::String
|
1010
|
+
attr_accessor roles_key: ::String
|
1011
|
+
attr_accessor public_key: ::String
|
1012
|
+
SENSITIVE: []
|
1013
|
+
end
|
1014
|
+
|
997
1015
|
class LimitExceededException < Aws::EmptyStructure
|
998
1016
|
end
|
999
1017
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-opensearchservice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.197.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.197.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|