aws-sdk-opensearchservice 1.104.0 → 1.105.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d72a60f66eda90d91bf02b74bdffe14740c62f3562c2228bee75fe23ca6c64e
4
- data.tar.gz: ba73c2af3df833c3893659510ee59858e65bf86730c629a4e81dedfbbeec0312
3
+ metadata.gz: 90333fd0c72b1c35edc01291aa59726e712b113a2a68d8374038c959c6bc3079
4
+ data.tar.gz: cfb90ac0b7562e9b43201f7dafcbfa39a9adbd0a174923a1cbbf85e658012605
5
5
  SHA512:
6
- metadata.gz: b46a0fbb740e69655444bd6959d4408dbbe10cd7793a840ef7f5b17db415758c3920d27287967251722a817b8cf2f9aff17921afc89717c6e0e2f6fcc1dc7659
7
- data.tar.gz: 125f2afae30a02e7a15577c438a59b1a169e75acc763ac6b4c891d6c8f104383b74f3bfa3e80ffb2b2cba9ae00ee3e9ca412b1e78e16c7259ab007e7f8d61c34
6
+ metadata.gz: f0cd6aaba61ad21962022a7afbce4a9d83cb1991be2a938116108d827af3444f2f495b4e4a9b3e55c69315bfe12b751a91d0f667c367b6b344270d7bc407fe45
7
+ data.tar.gz: 27a263f80ffd3e8b4fa4a022d04ae204cc8d43770e2d431e11d3471ffa7dfd6bf151ab8d9cb9cf232d982eb1cc07f3f92db5b6e8c12a7f296058408f74e1b328
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.105.0 (2026-07-01)
5
+ ------------------
6
+
7
+ * Feature - To create a Mustang domain via the AWS CLI, you must pass EngineMode OPTIMIZED (along with UseCase OBSERVABILITY or MIXED) without it, the domain defaults to a regular (GENERAL) domain. Also this release includes Insights Feedback API which user can use to provide feedback for Insight API.
8
+
4
9
  1.104.0 (2026-06-19)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.104.0
1
+ 1.105.0
@@ -1286,6 +1286,14 @@ module Aws::OpenSearchService
1286
1286
  #
1287
1287
  # Maximum suspension duration: 3 days.
1288
1288
  #
1289
+ # @option params [String] :use_case
1290
+ # The primary use case for the domain. For valid values, see
1291
+ # `DomainUseCase`.
1292
+ #
1293
+ # @option params [String] :engine_mode
1294
+ # The engine mode for the domain. For valid values and requirements, see
1295
+ # `EngineMode`.
1296
+ #
1289
1297
  # @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1290
1298
  #
1291
1299
  # * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus
@@ -1462,6 +1470,8 @@ module Aws::OpenSearchService
1462
1470
  # start_time: Time.now,
1463
1471
  # end_time: Time.now,
1464
1472
  # },
1473
+ # use_case: "SEARCH", # accepts SEARCH, VECTOR, OBSERVABILITY, MIXED
1474
+ # engine_mode: "GENERAL", # accepts GENERAL, OPTIMIZED
1465
1475
  # })
1466
1476
  #
1467
1477
  # @example Response structure
@@ -1591,6 +1601,8 @@ module Aws::OpenSearchService
1591
1601
  # resp.domain_status.automated_snapshot_pause_options.start_time #=> Time
1592
1602
  # resp.domain_status.automated_snapshot_pause_options.end_time #=> Time
1593
1603
  # resp.domain_status.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
1604
+ # resp.domain_status.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
1605
+ # resp.domain_status.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
1594
1606
  #
1595
1607
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain AWS API Documentation
1596
1608
  #
@@ -2130,6 +2142,8 @@ module Aws::OpenSearchService
2130
2142
  # resp.domain_status.automated_snapshot_pause_options.start_time #=> Time
2131
2143
  # resp.domain_status.automated_snapshot_pause_options.end_time #=> Time
2132
2144
  # resp.domain_status.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
2145
+ # resp.domain_status.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
2146
+ # resp.domain_status.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
2133
2147
  #
2134
2148
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain AWS API Documentation
2135
2149
  #
@@ -2583,6 +2597,8 @@ module Aws::OpenSearchService
2583
2597
  # resp.domain_status.automated_snapshot_pause_options.start_time #=> Time
2584
2598
  # resp.domain_status.automated_snapshot_pause_options.end_time #=> Time
2585
2599
  # resp.domain_status.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
2600
+ # resp.domain_status.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
2601
+ # resp.domain_status.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
2586
2602
  #
2587
2603
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain AWS API Documentation
2588
2604
  #
@@ -2936,6 +2952,18 @@ module Aws::OpenSearchService
2936
2952
  # resp.domain_config.automated_snapshot_pause_options.status.update_version #=> Integer
2937
2953
  # resp.domain_config.automated_snapshot_pause_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2938
2954
  # resp.domain_config.automated_snapshot_pause_options.status.pending_deletion #=> Boolean
