aws-sdk-opensearchserverless 1.29.0 → 1.30.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchserverless/client.rb +42 -7
- data/lib/aws-sdk-opensearchserverless/client_api.rb +27 -0
- data/lib/aws-sdk-opensearchserverless/types.rb +115 -0
- data/lib/aws-sdk-opensearchserverless.rb +1 -1
- data/sig/client.rbs +11 -2
- data/sig/types.rbs +30 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2bfc66c7785723524745e567b8991d2a7563843eb5a647e491f0566e0a01937
|
4
|
+
data.tar.gz: 9cf9425040ab2aaec03f0575a2b2151006affc4689ff63146f30b5cd8eaec773
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 110b560246b60280de76de3cf213c52e12164cb137259c522ad16880168793ba82ecae000cf2a75e898607078950dc0400d3fb7ffb252fc4d32be72c9ecca215
|
7
|
+
data.tar.gz: 8b268cf2e5bf7eabb528f659ce4d188db4ee6a50cf1ceefd5218a22ba26648f540aa4dc54bfd44081798f7c1a4c7235d6ecf234ac053f260696d745da2c2aabb
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
@@ -886,6 +886,11 @@ module Aws::OpenSearchServerless
|
|
886
886
|
# @option params [String] :description
|
887
887
|
# A description of the security configuration.
|
888
888
|
#
|
889
|
+
# @option params [Types::CreateIamIdentityCenterConfigOptions] :iam_identity_center_options
|
890
|
+
# Describes IAM Identity Center options in the form of a key-value map.
|
891
|
+
# This field is required if you specify iamidentitycenter for the type
|
892
|
+
# parameter.
|
893
|
+
#
|
889
894
|
# @option params [required, String] :name
|
890
895
|
# The name of the security configuration.
|
891
896
|
#
|
@@ -905,6 +910,11 @@ module Aws::OpenSearchServerless
|
|
905
910
|
# resp = client.create_security_config({
|
906
911
|
# client_token: "ClientToken",
|
907
912
|
# description: "ConfigDescription",
|
913
|
+
# iam_identity_center_options: {
|
914
|
+
# group_attribute: "GroupId", # accepts GroupId, GroupName
|
915
|
+
# instance_arn: "IamIdentityCenterInstanceArn", # required
|
916
|
+
# user_attribute: "UserId", # accepts UserId, UserName, Email
|
917
|
+
# },
|
908
918
|
# name: "ConfigName", # required
|
909
919
|
# saml_options: {
|
910
920
|
# group_attribute: "samlGroupAttribute",
|
@@ -912,7 +922,7 @@ module Aws::OpenSearchServerless
|
|
912
922
|
# session_timeout: 1,
|
913
923
|
# user_attribute: "samlUserAttribute",
|
914
924
|
# },
|
915
|
-
# type: "saml", # required, accepts saml
|
925
|
+
# type: "saml", # required, accepts saml, iamidentitycenter
|
916
926
|
# })
|
917
927
|
#
|
918
928
|
# @example Response structure
|
@@ -920,13 +930,19 @@ module Aws::OpenSearchServerless
|
|
920
930
|
# resp.security_config_detail.config_version #=> String
|
921
931
|
# resp.security_config_detail.created_date #=> Integer
|
922
932
|
# resp.security_config_detail.description #=> String
|
933
|
+
# resp.security_config_detail.iam_identity_center_options.application_arn #=> String
|
934
|
+
# resp.security_config_detail.iam_identity_center_options.application_description #=> String
|
935
|
+
# resp.security_config_detail.iam_identity_center_options.application_name #=> String
|
936
|
+
# resp.security_config_detail.iam_identity_center_options.group_attribute #=> String, one of "GroupId", "GroupName"
|
937
|
+
# resp.security_config_detail.iam_identity_center_options.instance_arn #=> String
|
938
|
+
# resp.security_config_detail.iam_identity_center_options.user_attribute #=> String, one of "UserId", "UserName", "Email"
|
923
939
|
# resp.security_config_detail.id #=> String
|
924
940
|
# resp.security_config_detail.last_modified_date #=> Integer
|
925
941
|
# resp.security_config_detail.saml_options.group_attribute #=> String
|
926
942
|
# resp.security_config_detail.saml_options.metadata #=> String
|
927
943
|
# resp.security_config_detail.saml_options.session_timeout #=> Integer
|
928
944
|
# resp.security_config_detail.saml_options.user_attribute #=> String
|
929
|
-
# resp.security_config_detail.type #=> String, one of "saml"
|
945
|
+
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter"
|
930
946
|
#
|
931
947
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateSecurityConfig AWS API Documentation
|
932
948
|
#
|
@@ -1421,13 +1437,19 @@ module Aws::OpenSearchServerless
|
|
1421
1437
|
# resp.security_config_detail.config_version #=> String
|
1422
1438
|
# resp.security_config_detail.created_date #=> Integer
|
1423
1439
|
# resp.security_config_detail.description #=> String
|
1440
|
+
# resp.security_config_detail.iam_identity_center_options.application_arn #=> String
|
1441
|
+
# resp.security_config_detail.iam_identity_center_options.application_description #=> String
|
1442
|
+
# resp.security_config_detail.iam_identity_center_options.application_name #=> String
|
1443
|
+
# resp.security_config_detail.iam_identity_center_options.group_attribute #=> String, one of "GroupId", "GroupName"
|
1444
|
+
# resp.security_config_detail.iam_identity_center_options.instance_arn #=> String
|
1445
|
+
# resp.security_config_detail.iam_identity_center_options.user_attribute #=> String, one of "UserId", "UserName", "Email"
|
1424
1446
|
# resp.security_config_detail.id #=> String
|
1425
1447
|
# resp.security_config_detail.last_modified_date #=> Integer
|
1426
1448
|
# resp.security_config_detail.saml_options.group_attribute #=> String
|
1427
1449
|
# resp.security_config_detail.saml_options.metadata #=> String
|
1428
1450
|
# resp.security_config_detail.saml_options.session_timeout #=> Integer
|
1429
1451
|
# resp.security_config_detail.saml_options.user_attribute #=> String
|
1430
|
-
# resp.security_config_detail.type #=> String, one of "saml"
|
1452
|
+
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter"
|
1431
1453
|
#
|
1432
1454
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/GetSecurityConfig AWS API Documentation
|
1433
1455
|
#
|
@@ -1695,7 +1717,7 @@ module Aws::OpenSearchServerless
|
|
1695
1717
|
# resp = client.list_security_configs({
|
1696
1718
|
# max_results: 1,
|
1697
1719
|
# next_token: "String",
|
1698
|
-
# type: "saml", # required, accepts saml
|
1720
|
+
# type: "saml", # required, accepts saml, iamidentitycenter
|
1699
1721
|
# })
|
1700
1722
|
#
|
1701
1723
|
# @example Response structure
|
@@ -1707,7 +1729,7 @@ module Aws::OpenSearchServerless
|
|
1707
1729
|
# resp.security_config_summaries[0].description #=> String
|
1708
1730
|
# resp.security_config_summaries[0].id #=> String
|
1709
1731
|
# resp.security_config_summaries[0].last_modified_date #=> Integer
|
1710
|
-
# resp.security_config_summaries[0].type #=> String, one of "saml"
|
1732
|
+
# resp.security_config_summaries[0].type #=> String, one of "saml", "iamidentitycenter"
|
1711
1733
|
#
|
1712
1734
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/ListSecurityConfigs AWS API Documentation
|
1713
1735
|
#
|
@@ -2186,6 +2208,9 @@ module Aws::OpenSearchServerless
|
|
2186
2208
|
# @option params [String] :description
|
2187
2209
|
# A description of the security configuration.
|
2188
2210
|
#
|
2211
|
+
# @option params [Types::UpdateIamIdentityCenterConfigOptions] :iam_identity_center_options_updates
|
2212
|
+
# Describes IAM Identity Center options in the form of a key-value map.
|
2213
|
+
#
|
2189
2214
|
# @option params [required, String] :id
|
2190
2215
|
# The security configuration identifier. For SAML the ID will be
|
2191
2216
|
# `saml/<accountId>/<idpProviderName>`. For example,
|
@@ -2204,6 +2229,10 @@ module Aws::OpenSearchServerless
|
|
2204
2229
|
# client_token: "ClientToken",
|
2205
2230
|
# config_version: "PolicyVersion", # required
|
2206
2231
|
# description: "ConfigDescription",
|
2232
|
+
# iam_identity_center_options_updates: {
|
2233
|
+
# group_attribute: "GroupId", # accepts GroupId, GroupName
|
2234
|
+
# user_attribute: "UserId", # accepts UserId, UserName, Email
|
2235
|
+
# },
|
2207
2236
|
# id: "SecurityConfigId", # required
|
2208
2237
|
# saml_options: {
|
2209
2238
|
# group_attribute: "samlGroupAttribute",
|
@@ -2218,13 +2247,19 @@ module Aws::OpenSearchServerless
|
|
2218
2247
|
# resp.security_config_detail.config_version #=> String
|
2219
2248
|
# resp.security_config_detail.created_date #=> Integer
|
2220
2249
|
# resp.security_config_detail.description #=> String
|
2250
|
+
# resp.security_config_detail.iam_identity_center_options.application_arn #=> String
|
2251
|
+
# resp.security_config_detail.iam_identity_center_options.application_description #=> String
|
2252
|
+
# resp.security_config_detail.iam_identity_center_options.application_name #=> String
|
2253
|
+
# resp.security_config_detail.iam_identity_center_options.group_attribute #=> String, one of "GroupId", "GroupName"
|
2254
|
+
# resp.security_config_detail.iam_identity_center_options.instance_arn #=> String
|
2255
|
+
# resp.security_config_detail.iam_identity_center_options.user_attribute #=> String, one of "UserId", "UserName", "Email"
|
2221
2256
|
# resp.security_config_detail.id #=> String
|
2222
2257
|
# resp.security_config_detail.last_modified_date #=> Integer
|
2223
2258
|
# resp.security_config_detail.saml_options.group_attribute #=> String
|
2224
2259
|
# resp.security_config_detail.saml_options.metadata #=> String
|
2225
2260
|
# resp.security_config_detail.saml_options.session_timeout #=> Integer
|
2226
2261
|
# resp.security_config_detail.saml_options.user_attribute #=> String
|
2227
|
-
# resp.security_config_detail.type #=> String, one of "saml"
|
2262
|
+
# resp.security_config_detail.type #=> String, one of "saml", "iamidentitycenter"
|
2228
2263
|
#
|
2229
2264
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateSecurityConfig AWS API Documentation
|
2230
2265
|
#
|
@@ -2386,7 +2421,7 @@ module Aws::OpenSearchServerless
|
|
2386
2421
|
tracer: tracer
|
2387
2422
|
)
|
2388
2423
|
context[:gem_name] = 'aws-sdk-opensearchserverless'
|
2389
|
-
context[:gem_version] = '1.
|
2424
|
+
context[:gem_version] = '1.30.0'
|
2390
2425
|
Seahorse::Client::Request.new(handlers, context)
|
2391
2426
|
end
|
2392
2427
|
|
@@ -54,6 +54,7 @@ module Aws::OpenSearchServerless
|
|
54
54
|
CreateCollectionRequest = Shapes::StructureShape.new(name: 'CreateCollectionRequest')
|
55
55
|
CreateCollectionRequestDescriptionString = Shapes::StringShape.new(name: 'CreateCollectionRequestDescriptionString')
|
56
56
|
CreateCollectionResponse = Shapes::StructureShape.new(name: 'CreateCollectionResponse')
|
57
|
+
CreateIamIdentityCenterConfigOptions = Shapes::StructureShape.new(name: 'CreateIamIdentityCenterConfigOptions')
|
57
58
|
CreateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyRequest')
|
58
59
|
CreateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'CreateLifecyclePolicyResponse')
|
59
60
|
CreateSecurityConfigRequest = Shapes::StructureShape.new(name: 'CreateSecurityConfigRequest')
|
@@ -92,6 +93,11 @@ module Aws::OpenSearchServerless
|
|
92
93
|
GetSecurityConfigResponse = Shapes::StructureShape.new(name: 'GetSecurityConfigResponse')
|
93
94
|
GetSecurityPolicyRequest = Shapes::StructureShape.new(name: 'GetSecurityPolicyRequest')
|
94
95
|
GetSecurityPolicyResponse = Shapes::StructureShape.new(name: 'GetSecurityPolicyResponse')
|
96
|
+
IamIdentityCenterApplicationArn = Shapes::StringShape.new(name: 'IamIdentityCenterApplicationArn')
|
97
|
+
IamIdentityCenterConfigOptions = Shapes::StructureShape.new(name: 'IamIdentityCenterConfigOptions')
|
98
|
+
IamIdentityCenterGroupAttribute = Shapes::StringShape.new(name: 'IamIdentityCenterGroupAttribute')
|
99
|
+
IamIdentityCenterInstanceArn = Shapes::StringShape.new(name: 'IamIdentityCenterInstanceArn')
|
100
|
+
IamIdentityCenterUserAttribute = Shapes::StringShape.new(name: 'IamIdentityCenterUserAttribute')
|
95
101
|
IndexingCapacityValue = Shapes::IntegerShape.new(name: 'IndexingCapacityValue')
|
96
102
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
97
103
|
LifecyclePolicyDetail = Shapes::StructureShape.new(name: 'LifecyclePolicyDetail')
|
@@ -178,6 +184,7 @@ module Aws::OpenSearchServerless
|
|
178
184
|
UpdateCollectionRequest = Shapes::StructureShape.new(name: 'UpdateCollectionRequest')
|
179
185
|
UpdateCollectionRequestDescriptionString = Shapes::StringShape.new(name: 'UpdateCollectionRequestDescriptionString')
|
180
186
|
UpdateCollectionResponse = Shapes::StructureShape.new(name: 'UpdateCollectionResponse')
|
187
|
+
UpdateIamIdentityCenterConfigOptions = Shapes::StructureShape.new(name: 'UpdateIamIdentityCenterConfigOptions')
|
181
188
|
UpdateLifecyclePolicyRequest = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyRequest')
|
182
189
|
UpdateLifecyclePolicyResponse = Shapes::StructureShape.new(name: 'UpdateLifecyclePolicyResponse')
|
183
190
|
UpdateSecurityConfigRequest = Shapes::StructureShape.new(name: 'UpdateSecurityConfigRequest')
|
@@ -340,6 +347,11 @@ module Aws::OpenSearchServerless
|
|
340
347
|
CreateCollectionResponse.add_member(:create_collection_detail, Shapes::ShapeRef.new(shape: CreateCollectionDetail, location_name: "createCollectionDetail"))
|
341
348
|
CreateCollectionResponse.struct_class = Types::CreateCollectionResponse
|
342
349
|
|
350
|
+
CreateIamIdentityCenterConfigOptions.add_member(:group_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterGroupAttribute, location_name: "groupAttribute"))
|
351
|
+
CreateIamIdentityCenterConfigOptions.add_member(:instance_arn, Shapes::ShapeRef.new(shape: IamIdentityCenterInstanceArn, required: true, location_name: "instanceArn"))
|
352
|
+
CreateIamIdentityCenterConfigOptions.add_member(:user_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterUserAttribute, location_name: "userAttribute"))
|
353
|
+
CreateIamIdentityCenterConfigOptions.struct_class = Types::CreateIamIdentityCenterConfigOptions
|
354
|
+
|
343
355
|
CreateLifecyclePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
344
356
|
CreateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "description"))
|
345
357
|
CreateLifecyclePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "name"))
|
@@ -352,6 +364,7 @@ module Aws::OpenSearchServerless
|
|
352
364
|
|
353
365
|
CreateSecurityConfigRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
354
366
|
CreateSecurityConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConfigDescription, location_name: "description"))
|
367
|
+
CreateSecurityConfigRequest.add_member(:iam_identity_center_options, Shapes::ShapeRef.new(shape: CreateIamIdentityCenterConfigOptions, location_name: "iamIdentityCenterOptions"))
|
355
368
|
CreateSecurityConfigRequest.add_member(:name, Shapes::ShapeRef.new(shape: ConfigName, required: true, location_name: "name"))
|
356
369
|
CreateSecurityConfigRequest.add_member(:saml_options, Shapes::ShapeRef.new(shape: SamlConfigOptions, location_name: "samlOptions"))
|
357
370
|
CreateSecurityConfigRequest.add_member(:type, Shapes::ShapeRef.new(shape: SecurityConfigType, required: true, location_name: "type"))
|
@@ -488,6 +501,14 @@ module Aws::OpenSearchServerless
|
|
488
501
|
GetSecurityPolicyResponse.add_member(:security_policy_detail, Shapes::ShapeRef.new(shape: SecurityPolicyDetail, location_name: "securityPolicyDetail"))
|
489
502
|
GetSecurityPolicyResponse.struct_class = Types::GetSecurityPolicyResponse
|
490
503
|
|
504
|
+
IamIdentityCenterConfigOptions.add_member(:application_arn, Shapes::ShapeRef.new(shape: IamIdentityCenterApplicationArn, location_name: "applicationArn"))
|
505
|
+
IamIdentityCenterConfigOptions.add_member(:application_description, Shapes::ShapeRef.new(shape: String, location_name: "applicationDescription"))
|
506
|
+
IamIdentityCenterConfigOptions.add_member(:application_name, Shapes::ShapeRef.new(shape: String, location_name: "applicationName"))
|
507
|
+
IamIdentityCenterConfigOptions.add_member(:group_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterGroupAttribute, location_name: "groupAttribute"))
|
508
|
+
IamIdentityCenterConfigOptions.add_member(:instance_arn, Shapes::ShapeRef.new(shape: IamIdentityCenterInstanceArn, location_name: "instanceArn"))
|
509
|
+
IamIdentityCenterConfigOptions.add_member(:user_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterUserAttribute, location_name: "userAttribute"))
|
510
|
+
IamIdentityCenterConfigOptions.struct_class = Types::IamIdentityCenterConfigOptions
|
511
|
+
|
491
512
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
492
513
|
InternalServerException.struct_class = Types::InternalServerException
|
493
514
|
|
@@ -619,6 +640,7 @@ module Aws::OpenSearchServerless
|
|
619
640
|
SecurityConfigDetail.add_member(:config_version, Shapes::ShapeRef.new(shape: PolicyVersion, location_name: "configVersion"))
|
620
641
|
SecurityConfigDetail.add_member(:created_date, Shapes::ShapeRef.new(shape: Long, location_name: "createdDate"))
|
621
642
|
SecurityConfigDetail.add_member(:description, Shapes::ShapeRef.new(shape: ConfigDescription, location_name: "description"))
|
643
|
+
SecurityConfigDetail.add_member(:iam_identity_center_options, Shapes::ShapeRef.new(shape: IamIdentityCenterConfigOptions, location_name: "iamIdentityCenterOptions"))
|
622
644
|
SecurityConfigDetail.add_member(:id, Shapes::ShapeRef.new(shape: SecurityConfigId, location_name: "id"))
|
623
645
|
SecurityConfigDetail.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: Long, location_name: "lastModifiedDate"))
|
624
646
|
SecurityConfigDetail.add_member(:saml_options, Shapes::ShapeRef.new(shape: SamlConfigOptions, location_name: "samlOptions"))
|
@@ -727,6 +749,10 @@ module Aws::OpenSearchServerless
|
|
727
749
|
UpdateCollectionResponse.add_member(:update_collection_detail, Shapes::ShapeRef.new(shape: UpdateCollectionDetail, location_name: "updateCollectionDetail"))
|
728
750
|
UpdateCollectionResponse.struct_class = Types::UpdateCollectionResponse
|
729
751
|
|
752
|
+
UpdateIamIdentityCenterConfigOptions.add_member(:group_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterGroupAttribute, location_name: "groupAttribute"))
|
753
|
+
UpdateIamIdentityCenterConfigOptions.add_member(:user_attribute, Shapes::ShapeRef.new(shape: IamIdentityCenterUserAttribute, location_name: "userAttribute"))
|
754
|
+
UpdateIamIdentityCenterConfigOptions.struct_class = Types::UpdateIamIdentityCenterConfigOptions
|
755
|
+
|
730
756
|
UpdateLifecyclePolicyRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
731
757
|
UpdateLifecyclePolicyRequest.add_member(:description, Shapes::ShapeRef.new(shape: PolicyDescription, location_name: "description"))
|
732
758
|
UpdateLifecyclePolicyRequest.add_member(:name, Shapes::ShapeRef.new(shape: PolicyName, required: true, location_name: "name"))
|
@@ -741,6 +767,7 @@ module Aws::OpenSearchServerless
|
|
741
767
|
UpdateSecurityConfigRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
742
768
|
UpdateSecurityConfigRequest.add_member(:config_version, Shapes::ShapeRef.new(shape: PolicyVersion, required: true, location_name: "configVersion"))
|
743
769
|
UpdateSecurityConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: ConfigDescription, location_name: "description"))
|
770
|
+
UpdateSecurityConfigRequest.add_member(:iam_identity_center_options_updates, Shapes::ShapeRef.new(shape: UpdateIamIdentityCenterConfigOptions, location_name: "iamIdentityCenterOptionsUpdates"))
|
744
771
|
UpdateSecurityConfigRequest.add_member(:id, Shapes::ShapeRef.new(shape: SecurityConfigId, required: true, location_name: "id"))
|
745
772
|
UpdateSecurityConfigRequest.add_member(:saml_options, Shapes::ShapeRef.new(shape: SamlConfigOptions, location_name: "samlOptions"))
|
746
773
|
UpdateSecurityConfigRequest.struct_class = Types::UpdateSecurityConfigRequest
|
@@ -628,6 +628,34 @@ module Aws::OpenSearchServerless
|
|
628
628
|
include Aws::Structure
|
629
629
|
end
|
630
630
|
|
631
|
+
# Describes IAM Identity Center options for creating an OpenSearch
|
632
|
+
# Serverless security configuration in the form of a key-value map.
|
633
|
+
#
|
634
|
+
# @!attribute [rw] group_attribute
|
635
|
+
# The group attribute for this IAM Identity Center integration.
|
636
|
+
# Defaults to `GroupId`.
|
637
|
+
# @return [String]
|
638
|
+
#
|
639
|
+
# @!attribute [rw] instance_arn
|
640
|
+
# The ARN of the IAM Identity Center instance used to integrate with
|
641
|
+
# OpenSearch Serverless.
|
642
|
+
# @return [String]
|
643
|
+
#
|
644
|
+
# @!attribute [rw] user_attribute
|
645
|
+
# The user attribute for this IAM Identity Center integration.
|
646
|
+
# Defaults to `UserId`.
|
647
|
+
# @return [String]
|
648
|
+
#
|
649
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/CreateIamIdentityCenterConfigOptions AWS API Documentation
|
650
|
+
#
|
651
|
+
class CreateIamIdentityCenterConfigOptions < Struct.new(
|
652
|
+
:group_attribute,
|
653
|
+
:instance_arn,
|
654
|
+
:user_attribute)
|
655
|
+
SENSITIVE = []
|
656
|
+
include Aws::Structure
|
657
|
+
end
|
658
|
+
|
631
659
|
# @!attribute [rw] client_token
|
632
660
|
# A unique, case-sensitive identifier to ensure idempotency of the
|
633
661
|
# request.
|
@@ -689,6 +717,12 @@ module Aws::OpenSearchServerless
|
|
689
717
|
# A description of the security configuration.
|
690
718
|
# @return [String]
|
691
719
|
#
|
720
|
+
# @!attribute [rw] iam_identity_center_options
|
721
|
+
# Describes IAM Identity Center options in the form of a key-value
|
722
|
+
# map. This field is required if you specify iamidentitycenter for the
|
723
|
+
# type parameter.
|
724
|
+
# @return [Types::CreateIamIdentityCenterConfigOptions]
|
725
|
+
#
|
692
726
|
# @!attribute [rw] name
|
693
727
|
# The name of the security configuration.
|
694
728
|
# @return [String]
|
@@ -707,6 +741,7 @@ module Aws::OpenSearchServerless
|
|
707
741
|
class CreateSecurityConfigRequest < Struct.new(
|
708
742
|
:client_token,
|
709
743
|
:description,
|
744
|
+
:iam_identity_center_options,
|
710
745
|
:name,
|
711
746
|
:saml_options,
|
712
747
|
:type)
|
@@ -1306,6 +1341,52 @@ module Aws::OpenSearchServerless
|
|
1306
1341
|
include Aws::Structure
|
1307
1342
|
end
|
1308
1343
|
|
1344
|
+
# Describes IAM Identity Center options for an OpenSearch Serverless
|
1345
|
+
# security configuration in the form of a key-value map.
|
1346
|
+
#
|
1347
|
+
# @!attribute [rw] application_arn
|
1348
|
+
# The ARN of the IAM Identity Center application used to integrate
|
1349
|
+
# with OpenSearch Serverless.
|
1350
|
+
# @return [String]
|
1351
|
+
#
|
1352
|
+
# @!attribute [rw] application_description
|
1353
|
+
# The description of the IAM Identity Center application used to
|
1354
|
+
# integrate with OpenSearch Serverless.
|
1355
|
+
# @return [String]
|
1356
|
+
#
|
1357
|
+
# @!attribute [rw] application_name
|
1358
|
+
# The name of the IAM Identity Center application used to integrate
|
1359
|
+
# with OpenSearch Serverless.
|
1360
|
+
# @return [String]
|
1361
|
+
#
|
1362
|
+
# @!attribute [rw] group_attribute
|
1363
|
+
# The group attribute for this IAM Identity Center integration.
|
1364
|
+
# Defaults to `GroupId`.
|
1365
|
+
# @return [String]
|
1366
|
+
#
|
1367
|
+
# @!attribute [rw] instance_arn
|
1368
|
+
# The ARN of the IAM Identity Center instance used to integrate with
|
1369
|
+
# OpenSearch Serverless.
|
1370
|
+
# @return [String]
|
1371
|
+
#
|
1372
|
+
# @!attribute [rw] user_attribute
|
1373
|
+
# The user attribute for this IAM Identity Center integration.
|
1374
|
+
# Defaults to `UserId`
|
1375
|
+
# @return [String]
|
1376
|
+
#
|
1377
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/IamIdentityCenterConfigOptions AWS API Documentation
|
1378
|
+
#
|
1379
|
+
class IamIdentityCenterConfigOptions < Struct.new(
|
1380
|
+
:application_arn,
|
1381
|
+
:application_description,
|
1382
|
+
:application_name,
|
1383
|
+
:group_attribute,
|
1384
|
+
:instance_arn,
|
1385
|
+
:user_attribute)
|
1386
|
+
SENSITIVE = []
|
1387
|
+
include Aws::Structure
|
1388
|
+
end
|
1389
|
+
|
1309
1390
|
# Thrown when an error internal to the service occurs while processing a
|
1310
1391
|
# request.
|
1311
1392
|
#
|
@@ -1885,6 +1966,11 @@ module Aws::OpenSearchServerless
|
|
1885
1966
|
# The description of the security configuration.
|
1886
1967
|
# @return [String]
|
1887
1968
|
#
|
1969
|
+
# @!attribute [rw] iam_identity_center_options
|
1970
|
+
# Describes IAM Identity Center options in the form of a key-value
|
1971
|
+
# map.
|
1972
|
+
# @return [Types::IamIdentityCenterConfigOptions]
|
1973
|
+
#
|
1888
1974
|
# @!attribute [rw] id
|
1889
1975
|
# The unique identifier of the security configuration.
|
1890
1976
|
# @return [String]
|
@@ -1908,6 +1994,7 @@ module Aws::OpenSearchServerless
|
|
1908
1994
|
:config_version,
|
1909
1995
|
:created_date,
|
1910
1996
|
:description,
|
1997
|
+
:iam_identity_center_options,
|
1911
1998
|
:id,
|
1912
1999
|
:last_modified_date,
|
1913
2000
|
:saml_options,
|
@@ -2348,6 +2435,28 @@ module Aws::OpenSearchServerless
|
|
2348
2435
|
include Aws::Structure
|
2349
2436
|
end
|
2350
2437
|
|
2438
|
+
# Describes IAM Identity Center options for updating an OpenSearch
|
2439
|
+
# Serverless security configuration in the form of a key-value map.
|
2440
|
+
#
|
2441
|
+
# @!attribute [rw] group_attribute
|
2442
|
+
# The group attribute for this IAM Identity Center integration.
|
2443
|
+
# Defaults to `GroupId`.
|
2444
|
+
# @return [String]
|
2445
|
+
#
|
2446
|
+
# @!attribute [rw] user_attribute
|
2447
|
+
# The user attribute for this IAM Identity Center integration.
|
2448
|
+
# Defaults to `UserId`.
|
2449
|
+
# @return [String]
|
2450
|
+
#
|
2451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearchserverless-2021-11-01/UpdateIamIdentityCenterConfigOptions AWS API Documentation
|
2452
|
+
#
|
2453
|
+
class UpdateIamIdentityCenterConfigOptions < Struct.new(
|
2454
|
+
:group_attribute,
|
2455
|
+
:user_attribute)
|
2456
|
+
SENSITIVE = []
|
2457
|
+
include Aws::Structure
|
2458
|
+
end
|
2459
|
+
|
2351
2460
|
# @!attribute [rw] client_token
|
2352
2461
|
# A unique, case-sensitive identifier to ensure idempotency of the
|
2353
2462
|
# request.
|
@@ -2420,6 +2529,11 @@ module Aws::OpenSearchServerless
|
|
2420
2529
|
# A description of the security configuration.
|
2421
2530
|
# @return [String]
|
2422
2531
|
#
|
2532
|
+
# @!attribute [rw] iam_identity_center_options_updates
|
2533
|
+
# Describes IAM Identity Center options in the form of a key-value
|
2534
|
+
# map.
|
2535
|
+
# @return [Types::UpdateIamIdentityCenterConfigOptions]
|
2536
|
+
#
|
2423
2537
|
# @!attribute [rw] id
|
2424
2538
|
# The security configuration identifier. For SAML the ID will be
|
2425
2539
|
# `saml/<accountId>/<idpProviderName>`. For example,
|
@@ -2436,6 +2550,7 @@ module Aws::OpenSearchServerless
|
|
2436
2550
|
:client_token,
|
2437
2551
|
:config_version,
|
2438
2552
|
:description,
|
2553
|
+
:iam_identity_center_options_updates,
|
2439
2554
|
:id,
|
2440
2555
|
:saml_options)
|
2441
2556
|
SENSITIVE = []
|
data/sig/client.rbs
CHANGED
@@ -187,6 +187,11 @@ module Aws
|
|
187
187
|
def create_security_config: (
|
188
188
|
?client_token: ::String,
|
189
189
|
?description: ::String,
|
190
|
+
?iam_identity_center_options: {
|
191
|
+
group_attribute: ("GroupId" | "GroupName")?,
|
192
|
+
instance_arn: ::String,
|
193
|
+
user_attribute: ("UserId" | "UserName" | "Email")?
|
194
|
+
},
|
190
195
|
name: ::String,
|
191
196
|
?saml_options: {
|
192
197
|
group_attribute: ::String?,
|
@@ -194,7 +199,7 @@ module Aws
|
|
194
199
|
session_timeout: ::Integer?,
|
195
200
|
user_attribute: ::String?
|
196
201
|
},
|
197
|
-
type: ("saml")
|
202
|
+
type: ("saml" | "iamidentitycenter")
|
198
203
|
) -> _CreateSecurityConfigResponseSuccess
|
199
204
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityConfigResponseSuccess
|
200
205
|
|
@@ -398,7 +403,7 @@ module Aws
|
|
398
403
|
def list_security_configs: (
|
399
404
|
?max_results: ::Integer,
|
400
405
|
?next_token: ::String,
|
401
|
-
type: ("saml")
|
406
|
+
type: ("saml" | "iamidentitycenter")
|
402
407
|
) -> _ListSecurityConfigsResponseSuccess
|
403
408
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityConfigsResponseSuccess
|
404
409
|
|
@@ -530,6 +535,10 @@ module Aws
|
|
530
535
|
?client_token: ::String,
|
531
536
|
config_version: ::String,
|
532
537
|
?description: ::String,
|
538
|
+
?iam_identity_center_options_updates: {
|
539
|
+
group_attribute: ("GroupId" | "GroupName")?,
|
540
|
+
user_attribute: ("UserId" | "UserName" | "Email")?
|
541
|
+
},
|
533
542
|
id: ::String,
|
534
543
|
?saml_options: {
|
535
544
|
group_attribute: ::String?,
|
data/sig/types.rbs
CHANGED
@@ -178,6 +178,13 @@ module Aws::OpenSearchServerless
|
|
178
178
|
SENSITIVE: []
|
179
179
|
end
|
180
180
|
|
181
|
+
class CreateIamIdentityCenterConfigOptions
|
182
|
+
attr_accessor group_attribute: ("GroupId" | "GroupName")
|
183
|
+
attr_accessor instance_arn: ::String
|
184
|
+
attr_accessor user_attribute: ("UserId" | "UserName" | "Email")
|
185
|
+
SENSITIVE: []
|
186
|
+
end
|
187
|
+
|
181
188
|
class CreateLifecyclePolicyRequest
|
182
189
|
attr_accessor client_token: ::String
|
183
190
|
attr_accessor description: ::String
|
@@ -195,9 +202,10 @@ module Aws::OpenSearchServerless
|
|
195
202
|
class CreateSecurityConfigRequest
|
196
203
|
attr_accessor client_token: ::String
|
197
204
|
attr_accessor description: ::String
|
205
|
+
attr_accessor iam_identity_center_options: Types::CreateIamIdentityCenterConfigOptions
|
198
206
|
attr_accessor name: ::String
|
199
207
|
attr_accessor saml_options: Types::SamlConfigOptions
|
200
|
-
attr_accessor type: ("saml")
|
208
|
+
attr_accessor type: ("saml" | "iamidentitycenter")
|
201
209
|
SENSITIVE: []
|
202
210
|
end
|
203
211
|
|
@@ -386,6 +394,16 @@ module Aws::OpenSearchServerless
|
|
386
394
|
SENSITIVE: []
|
387
395
|
end
|
388
396
|
|
397
|
+
class IamIdentityCenterConfigOptions
|
398
|
+
attr_accessor application_arn: ::String
|
399
|
+
attr_accessor application_description: ::String
|
400
|
+
attr_accessor application_name: ::String
|
401
|
+
attr_accessor group_attribute: ("GroupId" | "GroupName")
|
402
|
+
attr_accessor instance_arn: ::String
|
403
|
+
attr_accessor user_attribute: ("UserId" | "UserName" | "Email")
|
404
|
+
SENSITIVE: []
|
405
|
+
end
|
406
|
+
|
389
407
|
class InternalServerException
|
390
408
|
attr_accessor message: ::String
|
391
409
|
SENSITIVE: []
|
@@ -481,7 +499,7 @@ module Aws::OpenSearchServerless
|
|
481
499
|
class ListSecurityConfigsRequest
|
482
500
|
attr_accessor max_results: ::Integer
|
483
501
|
attr_accessor next_token: ::String
|
484
|
-
attr_accessor type: ("saml")
|
502
|
+
attr_accessor type: ("saml" | "iamidentitycenter")
|
485
503
|
SENSITIVE: []
|
486
504
|
end
|
487
505
|
|
@@ -550,10 +568,11 @@ module Aws::OpenSearchServerless
|
|
550
568
|
attr_accessor config_version: ::String
|
551
569
|
attr_accessor created_date: ::Integer
|
552
570
|
attr_accessor description: ::String
|
571
|
+
attr_accessor iam_identity_center_options: Types::IamIdentityCenterConfigOptions
|
553
572
|
attr_accessor id: ::String
|
554
573
|
attr_accessor last_modified_date: ::Integer
|
555
574
|
attr_accessor saml_options: Types::SamlConfigOptions
|
556
|
-
attr_accessor type: ("saml")
|
575
|
+
attr_accessor type: ("saml" | "iamidentitycenter")
|
557
576
|
SENSITIVE: []
|
558
577
|
end
|
559
578
|
|
@@ -568,7 +587,7 @@ module Aws::OpenSearchServerless
|
|
568
587
|
attr_accessor description: ::String
|
569
588
|
attr_accessor id: ::String
|
570
589
|
attr_accessor last_modified_date: ::Integer
|
571
|
-
attr_accessor type: ("saml")
|
590
|
+
attr_accessor type: ("saml" | "iamidentitycenter")
|
572
591
|
SENSITIVE: []
|
573
592
|
end
|
574
593
|
|
@@ -681,6 +700,12 @@ module Aws::OpenSearchServerless
|
|
681
700
|
SENSITIVE: []
|
682
701
|
end
|
683
702
|
|
703
|
+
class UpdateIamIdentityCenterConfigOptions
|
704
|
+
attr_accessor group_attribute: ("GroupId" | "GroupName")
|
705
|
+
attr_accessor user_attribute: ("UserId" | "UserName" | "Email")
|
706
|
+
SENSITIVE: []
|
707
|
+
end
|
708
|
+
|
684
709
|
class UpdateLifecyclePolicyRequest
|
685
710
|
attr_accessor client_token: ::String
|
686
711
|
attr_accessor description: ::String
|
@@ -700,6 +725,7 @@ module Aws::OpenSearchServerless
|
|
700
725
|
attr_accessor client_token: ::String
|
701
726
|
attr_accessor config_version: ::String
|
702
727
|
attr_accessor description: ::String
|
728
|
+
attr_accessor iam_identity_center_options_updates: Types::UpdateIamIdentityCenterConfigOptions
|
703
729
|
attr_accessor id: ::String
|
704
730
|
attr_accessor saml_options: Types::SamlConfigOptions
|
705
731
|
SENSITIVE: []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.30.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-10-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|