aws-sdk-opensearchservice 1.49.0 → 1.50.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: 95fa25078ced585620fd702bfb949b5c881e31ed36b08d74a5992e32600bf0c4
4
- data.tar.gz: 4c7773e8ef0a39f6e4e5125eed79d666982ce732484f369e1526a8c50901baab
3
+ metadata.gz: 2b7f1330a7c9473518f6e57301e140dff321626911dde3b2723168c57cd9a8bf
4
+ data.tar.gz: a076faad7be70e40a135f4a6b6ff8b84985e9f4f792ca5f0325da18c917ac872
5
5
  SHA512:
6
- metadata.gz: 85f70113e85e6a11ef43c210ff81268bbd3761ade953d4181de7a10d8c13e21cf59f3846dd586d05682d69892796142dbcda795f8cd108dd38267796e01bf262
7
- data.tar.gz: b8fbf1b501b45ba154190c1972520e0eb1c1f6f43996ea98067dcffa19db5c4d84c80c9ce0d46bfe4de94cde749261209c75fa0380fdea4550f263435189a35a
6
+ metadata.gz: fd35ffeefe8a1139607e6f27c191cd53203b896eac093422dde0d1f1dbf011ee6d66ccac497f6e76e5c8bcedea0eb0291b6cdf07e45a4c0344c0906d80d1b8ad
7
+ data.tar.gz: 9a47c5667abe98142dab4adc1c1187eb4a47ce2c163f53d308575fc2e8bbbe52dbea9b768c65c895c38fef23afef13f7f8958e801e5300cb969a9d4e5736c574
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2024-07-09)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down.
8
+
4
9
  1.49.0 (2024-07-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -856,6 +856,9 @@ module Aws::OpenSearchService
856
856
  # @option params [Types::SoftwareUpdateOptions] :software_update_options
857
857
  # Software update options for the domain.
858
858
  #
859
+ # @option params [Types::AIMLOptionsInput] :aiml_options
860
+ # Options for all machine learning features for the specified domain.
861
+ #
859
862
  # @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
860
863
  #
861
864
  # * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus
@@ -988,6 +991,11 @@ module Aws::OpenSearchService
988
991
  # software_update_options: {
989
992
  # auto_software_update_enabled: false,
990
993
  # },
994
+ # aiml_options: {
995
+ # natural_language_query_generation_options: {
996
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
997
+ # },
998
+ # },
991
999
  # })
992
1000
  #
993
1001
  # @example Response structure
@@ -1090,6 +1098,8 @@ module Aws::OpenSearchService
1090
1098
  # resp.domain_status.modifying_properties[0].active_value #=> String
1091
1099
  # resp.domain_status.modifying_properties[0].pending_value #=> String
1092
1100
  # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
1101
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
1102
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
1093
1103
  #
1094
1104
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain AWS API Documentation
1095
1105
  #
@@ -1455,6 +1465,8 @@ module Aws::OpenSearchService
1455
1465
  # resp.domain_status.modifying_properties[0].active_value #=> String
1456
1466
  # resp.domain_status.modifying_properties[0].pending_value #=> String
1457
1467
  # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
1468
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
1469
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
1458
1470
  #
1459
1471
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain AWS API Documentation
1460
1472
  #
@@ -1753,6 +1765,8 @@ module Aws::OpenSearchService
1753
1765
  # resp.domain_status.modifying_properties[0].active_value #=> String
1754
1766
  # resp.domain_status.modifying_properties[0].pending_value #=> String
1755
1767
  # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
1768
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
1769
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
1756
1770
  #
1757
1771
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain AWS API Documentation
1758
1772
  #
@@ -2059,6 +2073,13 @@ module Aws::OpenSearchService
2059
2073
  # resp.domain_config.modifying_properties[0].active_value #=> String
2060
2074
  # resp.domain_config.modifying_properties[0].pending_value #=> String
2061
2075
  # resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
2076
+ # resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
2077
+ # resp.domain_config.aiml_options.options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
2078
+ # resp.domain_config.aiml_options.status.creation_date #=> Time
2079
+ # resp.domain_config.aiml_options.status.update_date #=> Time
2080
+ # resp.domain_config.aiml_options.status.update_version #=> Integer
2081
+ # resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2082
+ # resp.domain_config.aiml_options.status.pending_deletion #=> Boolean
2062
2083
  #
2063
2084
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig AWS API Documentation
2064
2085
  #
@@ -2286,6 +2307,8 @@ module Aws::OpenSearchService
2286
2307
  # resp.domain_status_list[0].modifying_properties[0].active_value #=> String
2287
2308
  # resp.domain_status_list[0].modifying_properties[0].pending_value #=> String
2288
2309
  # resp.domain_status_list[0].modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
2310
+ # resp.domain_status_list[0].aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
2311
+ # resp.domain_status_list[0].aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
2289
2312
  #
2290
2313
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains AWS API Documentation
2291
2314
  #
@@ -2436,6 +2459,8 @@ module Aws::OpenSearchService
2436
2459
  # resp.dry_run_config.modifying_properties[0].active_value #=> String
2437
2460
  # resp.dry_run_config.modifying_properties[0].pending_value #=> String
2438
2461
  # resp.dry_run_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
2462
+ # resp.dry_run_config.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
2463
+ # resp.dry_run_config.aiml_options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
2439
2464
  # resp.dry_run_results.deployment_type #=> String
2440
2465
  # resp.dry_run_results.message #=> String
2441
2466
  #
@@ -4179,6 +4204,9 @@ module Aws::OpenSearchService
4179
4204
  # @option params [Types::SoftwareUpdateOptions] :software_update_options
4180
4205
  # Service software update options for the domain.
4181
4206
  #
4207
+ # @option params [Types::AIMLOptionsInput] :aiml_options
4208
+ # Options for all machine learning features for the specified domain.
4209
+ #
4182
4210
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4183
4211
  #
4184
4212
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
@@ -4309,6 +4337,11 @@ module Aws::OpenSearchService
4309
4337
  # software_update_options: {
4310
4338
  # auto_software_update_enabled: false,
4311
4339
  # },
4340
+ # aiml_options: {
4341
+ # natural_language_query_generation_options: {
4342
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
4343
+ # },
4344
+ # },
4312
4345
  # })
4313
4346
  #
4314
4347
  # @example Response structure
@@ -4481,6 +4514,13 @@ module Aws::OpenSearchService
4481
4514
  # resp.domain_config.modifying_properties[0].active_value #=> String
4482
4515
  # resp.domain_config.modifying_properties[0].pending_value #=> String
4483
4516
  # resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
4517
+ # resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
4518
+ # resp.domain_config.aiml_options.options.natural_language_query_generation_options.current_state #=> String, one of "NOT_ENABLED", "ENABLE_COMPLETE", "ENABLE_IN_PROGRESS", "ENABLE_FAILED", "DISABLE_COMPLETE", "DISABLE_IN_PROGRESS", "DISABLE_FAILED"
4519
+ # resp.domain_config.aiml_options.status.creation_date #=> Time
4520
+ # resp.domain_config.aiml_options.status.update_date #=> Time
4521
+ # resp.domain_config.aiml_options.status.update_version #=> Integer
4522
+ # resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
4523
+ # resp.domain_config.aiml_options.status.pending_deletion #=> Boolean
4484
4524
  # resp.dry_run_results.deployment_type #=> String
4485
4525
  # resp.dry_run_results.message #=> String
4486
4526
  # resp.dry_run_progress_status.dry_run_id #=> String
@@ -4774,7 +4814,7 @@ module Aws::OpenSearchService
4774
4814
  params: params,
4775
4815
  config: config)