2955
+ # resp.domain_config.use_case.options #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
2956
+ # resp.domain_config.use_case.status.creation_date #=> Time
2957
+ # resp.domain_config.use_case.status.update_date #=> Time
2958
+ # resp.domain_config.use_case.status.update_version #=> Integer
2959
+ # resp.domain_config.use_case.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2960
+ # resp.domain_config.use_case.status.pending_deletion #=> Boolean
2961
+ # resp.domain_config.engine_mode.options #=> String, one of "GENERAL", "OPTIMIZED"
2962
+ # resp.domain_config.engine_mode.status.creation_date #=> Time
2963
+ # resp.domain_config.engine_mode.status.update_date #=> Time
2964
+ # resp.domain_config.engine_mode.status.update_version #=> Integer
2965
+ # resp.domain_config.engine_mode.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2966
+ # resp.domain_config.engine_mode.status.pending_deletion #=> Boolean
2939
2967
  #
2940
2968
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig AWS API Documentation
2941
2969
  #
@@ -3190,6 +3218,8 @@ module Aws::OpenSearchService
3190
3218
  # resp.domain_status_list[0].automated_snapshot_pause_options.start_time #=> Time
3191
3219
  # resp.domain_status_list[0].automated_snapshot_pause_options.end_time #=> Time
3192
3220
  # resp.domain_status_list[0].automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
3221
+ # resp.domain_status_list[0].use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
3222
+ # resp.domain_status_list[0].engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
3193
3223
  #
3194
3224
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains AWS API Documentation
3195
3225
  #
@@ -3367,6 +3397,8 @@ module Aws::OpenSearchService
3367
3397
  # resp.dry_run_config.automated_snapshot_pause_options.start_time #=> Time
3368
3398
  # resp.dry_run_config.automated_snapshot_pause_options.end_time #=> Time
3369
3399
  # resp.dry_run_config.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
3400
+ # resp.dry_run_config.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
3401
+ # resp.dry_run_config.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
3370
3402
  # resp.dry_run_results.deployment_type #=> String
3371
3403
  # resp.dry_run_results.message #=> String
3372
3404
  #
@@ -4488,6 +4520,54 @@ module Aws::OpenSearchService
4488
4520
  req.send_request(options)
4489
4521
  end
4490
4522
 
4523
+ # Submits feedback for an existing insight in an Amazon OpenSearch
4524
+ # Service domain. Allows users to provide a thumbs up or thumbs down
4525
+ # rating and optional text feedback for a specific insight.
4526
+ #
4527
+ # @option params [required, Types::InsightFeedbackEntity] :entity
4528
+ # The entity for which to submit insight feedback. Specifies the type
4529
+ # and value of the entity, such as a domain name.
4530
+ #
4531
+ # @option params [required, String] :insight_id
4532
+ # The unique identifier of the insight for which to submit feedback.
4533
+ #
4534
+ # @option params [required, String] :thumbs
4535
+ # The thumbs up or thumbs down feedback for the insight. Possible values
4536
+ # are `Up` and `Down`.
4537
+ #
4538
+ # @option params [String] :feedback_text
4539
+ # Optional text feedback providing additional details about the insight.
4540
+ # Maximum length is 1000 characters.
4541
+ #
4542
+ # @return [Types::InsightFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4543
+ #
4544
+ # * {Types::InsightFeedbackResponse#status #status} => String
4545
+ #
4546
+ # @example Request syntax with placeholder values
4547
+ #
4548
+ # resp = client.insight_feedback({
4549
+ # entity: { # required
4550
+ # type: "DomainName", # required, accepts DomainName
4551
+ # value: "InsightEntityValue", # required
4552
+ # },
4553
+ # insight_id: "GUID", # required
4554
+ # thumbs: "Up", # required, accepts Up, Down
4555
+ # feedback_text: "InsightFeedbackText",
4556
+ # })
4557
+ #
4558
+ # @example Response structure
4559
+ #
4560
+ # resp.status #=> String, one of "SUCCESS", "ERROR"
4561
+ #
4562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/InsightFeedback AWS API Documentation
4563
+ #
4564
+ # @overload insight_feedback(params = {})
4565
+ # @param [Hash] params ({})
4566
+ def insight_feedback(params = {}, options = {})
4567
+ req = build_request(:insight_feedback, params)
4568
+ req.send_request(options)
4569
+ end
4570
+
4491
4571
  # Lists all OpenSearch applications under your account.
4492
4572
  #
4493
4573
  # @option params [String] :next_token
@@ -6011,6 +6091,14 @@ module Aws::OpenSearchService
6011
6091
  #
6012
6092
  # Maximum suspension duration: 3 days.
6013
6093
  #
6094
+ # @option params [String] :use_case
6095
+ # The primary use case for the domain. For valid values, see
6096
+ # `DomainUseCase`.
6097
+ #
6098
+ # @option params [String] :engine_mode
6099
+ # The engine mode for the domain. The engine mode can't be changed
6100
+ # after the domain is created. For valid values, see `EngineMode`.
6101
+ #
6014
6102
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6015
6103
  #
6016
6104
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
@@ -6185,6 +6273,8 @@ module Aws::OpenSearchService
6185
6273
  # start_time: Time.now,
6186
6274
  # end_time: Time.now,
6187
6275
  # },
6276
+ # use_case: "SEARCH", # accepts SEARCH, VECTOR, OBSERVABILITY, MIXED
6277
+ # engine_mode: "GENERAL", # accepts GENERAL, OPTIMIZED
6188
6278
  # })
