aws-sdk-opensearchserverless 1.38.0 → 1.40.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchserverless/client.rb +50 -16
- data/lib/aws-sdk-opensearchserverless/client_api.rb +10 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +50 -3
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- data/sig/client.rbs +11 -2
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +13 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fa39fba4d0a943bd175777124f79d29e86884b39b473dbd5e2534817d355664
|
4
|
+
data.tar.gz: 0a810f13532ce7ec71330ef4a7c37f4a05fc4b7b0748e9128252d543df80fb25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1170762aeb4a64c00e5531f772f25dcb908efc41d92899cfbbf2ec33ba36b543daca70251b7bc5a89fa0ea13abbbf8faf24e83fc65c6abbc120952010c16f79
|
7
|
+
data.tar.gz: f5dbf3533400a813fc68f204482eaf68f2bd2e68ec473748418227faf8aebcca6607f9bbed28e2ab82ce02f83094d243ebc096f22808b71be91640506d0db507
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2025-07-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This is to support Granular access control support for SAML with IAMFedraton in AOSS
|
8
|
+
|
9
|
+
1.39.0 (2025-07-21)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.38.0 (2025-06-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -95,7 +95,7 @@ module Aws::OpenSearchServerless
|
|
95
95
|
# class name or an instance of a plugin class.
|
96
96
|
#
|
97
97
|
# @option options [required, Aws::CredentialProvider] :credentials
|
98
|
-
# Your AWS credentials. This can be an instance of any one of the
|
98
|
+
# Your AWS credentials used for authentication. This can be an instance of any one of the
|
99
99
|
# following classes:
|
100
100
|
#
|
101
101
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
@@ -128,18 +128,23 @@ module Aws::OpenSearchServerless
|
|
128
128
|
# locations will be searched for credentials:
|
129
129
|
#
|
130
130
|
# * `Aws.config[:credentials]`
|
131
|
+
#
|
131
132
|
# * The `:access_key_id`, `:secret_access_key`, `:session_token`, and
|
132
133
|
# `:account_id` options.
|
133
|
-
#
|
134
|
-
#
|
134
|
+
#
|
135
|
+
# * `ENV['AWS_ACCESS_KEY_ID']`, `ENV['AWS_SECRET_ACCESS_KEY']`,
|
136
|
+
# `ENV['AWS_SESSION_TOKEN']`, and `ENV['AWS_ACCOUNT_ID']`.
|
137
|
+
#
|
135
138
|
# * `~/.aws/credentials`
|
139
|
+
#
|
136
140
|
# * `~/.aws/config`
|
141
|
+
#
|
137
142
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
138
143
|
# are very aggressive. Construct and pass an instance of
|
139
144
|
# `Aws::InstanceProfileCredentials` or `Aws::ECSCredentials` to
|
140
145
|
# enable retries and extended timeouts. Instance profile credential
|
141
|
-
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
142
|
-
# to true
|
146
|
+
# fetching can be disabled by setting `ENV['AWS_EC2_METADATA_DISABLED']`
|
147
|
+
# to `true`.
|
143
148
|
#
|
144
149
|
# @option options [required, String] :region
|
145
150
|
# The AWS region to connect to. The configured `:region` is
|
@@ -167,6 +172,11 @@ module Aws::OpenSearchServerless
|
|
167
172
|
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
168
173
|
# not retry instead of sleeping.
|
169
174
|
#
|
175
|
+
# @option options [Array<String>] :auth_scheme_preference
|
176
|
+
# A list of preferred authentication schemes to use when making a request. Supported values are:
|
177
|
+
# `sigv4`, `sigv4a`, `httpBearerAuth`, and `noAuth`. When set using `ENV['AWS_AUTH_SCHEME_PREFERENCE']` or in
|
178
|
+
# shared config as `auth_scheme_preference`, the value should be a comma-separated list.
|
179
|
+
#
|
170
180
|
# @option options [Boolean] :client_side_monitoring (false)
|
171
181
|
# When `true`, client-side metrics will be collected for all API requests from
|
172
182
|
# this client.
|
@@ -253,8 +263,8 @@ module Aws::OpenSearchServerless
|
|
253
263
|
# 4 times. Used in `standard` and `adaptive` retry modes.
|
254
264
|
#
|
255
265
|
# @option options [String] :profile ("default")
|
256
|
-
# Used when loading credentials from the shared credentials file
|
257
|
-
#
|
266
|
+
# Used when loading credentials from the shared credentials file at `HOME/.aws/credentials`.
|
267
|
+
# When not specified, 'default' is used.
|
258
268
|
#
|
259
269
|
# @option options [String] :request_checksum_calculation ("when_supported")
|
260
270
|
# Determines when a checksum will be calculated for request payloads. Values are:
|
@@ -374,7 +384,7 @@ module Aws::OpenSearchServerless
|
|
374
384
|
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
375
385
|
#
|
376
386
|
# @option options [Aws::TokenProvider] :token_provider
|
377
|
-
#
|
387
|
+
# Your Bearer token used for authentication. This can be an instance of any one of the
|
378
388
|
# following classes:
|
379
389
|
#
|
380
390
|
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
@@ -909,13 +919,18 @@ module Aws::OpenSearchServerless
|
|
909
919
|
#
|
910
920
|
# @option params [Types::SamlConfigOptions] :saml_options
|
911
921
|
# Describes SAML options in in the form of a key-value map. This field
|
912
|
-
# is required if you specify `
|
922
|
+
# is required if you specify `SAML` for the `type` parameter.
|
913
923
|
#
|
914
924
|
# @option params [Types::CreateIamIdentityCenterConfigOptions] :iam_identity_center_options
|
915
925
|
# Describes IAM Identity Center options in the form of a key-value map.
|
916
926
|
# This field is required if you specify iamidentitycenter for the type
|
917
927
|
# parameter.
|
918
928
|
#
|
929
|
+
# @option params [Types::IamFederationConfigOptions] :iam_federation_options
|
930
|
+
# Describes IAM federation options in the form of a key-value map. This
|
931
|
+
# field is required if you specify `iamFederation` for the `type`
|
932
|
+
# parameter.
|
933
|
+
#
|
919
934
|
# @option params [String] :client_token
|
920
935
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
921
936
|
# request.
|
@@ -930,7 +945,7 @@ module Aws::OpenSearchServerless
|
|
930
945
|
# @example Request syntax with placeholder values
|
931
946
|
#
|
932
947
|
# resp = client.create_security_config({
|
933
|
-
# type: "saml", # required, accepts saml, iamidentitycenter
|
948
|
+
# type: "saml", # required, accepts saml, iamidentitycenter, iamfederation
|
934
949
|
# name: "ConfigName", # required
|
935
950
|
# description: "ConfigDescription",
|
936
951
|
# saml_options: {
|
@@ -945,13 +960,17 @@ module Aws::OpenSearchServerless
|
|
945
960
|
# user_attribute: "UserId", # accepts UserId, UserName, Email
|
946
961
|
# group_attribute: "GroupId", # accepts GroupId, GroupName
|
947
962
|
# },
|
963
|
+
# iam_federation_options: {
|
964
|
+
# group_attribute: "iamFederationGroupAttribute",
|
965
|
+
# user_attribute: "iamFederationUserAttribute",
|
966
|
+
# },
|
948
967
|
# client_token: "ClientToken",
|
949
968
|
# })
|
950
969
|
#
|
951
970
|
# @example Response structure
|
952
971
|
#
|
953
972
|
# resp.security_config_detail.id #=> String
|
954
|
-
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter"
|
973
|
+
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter", "iamfederation"
|
955
974
|
# resp.security_config_detail.config_version #=> String
|
956
975
|
# resp.security_config_detail.description #=> String
|
957
976
|
# resp.security_config_detail.saml_options.metadata #=> String
|
@@ -965,6 +984,8 @@ module Aws::OpenSearchServerless
|
|
965
984
|
# resp.security_config_detail.iam_identity_center_options.application_description #=> String
|
966
985
|
# resp.security_config_detail.iam_identity_center_options.user_attribute #=> String, one of "UserId", "UserName", "Email"
|
967
986
|
# resp.security_config_detail.iam_identity_center_options.group_attribute #=> String, one of "GroupId", "GroupName"
|
987
|
+
# resp.security_config_detail.iam_federation_options.group_attribute #=> String
|
988
|
+
# resp.security_config_detail.iam_federation_options.user_attribute #=> String
|
968
989
|
# resp.security_config_detail.created_date #=> Integer
|
969
990
|
# resp.security_config_detail.last_modified_date #=> Integer
|
970
991
|
#
|
@@ -1459,7 +1480,7 @@ module Aws::OpenSearchServerless
|
|
1459
1480
|
# @example Response structure
|
1460
1481
|
#
|
1461
1482
|
# resp.security_config_detail.id #=> String
|
1462
|
-
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter"
|
1483
|
+
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter", "iamfederation"
|
1463
1484
|
# resp.security_config_detail.config_version #=> String
|
1464
1485
|
# resp.security_config_detail.description #=> String
|
1465
1486
|
# resp.security_config_detail.saml_options.metadata #=> String
|
@@ -1473,6 +1494,8 @@ module Aws::OpenSearchServerless
|
|
1473
1494
|
# resp.security_config_detail.iam_identity_center_options.application_description #=> String
|
1474
1495
|
# resp.security_config_detail.iam_identity_center_options.user_attribute #=> String, one of "UserId", "UserName", "Email"
|
1475
1496
|
# resp.security_config_detail.iam_identity_center_options.group_attribute #=> String, one of "GroupId", "GroupName"
|
1497
|
+
# resp.security_config_detail.iam_federation_options.group_attribute #=> String
|
1498
|
+
# resp.security_config_detail.iam_federation_options.user_attribute #=> String
|
1476
1499
|
# resp.security_config_detail.created_date #=> Integer
|
1477
1500
|
# resp.security_config_detail.last_modified_date #=> Integer
|
1478
1501
|
#
|
@@ -1740,7 +1763,7 @@ module Aws::OpenSearchServerless
|
|
1740
1763
|
# @example Request syntax with placeholder values
|
1741
1764
|
#
|
1742
1765
|
# resp = client.list_security_configs({
|
1743
|
-
# type: "saml", # required, accepts saml, iamidentitycenter
|
1766
|
+
# type: "saml", # required, accepts saml, iamidentitycenter, iamfederation
|
1744
1767
|
# next_token: "String",
|
1745
1768
|
# max_results: 1,
|
1746
1769
|
# })
|
@@ -1749,7 +1772,7 @@ module Aws::OpenSearchServerless
|
|
1749
1772
|
#
|
1750
1773
|
# resp.security_config_summaries #=> Array
|
1751
1774
|
# resp.security_config_summaries[0].id #=> String
|
1752
|
-
# resp.security_config_summaries[0].type #=> String, one of "saml", "iamidentitycenter"
|
1775
|
+
# resp.security_config_summaries[0].type #=> String, one of "saml", "iamidentitycenter", "iamfederation"
|
1753
1776
|
# resp.security_config_summaries[0].config_version #=> String
|
1754
1777
|
# resp.security_config_summaries[0].description #=> String
|
1755
1778
|
# resp.security_config_summaries[0].created_date #=> Integer
|
@@ -2237,6 +2260,11 @@ module Aws::OpenSearchServerless
|
|
2237
2260
|
# @option params [Types::UpdateIamIdentityCenterConfigOptions] :iam_identity_center_options_updates
|
2238
2261
|
# Describes IAM Identity Center options in the form of a key-value map.
|
2239
2262
|
#
|
2263
|
+
# @option params [Types::IamFederationConfigOptions] :iam_federation_options
|
2264
|
+
# Describes IAM federation options in the form of a key-value map for
|
2265
|
+
# updating an existing security configuration. Use this field to modify
|
2266
|
+
# IAM federation settings for the security configuration.
|
2267
|
+
#
|
2240
2268
|
# @option params [String] :client_token
|
2241
2269
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
2242
2270
|
# request.
|
@@ -2265,13 +2293,17 @@ module Aws::OpenSearchServerless
|
|
2265
2293
|
# user_attribute: "UserId", # accepts UserId, UserName, Email
|
2266
2294
|
# group_attribute: "GroupId", # accepts GroupId, GroupName
|
2267
2295
|
# },
|
2296
|
+
# iam_federation_options: {
|
2297
|
+
# group_attribute: "iamFederationGroupAttribute",
|
2298
|
+
# user_attribute: "iamFederationUserAttribute",
|
2299
|
+
# },
|
2268
2300
|
# client_token: "ClientToken",
|
2269
2301
|
# })
|
2270
2302
|
#
|
2271
2303
|
# @example Response structure
|
2272
2304
|
#
|
2273
2305
|
# resp.security_config_detail.id #=> String
|
2274
|
-
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter"
|
2306
|
+
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter", "iamfederation"
|
2275
2307
|
# resp.security_config_detail.config_version #=> String
|
2276
2308
|
# resp.security_config_detail.description #=> String
|
2277
2309
|
# resp.security_config_detail.saml_options.metadata #=> String
|
@@ -2285,6 +2317,8 @@ module Aws::OpenSearchServerless
|
|
2285
2317
|
# resp.security_config_detail.iam_identity_center_options.application_description #=> String
|
2286
2318
|
# resp.security_config_detail.iam_identity_center_options.user_attribute #=> String, one of "UserId", "UserName", "Email"
|
2287
2319
|
# resp.security_config_detail.iam_identity_center_options.group_attribute #=> String, one of "GroupId", "GroupName"
|
2320
|
+
# resp.security_config_detail.iam_federation_options.group_attribute #=> String
|
2321
|
+
# resp.security_config_detail.iam_federation_options.user_attribute #=> String
|
2288
2322
|
# resp.security_config_detail.created_date #=> Integer
|
2289
2323
|
# resp.security_config_detail.last_modified_date #=> Integer
|
2290
2324
|
#
|
@@ -2448,7 +2482,7 @@ module Aws::OpenSearchServerless
|
|
2448
2482
|
tracer: tracer
|
2449
2483
|
)
|
2450
2484
|
context[:gem_name] = 'aws-sdk-opensearchserverless'
|
2451
|
-
context[:gem_version] = '1.
|
2485
|
+
context[:gem_version] = '1.40.0'
|
2452
2486
|
Seahorse::Client::Request.new(handlers, context)
|
2453
2487
|
end
|
2454
2488
|
|
@@ -93,6 +93,7 @@ module Aws::OpenSearchServerless
|
|
93
93
|
GetSecurityConfigResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigResponse')
|
94
94
|
GetSecurityPolicyRequest = Shapes::StructureShape.new(name: 'GetSecurityPolicyRequest')
|
95
95
|
GetSecurityPolicyResponse = Shapes::StructureShape.new(name: 'GetSecurityPolicyResponse')
|
96
|
+
IamFederationConfigOptions = Shapes::StructureShape.new(name: 'IamFederationConfigOptions')
|
96
97
|
IamIdentityCenterApplicationArn = Shapes::StringShape.new(name: 'IamIdentityCenterApplicationArn')
|
97
98
|
IamIdentityCenterConfigOptions = Shapes::StructureShape.new(name: 'IamIdentityCenterConfigOptions')
|
98
99
|
IamIdentityCenterGroupAttribute = Shapes::StringShape.new(name: 'IamIdentityCenterGroupAttribute')
|
@@ -207,6 +208,8 @@ module Aws::OpenSearchServerless
|
|
207
208
|
VpcEndpointSummaries = Shapes::ListShape.new(name: 'VpcEndpointSummaries')
|
208
209
|
VpcEndpointSummary = Shapes::StructureShape.new(name: 'VpcEndpointSummary')
|
209
210
|
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
211
|
+
iamFederationGroupAttribute = Shapes::StringShape.new(name: 'iamFederationGroupAttribute')
|
212
|
+
iamFederationUserAttribute = Shapes::StringShape.new(name: 'iamFederationUserAttribute')
|
210
213
|
openSearchServerlessEntityId = Shapes::StringShape.new(name: 'openSearchServerlessEntityId')
|
211
214
|
samlGroupAttribute = Shapes::StringShape.new(name: 'samlGroupAttribute')
|
212
215
|
samlMetadata = Shapes::StringShape.new(name: 'samlMetadata')
|
@@ -368,6 +371,7 @@ module Aws::OpenSearchServerless
|
|
368
371
|
CreateSecurityConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConfigDescription, location_name: "description"))
|
369
372
|
CreateSecurityConfigRequest.add_member(:saml_options, Shapes::ShapeRef.new(shape: SamlConfigOptions, location_name: "samlOptions"))
|
370
373
|
CreateSecurityConfigRequest.add_member(:iam_identity_center_options, Shapes::ShapeRef.new(shape: CreateIamIdentityCenterConfigOptions, location_name: "iamIdentityCenterOptions"))
|
374
|
+
CreateSecurityConfigRequest.add_member(:iam_federation_options, Shapes::ShapeRef.new(shape: IamFederationConfigOptions, location_name: "iamFederationOptions"))
|
371
375
|
CreateSecurityConfigRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
372
376
|
CreateSecurityConfigRequest.struct_class = Types::CreateSecurityConfigRequest
|
373
377
|
|
@@ -502,6 +506,10 @@ module Aws::OpenSearchServerless
|
|
502
506
|
GetSecurityPolicyResponse.add_member(:security_policy_detail, Shapes::ShapeRef.new(shape: SecurityPolicyDetail, location_name: "securityPolicyDetail"))
|
503
507
|
GetSecurityPolicyResponse.struct_class = Types::GetSecurityPolicyResponse
|
504
508
|
|
509
|
+
IamFederationConfigOptions.add_member(:group_attribute, Shapes::ShapeRef.new(shape: iamFederationGroupAttribute, location_name: "groupAttribute"))
|
510
|
+
IamFederationConfigOptions.add_member(:user_attribute, Shapes::ShapeRef.new(shape: iamFederationUserAttribute, location_name: "userAttribute"))
|
511
|
+
IamFederationConfigOptions.struct_class = Types::IamFederationConfigOptions
|
512
|
+
|
505
513
|
IamIdentityCenterConfigOptions.add_member(:instance_arn, Shapes::ShapeRef.new(shape: IamIdentityCenterInstanceArn, location_name: "instanceArn"))
|
506
514
|
IamIdentityCenterConfigOptions.add_member(:application_arn, Shapes::ShapeRef.new(shape: IamIdentityCenterApplicationArn, location_name: "applicationArn"))
|
507
515
|
IamIdentityCenterConfigOptions.add_member(:application_name, Shapes::ShapeRef.new(shape: String, location_name: "applicationName"))
|
@@ -645,6 +653,7 @@ module Aws::OpenSearchServerless
|
|
645
653
|
SecurityConfigDetail.add_member(:description, Shapes::ShapeRef.new(shape: ConfigDescription, location_name: "description"))
|
646
654
|
SecurityConfigDetail.add_member(:saml_options, Shapes::ShapeRef.new(shape: SamlConfigOptions, location_name: "samlOptions"))
|
647
655
|
SecurityConfigDetail.add_member(:iam_identity_center_options, Shapes::ShapeRef.new(shape: IamIdentityCenterConfigOptions, location_name: "iamIdentityCenterOptions"))
|
656
|
+
SecurityConfigDetail.add_member(:iam_federation_options, Shapes::ShapeRef.new(shape: IamFederationConfigOptions, location_name: "iamFederationOptions"))
|
648
657
|
SecurityConfigDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
649
658
|
SecurityConfigDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
650
659
|
SecurityConfigDetail.struct_class = Types::SecurityConfigDetail
|
@@ -771,6 +780,7 @@ module Aws::OpenSearchServerless
|
|
771
780
|
UpdateSecurityConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConfigDescription, location_name: "description"))
|
772
781
|
UpdateSecurityConfigRequest.add_member(:saml_options, Shapes::ShapeRef.new(shape: SamlConfigOptions, location_name: "samlOptions"))
|
773
782
|
UpdateSecurityConfigRequest.add_member(:iam_identity_center_options_updates, Shapes::ShapeRef.new(shape: UpdateIamIdentityCenterConfigOptions, location_name: "iamIdentityCenterOptionsUpdates"))
|
783
|
+
UpdateSecurityConfigRequest.add_member(:iam_federation_options, Shapes::ShapeRef.new(shape: IamFederationConfigOptions, location_name: "iamFederationOptions"))
|
774
784
|
UpdateSecurityConfigRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
775
785
|
UpdateSecurityConfigRequest.struct_class = Types::UpdateSecurityConfigRequest
|
776
786
|
|
@@ -719,7 +719,7 @@ module Aws::OpenSearchServerless
|
|
719
719
|
#
|
720
720
|
# @!attribute [rw] saml_options
|
721
721
|
# Describes SAML options in in the form of a key-value map. This field
|
722
|
-
# is required if you specify `
|
722
|
+
# is required if you specify `SAML` for the `type` parameter.
|
723
723
|
# @return [Types::SamlConfigOptions]
|
724
724
|
#
|
725
725
|
# @!attribute [rw] iam_identity_center_options
|
@@ -728,6 +728,12 @@ module Aws::OpenSearchServerless
|
|
728
728
|
# type parameter.
|
729
729
|
# @return [Types::CreateIamIdentityCenterConfigOptions]
|
730
730
|
#
|
731
|
+
# @!attribute [rw] iam_federation_options
|
732
|
+
# Describes IAM federation options in the form of a key-value map.
|
733
|
+
# This field is required if you specify `iamFederation` for the `type`
|
734
|
+
# parameter.
|
735
|
+
# @return [Types::IamFederationConfigOptions]
|
736
|
+
#
|
731
737
|
# @!attribute [rw] client_token
|
732
738
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
733
739
|
# request.
|
@@ -744,6 +750,7 @@ module Aws::OpenSearchServerless
|
|
744
750
|
:description,
|
745
751
|
:saml_options,
|
746
752
|
:iam_identity_center_options,
|
753
|
+
:iam_federation_options,
|
747
754
|
:client_token)
|
748
755
|
SENSITIVE = []
|
749
756
|
include Aws::Structure
|
@@ -1341,6 +1348,32 @@ module Aws::OpenSearchServerless
|
|
1341
1348
|
include Aws::Structure
|
1342
1349
|
end
|
1343
1350
|
|
1351
|
+
# Describes IAM federation options for an OpenSearch Serverless security
|
1352
|
+
# configuration in the form of a key-value map. These options define how
|
1353
|
+
# OpenSearch Serverless integrates with external identity providers
|
1354
|
+
# using federation.
|
1355
|
+
#
|
1356
|
+
# @!attribute [rw] group_attribute
|
1357
|
+
# The group attribute for this IAM federation integration. This
|
1358
|
+
# attribute is used to map identity provider groups to OpenSearch
|
1359
|
+
# Serverless permissions.
|
1360
|
+
# @return [String]
|
1361
|
+
#
|
1362
|
+
# @!attribute [rw] user_attribute
|
1363
|
+
# The user attribute for this IAM federation integration. This
|
1364
|
+
# attribute is used to identify users in the federated authentication
|
1365
|
+
# process.
|
1366
|
+
# @return [String]
|
1367
|
+
#
|
1368
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/IamFederationConfigOptions AWS API Documentation
|
1369
|
+
#
|
1370
|
+
class IamFederationConfigOptions < Struct.new(
|
1371
|
+
:group_attribute,
|
1372
|
+
:user_attribute)
|
1373
|
+
SENSITIVE = []
|
1374
|
+
include Aws::Structure
|
1375
|
+
end
|
1376
|
+
|
1344
1377
|
# Describes IAM Identity Center options for an OpenSearch Serverless
|
1345
1378
|
# security configuration in the form of a key-value map.
|
1346
1379
|
#
|
@@ -1938,8 +1971,8 @@ module Aws::OpenSearchServerless
|
|
1938
1971
|
# @return [String]
|
1939
1972
|
#
|
1940
1973
|
# @!attribute [rw] open_search_serverless_entity_id
|
1941
|
-
# Custom entity
|
1942
|
-
#
|
1974
|
+
# Custom entity ID attribute to override the default entity ID for
|
1975
|
+
# this SAML integration.
|
1943
1976
|
# @return [String]
|
1944
1977
|
#
|
1945
1978
|
# @!attribute [rw] session_timeout
|
@@ -1986,6 +2019,12 @@ module Aws::OpenSearchServerless
|
|
1986
2019
|
# map.
|
1987
2020
|
# @return [Types::IamIdentityCenterConfigOptions]
|
1988
2021
|
#
|
2022
|
+
# @!attribute [rw] iam_federation_options
|
2023
|
+
# Describes IAM federation options in the form of a key-value map.
|
2024
|
+
# Contains configuration details about how OpenSearch Serverless
|
2025
|
+
# integrates with external identity providers through federation.
|
2026
|
+
# @return [Types::IamFederationConfigOptions]
|
2027
|
+
#
|
1989
2028
|
# @!attribute [rw] created_date
|
1990
2029
|
# The date the configuration was created.
|
1991
2030
|
# @return [Integer]
|
@@ -2003,6 +2042,7 @@ module Aws::OpenSearchServerless
|
|
2003
2042
|
:description,
|
2004
2043
|
:saml_options,
|
2005
2044
|
:iam_identity_center_options,
|
2045
|
+
:iam_federation_options,
|
2006
2046
|
:created_date,
|
2007
2047
|
:last_modified_date)
|
2008
2048
|
SENSITIVE = []
|
@@ -2542,6 +2582,12 @@ module Aws::OpenSearchServerless
|
|
2542
2582
|
# map.
|
2543
2583
|
# @return [Types::UpdateIamIdentityCenterConfigOptions]
|
2544
2584
|
#
|
2585
|
+
# @!attribute [rw] iam_federation_options
|
2586
|
+
# Describes IAM federation options in the form of a key-value map for
|
2587
|
+
# updating an existing security configuration. Use this field to
|
2588
|
+
# modify IAM federation settings for the security configuration.
|
2589
|
+
# @return [Types::IamFederationConfigOptions]
|
2590
|
+
#
|
2545
2591
|
# @!attribute [rw] client_token
|
2546
2592
|
# Unique, case-sensitive identifier to ensure idempotency of the
|
2547
2593
|
# request.
|
@@ -2558,6 +2604,7 @@ module Aws::OpenSearchServerless
|
|
2558
2604
|
:description,
|
2559
2605
|
:saml_options,
|
2560
2606
|
:iam_identity_center_options_updates,
|
2607
|
+
:iam_federation_options,
|
2561
2608
|
:client_token)
|
2562
2609
|
SENSITIVE = []
|
2563
2610
|
include Aws::Structure
|
data/sig/client.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
@@ -187,7 +188,7 @@ module Aws
|
|
187
188
|
end
|
188
189
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#create_security_config-instance_method
|
189
190
|
def create_security_config: (
|
190
|
-
type: ("saml" | "iamidentitycenter"),
|
191
|
+
type: ("saml" | "iamidentitycenter" | "iamfederation"),
|
191
192
|
name: ::String,
|
192
193
|
?description: ::String,
|
193
194
|
?saml_options: {
|
@@ -202,6 +203,10 @@ module Aws
|
|
202
203
|
user_attribute: ("UserId" | "UserName" | "Email")?,
|
203
204
|
group_attribute: ("GroupId" | "GroupName")?
|
204
205
|
},
|
206
|
+
?iam_federation_options: {
|
207
|
+
group_attribute: ::String?,
|
208
|
+
user_attribute: ::String?
|
209
|
+
},
|
205
210
|
?client_token: ::String
|
206
211
|
) -> _CreateSecurityConfigResponseSuccess
|
207
212
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityConfigResponseSuccess
|
@@ -404,7 +409,7 @@ module Aws
|
|
404
409
|
end
|
405
410
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchServerless/Client.html#list_security_configs-instance_method
|
406
411
|
def list_security_configs: (
|
407
|
-
type: ("saml" | "iamidentitycenter"),
|
412
|
+
type: ("saml" | "iamidentitycenter" | "iamfederation"),
|
408
413
|
?next_token: ::String,
|
409
414
|
?max_results: ::Integer
|
410
415
|
) -> _ListSecurityConfigsResponseSuccess
|
@@ -549,6 +554,10 @@ module Aws
|
|
549
554
|
user_attribute: ("UserId" | "UserName" | "Email")?,
|
550
555
|
group_attribute: ("GroupId" | "GroupName")?
|
551
556
|
},
|
557
|
+
?iam_federation_options: {
|
558
|
+
group_attribute: ::String?,
|
559
|
+
user_attribute: ::String?
|
560
|
+
},
|
552
561
|
?client_token: ::String
|
553
562
|
) -> _UpdateSecurityConfigResponseSuccess
|
554
563
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityConfigResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -18,6 +18,7 @@ module Aws
|
|
18
18
|
?account_id: String,
|
19
19
|
?active_endpoint_cache: bool,
|
20
20
|
?adaptive_retry_wait_to_fill: bool,
|
21
|
+
?auth_scheme_preference: Array[String],
|
21
22
|
?client_side_monitoring: bool,
|
22
23
|
?client_side_monitoring_client_id: String,
|
23
24
|
?client_side_monitoring_host: String,
|
data/sig/types.rbs
CHANGED
@@ -200,11 +200,12 @@ module Aws::OpenSearchServerless
|
|
200
200
|
end
|
201
201
|
|
202
202
|
class CreateSecurityConfigRequest
|
203
|
-
attr_accessor type: ("saml" | "iamidentitycenter")
|
203
|
+
attr_accessor type: ("saml" | "iamidentitycenter" | "iamfederation")
|
204
204
|
attr_accessor name: ::String
|
205
205
|
attr_accessor description: ::String
|
206
206
|
attr_accessor saml_options: Types::SamlConfigOptions
|
207
207
|
attr_accessor iam_identity_center_options: Types::CreateIamIdentityCenterConfigOptions
|
208
|
+
attr_accessor iam_federation_options: Types::IamFederationConfigOptions
|
208
209
|
attr_accessor client_token: ::String
|
209
210
|
SENSITIVE: []
|
210
211
|
end
|
@@ -394,6 +395,12 @@ module Aws::OpenSearchServerless
|
|
394
395
|
SENSITIVE: []
|
395
396
|
end
|
396
397
|
|
398
|
+
class IamFederationConfigOptions
|
399
|
+
attr_accessor group_attribute: ::String
|
400
|
+
attr_accessor user_attribute: ::String
|
401
|
+
SENSITIVE: []
|
402
|
+
end
|
403
|
+
|
397
404
|
class IamIdentityCenterConfigOptions
|
398
405
|
attr_accessor instance_arn: ::String
|
399
406
|
attr_accessor application_arn: ::String
|
@@ -497,7 +504,7 @@ module Aws::OpenSearchServerless
|
|
497
504
|
end
|
498
505
|
|
499
506
|
class ListSecurityConfigsRequest
|
500
|
-
attr_accessor type: ("saml" | "iamidentitycenter")
|
507
|
+
attr_accessor type: ("saml" | "iamidentitycenter" | "iamfederation")
|
501
508
|
attr_accessor next_token: ::String
|
502
509
|
attr_accessor max_results: ::Integer
|
503
510
|
SENSITIVE: []
|
@@ -567,11 +574,12 @@ module Aws::OpenSearchServerless
|
|
567
574
|
|
568
575
|
class SecurityConfigDetail
|
569
576
|
attr_accessor id: ::String
|
570
|
-
attr_accessor type: ("saml" | "iamidentitycenter")
|
577
|
+
attr_accessor type: ("saml" | "iamidentitycenter" | "iamfederation")
|
571
578
|
attr_accessor config_version: ::String
|
572
579
|
attr_accessor description: ::String
|
573
580
|
attr_accessor saml_options: Types::SamlConfigOptions
|
574
581
|
attr_accessor iam_identity_center_options: Types::IamIdentityCenterConfigOptions
|
582
|
+
attr_accessor iam_federation_options: Types::IamFederationConfigOptions
|
575
583
|
attr_accessor created_date: ::Integer
|
576
584
|
attr_accessor last_modified_date: ::Integer
|
577
585
|
SENSITIVE: []
|
@@ -584,7 +592,7 @@ module Aws::OpenSearchServerless
|
|
584
592
|
|
585
593
|
class SecurityConfigSummary
|
586
594
|
attr_accessor id: ::String
|
587
|
-
attr_accessor type: ("saml" | "iamidentitycenter")
|
595
|
+
attr_accessor type: ("saml" | "iamidentitycenter" | "iamfederation")
|
588
596
|
attr_accessor config_version: ::String
|
589
597
|
attr_accessor description: ::String
|
590
598
|
attr_accessor created_date: ::Integer
|
@@ -728,6 +736,7 @@ module Aws::OpenSearchServerless
|
|
728
736
|
attr_accessor description: ::String
|
729
737
|
attr_accessor saml_options: Types::SamlConfigOptions
|
730
738
|
attr_accessor iam_identity_center_options_updates: Types::UpdateIamIdentityCenterConfigOptions
|
739
|
+
attr_accessor iam_federation_options: Types::IamFederationConfigOptions
|
731
740
|
attr_accessor client_token: ::String
|
732
741
|
SENSITIVE: []
|
733
742
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-opensearchserverless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version: '3'
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.
|
21
|
+
version: 3.227.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -28,7 +28,7 @@ dependencies:
|
|
28
28
|
version: '3'
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: 3.
|
31
|
+
version: 3.227.0
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: aws-sigv4
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|