4776
4816
  context[:gem_name] = 'aws-sdk-opensearchservice'
4777
- context[:gem_version] = '1.49.0'
4817
+ context[:gem_version] = '1.50.0'
4778
4818
  Seahorse::Client::Request.new(handlers, context)
4779
4819
  end
4780
4820
 
@@ -13,6 +13,9 @@ module Aws::OpenSearchService
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AIMLOptionsInput = Shapes::StructureShape.new(name: 'AIMLOptionsInput')
17
+ AIMLOptionsOutput = Shapes::StructureShape.new(name: 'AIMLOptionsOutput')
18
+ AIMLOptionsStatus = Shapes::StructureShape.new(name: 'AIMLOptionsStatus')
16
19
  ARN = Shapes::StringShape.new(name: 'ARN')
17
20
  AWSAccount = Shapes::StringShape.new(name: 'AWSAccount')
18
21
  AWSDomainInformation = Shapes::StructureShape.new(name: 'AWSDomainInformation')
@@ -294,6 +297,10 @@ module Aws::OpenSearchService
294
297
  MinimumInstanceCount = Shapes::IntegerShape.new(name: 'MinimumInstanceCount')
295
298
  ModifyingProperties = Shapes::StructureShape.new(name: 'ModifyingProperties')
296
299
  ModifyingPropertiesList = Shapes::ListShape.new(name: 'ModifyingPropertiesList')