6189
6279
  #
6190
6280
  # @example Response structure
@@ -6404,6 +6494,18 @@ module Aws::OpenSearchService
6404
6494
  # resp.domain_config.automated_snapshot_pause_options.status.update_version #=> Integer
6405
6495
  # resp.domain_config.automated_snapshot_pause_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
6406
6496
  # resp.domain_config.automated_snapshot_pause_options.status.pending_deletion #=> Boolean
6497
+ # resp.domain_config.use_case.options #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
6498
+ # resp.domain_config.use_case.status.creation_date #=> Time
6499
+ # resp.domain_config.use_case.status.update_date #=> Time
6500
+ # resp.domain_config.use_case.status.update_version #=> Integer
6501
+ # resp.domain_config.use_case.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
6502
+ # resp.domain_config.use_case.status.pending_deletion #=> Boolean
6503
+ # resp.domain_config.engine_mode.options #=> String, one of "GENERAL", "OPTIMIZED"
6504
+ # resp.domain_config.engine_mode.status.creation_date #=> Time
6505
+ # resp.domain_config.engine_mode.status.update_date #=> Time
6506
+ # resp.domain_config.engine_mode.status.update_version #=> Integer
6507
+ # resp.domain_config.engine_mode.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
6508
+ # resp.domain_config.engine_mode.status.pending_deletion #=> Boolean
6407
6509
  # resp.dry_run_results.deployment_type #=> String
6408
6510
  # resp.dry_run_results.message #=> String
6409
6511
  # resp.dry_run_progress_status.dry_run_id #=> String
@@ -6821,7 +6923,7 @@ module Aws::OpenSearchService
6821
6923
  tracer: tracer
6822
6924
  )
6823
6925
  context[:gem_name] = 'aws-sdk-opensearchservice'
6824
- context[:gem_version] = '1.104.0'
6926
+ context[:gem_version] = '1.105.0'
6825
6927
  Seahorse::Client::Request.new(handlers, context)
6826
6928
  end
6827
6929
 
@@ -254,6 +254,7 @@ module Aws::OpenSearchService
254
254
  DomainState = Shapes::StringShape.new(name: 'DomainState')
255
255
  DomainStatus = Shapes::StructureShape.new(name: 'DomainStatus')
256
256
  DomainStatusList = Shapes::ListShape.new(name: 'DomainStatusList')
257
+ DomainUseCase = Shapes::StringShape.new(name: 'DomainUseCase')
257
258
  Double = Shapes::FloatShape.new(name: 'Double')
258
259
  DryRun = Shapes::BooleanShape.new(name: 'DryRun')
259
260
  DryRunMode = Shapes::StringShape.new(name: 'DryRunMode')
@@ -267,6 +268,8 @@ module Aws::OpenSearchService
267
268
  EncryptionAtRestOptionsStatus = Shapes::StructureShape.new(name: 'EncryptionAtRestOptionsStatus')
268
269
  Endpoint = Shapes::StringShape.new(name: 'Endpoint')
269
270
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
271
+ EngineMode = Shapes::StringShape.new(name: 'EngineMode')
272
+ EngineModeStatus = Shapes::StructureShape.new(name: 'EngineModeStatus')
270
273
  EngineType = Shapes::StringShape.new(name: 'EngineType')
271
274
  EngineVersion = Shapes::StringShape.new(name: 'EngineVersion')
272
275
  EnvironmentInfo = Shapes::StructureShape.new(name: 'EnvironmentInfo')
@@ -329,12 +332,19 @@ module Aws::OpenSearchService
329
332
  InsightEntity = Shapes::StructureShape.new(name: 'InsightEntity')
330
333
  InsightEntityType = Shapes::StringShape.new(name: 'InsightEntityType')
331
334
  InsightEntityValue = Shapes::StringShape.new(name: 'InsightEntityValue')
335
+ InsightFeedbackEntity = Shapes::StructureShape.new(name: 'InsightFeedbackEntity')
336
+ InsightFeedbackEntityType = Shapes::StringShape.new(name: 'InsightFeedbackEntityType')
337
+ InsightFeedbackRequest = Shapes::StructureShape.new(name: 'InsightFeedbackRequest')
338
+ InsightFeedbackResponse = Shapes::StructureShape.new(name: 'InsightFeedbackResponse')
339
+ InsightFeedbackText = Shapes::StringShape.new(name: 'InsightFeedbackText')
340
+ InsightFeedbackThumbs = Shapes::StringShape.new(name: 'InsightFeedbackThumbs')
332
341
  InsightField = Shapes::StructureShape.new(name: 'InsightField')
333
342
  InsightFieldList = Shapes::ListShape.new(name: 'InsightFieldList')
334
343
  InsightFieldType = Shapes::StringShape.new(name: 'InsightFieldType')
335
344
  InsightList = Shapes::ListShape.new(name: 'InsightList')
336
345
  InsightPageSize = Shapes::IntegerShape.new(name: 'InsightPageSize')
337
346
  InsightPriorityLevel = Shapes::StringShape.new(name: 'InsightPriorityLevel')
347
+ InsightResponseStatus = Shapes::StringShape.new(name: 'InsightResponseStatus')
338
348
  InsightSortOrder = Shapes::StringShape.new(name: 'InsightSortOrder')
339
349
  InsightStatus = Shapes::StringShape.new(name: 'InsightStatus')
340
350
  InsightTimeRange = Shapes::StructureShape.new(name: 'InsightTimeRange')
@@ -600,6 +610,7 @@ module Aws::OpenSearchService
600
610
  UpgradeStep = Shapes::StringShape.new(name: 'UpgradeStep')
601
611
  UpgradeStepItem = Shapes::StructureShape.new(name: 'UpgradeStepItem')
602
612
  UpgradeStepsList = Shapes::ListShape.new(name: 'UpgradeStepsList')
613
+ UseCaseStatus = Shapes::StructureShape.new(name: 'UseCaseStatus')
603
614
  UserPoolId = Shapes::StringShape.new(name: 'UserPoolId')
604
615
  Username = Shapes::StringShape.new(name: 'Username')
605
616
  VPCDerivedInfo = Shapes::StructureShape.new(name: 'VPCDerivedInfo')
@@ -1024,6 +1035,8 @@ module Aws::OpenSearchService
1024
1035
  CreateDomainRequest.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsInput, location_name: "AIMLOptions"))
1025
1036
  CreateDomainRequest.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOptions, location_name: "DeploymentStrategyOptions"))
1026
1037
  CreateDomainRequest.add_member(:automated_snapshot_pause_options, Shapes::ShapeRef.new(shape: AutomatedSnapshotPauseRequestOptions, location_name: "AutomatedSnapshotPauseOptions"))
1038
+ CreateDomainRequest.add_member(:use_case, Shapes::ShapeRef.new(shape: DomainUseCase, location_name: "UseCase"))
1039
+ CreateDomainRequest.add_member(:engine_mode, Shapes::ShapeRef.new(shape: EngineMode, location_name: "EngineMode"))
1027
1040
  CreateDomainRequest.struct_class = Types::CreateDomainRequest
1028
1041
 
1029
1042
  CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
@@ -1398,6 +1411,8 @@ module Aws::OpenSearchService
1398
1411
  DomainConfig.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsStatus, location_name: "AIMLOptions"))
1399
1412
  DomainConfig.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOptionsStatus, location_name: "DeploymentStrategyOptions"))
1400
1413
  DomainConfig.add_member(:automated_snapshot_pause_options, Shapes::ShapeRef.new(shape: AutomatedSnapshotPauseOptionsStatus, location_name: "AutomatedSnapshotPauseOptions"))
1414
+ DomainConfig.add_member(:use_case, Shapes::ShapeRef.new(shape: UseCaseStatus, location_name: "UseCase"))
1415
+ DomainConfig.add_member(:engine_mode, Shapes::ShapeRef.new(shape: EngineModeStatus, location_name: "EngineMode"))
1401
1416
  DomainConfig.struct_class = Types::DomainConfig
1402
1417
 
1403
1418
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
@@ -1497,6 +1512,8 @@ module Aws::OpenSearchService
1497
1512
  DomainStatus.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsOutput, location_name: "AIMLOptions"))
1498
1513
  DomainStatus.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOptions, location_name: "DeploymentStrategyOptions"))
1499
1514
  DomainStatus.add_member(:automated_snapshot_pause_options, Shapes::ShapeRef.new(shape: AutomatedSnapshotPauseOptions, location_name: "AutomatedSnapshotPauseOptions"))
1515
+ DomainStatus.add_member(:use_case, Shapes::ShapeRef.new(shape: DomainUseCase, location_name: "UseCase"))
1516
+ DomainStatus.add_member(:engine_mode, Shapes::ShapeRef.new(shape: EngineMode, location_name: "EngineMode"))
1500
1517
  DomainStatus.struct_class = Types::DomainStatus
1501
1518
 
1502
1519
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
@@ -1538,6 +1555,10 @@ module Aws::OpenSearchService
1538
1555
  EndpointsMap.key = Shapes::ShapeRef.new(shape: String)
1539
1556
  EndpointsMap.value = Shapes::ShapeRef.new(shape: ServiceUrl)
1540
1557
 
1558
+ EngineModeStatus.add_member(:options, Shapes::ShapeRef.new(shape: EngineMode, required: true, location_name: "Options"))
1559
+ EngineModeStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1560
+ EngineModeStatus.struct_class = Types::EngineModeStatus
1561
+
1541
1562
  EnvironmentInfo.add_member(:availability_zone_information, Shapes::ShapeRef.new(shape: AvailabilityZoneInfoList, location_name: "AvailabilityZoneInformation"))
1542
1563
  EnvironmentInfo.struct_class = Types::EnvironmentInfo
1543
1564
 
@@ -1732,6 +1753,19 @@ module Aws::OpenSearchService
1732
1753
  InsightEntity.add_member(:value, Shapes::ShapeRef.new(shape: InsightEntityValue, location_name: "Value"))
1733
1754
  InsightEntity.struct_class = Types::InsightEntity
1734
1755
 
