aws-sdk-opensearchservice 1.103.0 → 1.105.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +324 -1
- data/lib/aws-sdk-opensearchservice/client_api.rb +174 -0
- data/lib/aws-sdk-opensearchservice/types.rb +474 -4
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- data/sig/client.rbs +84 -2
- data/sig/types.rbs +111 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 90333fd0c72b1c35edc01291aa59726e712b113a2a68d8374038c959c6bc3079
|
|
4
|
+
data.tar.gz: cfb90ac0b7562e9b43201f7dafcbfa39a9adbd0a174923a1cbbf85e658012605
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0cd6aaba61ad21962022a7afbce4a9d83cb1991be2a938116108d827af3444f2f495b4e4a9b3e55c69315bfe12b751a91d0f667c367b6b344270d7bc407fe45
|
|
7
|
+
data.tar.gz: 27a263f80ffd3e8b4fa4a022d04ae204cc8d43770e2d431e11d3471ffa7dfd6bf151ab8d9cb9cf232d982eb1cc07f3f92db5b6e8c12a7f296058408f74e1b328
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.105.0 (2026-07-01)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - To create a Mustang domain via the AWS CLI, you must pass EngineMode OPTIMIZED (along with UseCase OBSERVABILITY or MIXED) without it, the domain defaults to a regular (GENERAL) domain. Also this release includes Insights Feedback API which user can use to provide feedback for Insight API.
|
|
8
|
+
|
|
9
|
+
1.104.0 (2026-06-19)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release introduces data source attachment APIs, enabling users to attach and detach Amazon OpenSearch Service domains and Amazon OpenSearch Serverless collections to an OpenSearch application.
|
|
13
|
+
|
|
4
14
|
1.103.0 (2026-06-17)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.105.0
|
|
@@ -810,6 +810,85 @@ module Aws::OpenSearchService
|
|
|
810
810
|
req.send_request(options)
|
|
811
811
|
end
|
|
812
812
|
|
|
813
|
+
# Attaches a data source to an OpenSearch application. The data source
|
|
814
|
+
# can be an Amazon OpenSearch Service domain or an Amazon OpenSearch
|
|
815
|
+
# Serverless collection. If both the application and data source are in
|
|
816
|
+
# the `ACTIVE` state, the attachment completes immediately and returns a
|
|
817
|
+
# status of `ATTACHED`. If either resource is not yet active, the
|
|
818
|
+
# operation stores the request and returns a status of `PENDING`. A
|
|
819
|
+
# background process then completes the attachment when both resources
|
|
820
|
+
# become active. Pending attachments that are not completed within 24
|
|
821
|
+
# hours are marked as `FAILED`. This operation is idempotent. If a data
|
|
822
|
+
# source is already attached or pending for the same application, the
|
|
823
|
+
# existing attachment is returned.
|
|
824
|
+
#
|
|
825
|
+
# @option params [required, String] :id
|
|
826
|
+
# The unique identifier or name of the OpenSearch application to attach
|
|
827
|
+
# the data source to. This is the same identifier used with
|
|
828
|
+
# `UpdateApplication`, `GetApplication`, and `DeleteApplication`.
|
|
829
|
+
#
|
|
830
|
+
# @option params [required, String] :data_source_arn
|
|
831
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for IAM
|
|
832
|
+
# Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
833
|
+
# Management* for more information.
|
|
834
|
+
#
|
|
835
|
+
#
|
|
836
|
+
#
|
|
837
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
838
|
+
#
|
|
839
|
+
# @option params [String] :workspace_id
|
|
840
|
+
# The identifier of an existing workspace to update with the new data
|
|
841
|
+
# source. Mutually exclusive with `workspaceConfiguration`.
|
|
842
|
+
#
|
|
843
|
+
# @option params [Types::WorkspaceConfigurationInput] :workspace_configuration
|
|
844
|
+
# Configuration for creating a new workspace during the attachment. If
|
|
845
|
+
# specified, a workspace is created and linked to the data source after
|
|
846
|
+
# the attachment completes. Mutually exclusive with `workspaceId`.
|
|
847
|
+
#
|
|
848
|
+
# @option params [String] :client_token
|
|
849
|
+
# A unique, case-sensitive identifier to ensure idempotency of the
|
|
850
|
+
# request. If you retry a request with the same client token and the
|
|
851
|
+
# same parameters, the retry succeeds without performing any further
|
|
852
|
+
# actions.
|
|
853
|
+
#
|
|
854
|
+
# @return [Types::AttachDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
855
|
+
#
|
|
856
|
+
# * {Types::AttachDataSourceResponse#attachment_id #attachment_id} => String
|
|
857
|
+
# * {Types::AttachDataSourceResponse#id #id} => String
|
|
858
|
+
# * {Types::AttachDataSourceResponse#arn #arn} => String
|
|
859
|
+
# * {Types::AttachDataSourceResponse#data_source_arn #data_source_arn} => String
|
|
860
|
+
# * {Types::AttachDataSourceResponse#status #status} => String
|
|
861
|
+
#
|
|
862
|
+
# @example Request syntax with placeholder values
|
|
863
|
+
#
|
|
864
|
+
# resp = client.attach_data_source({
|
|
865
|
+
# id: "Id", # required
|
|
866
|
+
# data_source_arn: "ARN", # required
|
|
867
|
+
# workspace_id: "String",
|
|
868
|
+
# workspace_configuration: {
|
|
869
|
+
# name: "String", # required
|
|
870
|
+
# workspace_type: "String", # required
|
|
871
|
+
# },
|
|
872
|
+
# client_token: "ClientToken",
|
|
873
|
+
# })
|
|
874
|
+
#
|
|
875
|
+
# @example Response structure
|
|
876
|
+
#
|
|
877
|
+
# resp.attachment_id #=> String
|
|
878
|
+
# resp.id #=> String
|
|
879
|
+
# resp.arn #=> String
|
|
880
|
+
# resp.data_source_arn #=> String
|
|
881
|
+
# resp.status #=> String, one of "PENDING", "ATTACHED", "FAILED"
|
|
882
|
+
#
|
|
883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AttachDataSource AWS API Documentation
|
|
884
|
+
#
|
|
885
|
+
# @overload attach_data_source(params = {})
|
|
886
|
+
# @param [Hash] params ({})
|
|
887
|
+
def attach_data_source(params = {}, options = {})
|
|
888
|
+
req = build_request(:attach_data_source, params)
|
|
889
|
+
req.send_request(options)
|
|
890
|
+
end
|
|
891
|
+
|
|
813
892
|
# Provides access to an Amazon OpenSearch Service domain through the use
|
|
814
893
|
# of an interface VPC endpoint.
|
|
815
894
|
#
|
|
@@ -1207,6 +1286,14 @@ module Aws::OpenSearchService
|
|
|
1207
1286
|
#
|
|
1208
1287
|
# Maximum suspension duration: 3 days.
|
|
1209
1288
|
#
|
|
1289
|
+
# @option params [String] :use_case
|
|
1290
|
+
# The primary use case for the domain. For valid values, see
|
|
1291
|
+
# `DomainUseCase`.
|
|
1292
|
+
#
|
|
1293
|
+
# @option params [String] :engine_mode
|
|
1294
|
+
# The engine mode for the domain. For valid values and requirements, see
|
|
1295
|
+
# `EngineMode`.
|
|
1296
|
+
#
|
|
1210
1297
|
# @return [Types::CreateDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1211
1298
|
#
|
|
1212
1299
|
# * {Types::CreateDomainResponse#domain_status #domain_status} => Types::DomainStatus
|
|
@@ -1383,6 +1470,8 @@ module Aws::OpenSearchService
|
|
|
1383
1470
|
# start_time: Time.now,
|
|
1384
1471
|
# end_time: Time.now,
|
|
1385
1472
|
# },
|
|
1473
|
+
# use_case: "SEARCH", # accepts SEARCH, VECTOR, OBSERVABILITY, MIXED
|
|
1474
|
+
# engine_mode: "GENERAL", # accepts GENERAL, OPTIMIZED
|
|
1386
1475
|
# })
|
|
1387
1476
|
#
|
|
1388
1477
|
# @example Response structure
|
|
@@ -1512,6 +1601,8 @@ module Aws::OpenSearchService
|
|
|
1512
1601
|
# resp.domain_status.automated_snapshot_pause_options.start_time #=> Time
|
|
1513
1602
|
# resp.domain_status.automated_snapshot_pause_options.end_time #=> Time
|
|
1514
1603
|
# resp.domain_status.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
|
|
1604
|
+
# resp.domain_status.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
1605
|
+
# resp.domain_status.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
|
|
1515
1606
|
#
|
|
1516
1607
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateDomain AWS API Documentation
|
|
1517
1608
|
#
|
|
@@ -2051,6 +2142,8 @@ module Aws::OpenSearchService
|
|
|
2051
2142
|
# resp.domain_status.automated_snapshot_pause_options.start_time #=> Time
|
|
2052
2143
|
# resp.domain_status.automated_snapshot_pause_options.end_time #=> Time
|
|
2053
2144
|
# resp.domain_status.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
|
|
2145
|
+
# resp.domain_status.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
2146
|
+
# resp.domain_status.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
|
|
2054
2147
|
#
|
|
2055
2148
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDomain AWS API Documentation
|
|
2056
2149
|
#
|
|
@@ -2311,6 +2404,55 @@ module Aws::OpenSearchService
|
|
|
2311
2404
|
req.send_request(options)
|
|
2312
2405
|
end
|
|
2313
2406
|
|
|
2407
|
+
# Returns the current status and details of a specific data source
|
|
2408
|
+
# attachment for an OpenSearch application. Throws a
|
|
2409
|
+
# `ResourceNotFoundException` if no attachment record exists for the
|
|
2410
|
+
# specified application and data source combination.
|
|
2411
|
+
#
|
|
2412
|
+
# @option params [required, String] :id
|
|
2413
|
+
# The unique identifier or name of the OpenSearch application.
|
|
2414
|
+
#
|
|
2415
|
+
# @option params [required, String] :data_source_arn
|
|
2416
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for IAM
|
|
2417
|
+
# Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
2418
|
+
# Management* for more information.
|
|
2419
|
+
#
|
|
2420
|
+
#
|
|
2421
|
+
#
|
|
2422
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
2423
|
+
#
|
|
2424
|
+
# @return [Types::DescribeDataSourceAttachmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2425
|
+
#
|
|
2426
|
+
# * {Types::DescribeDataSourceAttachmentResponse#attachment_id #attachment_id} => String
|
|
2427
|
+
# * {Types::DescribeDataSourceAttachmentResponse#id #id} => String
|
|
2428
|
+
# * {Types::DescribeDataSourceAttachmentResponse#arn #arn} => String
|
|
2429
|
+
# * {Types::DescribeDataSourceAttachmentResponse#data_source_arn #data_source_arn} => String
|
|
2430
|
+
# * {Types::DescribeDataSourceAttachmentResponse#status #status} => String
|
|
2431
|
+
#
|
|
2432
|
+
# @example Request syntax with placeholder values
|
|
2433
|
+
#
|
|
2434
|
+
# resp = client.describe_data_source_attachment({
|
|
2435
|
+
# id: "Id", # required
|
|
2436
|
+
# data_source_arn: "ARN", # required
|
|
2437
|
+
# })
|
|
2438
|
+
#
|
|
2439
|
+
# @example Response structure
|
|
2440
|
+
#
|
|
2441
|
+
# resp.attachment_id #=> String
|
|
2442
|
+
# resp.id #=> String
|
|
2443
|
+
# resp.arn #=> String
|
|
2444
|
+
# resp.data_source_arn #=> String
|
|
2445
|
+
# resp.status #=> String, one of "PENDING", "ATTACHED", "FAILED"
|
|
2446
|
+
#
|
|
2447
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDataSourceAttachment AWS API Documentation
|
|
2448
|
+
#
|
|
2449
|
+
# @overload describe_data_source_attachment(params = {})
|
|
2450
|
+
# @param [Hash] params ({})
|
|
2451
|
+
def describe_data_source_attachment(params = {}, options = {})
|
|
2452
|
+
req = build_request(:describe_data_source_attachment, params)
|
|
2453
|
+
req.send_request(options)
|
|
2454
|
+
end
|
|
2455
|
+
|
|
2314
2456
|
# Describes the domain configuration for the specified Amazon OpenSearch
|
|
2315
2457
|
# Service domain, including the domain ID, domain service endpoint, and
|
|
2316
2458
|
# domain ARN.
|
|
@@ -2455,6 +2597,8 @@ module Aws::OpenSearchService
|
|
|
2455
2597
|
# resp.domain_status.automated_snapshot_pause_options.start_time #=> Time
|
|
2456
2598
|
# resp.domain_status.automated_snapshot_pause_options.end_time #=> Time
|
|
2457
2599
|
# resp.domain_status.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
|
|
2600
|
+
# resp.domain_status.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
2601
|
+
# resp.domain_status.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
|
|
2458
2602
|
#
|
|
2459
2603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomain AWS API Documentation
|
|
2460
2604
|
#
|
|
@@ -2808,6 +2952,18 @@ module Aws::OpenSearchService
|
|
|
2808
2952
|
# resp.domain_config.automated_snapshot_pause_options.status.update_version #=> Integer
|
|
2809
2953
|
# resp.domain_config.automated_snapshot_pause_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
|
2810
2954
|
# resp.domain_config.automated_snapshot_pause_options.status.pending_deletion #=> Boolean
|
|
2955
|
+
# resp.domain_config.use_case.options #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
2956
|
+
# resp.domain_config.use_case.status.creation_date #=> Time
|
|
2957
|
+
# resp.domain_config.use_case.status.update_date #=> Time
|
|
2958
|
+
# resp.domain_config.use_case.status.update_version #=> Integer
|
|
2959
|
+
# resp.domain_config.use_case.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
|
2960
|
+
# resp.domain_config.use_case.status.pending_deletion #=> Boolean
|
|
2961
|
+
# resp.domain_config.engine_mode.options #=> String, one of "GENERAL", "OPTIMIZED"
|
|
2962
|
+
# resp.domain_config.engine_mode.status.creation_date #=> Time
|
|
2963
|
+
# resp.domain_config.engine_mode.status.update_date #=> Time
|
|
2964
|
+
# resp.domain_config.engine_mode.status.update_version #=> Integer
|
|
2965
|
+
# resp.domain_config.engine_mode.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
|
2966
|
+
# resp.domain_config.engine_mode.status.pending_deletion #=> Boolean
|
|
2811
2967
|
#
|
|
2812
2968
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomainConfig AWS API Documentation
|
|
2813
2969
|
#
|
|
@@ -3062,6 +3218,8 @@ module Aws::OpenSearchService
|
|
|
3062
3218
|
# resp.domain_status_list[0].automated_snapshot_pause_options.start_time #=> Time
|
|
3063
3219
|
# resp.domain_status_list[0].automated_snapshot_pause_options.end_time #=> Time
|
|
3064
3220
|
# resp.domain_status_list[0].automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
|
|
3221
|
+
# resp.domain_status_list[0].use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
3222
|
+
# resp.domain_status_list[0].engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
|
|
3065
3223
|
#
|
|
3066
3224
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribeDomains AWS API Documentation
|
|
3067
3225
|
#
|
|
@@ -3239,6 +3397,8 @@ module Aws::OpenSearchService
|
|
|
3239
3397
|
# resp.dry_run_config.automated_snapshot_pause_options.start_time #=> Time
|
|
3240
3398
|
# resp.dry_run_config.automated_snapshot_pause_options.end_time #=> Time
|
|
3241
3399
|
# resp.dry_run_config.automated_snapshot_pause_options.state #=> String, one of "Active", "Completed", "Scheduled", "Disabled"
|
|
3400
|
+
# resp.dry_run_config.use_case #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
3401
|
+
# resp.dry_run_config.engine_mode #=> String, one of "GENERAL", "OPTIMIZED"
|
|
3242
3402
|
# resp.dry_run_results.deployment_type #=> String
|
|
3243
3403
|
# resp.dry_run_results.message #=> String
|
|
3244
3404
|
#
|
|
@@ -3744,6 +3904,54 @@ module Aws::OpenSearchService
|
|
|
3744
3904
|
req.send_request(options)
|
|
3745
3905
|
end
|
|
3746
3906
|
|
|
3907
|
+
# Removes a data source from an OpenSearch application. The application
|
|
3908
|
+
# must be in the `ACTIVE` state. This operation removes the data source
|
|
3909
|
+
# saved object from the application and deletes the attachment record.
|
|
3910
|
+
# Throws a `ConflictException` if the specified data source has a
|
|
3911
|
+
# `PENDING` attachment, and a `ResourceNotFoundException` if the data
|
|
3912
|
+
# source is not currently attached to the application.
|
|
3913
|
+
#
|
|
3914
|
+
# @option params [required, String] :id
|
|
3915
|
+
# The unique identifier or name of the OpenSearch application to detach
|
|
3916
|
+
# the data source from.
|
|
3917
|
+
#
|
|
3918
|
+
# @option params [required, String] :data_source_arn
|
|
3919
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for IAM
|
|
3920
|
+
# Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
3921
|
+
# Management* for more information.
|
|
3922
|
+
#
|
|
3923
|
+
#
|
|
3924
|
+
#
|
|
3925
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
3926
|
+
#
|
|
3927
|
+
# @return [Types::DetachDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3928
|
+
#
|
|
3929
|
+
# * {Types::DetachDataSourceResponse#id #id} => String
|
|
3930
|
+
# * {Types::DetachDataSourceResponse#arn #arn} => String
|
|
3931
|
+
# * {Types::DetachDataSourceResponse#data_source_arn #data_source_arn} => String
|
|
3932
|
+
#
|
|
3933
|
+
# @example Request syntax with placeholder values
|
|
3934
|
+
#
|
|
3935
|
+
# resp = client.detach_data_source({
|
|
3936
|
+
# id: "Id", # required
|
|
3937
|
+
# data_source_arn: "ARN", # required
|
|
3938
|
+
# })
|
|
3939
|
+
#
|
|
3940
|
+
# @example Response structure
|
|
3941
|
+
#
|
|
3942
|
+
# resp.id #=> String
|
|
3943
|
+
# resp.arn #=> String
|
|
3944
|
+
# resp.data_source_arn #=> String
|
|
3945
|
+
#
|
|
3946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DetachDataSource AWS API Documentation
|
|
3947
|
+
#
|
|
3948
|
+
# @overload detach_data_source(params = {})
|
|
3949
|
+
# @param [Hash] params ({})
|
|
3950
|
+
def detach_data_source(params = {}, options = {})
|
|
3951
|
+
req = build_request(:detach_data_source, params)
|
|
3952
|
+
req.send_request(options)
|
|
3953
|
+
end
|
|
3954
|
+
|
|
3747
3955
|
# Removes a package from the specified Amazon OpenSearch Service domain.
|
|
3748
3956
|
# The package can't be in use with any OpenSearch index for the
|
|
3749
3957
|
# dissociation to succeed. The package is still available in OpenSearch
|
|
@@ -4312,6 +4520,54 @@ module Aws::OpenSearchService
|
|
|
4312
4520
|
req.send_request(options)
|
|
4313
4521
|
end
|
|
4314
4522
|
|
|
4523
|
+
# Submits feedback for an existing insight in an Amazon OpenSearch
|
|
4524
|
+
# Service domain. Allows users to provide a thumbs up or thumbs down
|
|
4525
|
+
# rating and optional text feedback for a specific insight.
|
|
4526
|
+
#
|
|
4527
|
+
# @option params [required, Types::InsightFeedbackEntity] :entity
|
|
4528
|
+
# The entity for which to submit insight feedback. Specifies the type
|
|
4529
|
+
# and value of the entity, such as a domain name.
|
|
4530
|
+
#
|
|
4531
|
+
# @option params [required, String] :insight_id
|
|
4532
|
+
# The unique identifier of the insight for which to submit feedback.
|
|
4533
|
+
#
|
|
4534
|
+
# @option params [required, String] :thumbs
|
|
4535
|
+
# The thumbs up or thumbs down feedback for the insight. Possible values
|
|
4536
|
+
# are `Up` and `Down`.
|
|
4537
|
+
#
|
|
4538
|
+
# @option params [String] :feedback_text
|
|
4539
|
+
# Optional text feedback providing additional details about the insight.
|
|
4540
|
+
# Maximum length is 1000 characters.
|
|
4541
|
+
#
|
|
4542
|
+
# @return [Types::InsightFeedbackResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4543
|
+
#
|
|
4544
|
+
# * {Types::InsightFeedbackResponse#status #status} => String
|
|
4545
|
+
#
|
|
4546
|
+
# @example Request syntax with placeholder values
|
|
4547
|
+
#
|
|
4548
|
+
# resp = client.insight_feedback({
|
|
4549
|
+
# entity: { # required
|
|
4550
|
+
# type: "DomainName", # required, accepts DomainName
|
|
4551
|
+
# value: "InsightEntityValue", # required
|
|
4552
|
+
# },
|
|
4553
|
+
# insight_id: "GUID", # required
|
|
4554
|
+
# thumbs: "Up", # required, accepts Up, Down
|
|
4555
|
+
# feedback_text: "InsightFeedbackText",
|
|
4556
|
+
# })
|
|
4557
|
+
#
|
|
4558
|
+
# @example Response structure
|
|
4559
|
+
#
|
|
4560
|
+
# resp.status #=> String, one of "SUCCESS", "ERROR"
|
|
4561
|
+
#
|
|
4562
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/InsightFeedback AWS API Documentation
|
|
4563
|
+
#
|
|
4564
|
+
# @overload insight_feedback(params = {})
|
|
4565
|
+
# @param [Hash] params ({})
|
|
4566
|
+
def insight_feedback(params = {}, options = {})
|
|
4567
|
+
req = build_request(:insight_feedback, params)
|
|
4568
|
+
req.send_request(options)
|
|
4569
|
+
end
|
|
4570
|
+
|
|
4315
4571
|
# Lists all OpenSearch applications under your account.
|
|
4316
4572
|
#
|
|
4317
4573
|
# @option params [String] :next_token
|
|
@@ -4364,6 +4620,51 @@ module Aws::OpenSearchService
|
|
|
4364
4620
|
req.send_request(options)
|
|
4365
4621
|
end
|
|
4366
4622
|
|
|
4623
|
+
# Returns a paginated list of all data source attachments for an
|
|
4624
|
+
# OpenSearch application, including attachments in all states
|
|
4625
|
+
# (`PENDING`, `ATTACHED`, and `FAILED`).
|
|
4626
|
+
#
|
|
4627
|
+
# @option params [required, String] :id
|
|
4628
|
+
# The unique identifier or name of the OpenSearch application to list
|
|
4629
|
+
# attachments for.
|
|
4630
|
+
#
|
|
4631
|
+
# @option params [String] :next_token
|
|
4632
|
+
# The pagination token from a previous call to retrieve the next set of
|
|
4633
|
+
# results.
|
|
4634
|
+
#
|
|
4635
|
+
# @option params [Integer] :max_results
|
|
4636
|
+
# The maximum number of results to return per page. The default is 50.
|
|
4637
|
+
#
|
|
4638
|
+
# @return [Types::ListDataSourceAttachmentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4639
|
+
#
|
|
4640
|
+
# * {Types::ListDataSourceAttachmentsResponse#attachments #attachments} => Array<Types::DataSourceAttachmentSummary>
|
|
4641
|
+
# * {Types::ListDataSourceAttachmentsResponse#next_token #next_token} => String
|
|
4642
|
+
#
|
|
4643
|
+
# @example Request syntax with placeholder values
|
|
4644
|
+
#
|
|
4645
|
+
# resp = client.list_data_source_attachments({
|
|
4646
|
+
# id: "Id", # required
|
|
4647
|
+
# next_token: "String",
|
|
4648
|
+
# max_results: 1,
|
|
4649
|
+
# })
|
|
4650
|
+
#
|
|
4651
|
+
# @example Response structure
|
|
4652
|
+
#
|
|
4653
|
+
# resp.attachments #=> Array
|
|
4654
|
+
# resp.attachments[0].attachment_id #=> String
|
|
4655
|
+
# resp.attachments[0].data_source_arn #=> String
|
|
4656
|
+
# resp.attachments[0].status #=> String, one of "PENDING", "ATTACHED", "FAILED"
|
|
4657
|
+
# resp.next_token #=> String
|
|
4658
|
+
#
|
|
4659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSourceAttachments AWS API Documentation
|
|
4660
|
+
#
|
|
4661
|
+
# @overload list_data_source_attachments(params = {})
|
|
4662
|
+
# @param [Hash] params ({})
|
|
4663
|
+
def list_data_source_attachments(params = {}, options = {})
|
|
4664
|
+
req = build_request(:list_data_source_attachments, params)
|
|
4665
|
+
req.send_request(options)
|
|
4666
|
+
end
|
|
4667
|
+
|
|
4367
4668
|
# Lists direct-query data sources for a specific domain. For more
|
|
4368
4669
|
# information, see For more information, see [Working with Amazon
|
|
4369
4670
|
# OpenSearch Service direct queries with Amazon S3][1].
|
|
@@ -5790,6 +6091,14 @@ module Aws::OpenSearchService
|
|
|
5790
6091
|
#
|
|
5791
6092
|
# Maximum suspension duration: 3 days.
|
|
5792
6093
|
#
|
|
6094
|
+
# @option params [String] :use_case
|
|
6095
|
+
# The primary use case for the domain. For valid values, see
|
|
6096
|
+
# `DomainUseCase`.
|
|
6097
|
+
#
|
|
6098
|
+
# @option params [String] :engine_mode
|
|
6099
|
+
# The engine mode for the domain. The engine mode can't be changed
|
|
6100
|
+
# after the domain is created. For valid values, see `EngineMode`.
|
|
6101
|
+
#
|
|
5793
6102
|
# @return [Types::UpdateDomainConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5794
6103
|
#
|
|
5795
6104
|
# * {Types::UpdateDomainConfigResponse#domain_config #domain_config} => Types::DomainConfig
|
|
@@ -5964,6 +6273,8 @@ module Aws::OpenSearchService
|
|
|
5964
6273
|
# start_time: Time.now,
|
|
5965
6274
|
# end_time: Time.now,
|
|
5966
6275
|
# },
|
|
6276
|
+
# use_case: "SEARCH", # accepts SEARCH, VECTOR, OBSERVABILITY, MIXED
|
|
6277
|
+
# engine_mode: "GENERAL", # accepts GENERAL, OPTIMIZED
|
|
5967
6278
|
# })
|
|
5968
6279
|
#
|
|
5969
6280
|
# @example Response structure
|
|
@@ -6183,6 +6494,18 @@ module Aws::OpenSearchService
|
|
|
6183
6494
|
# resp.domain_config.automated_snapshot_pause_options.status.update_version #=> Integer
|
|
6184
6495
|
# resp.domain_config.automated_snapshot_pause_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
|
6185
6496
|
# resp.domain_config.automated_snapshot_pause_options.status.pending_deletion #=> Boolean
|
|
6497
|
+
# resp.domain_config.use_case.options #=> String, one of "SEARCH", "VECTOR", "OBSERVABILITY", "MIXED"
|
|
6498
|
+
# resp.domain_config.use_case.status.creation_date #=> Time
|
|
6499
|
+
# resp.domain_config.use_case.status.update_date #=> Time
|
|
6500
|
+
# resp.domain_config.use_case.status.update_version #=> Integer
|
|
6501
|
+
# resp.domain_config.use_case.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
|
6502
|
+
# resp.domain_config.use_case.status.pending_deletion #=> Boolean
|
|
6503
|
+
# resp.domain_config.engine_mode.options #=> String, one of "GENERAL", "OPTIMIZED"
|
|
6504
|
+
# resp.domain_config.engine_mode.status.creation_date #=> Time
|
|
6505
|
+
# resp.domain_config.engine_mode.status.update_date #=> Time
|
|
6506
|
+
# resp.domain_config.engine_mode.status.update_version #=> Integer
|
|
6507
|
+
# resp.domain_config.engine_mode.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
|
6508
|
+
# resp.domain_config.engine_mode.status.pending_deletion #=> Boolean
|
|
6186
6509
|
# resp.dry_run_results.deployment_type #=> String
|
|
6187
6510
|
# resp.dry_run_results.message #=> String
|
|
6188
6511
|
# resp.dry_run_progress_status.dry_run_id #=> String
|
|
@@ -6600,7 +6923,7 @@ module Aws::OpenSearchService
|
|
|
6600
6923
|
tracer: tracer
|
|
6601
6924
|
)
|
|
6602
6925
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
|
6603
|
-
context[:gem_version] = '1.
|
|
6926
|
+
context[:gem_version] = '1.105.0'
|
|
6604
6927
|
Seahorse::Client::Request.new(handlers, context)
|
|
6605
6928
|
end
|
|
6606
6929
|
|