300
+ NaturalLanguageQueryGenerationCurrentState = Shapes::StringShape.new(name: 'NaturalLanguageQueryGenerationCurrentState')
301
+ NaturalLanguageQueryGenerationDesiredState = Shapes::StringShape.new(name: 'NaturalLanguageQueryGenerationDesiredState')
302
+ NaturalLanguageQueryGenerationOptionsInput = Shapes::StructureShape.new(name: 'NaturalLanguageQueryGenerationOptionsInput')
303
+ NaturalLanguageQueryGenerationOptionsOutput = Shapes::StructureShape.new(name: 'NaturalLanguageQueryGenerationOptionsOutput')
297
304
  NextToken = Shapes::StringShape.new(name: 'NextToken')
298
305
  NodeId = Shapes::StringShape.new(name: 'NodeId')
299
306
  NodeStatus = Shapes::StringShape.new(name: 'NodeStatus')
@@ -459,6 +466,16 @@ module Aws::OpenSearchService
459
466
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
460
467
  ZoneStatus = Shapes::StringShape.new(name: 'ZoneStatus')
461
468
 
469
+ AIMLOptionsInput.add_member(:natural_language_query_generation_options, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationOptionsInput, location_name: "NaturalLanguageQueryGenerationOptions"))
470
+ AIMLOptionsInput.struct_class = Types::AIMLOptionsInput
471
+
472
+ AIMLOptionsOutput.add_member(:natural_language_query_generation_options, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationOptionsOutput, location_name: "NaturalLanguageQueryGenerationOptions"))
473
+ AIMLOptionsOutput.struct_class = Types::AIMLOptionsOutput
474
+
475
+ AIMLOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AIMLOptionsOutput, location_name: "Options"))
476
+ AIMLOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
477
+ AIMLOptionsStatus.struct_class = Types::AIMLOptionsStatus
478
+
462
479
  AWSDomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
463
480
  AWSDomainInformation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
464
481
  AWSDomainInformation.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
@@ -713,6 +730,7 @@ module Aws::OpenSearchService
713
730
  CreateDomainRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsInput, location_name: "AutoTuneOptions"))
714
731
  CreateDomainRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
715
732
  CreateDomainRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
733
+ CreateDomainRequest.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsInput, location_name: "AIMLOptions"))
716
734
  CreateDomainRequest.struct_class = Types::CreateDomainRequest
717
735
 
718
736
  CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
@@ -971,6 +989,7 @@ module Aws::OpenSearchService
971
989
  DomainConfig.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptionsStatus, location_name: "OffPeakWindowOptions"))
972
990
  DomainConfig.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptionsStatus, location_name: "SoftwareUpdateOptions"))
973
991
  DomainConfig.add_member(:modifying_properties, Shapes::ShapeRef.new(shape: ModifyingPropertiesList, location_name: "ModifyingProperties"))