1756
+ InsightFeedbackEntity.add_member(:type, Shapes::ShapeRef.new(shape: InsightFeedbackEntityType, required: true, location_name: "Type"))
1757
+ InsightFeedbackEntity.add_member(:value, Shapes::ShapeRef.new(shape: InsightEntityValue, required: true, location_name: "Value"))
1758
+ InsightFeedbackEntity.struct_class = Types::InsightFeedbackEntity
1759
+
1760
+ InsightFeedbackRequest.add_member(:entity, Shapes::ShapeRef.new(shape: InsightFeedbackEntity, required: true, location_name: "Entity"))
1761
+ InsightFeedbackRequest.add_member(:insight_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "InsightId"))
1762
+ InsightFeedbackRequest.add_member(:thumbs, Shapes::ShapeRef.new(shape: InsightFeedbackThumbs, required: true, location_name: "Thumbs"))
1763
+ InsightFeedbackRequest.add_member(:feedback_text, Shapes::ShapeRef.new(shape: InsightFeedbackText, location_name: "FeedbackText"))
1764
+ InsightFeedbackRequest.struct_class = Types::InsightFeedbackRequest
1765
+
1766
+ InsightFeedbackResponse.add_member(:status, Shapes::ShapeRef.new(shape: InsightResponseStatus, location_name: "Status"))
1767
+ InsightFeedbackResponse.struct_class = Types::InsightFeedbackResponse
1768
+
1735
1769
  InsightField.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Name"))
1736
1770
  InsightField.add_member(:type, Shapes::ShapeRef.new(shape: InsightFieldType, required: true, location_name: "Type"))
1737
1771
  InsightField.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Value"))
@@ -2375,6 +2409,8 @@ module Aws::OpenSearchService
2375
2409
  UpdateDomainConfigRequest.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsInput, location_name: "AIMLOptions"))
2376
2410
  UpdateDomainConfigRequest.add_member(:deployment_strategy_options, Shapes::ShapeRef.new(shape: DeploymentStrategyOptions, location_name: "DeploymentStrategyOptions"))
2377
2411
  UpdateDomainConfigRequest.add_member(:automated_snapshot_pause_options, Shapes::ShapeRef.new(shape: AutomatedSnapshotPauseRequestOptions, location_name: "AutomatedSnapshotPauseOptions"))
2412
+ UpdateDomainConfigRequest.add_member(:use_case, Shapes::ShapeRef.new(shape: DomainUseCase, location_name: "UseCase"))
2413
+ UpdateDomainConfigRequest.add_member(:engine_mode, Shapes::ShapeRef.new(shape: EngineMode, location_name: "EngineMode"))
2378
2414
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
2379
2415
 
2380
2416
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
@@ -2458,6 +2494,10 @@ module Aws::OpenSearchService
2458
2494
 
2459
2495
  UpgradeStepsList.member = Shapes::ShapeRef.new(shape: UpgradeStepItem)
2460
2496
 
2497
+ UseCaseStatus.add_member(:options, Shapes::ShapeRef.new(shape: DomainUseCase, required: true, location_name: "Options"))
2498
+ UseCaseStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
2499
+ UseCaseStatus.struct_class = Types::UseCaseStatus
2500
+
2461
2501
  VPCDerivedInfo.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "VPCId"))
2462
2502
  VPCDerivedInfo.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: StringList, location_name: "SubnetIds"))
2463
2503
  VPCDerivedInfo.add_member(:availability_zones, Shapes::ShapeRef.new(shape: StringList, location_name: "AvailabilityZones"))
@@ -3339,6 +3379,20 @@ module Aws::OpenSearchService
3339
3379
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
3340
3380
  end)
3341
3381
 
3382
+ api.add_operation(:insight_feedback, Seahorse::Model::Operation.new.tap do |o|
3383
+ o.name = "InsightFeedback"
3384
+ o.http_method = "POST"
3385
+ o.http_request_uri = "/2021-01-01/opensearch/insight-feedback"
3386
+ o.input = Shapes::ShapeRef.new(shape: InsightFeedbackRequest)
3387
+ o.output = Shapes::ShapeRef.new(shape: InsightFeedbackResponse)
3388
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
3389
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
3390
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3391
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3392
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3393
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3394
+ end)
3395
+
3342
3396
  api.add_operation(:list_applications, Seahorse::Model::Operation.new.tap do |o|
3343
3397
  o.name = "ListApplications"
3344
3398
  o.http_method = "GET"
@@ -2119,6 +2119,16 @@ module Aws::OpenSearchService
2119
2119
  # Maximum suspension duration: 3 days.
2120
2120
  # @return [Types::AutomatedSnapshotPauseRequestOptions]
2121
2121
  #
2122
+ # @!attribute [rw] use_case
2123
+ # The primary use case for the domain. For valid values, see
2124
+ # `DomainUseCase`.
2125
+ # @return [String]
2126
+ #
2127
+ # @!attribute [rw] engine_mode
2128
+ # The engine mode for the domain. For valid values and requirements,
2129
+ # see `EngineMode`.
2130
+ # @return [String]
2131
+ #
2122
2132
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomainRequest AWS API Documentation
2123
2133
  #
2124
2134
  class CreateDomainRequest < Struct.new(
@@ -2144,7 +2154,9 @@ module Aws::OpenSearchService
2144
2154
  :software_update_options,
2145
2155
  :aiml_options,
2146
2156
  :deployment_strategy_options,
2147
- :automated_snapshot_pause_options)
2157
+ :automated_snapshot_pause_options,
2158
+ :use_case,
2159
+ :engine_mode)
2148
2160
  SENSITIVE = []
2149
2161
  include Aws::Structure
2150
2162
  end
@@ -4003,6 +4015,14 @@ module Aws::OpenSearchService
4003
4015
  # Specifies `AutomatedSnapshotPauseOptions` for the domain.
4004
4016
  # @return [Types::AutomatedSnapshotPauseOptionsStatus]
4005
4017
  #
4018
+ # @!attribute [rw] use_case
4019
+ # The use case configured for the domain.
4020
+ # @return [Types::UseCaseStatus]
4021
+ #
4022
+ # @!attribute [rw] engine_mode
4023
+ # The engine mode configured for the domain.
4024
+ # @return [Types::EngineModeStatus]
4025
+ #
4006
4026
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainConfig AWS API Documentation
4007
4027
  #
4008
4028
  class DomainConfig < Struct.new(
@@ -4028,7 +4048,9 @@ module Aws::OpenSearchService
4028
4048
  :modifying_properties,
4029
4049
  :aiml_options,
4030
4050
  :deployment_strategy_options,
4031
- :automated_snapshot_pause_options)
4051
+ :automated_snapshot_pause_options,
4052
+ :use_case,
4053
+ :engine_mode)
4032
4054
  SENSITIVE = []
4033
4055
  include Aws::Structure
4034
4056
  end
@@ -4493,6 +4515,14 @@ module Aws::OpenSearchService
4493
4515
  # options.
4494
4516
  # @return [Types::AutomatedSnapshotPauseOptions]
4495
4517
  #
4518
+ # @!attribute [rw] use_case
4519
+ # The primary use case for the domain.
4520
+ # @return [String]
4521
+ #
4522
+ # @!attribute [rw] engine_mode
4523
+ # The engine mode for the domain.
4524
+ # @return [String]
4525
+ #
4496
4526
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainStatus AWS API Documentation
4497
4527
  #
4498
4528
  class DomainStatus < Struct.new(
@@ -4531,7 +4561,9 @@ module Aws::OpenSearchService
4531
4561
  :modifying_properties,
4532
4562
  :aiml_options,
4533
4563
  :deployment_strategy_options,
4534
- :automated_snapshot_pause_options)
4564
+ :automated_snapshot_pause_options,
4565
+ :use_case,
4566
+ :engine_mode)
4535
4567
  SENSITIVE = []
4536
4568
  include Aws::Structure
4537
4569
  end
@@ -4728,6 +4760,25 @@ module Aws::OpenSearchService
4728
4760
  include Aws::Structure
4729
4761
  end
4730
4762
 
4763
+ # The status of the engine mode for the domain.
4764
+ #
4765
+ # @!attribute [rw] options
4766
+ # The engine mode configured for the domain.
4767
+ # @return [String]
4768
+ #
4769
+ # @!attribute [rw] status
4770
+ # The current status of the engine mode for the domain.
4771
+ # @return [Types::OptionStatus]
4772
+ #
4773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/EngineModeStatus AWS API Documentation
4774
+ #
4775
+ class EngineModeStatus < Struct.new(
4776
+ :options,
4777
+ :status)
4778
+ SENSITIVE = []
4779
+ include Aws::Structure
4780
+ end
4781
+
4731
4782
  # Information about the active domain environment.
4732
4783
  #
4733
4784
  # @!attribute [rw] availability_zone_information
@@ -5748,6 +5799,74 @@ module Aws::OpenSearchService
5748
5799
  include Aws::Structure
5749
5800
  end
5750
5801
 
5802
+ # Specifies the entity for which to submit insight feedback. An entity
5803
+ # represents an Amazon OpenSearch Service domain.
5804
+ #
5805
+ # @!attribute [rw] type
5806
+ # The type of the entity. Possible values are `DomainName`.
5807
+ # @return [String]
5808
+ #
5809
+ # @!attribute [rw] value
5810
+ # The value of the entity, such as a domain name.
5811
+ # @return [String]
5812
+ #
5813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/InsightFeedbackEntity AWS API Documentation
5814
+ #
5815
+ class InsightFeedbackEntity < Struct.new(
5816
+ :type,
5817
+ :value)
5818
+ SENSITIVE = []
5819
+ include Aws::Structure
5820
+ end
5821
+
5822
+ # Container for the parameters to the `InsightFeedback` operation.
5823
+ #
5824
+ # @!attribute [rw] entity
5825
+ # The entity for which to submit insight feedback. Specifies the type
5826
+ # and value of the entity, such as a domain name.
5827
+ # @return [Types::InsightFeedbackEntity]
5828
+ #
5829
+ # @!attribute [rw] insight_id
5830
+ # The unique identifier of the insight for which to submit feedback.
5831
+ # @return [String]
5832
+ #
5833
+ # @!attribute [rw] thumbs
5834
+ # The thumbs up or thumbs down feedback for the insight. Possible
5835
+ # values are `Up` and `Down`.
5836
+ # @return [String]
5837
+ #
5838
+ # @!attribute [rw] feedback_text
5839
+ # Optional text feedback providing additional details about the
5840
+ # insight. Maximum length is 1000 characters.
5841
+ # @return [String]
5842
+ #
5843
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/InsightFeedbackRequest AWS API Documentation
5844
+ #
5845
+ class InsightFeedbackRequest < Struct.new(
5846
+ :entity,
5847
+ :insight_id,
5848
+ :thumbs,
5849
+ :feedback_text)
5850
+ SENSITIVE = []
5851
+ include Aws::Structure
5852
+ end
5853
+
5854
+ # The result of an `InsightFeedback` request. Contains the status of the
5855
+ # feedback submission.
5856
+ #
5857
+ # @!attribute [rw] status
5858
+ # The status of the feedback submission. Possible values are `SUCCESS`
5859
+ # and `ERROR`.
5860
+ # @return [String]
5861
+ #
5862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/InsightFeedbackResponse AWS API Documentation
5863
+ #
5864
+ class InsightFeedbackResponse < Struct.new(
5865
+ :status)
5866
+ SENSITIVE = []
5867
+ include Aws::Structure
5868
+ end
5869
+
5751
5870
  # Represents a field in the detailed view of an insight, returned by the
