aws-sdk-opensearchservice 1.49.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +59 -2
- data/lib/aws-sdk-opensearchservice/client_api.rb +28 -0
- data/lib/aws-sdk-opensearchservice/types.rb +115 -4
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- data/sig/client.rbs +11 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +31 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f993594117d066831cb9d474a2a964f35223026d02bbf195c846e28b5f664d1f
|
4
|
+
data.tar.gz: eb665e4eeb28d3dafecf70b7f65cde4a73cae04ff2076b3c85ca175cd343c942
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4177a42edd89d37b0a3f0933830db5b2c0d15936dfc5caa5a6229e752e74c757fe2bf5991951c8b20386aa7bc30e8c6d6098809e04e0d8b0030360718795f335
|
7
|
+
data.tar.gz: 88c61b1b44d8b1c3b6b561e27be424510669b95a3db89f8a22beceb988ca36b5e297f2b9b11fa374a6b8018341cb651b22b22be79434bf0b0e544a0ba8174bed
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2024-09-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.50.0 (2024-07-09)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.49.0 (2024-07-02)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
|
32
32
|
require 'aws-sdk-core/plugins/request_compression.rb'
|
33
33
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
34
34
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
35
|
+
require 'aws-sdk-core/plugins/telemetry.rb'
|
35
36
|
require 'aws-sdk-core/plugins/sign.rb'
|
36
37
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
37
38
|
|
@@ -83,6 +84,7 @@ module Aws::OpenSearchService
|
|
83
84
|
add_plugin(Aws::Plugins::RequestCompression)
|
84
85
|
add_plugin(Aws::Plugins::DefaultsMode)
|
85
86
|
add_plugin(Aws::Plugins::RecursionDetection)
|
87
|
+
add_plugin(Aws::Plugins::Telemetry)
|
86
88
|
add_plugin(Aws::Plugins::Sign)
|
87
89
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
88
90
|
add_plugin(Aws::OpenSearchService::Plugins::Endpoints)
|
@@ -330,6 +332,16 @@ module Aws::OpenSearchService
|
|
330
332
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
331
333
|
# requests are made, and retries are disabled.
|
332
334
|
#
|
335
|
+
# @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
|
336
|
+
# Allows you to provide a telemetry provider, which is used to
|
337
|
+
# emit telemetry data. By default, uses `NoOpTelemetryProvider` which
|
338
|
+
# will not record or emit any telemetry data. The SDK supports the
|
339
|
+
# following telemetry providers:
|
340
|
+
#
|
341
|
+
# * OpenTelemetry (OTel) - To use the OTel provider, install and require the
|
342
|
+
# `opentelemetry-sdk` gem and then, pass in an instance of a
|
343
|
+
# `Aws::Telemetry::OTelProvider` for telemetry provider.
|
344
|
+
#
|
333
345
|
# @option options [Aws::TokenProvider] :token_provider
|
334
346
|
# A Bearer Token Provider. This can be an instance of any one of the
|
335
347
|
# following classes:
|
@@ -856,6 +868,9 @@ module Aws::OpenSearchService
|
|
856
868
|
# @option params [Types::SoftwareUpdateOptions] :software_update_options
|
857
869
|
# Software update options for the domain.
|
858
870
|
#
|
871
|
+
# @option params [Types::AIMLOptionsInput] :aiml_options
|
872
|
+
# Options for all machine learning features for the specified domain.
|
873
|
+
#
|
859
874
|
# @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
860
875
|
#
|
861
876
|
# * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus
|
@@ -988,6 +1003,11 @@ module Aws::OpenSearchService
|
|
988
1003
|
# software_update_options: {
|
989
1004
|
# auto_software_update_enabled: false,
|
990
1005
|
# },
|
1006
|
+
# aiml_options: {
|
1007
|
+
# natural_language_query_generation_options: {
|
1008
|
+
# desired_state: "ENABLED", # accepts ENABLED, DISABLED
|
1009
|
+
# },
|
1010
|
+
# },
|
991
1011
|
# })
|
992
1012
|
#
|
993
1013
|
# @example Response structure
|
@@ -1090,6 +1110,8 @@ module Aws::OpenSearchService
|
|
1090
1110
|
# resp.domain_status.modifying_properties[0].active_value #=> String
|
1091
1111
|
# resp.domain_status.modifying_properties[0].pending_value #=> String
|
1092
1112
|
# resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
1113
|
+
# resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
1114
|
+
# 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
1115
|
#
|
1094
1116
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain AWS API Documentation
|
1095
1117
|
#
|
@@ -1455,6 +1477,8 @@ module Aws::OpenSearchService
|
|
1455
1477
|
# resp.domain_status.modifying_properties[0].active_value #=> String
|
1456
1478
|
# resp.domain_status.modifying_properties[0].pending_value #=> String
|
1457
1479
|
# resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
1480
|
+
# resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
1481
|
+
# 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
1482
|
#
|
1459
1483
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain AWS API Documentation
|
1460
1484
|
#
|
@@ -1753,6 +1777,8 @@ module Aws::OpenSearchService
|
|
1753
1777
|
# resp.domain_status.modifying_properties[0].active_value #=> String
|
1754
1778
|
# resp.domain_status.modifying_properties[0].pending_value #=> String
|
1755
1779
|
# resp.domain_status.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
1780
|
+
# resp.domain_status.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
1781
|
+
# 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
1782
|
#
|
1757
1783
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain AWS API Documentation
|
1758
1784
|
#
|
@@ -2059,6 +2085,13 @@ module Aws::OpenSearchService
|
|
2059
2085
|
# resp.domain_config.modifying_properties[0].active_value #=> String
|
2060
2086
|
# resp.domain_config.modifying_properties[0].pending_value #=> String
|
2061
2087
|
# resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
2088
|
+
# resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
2089
|
+
# 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"
|
2090
|
+
# resp.domain_config.aiml_options.status.creation_date #=> Time
|
2091
|
+
# resp.domain_config.aiml_options.status.update_date #=> Time
|
2092
|
+
# resp.domain_config.aiml_options.status.update_version #=> Integer
|
2093
|
+
# resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
2094
|
+
# resp.domain_config.aiml_options.status.pending_deletion #=> Boolean
|
2062
2095
|
#
|
2063
2096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig AWS API Documentation
|
2064
2097
|
#
|
@@ -2286,6 +2319,8 @@ module Aws::OpenSearchService
|
|
2286
2319
|
# resp.domain_status_list[0].modifying_properties[0].active_value #=> String
|
2287
2320
|
# resp.domain_status_list[0].modifying_properties[0].pending_value #=> String
|
2288
2321
|
# resp.domain_status_list[0].modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
2322
|
+
# resp.domain_status_list[0].aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
2323
|
+
# 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
2324
|
#
|
2290
2325
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains AWS API Documentation
|
2291
2326
|
#
|
@@ -2436,6 +2471,8 @@ module Aws::OpenSearchService
|
|
2436
2471
|
# resp.dry_run_config.modifying_properties[0].active_value #=> String
|
2437
2472
|
# resp.dry_run_config.modifying_properties[0].pending_value #=> String
|
2438
2473
|
# resp.dry_run_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
2474
|
+
# resp.dry_run_config.aiml_options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
2475
|
+
# 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
2476
|
# resp.dry_run_results.deployment_type #=> String
|
2440
2477
|
# resp.dry_run_results.message #=> String
|
2441
2478
|
#
|
@@ -4179,6 +4216,9 @@ module Aws::OpenSearchService
|
|
4179
4216
|
# @option params [Types::SoftwareUpdateOptions] :software_update_options
|
4180
4217
|
# Service software update options for the domain.
|
4181
4218
|
#
|
4219
|
+
# @option params [Types::AIMLOptionsInput] :aiml_options
|
4220
|
+
# Options for all machine learning features for the specified domain.
|
4221
|
+
#
|
4182
4222
|
# @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4183
4223
|
#
|
4184
4224
|
# * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
|
@@ -4309,6 +4349,11 @@ module Aws::OpenSearchService
|
|
4309
4349
|
# software_update_options: {
|
4310
4350
|
# auto_software_update_enabled: false,
|
4311
4351
|
# },
|
4352
|
+
# aiml_options: {
|
4353
|
+
# natural_language_query_generation_options: {
|
4354
|
+
# desired_state: "ENABLED", # accepts ENABLED, DISABLED
|
4355
|
+
# },
|
4356
|
+
# },
|
4312
4357
|
# })
|
4313
4358
|
#
|
4314
4359
|
# @example Response structure
|
@@ -4481,6 +4526,13 @@ module Aws::OpenSearchService
|
|
4481
4526
|
# resp.domain_config.modifying_properties[0].active_value #=> String
|
4482
4527
|
# resp.domain_config.modifying_properties[0].pending_value #=> String
|
4483
4528
|
# resp.domain_config.modifying_properties[0].value_type #=> String, one of "PLAIN_TEXT", "STRINGIFIED_JSON"
|
4529
|
+
# resp.domain_config.aiml_options.options.natural_language_query_generation_options.desired_state #=> String, one of "ENABLED", "DISABLED"
|
4530
|
+
# 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"
|
4531
|
+
# resp.domain_config.aiml_options.status.creation_date #=> Time
|
4532
|
+
# resp.domain_config.aiml_options.status.update_date #=> Time
|
4533
|
+
# resp.domain_config.aiml_options.status.update_version #=> Integer
|
4534
|
+
# resp.domain_config.aiml_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
4535
|
+
# resp.domain_config.aiml_options.status.pending_deletion #=> Boolean
|
4484
4536
|
# resp.dry_run_results.deployment_type #=> String
|
4485
4537
|
# resp.dry_run_results.message #=> String
|
4486
4538
|
# resp.dry_run_progress_status.dry_run_id #=> String
|
@@ -4767,14 +4819,19 @@ module Aws::OpenSearchService
|
|
4767
4819
|
# @api private
|
4768
4820
|
def build_request(operation_name, params = {})
|
4769
4821
|
handlers = @handlers.for(operation_name)
|
4822
|
+
tracer = config.telemetry_provider.tracer_provider.tracer(
|
4823
|
+
Aws::Telemetry.module_to_tracer_name('Aws::OpenSearchService')
|
4824
|
+
)
|
4770
4825
|
context = Seahorse::Client::RequestContext.new(
|
4771
4826
|
operation_name: operation_name,
|
4772
4827
|
operation: config.api.operation(operation_name),
|
4773
4828
|
client: self,
|
4774
4829
|
params: params,
|
4775
|
-
config: config
|
4830
|
+
config: config,
|
4831
|
+
tracer: tracer
|
4832
|
+
)
|
4776
4833
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
4777
|
-
context[:gem_version] = '1.
|
4834
|
+
context[:gem_version] = '1.51.0'
|
4778
4835
|
Seahorse::Client::Request.new(handlers, context)
|
4779
4836
|
end
|
4780
4837
|
|
@@ -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
|
data/sig/client.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
@@ -283,6 +284,11 @@ module Aws
|
|
283
284
|
},
|
284
285
|
?software_update_options: {
|
285
286
|
auto_software_update_enabled: bool?
|
287
|
+
},
|
288
|
+
?aiml_options: {
|
289
|
+
natural_language_query_generation_options: {
|
290
|
+
desired_state: ("ENABLED" | "DISABLED")?
|
291
|
+
}?
|
286
292
|
}
|
287
293
|
) -> _CreateDomainResponseSuccess
|
288
294
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
|
@@ -1062,6 +1068,11 @@ module Aws
|
|
1062
1068
|
},
|
1063
1069
|
?software_update_options: {
|
1064
1070
|
auto_software_update_enabled: bool?
|
1071
|
+
},
|
1072
|
+
?aiml_options: {
|
1073
|
+
natural_language_query_generation_options: {
|
1074
|
+
desired_state: ("ENABLED" | "DISABLED")?
|
1075
|
+
}?
|
1065
1076
|
}
|
1066
1077
|
) -> _UpdateDomainConfigResponseSuccess
|
1067
1078
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess
|
data/sig/resource.rbs
CHANGED
@@ -50,6 +50,7 @@ module Aws
|
|
50
50
|
?session_token: String,
|
51
51
|
?sigv4a_signing_region_set: Array[String],
|
52
52
|
?stub_responses: untyped,
|
53
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
53
54
|
?token_provider: untyped,
|
54
55
|
?use_dualstack_endpoint: bool,
|
55
56
|
?use_fips_endpoint: bool,
|
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.
|
4
|
+
version: 1.51.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-
|
11
|
+
date: 2024-09-03 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.
|
22
|
+
version: 3.203.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.
|
32
|
+
version: 3.203.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|