992
+ DomainConfig.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsStatus, location_name: "AIMLOptions"))
974
993
  DomainConfig.struct_class = Types::DomainConfig
975
994
 
976
995
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
@@ -1064,6 +1083,7 @@ module Aws::OpenSearchService
1064
1083
  DomainStatus.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
1065
1084
  DomainStatus.add_member(:domain_processing_status, Shapes::ShapeRef.new(shape: DomainProcessingStatusType, location_name: "DomainProcessingStatus"))
1066
1085
  DomainStatus.add_member(:modifying_properties, Shapes::ShapeRef.new(shape: ModifyingPropertiesList, location_name: "ModifyingProperties"))
1086
+ DomainStatus.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsOutput, location_name: "AIMLOptions"))
1067
1087
  DomainStatus.struct_class = Types::DomainStatus
1068
1088
 
1069
1089
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
@@ -1370,6 +1390,13 @@ module Aws::OpenSearchService
1370
1390
 
1371
1391
  ModifyingPropertiesList.member = Shapes::ShapeRef.new(shape: ModifyingProperties)
1372
1392
 
1393
+ NaturalLanguageQueryGenerationOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationDesiredState, location_name: "DesiredState"))
1394
+ NaturalLanguageQueryGenerationOptionsInput.struct_class = Types::NaturalLanguageQueryGenerationOptionsInput
1395
+
1396
+ NaturalLanguageQueryGenerationOptionsOutput.add_member(:desired_state, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationDesiredState, location_name: "DesiredState"))
1397
+ NaturalLanguageQueryGenerationOptionsOutput.add_member(:current_state, Shapes::ShapeRef.new(shape: NaturalLanguageQueryGenerationCurrentState, location_name: "CurrentState"))
1398
+ NaturalLanguageQueryGenerationOptionsOutput.struct_class = Types::NaturalLanguageQueryGenerationOptionsOutput
1399
+
1373
1400
  NodeToNodeEncryptionOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
1374
1401
  NodeToNodeEncryptionOptions.struct_class = Types::NodeToNodeEncryptionOptions
1375
1402
 
@@ -1646,6 +1673,7 @@ module Aws::OpenSearchService
1646
1673
  UpdateDomainConfigRequest.add_member(:dry_run_mode, Shapes::ShapeRef.new(shape: DryRunMode, location_name: "DryRunMode"))
1647
1674
  UpdateDomainConfigRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
1648
1675
  UpdateDomainConfigRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
1676
+ UpdateDomainConfigRequest.add_member(:aiml_options, Shapes::ShapeRef.new(shape: AIMLOptionsInput, location_name: "AIMLOptions"))
1649
1677
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1650
1678
 
1651
1679
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
@@ -10,6 +10,57 @@
10
10
  module Aws::OpenSearchService
11
11
  module Types
12
12
 
13
+ # Container for parameters required to enable all machine learning
14
+ # features.
15
+ #
16
+ # @!attribute [rw] natural_language_query_generation_options
17
+ # Container for parameters required for natural language query
18
+ # generation on the specified domain.
19
+ # @return [Types::NaturalLanguageQueryGenerationOptionsInput]
20
+ #
21
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AIMLOptionsInput AWS API Documentation
22
+ #
23
+ class AIMLOptionsInput < Struct.new(
24
+ :natural_language_query_generation_options)
25
+ SENSITIVE = []
26
+ include Aws::Structure
27
+ end
28
+
29
+ # Container for parameters representing the state of machine learning
30
+ # features on the specified domain.
31
+ #
32
+ # @!attribute [rw] natural_language_query_generation_options
33
+ # Container for parameters required for natural language query
34
+ # generation on the specified domain.
35
+ # @return [Types::NaturalLanguageQueryGenerationOptionsOutput]
36
+ #
37
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AIMLOptionsOutput AWS API Documentation
38
+ #
39
+ class AIMLOptionsOutput < Struct.new(
40
+ :natural_language_query_generation_options)
41
+ SENSITIVE = []
42
+ include Aws::Structure
43
+ end
44
+
45
+ # The status of machine learning options on the specified domain.
46
+ #
47
+ # @!attribute [rw] options
48
+ # Machine learning options on the specified domain.
49
+ # @return [Types::AIMLOptionsOutput]
50
+ #
51
+ # @!attribute [rw] status
52
+ # Provides the current status of an entity.
53
+ # @return [Types::OptionStatus]
54
+ #
55
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AIMLOptionsStatus AWS API Documentation
56
+ #
57
+ class AIMLOptionsStatus < Struct.new(
58
+ :options,
59
+ :status)
60
+ SENSITIVE = []
61
+ include Aws::Structure
62
+ end
63
+
13
64
  # Information about an Amazon OpenSearch Service domain.