5752
5871
  # `DescribeInsightDetails` operation.
5753
5872
  #
@@ -8959,6 +9078,16 @@ module Aws::OpenSearchService
8959
9078
  # Maximum suspension duration: 3 days.
8960
9079
  # @return [Types::AutomatedSnapshotPauseRequestOptions]
8961
9080
  #
9081
+ # @!attribute [rw] use_case
9082
+ # The primary use case for the domain. For valid values, see
9083
+ # `DomainUseCase`.
9084
+ # @return [String]
9085
+ #
9086
+ # @!attribute [rw] engine_mode
9087
+ # The engine mode for the domain. The engine mode can't be changed
9088
+ # after the domain is created. For valid values, see `EngineMode`.
9089
+ # @return [String]
9090
+ #
8962
9091
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation
8963
9092
  #
8964
9093
  class UpdateDomainConfigRequest < Struct.new(
@@ -8984,7 +9113,9 @@ module Aws::OpenSearchService
8984
9113
  :software_update_options,
8985
9114
  :aiml_options,
8986
9115
  :deployment_strategy_options,
8987
- :automated_snapshot_pause_options)
9116
+ :automated_snapshot_pause_options,
9117
+ :use_case,
9118
+ :engine_mode)
8988
9119
  SENSITIVE = []
8989
9120
  include Aws::Structure
8990
9121
  end
@@ -9414,6 +9545,25 @@ module Aws::OpenSearchService
9414
9545
  include Aws::Structure
9415
9546
  end
9416
9547
 
9548
+ # The status of the use case for the domain.
9549
+ #
9550
+ # @!attribute [rw] options
9551
+ # The use case configured for the domain.
9552
+ # @return [String]
9553
+ #
9554
+ # @!attribute [rw] status
9555
+ # The current status of the use case for the domain.
9556
+ # @return [Types::OptionStatus]
9557
+ #
9558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UseCaseStatus AWS API Documentation
9559
+ #
9560
+ class UseCaseStatus < Struct.new(
9561
+ :options,
9562
+ :status)
9563
+ SENSITIVE = []
9564
+ include Aws::Structure
9565
+ end
9566
+
9417
9567
  # Information about the subnets and security groups for an Amazon
9418
9568
  # OpenSearch Service domain provisioned within a virtual private cloud
9419
9569
  # (VPC). For more information, see [Launching your Amazon OpenSearch
@@ -54,7 +54,7 @@ module Aws::OpenSearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.104.0'
57
+ GEM_VERSION = '1.105.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -365,7 +365,9 @@ module Aws
365
365
  enabled: bool,
366
366
  start_time: ::Time?,
367
367
  end_time: ::Time?
368
- }
368
+ },
369
+ ?use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED"),
370
+ ?engine_mode: ("GENERAL" | "OPTIMIZED")
369
371
  ) -> _CreateDomainResponseSuccess
370
372
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
371
373
 
@@ -980,6 +982,22 @@ module Aws
980
982
  ) -> _GetUpgradeStatusResponseSuccess
981
983
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUpgradeStatusResponseSuccess
982
984
 
985
+ interface _InsightFeedbackResponseSuccess
986
+ include ::Seahorse::Client::_ResponseSuccess[Types::InsightFeedbackResponse]
987
+ def status: () -> ("SUCCESS" | "ERROR")
988
+ end
989
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#insight_feedback-instance_method
990
+ def insight_feedback: (
991
+ entity: {
992
+ type: ("DomainName"),
993
+ value: ::String
994
+ },
995
+ insight_id: ::String,
996
+ thumbs: ("Up" | "Down"),
997
+ ?feedback_text: ::String
998
+ ) -> _InsightFeedbackResponseSuccess
999
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InsightFeedbackResponseSuccess
1000
+
983
1001
  interface _ListApplicationsResponseSuccess
984
1002
  include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
985
1003
  def application_summaries: () -> ::Array[Types::ApplicationSummary]
