aws-sdk-opensearchservice 1.45.0 → 1.47.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: b438ec1220297a33ccb84c0956bfd81d41a26cca60616a2e16af2d0d059045d2
4
- data.tar.gz: 9deb7bfb1d255753a5861f9abab23523304d8822a48b46440b83a5dddbc89d42
3
+ metadata.gz: 675759328643991d69a357078ff1080fa71b7db9fe4c163386d2cf0772531f68
4
+ data.tar.gz: 1a608201d6b94e48737914c74db69285805b400a90ee8e6ea6957b2da5db5244
5
5
  SHA512:
6
- metadata.gz: 83ece3dbf811b96d197b5922501a599072c90ec73a0bb8467565b1fd3f202e226d5a52f6624821488e770c8083a0402005bca3fe3a289852b3bb9214546319e3
7
- data.tar.gz: '083d0e94c97ec90b5a0a2b2b1c6c71829582edd54952274427eb72d0aa356fa68a3c5d1ccf6c16806e3589b576abaed1d43e4543740436c9dc266e8611e78937'
6
+ metadata.gz: f0a9ea4d47a9dca81016c61cab0c91c9aca1e64e61e971d2ddb0b552a91c07e51fefc93fa4f82bfed0daa88e156d775c4631d8930a6372cc4f5a15ab93af7209
7
+ data.tar.gz: 8232885b45f14bd96be937b6cd121d148488d6bb8836676e6eaa91c379063ba01d60b6a1ac25a2c854d4c652426a2ac998a5cf629ec59a297d1622d3b561941c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2024-06-26)
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
+
9
+ 1.46.0 (2024-06-25)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.45.0 (2024-06-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.45.0
1
+ 1.47.0
@@ -847,6 +847,9 @@ module Aws::OpenSearchService
847
847
  # @option params [Types::SoftwareUpdateOptions] :software_update_options
848
848
  # Software update options for the domain.
849
849
  #
850
+ # @option params [Types::AIMLOptionsInput] :aiml_options
851
+ # Options for all machine learning features for the specified domain.
852
+ #
850
853
  # @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
851
854
  #
852
855
  # * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus
@@ -979,6 +982,11 @@ module Aws::OpenSearchService
979
982
  # software_update_options: {
980
983
  # auto_software_update_enabled: false,
981
984
  # },
985
+ # aiml_options: {
986
+ # natural_language_query_generation_options: {
987
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
988
+ # },
989
+ # },
982
990
  # })
983
991
  #
984
992
  # @example Response structure
@@ -1081,6 +1089,8 @@ module Aws::OpenSearchService
1081
1089
  # resp.domain_status.modifying_properties[0].active_value #=> String
1082
1090
  # resp.domain_status.modifying_properties[0].pending_value #=> String
1083
1091
  # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
1092
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
1093
+ # 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"
1084
1094
  #
1085
1095
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain AWS API Documentation
1086
1096
  #
@@ -1446,6 +1456,8 @@ module Aws::OpenSearchService
1446
1456
  # resp.domain_status.modifying_properties[0].active_value #=> String
1447
1457
  # resp.domain_status.modifying_properties[0].pending_value #=> String
1448
1458
  # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
1459
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
1460
+ # 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"
1449
1461
  #
1450
1462
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain AWS API Documentation
1451
1463
  #
@@ -1744,6 +1756,8 @@ module Aws::OpenSearchService
1744
1756
  # resp.domain_status.modifying_properties[0].active_value #=> String
1745
1757
  # resp.domain_status.modifying_properties[0].pending_value #=> String
1746
1758
  # resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
1759
+ # resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
1760
+ # 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"
1747
1761
  #
1748
1762
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain AWS API Documentation
1749
1763
  #
@@ -2050,6 +2064,13 @@ module Aws::OpenSearchService
2050
2064
  # resp.domain_config.modifying_properties[0].active_value #=> String
2051
2065
  # resp.domain_config.modifying_properties[0].pending_value #=> String
2052
2066
  # resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
2067
+ # resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
2068
+ # 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"
2069
+ # resp.domain_config.aiml_options.status.creation_date #=> Time
2070
+ # resp.domain_config.aiml_options.status.update_date #=> Time
2071
+ # resp.domain_config.aiml_options.status.update_version #=> Integer
2072
+ # resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
2073
+ # resp.domain_config.aiml_options.status.pending_deletion #=> Boolean
2053
2074
  #
2054
2075
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig AWS API Documentation
2055
2076
  #
@@ -2277,6 +2298,8 @@ module Aws::OpenSearchService
2277
2298
  # resp.domain_status_list[0].modifying_properties[0].active_value #=> String
2278
2299
  # resp.domain_status_list[0].modifying_properties[0].pending_value #=> String
2279
2300
  # resp.domain_status_list[0].modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
2301
+ # resp.domain_status_list[0].aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
2302
+ # 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"
2280
2303
  #
2281
2304
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains AWS API Documentation
2282
2305
  #
@@ -2427,6 +2450,8 @@ module Aws::OpenSearchService
2427
2450
  # resp.dry_run_config.modifying_properties[0].active_value #=> String
2428
2451
  # resp.dry_run_config.modifying_properties[0].pending_value #=> String
2429
2452
  # resp.dry_run_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
2453
+ # resp.dry_run_config.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
2454
+ # 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"
2430
2455
  # resp.dry_run_results.deployment_type #=> String
2431
2456
  # resp.dry_run_results.message #=> String
2432
2457
  #
@@ -4170,6 +4195,9 @@ module Aws::OpenSearchService
4170
4195
  # @option params [Types::SoftwareUpdateOptions] :software_update_options
4171
4196
  # Service software update options for the domain.
4172
4197
  #
4198
+ # @option params [Types::AIMLOptionsInput] :aiml_options
4199
+ # Options for all machine learning features for the specified domain.
4200
+ #
4173
4201
  # @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4174
4202
  #
4175
4203
  # * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
@@ -4300,6 +4328,11 @@ module Aws::OpenSearchService
4300
4328
  # software_update_options: {
4301
4329
  # auto_software_update_enabled: false,
4302
4330
  # },
4331
+ # aiml_options: {
4332
+ # natural_language_query_generation_options: {
4333
+ # desired_state: "ENABLED", # accepts ENABLED, DISABLED
4334
+ # },
4335
+ # },
4303
4336
  # })
4304
4337
  #
4305
4338
  # @example Response structure
@@ -4472,6 +4505,13 @@ module Aws::OpenSearchService
4472
4505
  # resp.domain_config.modifying_properties[0].active_value #=> String
4473
4506
  # resp.domain_config.modifying_properties[0].pending_value #=> String
4474
4507
  # resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
4508
+ # resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
4509
+ # 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"
4510
+ # resp.domain_config.aiml_options.status.creation_date #=> Time
4511
+ # resp.domain_config.aiml_options.status.update_date #=> Time
4512
+ # resp.domain_config.aiml_options.status.update_version #=> Integer
4513
+ # resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
4514
+ # resp.domain_config.aiml_options.status.pending_deletion #=> Boolean
4475
4515
  # resp.dry_run_results.deployment_type #=> String
4476
4516
  # resp.dry_run_results.message #=> String
4477
4517
  # resp.dry_run_progress_status.dry_run_id #=> String
@@ -4765,7 +4805,7 @@ module Aws::OpenSearchService
4765
4805
  params: params,
4766
4806
  config: config)