14
65
  #
15
66
  # @!attribute [rw] owner_id
@@ -1394,6 +1445,10 @@ module Aws::OpenSearchService
1394
1445
  # Software update options for the domain.
1395
1446
  # @return [Types::SoftwareUpdateOptions]
1396
1447
  #
1448
+ # @!attribute [rw] aiml_options
1449
+ # Options for all machine learning features for the specified domain.
1450
+ # @return [Types::AIMLOptionsInput]
1451
+ #
1397
1452
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomainRequest AWS API Documentation
1398
1453
  #
1399
1454
  class CreateDomainRequest < Struct.new(
@@ -1415,7 +1470,8 @@ module Aws::OpenSearchService
1415
1470
  :tag_list,
1416
1471
  :auto_tune_options,
1417
1472
  :off_peak_window_options,
1418
- :software_update_options)
1473
+ :software_update_options,
1474
+ :aiml_options)
1419
1475
  SENSITIVE = []
1420
1476
  include Aws::Structure
1421
1477
  end
@@ -2715,6 +2771,11 @@ module Aws::OpenSearchService
2715
2771
  # modified.
2716
2772
  # @return [Array<Types::ModifyingProperties>]
2717
2773
  #
2774
+ # @!attribute [rw] aiml_options
2775
+ # Container for parameters required to enable all machine learning
2776
+ # features.
2777
+ # @return [Types::AIMLOptionsStatus]
2778
+ #
2718
2779
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainConfig AWS API Documentation
2719
2780
  #
2720
2781
  class DomainConfig < Struct.new(
@@ -2736,7 +2797,8 @@ module Aws::OpenSearchService
2736
2797
  :change_progress_details,
2737
2798
  :off_peak_window_options,
2738
2799
  :software_update_options,
2739
- :modifying_properties)
2800
+ :modifying_properties,
2801
+ :aiml_options)
2740
2802
  SENSITIVE = []
2741
2803
  include Aws::Structure
2742
2804
  end
@@ -3167,6 +3229,11 @@ module Aws::OpenSearchService
3167
3229
  # modified.
3168
3230
  # @return [Array<Types::ModifyingProperties>]
3169
3231
  #
3232
+ # @!attribute [rw] aiml_options
3233
+ # Container for parameters required to enable all machine learning
3234
+ # features.
3235
+ # @return [Types::AIMLOptionsOutput]
3236
+ #
3170
3237
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DomainStatus AWS API Documentation
3171
3238
  #
3172
3239
  class DomainStatus < Struct.new(
@@ -3201,7 +3268,8 @@ module Aws::OpenSearchService
3201
3268
  :off_peak_window_options,
3202
3269
  :software_update_options,
3203
3270
  :domain_processing_status,
3204
- :modifying_properties)
3271
+ :modifying_properties,
3272
+ :aiml_options)
3205
3273
  SENSITIVE = []
3206
3274
  include Aws::Structure
3207
3275
  end
@@ -4696,6 +4764,44 @@ module Aws::OpenSearchService
4696
4764
  include Aws::Structure
4697
4765
  end
4698
4766
 
4767
+ # Container for parameters required to enable the natural language query
4768
+ # generation feature.
4769
+ #
4770
+ # @!attribute [rw] desired_state
4771
+ # The desired state of the natural language query generation feature.
4772
+ # Valid values are ENABLED and DISABLED.
4773
+ # @return [String]
4774
+ #
4775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/NaturalLanguageQueryGenerationOptionsInput AWS API Documentation
4776
+ #
4777
+ class NaturalLanguageQueryGenerationOptionsInput < Struct.new(
4778
+ :desired_state)
4779
+ SENSITIVE = []
4780
+ include Aws::Structure
4781
+ end
4782
+
4783
+ # Container for parameters representing the state of the natural
4784
+ # language query generation feature on the specified domain.
4785
+ #
4786
+ # @!attribute [rw] desired_state
4787
+ # The desired state of the natural language query generation feature.
4788
+ # Valid values are ENABLED and DISABLED.
4789
+ # @return [String]
4790
+ #
4791
+ # @!attribute [rw] current_state
4792
+ # The current state of the natural language query generation feature,
4793
+ # indicating completion, in progress, or failure.
4794
+ # @return [String]
4795
+ #
4796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/NaturalLanguageQueryGenerationOptionsOutput AWS API Documentation
4797
+ #
4798
+ class NaturalLanguageQueryGenerationOptionsOutput < Struct.new(
4799
+ :desired_state,
4800
+ :current_state)
4801
+ SENSITIVE = []
4802
+ include Aws::Structure
4803
+ end
4804
+
4699
4805
  # Enables or disables node-to-node encryption. For more information, see
4700
4806
  # [Node-to-node encryption for Amazon OpenSearch Service][1].
4701
4807
  #
@@ -6115,6 +6221,10 @@ module Aws::OpenSearchService
6115
6221
  # Service software update options for the domain.
6116
6222
  # @return [Types::SoftwareUpdateOptions]
6117
6223
  #
6224
+ # @!attribute [rw] aiml_options
6225
+ # Options for all machine learning features for the specified domain.
6226
+ # @return [Types::AIMLOptionsInput]
6227
+ #
6118
6228
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDomainConfigRequest AWS API Documentation
6119
6229
  #
6120
6230
  class UpdateDomainConfigRequest < Struct.new(
@@ -6136,7 +6246,8 @@ module Aws::OpenSearchService
6136
6246
  :dry_run,
6137
6247
  :dry_run_mode,
6138
6248
  :off_peak_window_options,
6139
- :software_update_options)
6249
+ :software_update_options,
6250
+ :aiml_options)
6140
6251
  SENSITIVE = []
6141
6252
  include Aws::Structure
6142
6253
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-opensearchservice/customizations'
52
52
  # @!group service
53
53
  module Aws::OpenSearchService
54
54
 
55
- GEM_VERSION = '1.49.0'
55
+ GEM_VERSION = '1.50.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -283,6 +283,11 @@ module Aws
283
283
  },
284
284
  ?software_update_options: {
285
285
  auto_software_update_enabled: bool?
286
+ },
287
+ ?aiml_options: {
288
+ natural_language_query_generation_options: {
289
+ desired_state: ("ENABLED" | "DISABLED")?
290
+ }?
286
291
  }
287
292
  ) -> _CreateDomainResponseSuccess
288
293
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
@@ -1062,6 +1067,11 @@ module Aws
1062
1067
  },
1063
1068
  ?software_update_options: {
1064
1069
  auto_software_update_enabled: bool?
1070
+ },
1071
+ ?aiml_options: {
1072
+ natural_language_query_generation_options: {
1073
+ desired_state: ("ENABLED" | "DISABLED")?
1074
+ }?
1065
1075
  }
1066
1076
  ) -> _UpdateDomainConfigResponseSuccess
1067
1077
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess
data/sig/types.rbs CHANGED
@@ -8,6 +8,22 @@
8
8
  module Aws::OpenSearchService
9
9
  module Types
10
10
 