@@ -1442,7 +1460,9 @@ module Aws
1442
1460
  enabled: bool,
1443
1461
  start_time: ::Time?,
1444
1462
  end_time: ::Time?
1445
- }
1463
+ },
1464
+ ?use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED"),
1465
+ ?engine_mode: ("GENERAL" | "OPTIMIZED")
1446
1466
  ) -> _UpdateDomainConfigResponseSuccess
1447
1467
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess
1448
1468
 
data/sig/types.rbs CHANGED
@@ -513,6 +513,8 @@ module Aws::OpenSearchService
513
513
  attr_accessor aiml_options: Types::AIMLOptionsInput
514
514
  attr_accessor deployment_strategy_options: Types::DeploymentStrategyOptions
515
515
  attr_accessor automated_snapshot_pause_options: Types::AutomatedSnapshotPauseRequestOptions
516
+ attr_accessor use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED")
517
+ attr_accessor engine_mode: ("GENERAL" | "OPTIMIZED")
516
518
  SENSITIVE: []
517
519
  end
518
520
 
@@ -1040,6 +1042,8 @@ module Aws::OpenSearchService
1040
1042
  attr_accessor aiml_options: Types::AIMLOptionsStatus
1041
1043
  attr_accessor deployment_strategy_options: Types::DeploymentStrategyOptionsStatus
1042
1044
  attr_accessor automated_snapshot_pause_options: Types::AutomatedSnapshotPauseOptionsStatus
1045
+ attr_accessor use_case: Types::UseCaseStatus
1046
+ attr_accessor engine_mode: Types::EngineModeStatus
1043
1047
  SENSITIVE: []
1044
1048
  end
1045
1049
 
@@ -1145,6 +1149,8 @@ module Aws::OpenSearchService
1145
1149
  attr_accessor aiml_options: Types::AIMLOptionsOutput
1146
1150
  attr_accessor deployment_strategy_options: Types::DeploymentStrategyOptions
1147
1151
  attr_accessor automated_snapshot_pause_options: Types::AutomatedSnapshotPauseOptions
1152
+ attr_accessor use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED")
1153
+ attr_accessor engine_mode: ("GENERAL" | "OPTIMIZED")
1148
1154
  SENSITIVE: []
1149
1155
  end
1150
1156
 
@@ -1196,6 +1202,12 @@ module Aws::OpenSearchService
1196
1202
  SENSITIVE: []
1197
1203
  end
1198
1204
 
1205
+ class EngineModeStatus
1206
+ attr_accessor options: ("GENERAL" | "OPTIMIZED")
1207
+ attr_accessor status: Types::OptionStatus
1208
+ SENSITIVE: []
1209
+ end
1210
+
1199
1211
  class EnvironmentInfo
1200
1212
  attr_accessor availability_zone_information: ::Array[Types::AvailabilityZoneInfo]
1201
1213
  SENSITIVE: []
@@ -1455,6 +1467,25 @@ module Aws::OpenSearchService
1455
1467
  SENSITIVE: []
1456
1468
  end
1457
1469
 
1470
+ class InsightFeedbackEntity
1471
+ attr_accessor type: ("DomainName")
1472
+ attr_accessor value: ::String
1473
+ SENSITIVE: []
1474
+ end
1475
+
1476
+ class InsightFeedbackRequest
1477
+ attr_accessor entity: Types::InsightFeedbackEntity
1478
+ attr_accessor insight_id: ::String
1479
+ attr_accessor thumbs: ("Up" | "Down")
1480
+ attr_accessor feedback_text: ::String
1481
+ SENSITIVE: []
1482
+ end
1483
+
1484
+ class InsightFeedbackResponse
1485
+ attr_accessor status: ("SUCCESS" | "ERROR")
1486
+ SENSITIVE: []
1487
+ end
1488
+
1458
1489
  class InsightField
1459
1490
  attr_accessor name: ::String
1460
1491
  attr_accessor type: ("text" | "metric")
@@ -2278,6 +2309,8 @@ module Aws::OpenSearchService
2278
2309
  attr_accessor aiml_options: Types::AIMLOptionsInput
2279
2310
  attr_accessor deployment_strategy_options: Types::DeploymentStrategyOptions
2280
2311
  attr_accessor automated_snapshot_pause_options: Types::AutomatedSnapshotPauseRequestOptions
2312
+ attr_accessor use_case: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED")
2313
+ attr_accessor engine_mode: ("GENERAL" | "OPTIMIZED")
2281
2314
  SENSITIVE: []
2282
2315
  end
2283
2316
 
@@ -2388,6 +2421,12 @@ module Aws::OpenSearchService
2388
2421
  SENSITIVE: []
2389
2422
  end
2390
2423
 
2424
+ class UseCaseStatus
2425
+ attr_accessor options: ("SEARCH" | "VECTOR" | "OBSERVABILITY" | "MIXED")
2426
+ attr_accessor status: Types::OptionStatus
2427
+ SENSITIVE: []
2428
+ end
2429
+
2391
2430
  class VPCDerivedInfo
2392
2431
  attr_accessor vpc_id: ::String
2393
2432
  attr_accessor subnet_ids: ::Array[::String]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.104.0
4
+ version: 1.105.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services