4767
4807
  context[:gem_name] = 'aws-sdk-opensearchservice'
4768
- context[:gem_version] = '1.45.0'
4808
+ context[:gem_version] = '1.47.0'
4769
4809
  Seahorse::Client::Request.new(handlers, context)
4770
4810
  end
4771
4811
 
@@ -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.45.0'
55
+ GEM_VERSION = '1.47.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -282,6 +282,11 @@ module Aws
282
282
  },
283
283
  ?software_update_options: {
284
284
  auto_software_update_enabled: bool?
285
+ },
286
+ ?aiml_options: {
287
+ natural_language_query_generation_options: {
288
+ desired_state: ("ENABLED" | "DISABLED")?
289
+ }?
285
290
  }
286
291
  ) -> _CreateDomainResponseSuccess
287
292
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
@@ -1061,6 +1066,11 @@ module Aws
1061
1066
  },
1062
1067
  ?software_update_options: {
1063
1068
  auto_software_update_enabled: bool?
1069
+ },
1070
+ ?aiml_options: {
1071
+ natural_language_query_generation_options: {
1072
+ desired_state: ("ENABLED" | "DISABLED")?
1073
+ }?
1064
1074
  }
1065
1075
  ) -> _UpdateDomainConfigResponseSuccess
1066
1076
  | (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.45.0
4
+ version: 1.47.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-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-26 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.198.0
22
+ version: 3.199.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.198.0
32
+ version: 3.199.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement