aws-sdk-opensearchserverless 1.28.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bda585b0516ce88c673c123a9c505496a6b88dbe0c000a3edbb1f05e08fc9a9a
4
- data.tar.gz: 38eaca8b3bbd78b7fedff46e46e6becae39a4927875a3df85a8d044248303daf
3
+ metadata.gz: e2bfc66c7785723524745e567b8991d2a7563843eb5a647e491f0566e0a01937
4
+ data.tar.gz: 9cf9425040ab2aaec03f0575a2b2151006affc4689ff63146f30b5cd8eaec773
5
5
  SHA512:
6
- metadata.gz: 341eb81bc83ce452a9f17d7e01176f008512eaaf11995072d443c1a19cef64820221753443d874747adccc89d0e133555c0fbf2731eaf2fd87e891b6253bbcc4
7
- data.tar.gz: 5a22b5451def7142b4dc908e851faa54b60af79fa616815fc6934ca9639ab556faa6860ed0eff5a3797f4de7fea99fedbbd61fc9b383160567af816d4ae8f149
6
+ metadata.gz: 110b560246b60280de76de3cf213c52e12164cb137259c522ad16880168793ba82ecae000cf2a75e898607078950dc0400d3fb7ffb252fc4d32be72c9ecca215
7
+ data.tar.gz: 8b268cf2e5bf7eabb528f659ce4d188db4ee6a50cf1ceefd5218a22ba26648f540aa4dc54bfd44081798f7c1a4c7235d6ecf234ac053f260696d745da2c2aabb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2024-10-30)
5
+ ------------------
6
+
7
+ * Feature - Neo Integration via IAM Identity Center (IdC)
8
+
9
+ 1.29.0 (2024-10-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.28.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.28.0
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.28.0'
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
@@ -52,15 +52,18 @@ module Aws::OpenSearchServerless
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,412 +12,9 @@ module Aws::OpenSearchServerless
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class BatchGetCollection
16
- def self.build(context)
17
- Aws::OpenSearchServerless::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class BatchGetEffectiveLifecyclePolicy
27
- def self.build(context)
28
- Aws::OpenSearchServerless::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class BatchGetLifecyclePolicy
38
- def self.build(context)
39
- Aws::OpenSearchServerless::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class BatchGetVpcEndpoint
49
- def self.build(context)
50
- Aws::OpenSearchServerless::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class CreateAccessPolicy
60
- def self.build(context)
61
- Aws::OpenSearchServerless::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class CreateCollection
71
- def self.build(context)
72
- Aws::OpenSearchServerless::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class CreateLifecyclePolicy
82
- def self.build(context)
83
- Aws::OpenSearchServerless::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class CreateSecurityConfig
93
- def self.build(context)
94
- Aws::OpenSearchServerless::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class CreateSecurityPolicy
104
- def self.build(context)
105
- Aws::OpenSearchServerless::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class CreateVpcEndpoint
115
- def self.build(context)
116
- Aws::OpenSearchServerless::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class DeleteAccessPolicy
126
- def self.build(context)
127
- Aws::OpenSearchServerless::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class DeleteCollection
137
- def self.build(context)
138
- Aws::OpenSearchServerless::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class DeleteLifecyclePolicy
148
- def self.build(context)
149
- Aws::OpenSearchServerless::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class DeleteSecurityConfig
159
- def self.build(context)
160
- Aws::OpenSearchServerless::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class DeleteSecurityPolicy
170
- def self.build(context)
171
- Aws::OpenSearchServerless::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class DeleteVpcEndpoint
181
- def self.build(context)
182
- Aws::OpenSearchServerless::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class GetAccessPolicy
192
- def self.build(context)
193
- Aws::OpenSearchServerless::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class GetAccountSettings
203
- def self.build(context)
204
- Aws::OpenSearchServerless::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class GetPoliciesStats
214
- def self.build(context)
215
- Aws::OpenSearchServerless::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class GetSecurityConfig
225
- def self.build(context)
226
- Aws::OpenSearchServerless::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class GetSecurityPolicy
236
- def self.build(context)
237
- Aws::OpenSearchServerless::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class ListAccessPolicies
247
- def self.build(context)
248
- Aws::OpenSearchServerless::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class ListCollections
258
- def self.build(context)
259
- Aws::OpenSearchServerless::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class ListLifecyclePolicies
269
- def self.build(context)
270
- Aws::OpenSearchServerless::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
-
279
- class ListSecurityConfigs
280
- def self.build(context)
281
- Aws::OpenSearchServerless::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- )
287
- end
288
- end
289
-
290
- class ListSecurityPolicies
291
- def self.build(context)
292
- Aws::OpenSearchServerless::EndpointParameters.new(
293
- region: context.config.region,
294
- use_dual_stack: context.config.use_dualstack_endpoint,
295
- use_fips: context.config.use_fips_endpoint,
296
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
297
- )
298
- end
299
- end
300
-
301
- class ListTagsForResource
302
- def self.build(context)
303
- Aws::OpenSearchServerless::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- )
309
- end
310
- end
311
-
312
- class ListVpcEndpoints
313
- def self.build(context)
314
- Aws::OpenSearchServerless::EndpointParameters.new(
315
- region: context.config.region,
316
- use_dual_stack: context.config.use_dualstack_endpoint,
317
- use_fips: context.config.use_fips_endpoint,
318
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
319
- )
320
- end
321
- end
322
-
323
- class TagResource
324
- def self.build(context)
325
- Aws::OpenSearchServerless::EndpointParameters.new(
326
- region: context.config.region,
327
- use_dual_stack: context.config.use_dualstack_endpoint,
328
- use_fips: context.config.use_fips_endpoint,
329
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
- )
331
- end
332
- end
333
-
334
- class UntagResource
335
- def self.build(context)
336
- Aws::OpenSearchServerless::EndpointParameters.new(
337
- region: context.config.region,
338
- use_dual_stack: context.config.use_dualstack_endpoint,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class UpdateAccessPolicy
346
- def self.build(context)
347
- Aws::OpenSearchServerless::EndpointParameters.new(
348
- region: context.config.region,
349
- use_dual_stack: context.config.use_dualstack_endpoint,
350
- use_fips: context.config.use_fips_endpoint,
351
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
352
- )
353
- end
354
- end
355
-
356
- class UpdateAccountSettings
357
- def self.build(context)
358
- Aws::OpenSearchServerless::EndpointParameters.new(
359
- region: context.config.region,
360
- use_dual_stack: context.config.use_dualstack_endpoint,
361
- use_fips: context.config.use_fips_endpoint,
362
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
363
- )
364
- end
365
- end
366
15
 
367
- class UpdateCollection
368
- def self.build(context)
369
- Aws::OpenSearchServerless::EndpointParameters.new(
370
- region: context.config.region,
371
- use_dual_stack: context.config.use_dualstack_endpoint,
372
- use_fips: context.config.use_fips_endpoint,
373
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
374
- )
375
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::OpenSearchServerless::EndpointParameters.create(context.config)
376
18
  end
377
-
378
- class UpdateLifecyclePolicy
379
- def self.build(context)
380
- Aws::OpenSearchServerless::EndpointParameters.new(
381
- region: context.config.region,
382
- use_dual_stack: context.config.use_dualstack_endpoint,
383
- use_fips: context.config.use_fips_endpoint,
384
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
- )
386
- end
387
- end
388
-
389
- class UpdateSecurityConfig
390
- def self.build(context)
391
- Aws::OpenSearchServerless::EndpointParameters.new(
392
- region: context.config.region,
393
- use_dual_stack: context.config.use_dualstack_endpoint,
394
- use_fips: context.config.use_fips_endpoint,
395
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
396
- )
397
- end
398
- end
399
-
400
- class UpdateSecurityPolicy
401
- def self.build(context)
402
- Aws::OpenSearchServerless::EndpointParameters.new(
403
- region: context.config.region,
404
- use_dual_stack: context.config.use_dualstack_endpoint,
405
- use_fips: context.config.use_fips_endpoint,
406
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
- )
408
- end
409
- end
410
-
411
- class UpdateVpcEndpoint
412
- def self.build(context)
413
- Aws::OpenSearchServerless::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- )
419
- end
420
- end
421
-
422
19
  end