11
+ class AIMLOptionsInput
12
+ attr_accessor natural_language_query_generation_options: Types::NaturalLanguageQueryGenerationOptionsInput
13
+ SENSITIVE: []
14
+ end
15
+
16
+ class AIMLOptionsOutput
17
+ attr_accessor natural_language_query_generation_options: Types::NaturalLanguageQueryGenerationOptionsOutput
18
+ SENSITIVE: []
19
+ end
20
+
21
+ class AIMLOptionsStatus
22
+ attr_accessor options: Types::AIMLOptionsOutput
23
+ attr_accessor status: Types::OptionStatus
24
+ SENSITIVE: []
25
+ end
26
+
11
27
  class AWSDomainInformation
12
28
  attr_accessor owner_id: ::String
13
29
  attr_accessor domain_name: ::String
@@ -328,6 +344,7 @@ module Aws::OpenSearchService
328
344
  attr_accessor auto_tune_options: Types::AutoTuneOptionsInput
329
345
  attr_accessor off_peak_window_options: Types::OffPeakWindowOptions
330
346
  attr_accessor software_update_options: Types::SoftwareUpdateOptions
347
+ attr_accessor aiml_options: Types::AIMLOptionsInput
331
348
  SENSITIVE: []
332
349
  end
333
350
 
@@ -697,6 +714,7 @@ module Aws::OpenSearchService
697
714
  attr_accessor off_peak_window_options: Types::OffPeakWindowOptionsStatus
698
715
  attr_accessor software_update_options: Types::SoftwareUpdateOptionsStatus
699
716
  attr_accessor modifying_properties: ::Array[Types::ModifyingProperties]
717
+ attr_accessor aiml_options: Types::AIMLOptionsStatus
700
718
  SENSITIVE: []
701
719
  end
702
720
 
@@ -796,6 +814,7 @@ module Aws::OpenSearchService
796
814
  attr_accessor software_update_options: Types::SoftwareUpdateOptions
797
815
  attr_accessor domain_processing_status: ("Creating" | "Active" | "Modifying" | "UpgradingEngineVersion" | "UpdatingServiceSoftware" | "Isolated" | "Deleting")
798
816
  attr_accessor modifying_properties: ::Array[Types::ModifyingProperties]
817
+ attr_accessor aiml_options: Types::AIMLOptionsOutput
799
818
  SENSITIVE: []
800
819
  end
801
820
 
@@ -1196,6 +1215,17 @@ module Aws::OpenSearchService
1196
1215
  SENSITIVE: []
1197
1216
  end
1198
1217
 
1218
+ class NaturalLanguageQueryGenerationOptionsInput
1219
+ attr_accessor desired_state: ("ENABLED" | "DISABLED")
1220
+ SENSITIVE: []
1221
+ end
1222
+
1223
+ class NaturalLanguageQueryGenerationOptionsOutput
1224
+ attr_accessor desired_state: ("ENABLED" | "DISABLED")
1225
+ attr_accessor current_state: ("NOT_ENABLED" | "ENABLE_COMPLETE" | "ENABLE_IN_PROGRESS" | "ENABLE_FAILED" | "DISABLE_COMPLETE" | "DISABLE_IN_PROGRESS" | "DISABLE_FAILED")
1226
+ SENSITIVE: []
1227
+ end
1228
+
1199
1229
  class NodeToNodeEncryptionOptions
1200
1230
  attr_accessor enabled: bool
1201
1231
  SENSITIVE: []
@@ -1536,6 +1566,7 @@ module Aws::OpenSearchService
1536
1566
  attr_accessor dry_run_mode: ("Basic" | "Verbose")
1537
1567
  attr_accessor off_peak_window_options: Types::OffPeakWindowOptions
1538
1568
  attr_accessor software_update_options: Types::SoftwareUpdateOptions
1569
+ attr_accessor aiml_options: Types::AIMLOptionsInput
1539
1570
  SENSITIVE: []
1540
1571
  end
1541
1572
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.49.0
4
+ version: 1.50.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-07-02 00:00:00.000000000 Z
11
+ date: 2024-07-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core