423
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::OpenSearchServerless::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,85 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :batch_get_collection
74
- Aws::OpenSearchServerless::Endpoints::BatchGetCollection.build(context)
75
- when :batch_get_effective_lifecycle_policy
76
- Aws::OpenSearchServerless::Endpoints::BatchGetEffectiveLifecyclePolicy.build(context)
77
- when :batch_get_lifecycle_policy
78
- Aws::OpenSearchServerless::Endpoints::BatchGetLifecyclePolicy.build(context)
79
- when :batch_get_vpc_endpoint
80
- Aws::OpenSearchServerless::Endpoints::BatchGetVpcEndpoint.build(context)
81
- when :create_access_policy
82
- Aws::OpenSearchServerless::Endpoints::CreateAccessPolicy.build(context)
83
- when :create_collection
84
- Aws::OpenSearchServerless::Endpoints::CreateCollection.build(context)
85
- when :create_lifecycle_policy
86
- Aws::OpenSearchServerless::Endpoints::CreateLifecyclePolicy.build(context)
87
- when :create_security_config
88
- Aws::OpenSearchServerless::Endpoints::CreateSecurityConfig.build(context)
89
- when :create_security_policy
90
- Aws::OpenSearchServerless::Endpoints::CreateSecurityPolicy.build(context)
91
- when :create_vpc_endpoint
92
- Aws::OpenSearchServerless::Endpoints::CreateVpcEndpoint.build(context)
93
- when :delete_access_policy
94
- Aws::OpenSearchServerless::Endpoints::DeleteAccessPolicy.build(context)
95
- when :delete_collection
96
- Aws::OpenSearchServerless::Endpoints::DeleteCollection.build(context)
97
- when :delete_lifecycle_policy
98
- Aws::OpenSearchServerless::Endpoints::DeleteLifecyclePolicy.build(context)
99
- when :delete_security_config
100
- Aws::OpenSearchServerless::Endpoints::DeleteSecurityConfig.build(context)
101
- when :delete_security_policy
102
- Aws::OpenSearchServerless::Endpoints::DeleteSecurityPolicy.build(context)
103
- when :delete_vpc_endpoint
104
- Aws::OpenSearchServerless::Endpoints::DeleteVpcEndpoint.build(context)
105
- when :get_access_policy
106
- Aws::OpenSearchServerless::Endpoints::GetAccessPolicy.build(context)
107
- when :get_account_settings
108
- Aws::OpenSearchServerless::Endpoints::GetAccountSettings.build(context)
109
- when :get_policies_stats
110
- Aws::OpenSearchServerless::Endpoints::GetPoliciesStats.build(context)
111
- when :get_security_config
112
- Aws::OpenSearchServerless::Endpoints::GetSecurityConfig.build(context)
113
- when :get_security_policy
114
- Aws::OpenSearchServerless::Endpoints::GetSecurityPolicy.build(context)
115
- when :list_access_policies
116
- Aws::OpenSearchServerless::Endpoints::ListAccessPolicies.build(context)
117
- when :list_collections
118
- Aws::OpenSearchServerless::Endpoints::ListCollections.build(context)
119
- when :list_lifecycle_policies
120
- Aws::OpenSearchServerless::Endpoints::ListLifecyclePolicies.build(context)
121
- when :list_security_configs
122
- Aws::OpenSearchServerless::Endpoints::ListSecurityConfigs.build(context)
123
- when :list_security_policies
124
- Aws::OpenSearchServerless::Endpoints::ListSecurityPolicies.build(context)
125
- when :list_tags_for_resource
126
- Aws::OpenSearchServerless::Endpoints::ListTagsForResource.build(context)
127
- when :list_vpc_endpoints
128
- Aws::OpenSearchServerless::Endpoints::ListVpcEndpoints.build(context)
129
- when :tag_resource
130
- Aws::OpenSearchServerless::Endpoints::TagResource.build(context)
131
- when :untag_resource
132
- Aws::OpenSearchServerless::Endpoints::UntagResource.build(context)
133
- when :update_access_policy
134
- Aws::OpenSearchServerless::Endpoints::UpdateAccessPolicy.build(context)
135
- when :update_account_settings
136
- Aws::OpenSearchServerless::Endpoints::UpdateAccountSettings.build(context)
137
- when :update_collection
138
- Aws::OpenSearchServerless::Endpoints::UpdateCollection.build(context)
139
- when :update_lifecycle_policy
140
- Aws::OpenSearchServerless::Endpoints::UpdateLifecyclePolicy.build(context)
141
- when :update_security_config
142
- Aws::OpenSearchServerless::Endpoints::UpdateSecurityConfig.build(context)
143
- when :update_security_policy
144
- Aws::OpenSearchServerless::Endpoints::UpdateSecurityPolicy.build(context)
145
- when :update_vpc_endpoint
146
- Aws::OpenSearchServerless::Endpoints::UpdateVpcEndpoint.build(context)
147
- end
148
- end
149
70
  end
150
71
 
151
72
  def add_handlers(handlers, _config)
@@ -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 = []
@@ -54,7 +54,7 @@ module Aws::OpenSearchServerless
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchserverless/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchserverless/endpoints'
56
56
 
57
- GEM_VERSION = '1.28.0'
57
+ GEM_VERSION = '1.30.0'
58
58
 
59
59
  end
60
60
 
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.28.0
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-09-24 00:00:00.000000000 Z
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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.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.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement