aws-sdk-opensearchservice 1.77.0 → 1.79.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 +248 -2
- data/lib/aws-sdk-opensearchservice/client_api.rb +145 -0
- data/lib/aws-sdk-opensearchservice/errors.rb +11 -0
- data/lib/aws-sdk-opensearchservice/types.rb +235 -18
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- data/sig/client.rbs +68 -0
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +68 -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: f51e22617b1f4e5ad749f96ead47c86f13e554785e4bc51f6840175a73107e42
|
|
4
|
+
data.tar.gz: 39fa851dc4833a2953d3efb04d24520e38c5c6bb81bebe56774720c37624c7c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4cbaa0a0351ed72af4f156df227f88346df1336eef9f208cb5fe222d58013613df9a9edc639fd476db539a16319a0b382785828134518fc6ee0dbeba81744af7
|
|
7
|
+
data.tar.gz: 88b0b333770558472184ee7d5280ae0f45c481264e3259cfe6e5ae157b6dd4dd0012ff356513e33246457360d043f079562b7bffc1bf7369ea1d4d755074ff23
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.79.0 (2025-11-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds index operation APIs to support Automatic Semantic Enrichment feature
|
|
8
|
+
|
|
9
|
+
1.78.0 (2025-11-07)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release introduces the Default Application feature, allowing users to set, change, or unset a preferred OpenSearch UI application on a per-region basis for a streamlined and consistent user experience.
|
|
13
|
+
|
|
4
14
|
1.77.0 (2025-10-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.79.0
|
|
@@ -1453,6 +1453,66 @@ module Aws::OpenSearchService
|
|
|
1453
1453
|
req.send_request(options)
|
|
1454
1454
|
end
|
|
1455
1455
|
|
|
1456
|
+
# Creates an OpenSearch index with optional automatic semantic
|
|
1457
|
+
# enrichment for specified text fields. Automatic semantic enrichment
|
|
1458
|
+
# enables semantic search capabilities without requiring machine
|
|
1459
|
+
# learning expertise, improving search relevance by up to 20% by
|
|
1460
|
+
# understanding search intent and contextual meaning beyond keyword
|
|
1461
|
+
# matching. The semantic enrichment process has zero impact on search
|
|
1462
|
+
# latency as sparse encodings are stored directly within the index
|
|
1463
|
+
# during indexing. For more information, see [Automatic semantic
|
|
1464
|
+
# enrichment][1].
|
|
1465
|
+
#
|
|
1466
|
+
#
|
|
1467
|
+
#
|
|
1468
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/opensearch-semantic-enrichment.html
|
|
1469
|
+
#
|
|
1470
|
+
# @option params [required, String] :domain_name
|
|
1471
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
1472
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
1473
|
+
# Region.
|
|
1474
|
+
#
|
|
1475
|
+
# @option params [required, String] :index_name
|
|
1476
|
+
# The name of the index to create. Must be between 1 and 255 characters
|
|
1477
|
+
# and follow OpenSearch naming conventions.
|
|
1478
|
+
#
|
|
1479
|
+
# @option params [required, Hash,Array,String,Numeric,Boolean] :index_schema
|
|
1480
|
+
# The JSON schema defining index mappings, settings, and semantic
|
|
1481
|
+
# enrichment configuration. The schema specifies which text fields
|
|
1482
|
+
# should be automatically enriched for semantic search capabilities and
|
|
1483
|
+
# includes OpenSearch index configuration parameters.
|
|
1484
|
+
#
|
|
1485
|
+
# Document type used to carry open content
|
|
1486
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
1487
|
+
# serialized using the same format as its surroundings and requires no
|
|
1488
|
+
# additional encoding or escaping.
|
|
1489
|
+
#
|
|
1490
|
+
# @return [Types::CreateIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1491
|
+
#
|
|
1492
|
+
# * {Types::CreateIndexResponse#status #status} => String
|
|
1493
|
+
#
|
|
1494
|
+
# @example Request syntax with placeholder values
|
|
1495
|
+
#
|
|
1496
|
+
# resp = client.create_index({
|
|
1497
|
+
# domain_name: "DomainName", # required
|
|
1498
|
+
# index_name: "IndexName", # required
|
|
1499
|
+
# index_schema: { # required
|
|
1500
|
+
# },
|
|
1501
|
+
# })
|
|
1502
|
+
#
|
|
1503
|
+
# @example Response structure
|
|
1504
|
+
#
|
|
1505
|
+
# resp.status #=> String, one of "CREATED", "UPDATED", "DELETED"
|
|
1506
|
+
#
|
|
1507
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateIndex AWS API Documentation
|
|
1508
|
+
#
|
|
1509
|
+
# @overload create_index(params = {})
|
|
1510
|
+
# @param [Hash] params ({})
|
|
1511
|
+
def create_index(params = {}, options = {})
|
|
1512
|
+
req = build_request(:create_index, params)
|
|
1513
|
+
req.send_request(options)
|
|
1514
|
+
end
|
|
1515
|
+
|
|
1456
1516
|
# Creates a new cross-cluster search connection from a source Amazon
|
|
1457
1517
|
# OpenSearch Service domain to a destination domain. For more
|
|
1458
1518
|
# information, see [Cross-cluster search for Amazon OpenSearch
|
|
@@ -1964,6 +2024,41 @@ module Aws::OpenSearchService
|
|
|
1964
2024
|
req.send_request(options)
|
|
1965
2025
|
end
|
|
1966
2026
|
|
|
2027
|
+
# Deletes an OpenSearch index. This operation permanently removes the
|
|
2028
|
+
# index and cannot be undone.
|
|
2029
|
+
#
|
|
2030
|
+
# @option params [required, String] :domain_name
|
|
2031
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
2032
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
2033
|
+
# Region.
|
|
2034
|
+
#
|
|
2035
|
+
# @option params [required, String] :index_name
|
|
2036
|
+
# The name of the index to delete.
|
|
2037
|
+
#
|
|
2038
|
+
# @return [Types::DeleteIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2039
|
+
#
|
|
2040
|
+
# * {Types::DeleteIndexResponse#status #status} => String
|
|
2041
|
+
#
|
|
2042
|
+
# @example Request syntax with placeholder values
|
|
2043
|
+
#
|
|
2044
|
+
# resp = client.delete_index({
|
|
2045
|
+
# domain_name: "DomainName", # required
|
|
2046
|
+
# index_name: "IndexName", # required
|
|
2047
|
+
# })
|
|
2048
|
+
#
|
|
2049
|
+
# @example Response structure
|
|
2050
|
+
#
|
|
2051
|
+
# resp.status #=> String, one of "CREATED", "UPDATED", "DELETED"
|
|
2052
|
+
#
|
|
2053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteIndex AWS API Documentation
|
|
2054
|
+
#
|
|
2055
|
+
# @overload delete_index(params = {})
|
|
2056
|
+
# @param [Hash] params ({})
|
|
2057
|
+
def delete_index(params = {}, options = {})
|
|
2058
|
+
req = build_request(:delete_index, params)
|
|
2059
|
+
req.send_request(options)
|
|
2060
|
+
end
|
|
2061
|
+
|
|
1967
2062
|
# Allows the source Amazon OpenSearch Service domain owner to delete an
|
|
1968
2063
|
# existing outbound cross-cluster search connection. For more
|
|
1969
2064
|
# information, see [Cross-cluster search for Amazon OpenSearch
|
|
@@ -3490,7 +3585,7 @@ module Aws::OpenSearchService
|
|
|
3490
3585
|
req.send_request(options)
|
|
3491
3586
|
end
|
|
3492
3587
|
|
|
3493
|
-
# Dissociates multiple packages from a domain
|
|
3588
|
+
# Dissociates multiple packages from a domain simultaneously.
|
|
3494
3589
|
#
|
|
3495
3590
|
# @option params [required, Array<String>] :package_list
|
|
3496
3591
|
# A list of package IDs to be dissociated from a domain.
|
|
@@ -3663,6 +3758,28 @@ module Aws::OpenSearchService
|
|
|
3663
3758
|
req.send_request(options)
|
|
3664
3759
|
end
|
|
3665
3760
|
|
|
3761
|
+
# Gets the ARN of the current default application.
|
|
3762
|
+
#
|
|
3763
|
+
# If the default application isn't set, the operation returns a
|
|
3764
|
+
# resource not found error.
|
|
3765
|
+
#
|
|
3766
|
+
# @return [Types::GetDefaultApplicationSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3767
|
+
#
|
|
3768
|
+
# * {Types::GetDefaultApplicationSettingResponse#application_arn #application_arn} => String
|
|
3769
|
+
#
|
|
3770
|
+
# @example Response structure
|
|
3771
|
+
#
|
|
3772
|
+
# resp.application_arn #=> String
|
|
3773
|
+
#
|
|
3774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDefaultApplicationSetting AWS API Documentation
|
|
3775
|
+
#
|
|
3776
|
+
# @overload get_default_application_setting(params = {})
|
|
3777
|
+
# @param [Hash] params ({})
|
|
3778
|
+
def get_default_application_setting(params = {}, options = {})
|
|
3779
|
+
req = build_request(:get_default_application_setting, params)
|
|
3780
|
+
req.send_request(options)
|
|
3781
|
+
end
|
|
3782
|
+
|
|
3666
3783
|
# Returns detailed configuration information for a specific direct query
|
|
3667
3784
|
# data source in Amazon OpenSearch Service.
|
|
3668
3785
|
#
|
|
@@ -3745,6 +3862,42 @@ module Aws::OpenSearchService
|
|
|
3745
3862
|
req.send_request(options)
|
|
3746
3863
|
end
|
|
3747
3864
|
|
|
3865
|
+
# Retrieves information about an OpenSearch index including its schema
|
|
3866
|
+
# and semantic enrichment configuration. Use this operation to view the
|
|
3867
|
+
# current index structure and semantic search settings.
|
|
3868
|
+
#
|
|
3869
|
+
# @option params [required, String] :domain_name
|
|
3870
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
3871
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
3872
|
+
# Region.
|
|
3873
|
+
#
|
|
3874
|
+
# @option params [required, String] :index_name
|
|
3875
|
+
# The name of the index to retrieve information about.
|
|
3876
|
+
#
|
|
3877
|
+
# @return [Types::GetIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3878
|
+
#
|
|
3879
|
+
# * {Types::GetIndexResponse#index_schema #index_schema} => Hash,Array,String,Numeric,Boolean
|
|
3880
|
+
#
|
|
3881
|
+
# @example Request syntax with placeholder values
|
|
3882
|
+
#
|
|
3883
|
+
# resp = client.get_index({
|
|
3884
|
+
# domain_name: "DomainName", # required
|
|
3885
|
+
# index_name: "IndexName", # required
|
|
3886
|
+
# })
|
|
3887
|
+
#
|
|
3888
|
+
# @example Response structure
|
|
3889
|
+
#
|
|
3890
|
+
#
|
|
3891
|
+
#
|
|
3892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetIndex AWS API Documentation
|
|
3893
|
+
#
|
|
3894
|
+
# @overload get_index(params = {})
|
|
3895
|
+
# @param [Hash] params ({})
|
|
3896
|
+
def get_index(params = {}, options = {})
|
|
3897
|
+
req = build_request(:get_index, params)
|
|
3898
|
+
req.send_request(options)
|
|
3899
|
+
end
|
|
3900
|
+
|
|
3748
3901
|
# Returns a list of Amazon OpenSearch Service package versions, along
|
|
3749
3902
|
# with their creation time, commit message, and plugin properties (if
|
|
3750
3903
|
# the package is a zip plugin package). For more information, see
|
|
@@ -4618,6 +4771,51 @@ module Aws::OpenSearchService
|
|
|
4618
4771
|
req.send_request(options)
|
|
4619
4772
|
end
|
|
4620
4773
|
|
|
4774
|
+
# Sets the default application to the application with the specified
|
|
4775
|
+
# ARN.
|
|
4776
|
+
#
|
|
4777
|
+
# To remove the default application, use the
|
|
4778
|
+
# `GetDefaultApplicationSetting` operation to get the current default
|
|
4779
|
+
# and then call the `PutDefaultApplicationSetting` with the current
|
|
4780
|
+
# applications ARN and the `setAsDefault` parameter set to `false`.
|
|
4781
|
+
#
|
|
4782
|
+
# @option params [required, String] :application_arn
|
|
4783
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for IAM
|
|
4784
|
+
# Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
4785
|
+
# Management* for more information.
|
|
4786
|
+
#
|
|
4787
|
+
#
|
|
4788
|
+
#
|
|
4789
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
4790
|
+
#
|
|
4791
|
+
# @option params [required, Boolean] :set_as_default
|
|
4792
|
+
# Set to true to set the specified ARN as the default application. Set
|
|
4793
|
+
# to false to clear the default application.
|
|
4794
|
+
#
|
|
4795
|
+
# @return [Types::PutDefaultApplicationSettingResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
4796
|
+
#
|
|
4797
|
+
# * {Types::PutDefaultApplicationSettingResponse#application_arn #application_arn} => String
|
|
4798
|
+
#
|
|
4799
|
+
# @example Request syntax with placeholder values
|
|
4800
|
+
#
|
|
4801
|
+
# resp = client.put_default_application_setting({
|
|
4802
|
+
# application_arn: "ARN", # required
|
|
4803
|
+
# set_as_default: false, # required
|
|
4804
|
+
# })
|
|
4805
|
+
#
|
|
4806
|
+
# @example Response structure
|
|
4807
|
+
#
|
|
4808
|
+
# resp.application_arn #=> String
|
|
4809
|
+
#
|
|
4810
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PutDefaultApplicationSetting AWS API Documentation
|
|
4811
|
+
#
|
|
4812
|
+
# @overload put_default_application_setting(params = {})
|
|
4813
|
+
# @param [Hash] params ({})
|
|
4814
|
+
def put_default_application_setting(params = {}, options = {})
|
|
4815
|
+
req = build_request(:put_default_application_setting, params)
|
|
4816
|
+
req.send_request(options)
|
|
4817
|
+
end
|
|
4818
|
+
|
|
4621
4819
|
# Allows the remote Amazon OpenSearch Service domain owner to reject an
|
|
4622
4820
|
# inbound cross-cluster connection request.
|
|
4623
4821
|
#
|
|
@@ -5495,6 +5693,54 @@ module Aws::OpenSearchService
|
|
|
5495
5693
|
req.send_request(options)
|
|
5496
5694
|
end
|
|
5497
5695
|
|
|
5696
|
+
# Updates an existing OpenSearch index schema and semantic enrichment
|
|
5697
|
+
# configuration. This operation allows modification of field mappings
|
|
5698
|
+
# and semantic search settings for text fields. Changes to semantic
|
|
5699
|
+
# enrichment configuration will apply to newly ingested documents.
|
|
5700
|
+
#
|
|
5701
|
+
# @option params [required, String] :domain_name
|
|
5702
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
5703
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
5704
|
+
# Region.
|
|
5705
|
+
#
|
|
5706
|
+
# @option params [required, String] :index_name
|
|
5707
|
+
# The name of the index to update.
|
|
5708
|
+
#
|
|
5709
|
+
# @option params [required, Hash,Array,String,Numeric,Boolean] :index_schema
|
|
5710
|
+
# The updated JSON schema for the index including any changes to
|
|
5711
|
+
# mappings, settings, and semantic enrichment configuration.
|
|
5712
|
+
#
|
|
5713
|
+
# Document type used to carry open content
|
|
5714
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
|
5715
|
+
# serialized using the same format as its surroundings and requires no
|
|
5716
|
+
# additional encoding or escaping.
|
|
5717
|
+
#
|
|
5718
|
+
# @return [Types::UpdateIndexResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5719
|
+
#
|
|
5720
|
+
# * {Types::UpdateIndexResponse#status #status} => String
|
|
5721
|
+
#
|
|
5722
|
+
# @example Request syntax with placeholder values
|
|
5723
|
+
#
|
|
5724
|
+
# resp = client.update_index({
|
|
5725
|
+
# domain_name: "DomainName", # required
|
|
5726
|
+
# index_name: "IndexName", # required
|
|
5727
|
+
# index_schema: { # required
|
|
5728
|
+
# },
|
|
5729
|
+
# })
|
|
5730
|
+
#
|
|
5731
|
+
# @example Response structure
|
|
5732
|
+
#
|
|
5733
|
+
# resp.status #=> String, one of "CREATED", "UPDATED", "DELETED"
|
|
5734
|
+
#
|
|
5735
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateIndex AWS API Documentation
|
|
5736
|
+
#
|
|
5737
|
+
# @overload update_index(params = {})
|
|
5738
|
+
# @param [Hash] params ({})
|
|
5739
|
+
def update_index(params = {}, options = {})
|
|
5740
|
+
req = build_request(:update_index, params)
|
|
5741
|
+
req.send_request(options)
|
|
5742
|
+
end
|
|
5743
|
+
|
|
5498
5744
|
# Updates a package for use with Amazon OpenSearch Service domains. For
|
|
5499
5745
|
# more information, see [Custom packages for Amazon OpenSearch
|
|
5500
5746
|
# Service][1].
|
|
@@ -5843,7 +6089,7 @@ module Aws::OpenSearchService
|
|
|
5843
6089
|
tracer: tracer
|
|
5844
6090
|
)
|
|
5845
6091
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
|
5846
|
-
context[:gem_version] = '1.
|
|
6092
|
+
context[:gem_version] = '1.79.0'
|
|
5847
6093
|
Seahorse::Client::Request.new(handlers, context)
|
|
5848
6094
|
end
|
|
5849
6095
|
|
|
@@ -112,6 +112,8 @@ module Aws::OpenSearchService
|
|
|
112
112
|
CreateApplicationResponse = Shapes::StructureShape.new(name: 'CreateApplicationResponse')
|
|
113
113
|
CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
|
|
114
114
|
CreateDomainResponse = Shapes::StructureShape.new(name: 'CreateDomainResponse')
|
|
115
|
+
CreateIndexRequest = Shapes::StructureShape.new(name: 'CreateIndexRequest')
|
|
116
|
+
CreateIndexResponse = Shapes::StructureShape.new(name: 'CreateIndexResponse')
|
|
115
117
|
CreateOutboundConnectionRequest = Shapes::StructureShape.new(name: 'CreateOutboundConnectionRequest')
|
|
116
118
|
CreateOutboundConnectionResponse = Shapes::StructureShape.new(name: 'CreateOutboundConnectionResponse')
|
|
117
119
|
CreatePackageRequest = Shapes::StructureShape.new(name: 'CreatePackageRequest')
|
|
@@ -137,6 +139,8 @@ module Aws::OpenSearchService
|
|
|
137
139
|
DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
|
|
138
140
|
DeleteInboundConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundConnectionRequest')
|
|
139
141
|
DeleteInboundConnectionResponse = Shapes::StructureShape.new(name: 'DeleteInboundConnectionResponse')
|
|
142
|
+
DeleteIndexRequest = Shapes::StructureShape.new(name: 'DeleteIndexRequest')
|
|
143
|
+
DeleteIndexResponse = Shapes::StructureShape.new(name: 'DeleteIndexResponse')
|
|
140
144
|
DeleteOutboundConnectionRequest = Shapes::StructureShape.new(name: 'DeleteOutboundConnectionRequest')
|
|
141
145
|
DeleteOutboundConnectionResponse = Shapes::StructureShape.new(name: 'DeleteOutboundConnectionResponse')
|
|
142
146
|
DeletePackageRequest = Shapes::StructureShape.new(name: 'DeletePackageRequest')
|
|
@@ -249,10 +253,14 @@ module Aws::OpenSearchService
|
|
|
249
253
|
GetCompatibleVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleVersionsResponse')
|
|
250
254
|
GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
|
|
251
255
|
GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
|
|
256
|
+
GetDefaultApplicationSettingRequest = Shapes::StructureShape.new(name: 'GetDefaultApplicationSettingRequest')
|
|
257
|
+
GetDefaultApplicationSettingResponse = Shapes::StructureShape.new(name: 'GetDefaultApplicationSettingResponse')
|
|
252
258
|
GetDirectQueryDataSourceRequest = Shapes::StructureShape.new(name: 'GetDirectQueryDataSourceRequest')
|
|
253
259
|
GetDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'GetDirectQueryDataSourceResponse')
|
|
254
260
|
GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
|
|
255
261
|
GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
|
|
262
|
+
GetIndexRequest = Shapes::StructureShape.new(name: 'GetIndexRequest')
|
|
263
|
+
GetIndexResponse = Shapes::StructureShape.new(name: 'GetIndexResponse')
|
|
256
264
|
GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
|
|
257
265
|
GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
|
|
258
266
|
GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
|
|
@@ -280,6 +288,9 @@ module Aws::OpenSearchService
|
|
|
280
288
|
InboundConnectionStatus = Shapes::StructureShape.new(name: 'InboundConnectionStatus')
|
|
281
289
|
InboundConnectionStatusCode = Shapes::StringShape.new(name: 'InboundConnectionStatusCode')
|
|
282
290
|
InboundConnections = Shapes::ListShape.new(name: 'InboundConnections')
|
|
291
|
+
IndexName = Shapes::StringShape.new(name: 'IndexName')
|
|
292
|
+
IndexSchema = Shapes::DocumentShape.new(name: 'IndexSchema', document: true)
|
|
293
|
+
IndexStatus = Shapes::StringShape.new(name: 'IndexStatus')
|
|
283
294
|
InitiatedBy = Shapes::StringShape.new(name: 'InitiatedBy')
|
|
284
295
|
InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
|
|
285
296
|
InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
|
|
@@ -416,6 +427,8 @@ module Aws::OpenSearchService
|
|
|
416
427
|
PropertyValueType = Shapes::StringShape.new(name: 'PropertyValueType')
|
|
417
428
|
PurchaseReservedInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedInstanceOfferingRequest')
|
|
418
429
|
PurchaseReservedInstanceOfferingResponse = Shapes::StructureShape.new(name: 'PurchaseReservedInstanceOfferingResponse')
|
|
430
|
+
PutDefaultApplicationSettingRequest = Shapes::StructureShape.new(name: 'PutDefaultApplicationSettingRequest')
|
|
431
|
+
PutDefaultApplicationSettingResponse = Shapes::StructureShape.new(name: 'PutDefaultApplicationSettingResponse')
|
|
419
432
|
RecurringCharge = Shapes::StructureShape.new(name: 'RecurringCharge')
|
|
420
433
|
RecurringChargeList = Shapes::ListShape.new(name: 'RecurringChargeList')
|
|
421
434
|
ReferencePath = Shapes::StringShape.new(name: 'ReferencePath')
|
|
@@ -489,6 +502,7 @@ module Aws::OpenSearchService
|
|
|
489
502
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
490
503
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
|
491
504
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
505
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
492
506
|
TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
|
|
493
507
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
494
508
|
TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
|
|
@@ -502,6 +516,8 @@ module Aws::OpenSearchService
|
|
|
502
516
|
UpdateDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDirectQueryDataSourceResponse')
|
|
503
517
|
UpdateDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateDomainConfigRequest')
|
|
504
518
|
UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
|
|
519
|
+
UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
|
|
520
|
+
UpdateIndexResponse = Shapes::StructureShape.new(name: 'UpdateIndexResponse')
|
|
505
521
|
UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
|
|
506
522
|
UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
|
|
507
523
|
UpdatePackageScopeRequest = Shapes::StructureShape.new(name: 'UpdatePackageScopeRequest')
|
|
@@ -884,6 +900,14 @@ module Aws::OpenSearchService
|
|
|
884
900
|
CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
|
|
885
901
|
CreateDomainResponse.struct_class = Types::CreateDomainResponse
|
|
886
902
|
|
|
903
|
+
CreateIndexRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
904
|
+
CreateIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location_name: "IndexName"))
|
|
905
|
+
CreateIndexRequest.add_member(:index_schema, Shapes::ShapeRef.new(shape: IndexSchema, required: true, location_name: "IndexSchema"))
|
|
906
|
+
CreateIndexRequest.struct_class = Types::CreateIndexRequest
|
|
907
|
+
|
|
908
|
+
CreateIndexResponse.add_member(:status, Shapes::ShapeRef.new(shape: IndexStatus, required: true, location_name: "Status"))
|
|
909
|
+
CreateIndexResponse.struct_class = Types::CreateIndexResponse
|
|
910
|
+
|
|
887
911
|
CreateOutboundConnectionRequest.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, required: true, location_name: "LocalDomainInfo"))
|
|
888
912
|
CreateOutboundConnectionRequest.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, required: true, location_name: "RemoteDomainInfo"))
|
|
889
913
|
CreateOutboundConnectionRequest.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, required: true, location_name: "ConnectionAlias"))
|
|
@@ -971,6 +995,13 @@ module Aws::OpenSearchService
|
|
|
971
995
|
DeleteInboundConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: InboundConnection, location_name: "Connection"))
|
|
972
996
|
DeleteInboundConnectionResponse.struct_class = Types::DeleteInboundConnectionResponse
|
|
973
997
|
|
|
998
|
+
DeleteIndexRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
999
|
+
DeleteIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location: "uri", location_name: "IndexName"))
|
|
1000
|
+
DeleteIndexRequest.struct_class = Types::DeleteIndexRequest
|
|
1001
|
+
|
|
1002
|
+
DeleteIndexResponse.add_member(:status, Shapes::ShapeRef.new(shape: IndexStatus, required: true, location_name: "Status"))
|
|
1003
|
+
DeleteIndexResponse.struct_class = Types::DeleteIndexResponse
|
|
1004
|
+
|
|
974
1005
|
DeleteOutboundConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
|
|
975
1006
|
DeleteOutboundConnectionRequest.struct_class = Types::DeleteOutboundConnectionRequest
|
|
976
1007
|
|
|
@@ -1370,6 +1401,11 @@ module Aws::OpenSearchService
|
|
|
1370
1401
|
GetDataSourceResponse.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "Status"))
|
|
1371
1402
|
GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
|
|
1372
1403
|
|
|
1404
|
+
GetDefaultApplicationSettingRequest.struct_class = Types::GetDefaultApplicationSettingRequest
|
|
1405
|
+
|
|
1406
|
+
GetDefaultApplicationSettingResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "applicationArn"))
|
|
1407
|
+
GetDefaultApplicationSettingResponse.struct_class = Types::GetDefaultApplicationSettingResponse
|
|
1408
|
+
|
|
1373
1409
|
GetDirectQueryDataSourceRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
|
|
1374
1410
|
GetDirectQueryDataSourceRequest.struct_class = Types::GetDirectQueryDataSourceRequest
|
|
1375
1411
|
|
|
@@ -1392,6 +1428,13 @@ module Aws::OpenSearchService
|
|
|
1392
1428
|
GetDomainMaintenanceStatusResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
|
|
1393
1429
|
GetDomainMaintenanceStatusResponse.struct_class = Types::GetDomainMaintenanceStatusResponse
|
|
1394
1430
|
|
|
1431
|
+
GetIndexRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
1432
|
+
GetIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location: "uri", location_name: "IndexName"))
|
|
1433
|
+
GetIndexRequest.struct_class = Types::GetIndexRequest
|
|
1434
|
+
|
|
1435
|
+
GetIndexResponse.add_member(:index_schema, Shapes::ShapeRef.new(shape: IndexSchema, required: true, location_name: "IndexSchema"))
|
|
1436
|
+
GetIndexResponse.struct_class = Types::GetIndexResponse
|
|
1437
|
+
|
|
1395
1438
|
GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
|
|
1396
1439
|
GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1397
1440
|
GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
@@ -1805,6 +1848,13 @@ module Aws::OpenSearchService
|
|
|
1805
1848
|
PurchaseReservedInstanceOfferingResponse.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, location_name: "ReservationName"))
|
|
1806
1849
|
PurchaseReservedInstanceOfferingResponse.struct_class = Types::PurchaseReservedInstanceOfferingResponse
|
|
1807
1850
|
|
|
1851
|
+
PutDefaultApplicationSettingRequest.add_member(:application_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "applicationArn"))
|
|
1852
|
+
PutDefaultApplicationSettingRequest.add_member(:set_as_default, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "setAsDefault"))
|
|
1853
|
+
PutDefaultApplicationSettingRequest.struct_class = Types::PutDefaultApplicationSettingRequest
|
|
1854
|
+
|
|
1855
|
+
PutDefaultApplicationSettingResponse.add_member(:application_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "applicationArn"))
|
|
1856
|
+
PutDefaultApplicationSettingResponse.struct_class = Types::PutDefaultApplicationSettingResponse
|
|
1857
|
+
|
|
1808
1858
|
RecurringCharge.add_member(:recurring_charge_amount, Shapes::ShapeRef.new(shape: Double, location_name: "RecurringChargeAmount"))
|
|
1809
1859
|
RecurringCharge.add_member(:recurring_charge_frequency, Shapes::ShapeRef.new(shape: String, location_name: "RecurringChargeFrequency"))
|
|
1810
1860
|
RecurringCharge.struct_class = Types::RecurringCharge
|
|
@@ -1976,6 +2026,8 @@ module Aws::OpenSearchService
|
|
|
1976
2026
|
|
|
1977
2027
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
|
1978
2028
|
|
|
2029
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
|
2030
|
+
|
|
1979
2031
|
UpdateApplicationRequest.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "id"))
|
|
1980
2032
|
UpdateApplicationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSources, location_name: "dataSources"))
|
|
1981
2033
|
UpdateApplicationRequest.add_member(:app_configs, Shapes::ShapeRef.new(shape: AppConfigs, location_name: "appConfigs"))
|
|
@@ -2038,6 +2090,14 @@ module Aws::OpenSearchService
|
|
|
2038
2090
|
UpdateDomainConfigResponse.add_member(:dry_run_progress_status, Shapes::ShapeRef.new(shape: DryRunProgressStatus, location_name: "DryRunProgressStatus"))
|
|
2039
2091
|
UpdateDomainConfigResponse.struct_class = Types::UpdateDomainConfigResponse
|
|
2040
2092
|
|
|
2093
|
+
UpdateIndexRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
|
|
2094
|
+
UpdateIndexRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, required: true, location: "uri", location_name: "IndexName"))
|
|
2095
|
+
UpdateIndexRequest.add_member(:index_schema, Shapes::ShapeRef.new(shape: IndexSchema, required: true, location_name: "IndexSchema"))
|
|
2096
|
+
UpdateIndexRequest.struct_class = Types::UpdateIndexRequest
|
|
2097
|
+
|
|
2098
|
+
UpdateIndexResponse.add_member(:status, Shapes::ShapeRef.new(shape: IndexStatus, required: true, location_name: "Status"))
|
|
2099
|
+
UpdateIndexResponse.struct_class = Types::UpdateIndexResponse
|
|
2100
|
+
|
|
2041
2101
|
UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
|
|
2042
2102
|
UpdatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
|
|
2043
2103
|
UpdatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
|
|
@@ -2336,6 +2396,22 @@ module Aws::OpenSearchService
|
|
|
2336
2396
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2337
2397
|
end)
|
|
2338
2398
|
|
|
2399
|
+
api.add_operation(:create_index, Seahorse::Model::Operation.new.tap do |o|
|
|
2400
|
+
o.name = "CreateIndex"
|
|
2401
|
+
o.http_method = "POST"
|
|
2402
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/index"
|
|
2403
|
+
o.input = Shapes::ShapeRef.new(shape: CreateIndexRequest)
|
|
2404
|
+
o.output = Shapes::ShapeRef.new(shape: CreateIndexResponse)
|
|
2405
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2406
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2407
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2408
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
|
|
2409
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2410
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2411
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
|
2412
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2413
|
+
end)
|
|
2414
|
+
|
|
2339
2415
|
api.add_operation(:create_outbound_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
2340
2416
|
o.name = "CreateOutboundConnection"
|
|
2341
2417
|
o.http_method = "POST"
|
|
@@ -2441,6 +2517,21 @@ module Aws::OpenSearchService
|
|
|
2441
2517
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2442
2518
|
end)
|
|
2443
2519
|
|
|
2520
|
+
api.add_operation(:delete_index, Seahorse::Model::Operation.new.tap do |o|
|
|
2521
|
+
o.name = "DeleteIndex"
|
|
2522
|
+
o.http_method = "DELETE"
|
|
2523
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/index/{IndexName}"
|
|
2524
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteIndexRequest)
|
|
2525
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteIndexResponse)
|
|
2526
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2527
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2528
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2529
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2530
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2531
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
|
2532
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2533
|
+
end)
|
|
2534
|
+
|
|
2444
2535
|
api.add_operation(:delete_outbound_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
2445
2536
|
o.name = "DeleteOutboundConnection"
|
|
2446
2537
|
o.http_method = "DELETE"
|
|
@@ -2764,6 +2855,18 @@ module Aws::OpenSearchService
|
|
|
2764
2855
|
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
|
2765
2856
|
end)
|
|
2766
2857
|
|
|
2858
|
+
api.add_operation(:get_default_application_setting, Seahorse::Model::Operation.new.tap do |o|
|
|
2859
|
+
o.name = "GetDefaultApplicationSetting"
|
|
2860
|
+
o.http_method = "GET"
|
|
2861
|
+
o.http_request_uri = "/2021-01-01/opensearch/defaultApplicationSetting"
|
|
2862
|
+
o.input = Shapes::ShapeRef.new(shape: GetDefaultApplicationSettingRequest)
|
|
2863
|
+
o.output = Shapes::ShapeRef.new(shape: GetDefaultApplicationSettingResponse)
|
|
2864
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2865
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2866
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2867
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2868
|
+
end)
|
|
2869
|
+
|
|
2767
2870
|
api.add_operation(:get_direct_query_data_source, Seahorse::Model::Operation.new.tap do |o|
|
|
2768
2871
|
o.name = "GetDirectQueryDataSource"
|
|
2769
2872
|
o.http_method = "GET"
|
|
@@ -2790,6 +2893,21 @@ module Aws::OpenSearchService
|
|
|
2790
2893
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2791
2894
|
end)
|
|
2792
2895
|
|
|
2896
|
+
api.add_operation(:get_index, Seahorse::Model::Operation.new.tap do |o|
|
|
2897
|
+
o.name = "GetIndex"
|
|
2898
|
+
o.http_method = "GET"
|
|
2899
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/index/{IndexName}"
|
|
2900
|
+
o.input = Shapes::ShapeRef.new(shape: GetIndexRequest)
|
|
2901
|
+
o.output = Shapes::ShapeRef.new(shape: GetIndexResponse)
|
|
2902
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2903
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2904
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2905
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
2906
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2907
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
|
2908
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2909
|
+
end)
|
|
2910
|
+
|
|
2793
2911
|
api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
|
|
2794
2912
|
o.name = "GetPackageVersionHistory"
|
|
2795
2913
|
o.http_method = "GET"
|
|
@@ -3071,6 +3189,18 @@ module Aws::OpenSearchService
|
|
|
3071
3189
|
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
3072
3190
|
end)
|
|
3073
3191
|
|
|
3192
|
+
api.add_operation(:put_default_application_setting, Seahorse::Model::Operation.new.tap do |o|
|
|
3193
|
+
o.name = "PutDefaultApplicationSetting"
|
|
3194
|
+
o.http_method = "PUT"
|
|
3195
|
+
o.http_request_uri = "/2021-01-01/opensearch/defaultApplicationSetting"
|
|
3196
|
+
o.input = Shapes::ShapeRef.new(shape: PutDefaultApplicationSettingRequest)
|
|
3197
|
+
o.output = Shapes::ShapeRef.new(shape: PutDefaultApplicationSettingResponse)
|
|
3198
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3199
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3200
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
3201
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3202
|
+
end)
|
|
3203
|
+
|
|
3074
3204
|
api.add_operation(:reject_inbound_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
3075
3205
|
o.name = "RejectInboundConnection"
|
|
3076
3206
|
o.http_method = "PUT"
|
|
@@ -3186,6 +3316,21 @@ module Aws::OpenSearchService
|
|
|
3186
3316
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3187
3317
|
end)
|
|
3188
3318
|
|
|
3319
|
+
api.add_operation(:update_index, Seahorse::Model::Operation.new.tap do |o|
|
|
3320
|
+
o.name = "UpdateIndex"
|
|
3321
|
+
o.http_method = "PUT"
|
|
3322
|
+
o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/index/{IndexName}"
|
|
3323
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateIndexRequest)
|
|
3324
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateIndexResponse)
|
|
3325
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3326
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3327
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3328
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalException)
|
|
3329
|
+
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
3330
|
+
o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
|
|
3331
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3332
|
+
end)
|
|
3333
|
+
|
|
3189
3334
|
api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
|
|
3190
3335
|
o.name = "UpdatePackage"
|
|
3191
3336
|
o.http_method = "POST"
|
|
@@ -39,6 +39,7 @@ module Aws::OpenSearchService
|
|
|
39
39
|
# * {ResourceAlreadyExistsException}
|
|
40
40
|
# * {ResourceNotFoundException}
|
|
41
41
|
# * {SlotNotAvailableException}
|
|
42
|
+
# * {ThrottlingException}
|
|
42
43
|
# * {ValidationException}
|
|
43
44
|
#
|
|
44
45
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
|
@@ -177,6 +178,16 @@ module Aws::OpenSearchService
|
|
|
177
178
|
end
|
|
178
179
|
end
|
|
179
180
|
|
|
181
|
+
class ThrottlingException < ServiceError
|
|
182
|
+
|
|
183
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
184
|
+
# @param [String] message
|
|
185
|
+
# @param [Aws::OpenSearchService::Types::ThrottlingException] data
|
|
186
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
187
|
+
super(context, message, data)
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
|
|
180
191
|
class ValidationException < ServiceError
|
|
181
192
|
|
|
182
193
|
# @param [Seahorse::Client::RequestContext] context
|
|
@@ -368,8 +368,8 @@ module Aws::OpenSearchService
|
|
|
368
368
|
# @return [Types::JWTOptionsOutput]
|
|
369
369
|
#
|
|
370
370
|
# @!attribute [rw] iam_federation_options
|
|
371
|
-
#
|
|
372
|
-
#
|
|
371
|
+
# Configuration options for IAM identity federation in advanced
|
|
372
|
+
# security settings.
|
|
373
373
|
# @return [Types::IAMFederationOptionsOutput]
|
|
374
374
|
#
|
|
375
375
|
# @!attribute [rw] anonymous_auth_disable_date
|
|
@@ -437,8 +437,8 @@ module Aws::OpenSearchService
|
|
|
437
437
|
# @return [Types::JWTOptionsInput]
|
|
438
438
|
#
|
|
439
439
|
# @!attribute [rw] iam_federation_options
|
|
440
|
-
#
|
|
441
|
-
#
|
|
440
|
+
# Input configuration for IAM identity federation within advanced
|
|
441
|
+
# security options.
|
|
442
442
|
# @return [Types::IAMFederationOptionsInput]
|
|
443
443
|
#
|
|
444
444
|
# @!attribute [rw] anonymous_auth_enabled
|
|
@@ -485,7 +485,7 @@ module Aws::OpenSearchService
|
|
|
485
485
|
end
|
|
486
486
|
|
|
487
487
|
# Configuration settings for an OpenSearch application. For more
|
|
488
|
-
# information, see
|
|
488
|
+
# information, see [Using the OpenSearch user interface in Amazon
|
|
489
489
|
# OpenSearch Service][1].
|
|
490
490
|
#
|
|
491
491
|
#
|
|
@@ -1820,6 +1820,46 @@ module Aws::OpenSearchService
|
|
|
1820
1820
|
include Aws::Structure
|
|
1821
1821
|
end
|
|
1822
1822
|
|
|
1823
|
+
# @!attribute [rw] domain_name
|
|
1824
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
1825
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
1826
|
+
# Region.
|
|
1827
|
+
# @return [String]
|
|
1828
|
+
#
|
|
1829
|
+
# @!attribute [rw] index_name
|
|
1830
|
+
# The name of the index to create. Must be between 1 and 255
|
|
1831
|
+
# characters and follow OpenSearch naming conventions.
|
|
1832
|
+
# @return [String]
|
|
1833
|
+
#
|
|
1834
|
+
# @!attribute [rw] index_schema
|
|
1835
|
+
# The JSON schema defining index mappings, settings, and semantic
|
|
1836
|
+
# enrichment configuration. The schema specifies which text fields
|
|
1837
|
+
# should be automatically enriched for semantic search capabilities
|
|
1838
|
+
# and includes OpenSearch index configuration parameters.
|
|
1839
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
1840
|
+
#
|
|
1841
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateIndexRequest AWS API Documentation
|
|
1842
|
+
#
|
|
1843
|
+
class CreateIndexRequest < Struct.new(
|
|
1844
|
+
:domain_name,
|
|
1845
|
+
:index_name,
|
|
1846
|
+
:index_schema)
|
|
1847
|
+
SENSITIVE = []
|
|
1848
|
+
include Aws::Structure
|
|
1849
|
+
end
|
|
1850
|
+
|
|
1851
|
+
# @!attribute [rw] status
|
|
1852
|
+
# The status of the index creation operation.
|
|
1853
|
+
# @return [String]
|
|
1854
|
+
#
|
|
1855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreateIndexResponse AWS API Documentation
|
|
1856
|
+
#
|
|
1857
|
+
class CreateIndexResponse < Struct.new(
|
|
1858
|
+
:status)
|
|
1859
|
+
SENSITIVE = []
|
|
1860
|
+
include Aws::Structure
|
|
1861
|
+
end
|
|
1862
|
+
|
|
1823
1863
|
# Container for the parameters to the `CreateOutboundConnection`
|
|
1824
1864
|
# operation.
|
|
1825
1865
|
#
|
|
@@ -2219,6 +2259,37 @@ module Aws::OpenSearchService
|
|
|
2219
2259
|
include Aws::Structure
|
|
2220
2260
|
end
|
|
2221
2261
|
|
|
2262
|
+
# @!attribute [rw] domain_name
|
|
2263
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
2264
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
2265
|
+
# Region.
|
|
2266
|
+
# @return [String]
|
|
2267
|
+
#
|
|
2268
|
+
# @!attribute [rw] index_name
|
|
2269
|
+
# The name of the index to delete.
|
|
2270
|
+
# @return [String]
|
|
2271
|
+
#
|
|
2272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteIndexRequest AWS API Documentation
|
|
2273
|
+
#
|
|
2274
|
+
class DeleteIndexRequest < Struct.new(
|
|
2275
|
+
:domain_name,
|
|
2276
|
+
:index_name)
|
|
2277
|
+
SENSITIVE = []
|
|
2278
|
+
include Aws::Structure
|
|
2279
|
+
end
|
|
2280
|
+
|
|
2281
|
+
# @!attribute [rw] status
|
|
2282
|
+
# The status of the index deletion operation.
|
|
2283
|
+
# @return [String]
|
|
2284
|
+
#
|
|
2285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteIndexResponse AWS API Documentation
|
|
2286
|
+
#
|
|
2287
|
+
class DeleteIndexResponse < Struct.new(
|
|
2288
|
+
:status)
|
|
2289
|
+
SENSITIVE = []
|
|
2290
|
+
include Aws::Structure
|
|
2291
|
+
end
|
|
2292
|
+
|
|
2222
2293
|
# Container for the parameters to the `DeleteOutboundConnection`
|
|
2223
2294
|
# operation.
|
|
2224
2295
|
#
|
|
@@ -3611,8 +3682,8 @@ module Aws::OpenSearchService
|
|
|
3611
3682
|
#
|
|
3612
3683
|
# @!attribute [rw] arn
|
|
3613
3684
|
# The Amazon Resource Name (ARN) of the domain. For more information,
|
|
3614
|
-
# see [IAM identifiers ][1] in the *
|
|
3615
|
-
# User Guide*.
|
|
3685
|
+
# see [IAM identifiers ][1] in the *Amazon Web Services Identity and
|
|
3686
|
+
# Access Management User Guide*.
|
|
3616
3687
|
#
|
|
3617
3688
|
#
|
|
3618
3689
|
#
|
|
@@ -4219,6 +4290,30 @@ module Aws::OpenSearchService
|
|
|
4219
4290
|
include Aws::Structure
|
|
4220
4291
|
end
|
|
4221
4292
|
|
|
4293
|
+
# @api private
|
|
4294
|
+
#
|
|
4295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDefaultApplicationSettingRequest AWS API Documentation
|
|
4296
|
+
#
|
|
4297
|
+
class GetDefaultApplicationSettingRequest < Aws::EmptyStructure; end
|
|
4298
|
+
|
|
4299
|
+
# @!attribute [rw] application_arn
|
|
4300
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for
|
|
4301
|
+
# IAM Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
4302
|
+
# Management* for more information.
|
|
4303
|
+
#
|
|
4304
|
+
#
|
|
4305
|
+
#
|
|
4306
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
4307
|
+
# @return [String]
|
|
4308
|
+
#
|
|
4309
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDefaultApplicationSettingResponse AWS API Documentation
|
|
4310
|
+
#
|
|
4311
|
+
class GetDefaultApplicationSettingResponse < Struct.new(
|
|
4312
|
+
:application_arn)
|
|
4313
|
+
SENSITIVE = []
|
|
4314
|
+
include Aws::Structure
|
|
4315
|
+
end
|
|
4316
|
+
|
|
4222
4317
|
# @!attribute [rw] data_source_name
|
|
4223
4318
|
# A unique, user-defined label that identifies the data source within
|
|
4224
4319
|
# your OpenSearch Service environment.
|
|
@@ -4329,6 +4424,38 @@ module Aws::OpenSearchService
|
|
|
4329
4424
|
include Aws::Structure
|
|
4330
4425
|
end
|
|
4331
4426
|
|
|
4427
|
+
# @!attribute [rw] domain_name
|
|
4428
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
4429
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
4430
|
+
# Region.
|
|
4431
|
+
# @return [String]
|
|
4432
|
+
#
|
|
4433
|
+
# @!attribute [rw] index_name
|
|
4434
|
+
# The name of the index to retrieve information about.
|
|
4435
|
+
# @return [String]
|
|
4436
|
+
#
|
|
4437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetIndexRequest AWS API Documentation
|
|
4438
|
+
#
|
|
4439
|
+
class GetIndexRequest < Struct.new(
|
|
4440
|
+
:domain_name,
|
|
4441
|
+
:index_name)
|
|
4442
|
+
SENSITIVE = []
|
|
4443
|
+
include Aws::Structure
|
|
4444
|
+
end
|
|
4445
|
+
|
|
4446
|
+
# @!attribute [rw] index_schema
|
|
4447
|
+
# The JSON schema of the index including mappings, settings, and
|
|
4448
|
+
# semantic enrichment configuration.
|
|
4449
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
4450
|
+
#
|
|
4451
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetIndexResponse AWS API Documentation
|
|
4452
|
+
#
|
|
4453
|
+
class GetIndexResponse < Struct.new(
|
|
4454
|
+
:index_schema)
|
|
4455
|
+
SENSITIVE = []
|
|
4456
|
+
include Aws::Structure
|
|
4457
|
+
end
|
|
4458
|
+
|
|
4332
4459
|
# Container for the request parameters to the `GetPackageVersionHistory`
|
|
4333
4460
|
# operation.
|
|
4334
4461
|
#
|
|
@@ -4481,21 +4608,21 @@ module Aws::OpenSearchService
|
|
|
4481
4608
|
include Aws::Structure
|
|
4482
4609
|
end
|
|
4483
4610
|
|
|
4484
|
-
#
|
|
4485
|
-
# OpenSearch Service domain.
|
|
4611
|
+
# Input parameters for configuring IAM identity federation settings.
|
|
4486
4612
|
#
|
|
4487
4613
|
# @!attribute [rw] enabled
|
|
4488
|
-
#
|
|
4614
|
+
# Specifies whether IAM identity federation is enabled for the
|
|
4615
|
+
# OpenSearch domain.
|
|
4489
4616
|
# @return [Boolean]
|
|
4490
4617
|
#
|
|
4491
4618
|
# @!attribute [rw] subject_key
|
|
4492
|
-
#
|
|
4493
|
-
#
|
|
4619
|
+
# The key in the SAML assertion that contains the user's subject
|
|
4620
|
+
# identifier.
|
|
4494
4621
|
# @return [String]
|
|
4495
4622
|
#
|
|
4496
4623
|
# @!attribute [rw] roles_key
|
|
4497
|
-
#
|
|
4498
|
-
#
|
|
4624
|
+
# The key in the SAML assertion that contains the user's role
|
|
4625
|
+
# information.
|
|
4499
4626
|
# @return [String]
|
|
4500
4627
|
#
|
|
4501
4628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/IAMFederationOptionsInput AWS API Documentation
|
|
@@ -4508,18 +4635,22 @@ module Aws::OpenSearchService
|
|
|
4508
4635
|
include Aws::Structure
|
|
4509
4636
|
end
|
|
4510
4637
|
|
|
4511
|
-
#
|
|
4638
|
+
# Output parameters showing the current IAM identity federation
|
|
4639
|
+
# configuration.
|
|
4512
4640
|
#
|
|
4513
4641
|
# @!attribute [rw] enabled
|
|
4514
|
-
#
|
|
4642
|
+
# Indicates whether IAM identity federation is currently enabled for
|
|
4643
|
+
# the domain.
|
|
4515
4644
|
# @return [Boolean]
|
|
4516
4645
|
#
|
|
4517
4646
|
# @!attribute [rw] subject_key
|
|
4518
|
-
# The key
|
|
4647
|
+
# The configured key in the SAML assertion for the user's subject
|
|
4648
|
+
# identifier.
|
|
4519
4649
|
# @return [String]
|
|
4520
4650
|
#
|
|
4521
4651
|
# @!attribute [rw] roles_key
|
|
4522
|
-
# The key
|
|
4652
|
+
# The configured key in the SAML assertion for the user's role
|
|
4653
|
+
# information.
|
|
4523
4654
|
# @return [String]
|
|
4524
4655
|
#
|
|
4525
4656
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/IAMFederationOptionsOutput AWS API Documentation
|
|
@@ -6435,6 +6566,48 @@ module Aws::OpenSearchService
|
|
|
6435
6566
|
include Aws::Structure
|
|
6436
6567
|
end
|
|
6437
6568
|
|
|
6569
|
+
# @!attribute [rw] application_arn
|
|
6570
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for
|
|
6571
|
+
# IAM Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
6572
|
+
# Management* for more information.
|
|
6573
|
+
#
|
|
6574
|
+
#
|
|
6575
|
+
#
|
|
6576
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
6577
|
+
# @return [String]
|
|
6578
|
+
#
|
|
6579
|
+
# @!attribute [rw] set_as_default
|
|
6580
|
+
# Set to true to set the specified ARN as the default application. Set
|
|
6581
|
+
# to false to clear the default application.
|
|
6582
|
+
# @return [Boolean]
|
|
6583
|
+
#
|
|
6584
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PutDefaultApplicationSettingRequest AWS API Documentation
|
|
6585
|
+
#
|
|
6586
|
+
class PutDefaultApplicationSettingRequest < Struct.new(
|
|
6587
|
+
:application_arn,
|
|
6588
|
+
:set_as_default)
|
|
6589
|
+
SENSITIVE = []
|
|
6590
|
+
include Aws::Structure
|
|
6591
|
+
end
|
|
6592
|
+
|
|
6593
|
+
# @!attribute [rw] application_arn
|
|
6594
|
+
# The Amazon Resource Name (ARN) of the domain. See [Identifiers for
|
|
6595
|
+
# IAM Entities ][1] in *Using Amazon Web Services Identity and Access
|
|
6596
|
+
# Management* for more information.
|
|
6597
|
+
#
|
|
6598
|
+
#
|
|
6599
|
+
#
|
|
6600
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/index.html
|
|
6601
|
+
# @return [String]
|
|
6602
|
+
#
|
|
6603
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/PutDefaultApplicationSettingResponse AWS API Documentation
|
|
6604
|
+
#
|
|
6605
|
+
class PutDefaultApplicationSettingResponse < Struct.new(
|
|
6606
|
+
:application_arn)
|
|
6607
|
+
SENSITIVE = []
|
|
6608
|
+
include Aws::Structure
|
|
6609
|
+
end
|
|
6610
|
+
|
|
6438
6611
|
# Contains the specific price and frequency of a recurring charges for
|
|
6439
6612
|
# an OpenSearch Reserved Instance, or for a Reserved Instance offering.
|
|
6440
6613
|
#
|
|
@@ -7265,6 +7438,13 @@ module Aws::OpenSearchService
|
|
|
7265
7438
|
include Aws::Structure
|
|
7266
7439
|
end
|
|
7267
7440
|
|
|
7441
|
+
# The request was denied due to request throttling. Reduce the frequency
|
|
7442
|
+
# of your requests and try again.
|
|
7443
|
+
#
|
|
7444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ThrottlingException AWS API Documentation
|
|
7445
|
+
#
|
|
7446
|
+
class ThrottlingException < Aws::EmptyStructure; end
|
|
7447
|
+
|
|
7268
7448
|
# @!attribute [rw] id
|
|
7269
7449
|
# The unique identifier for the OpenSearch application to be updated.
|
|
7270
7450
|
# @return [String]
|
|
@@ -7626,6 +7806,43 @@ module Aws::OpenSearchService
|
|
|
7626
7806
|
include Aws::Structure
|
|
7627
7807
|
end
|
|
7628
7808
|
|
|
7809
|
+
# @!attribute [rw] domain_name
|
|
7810
|
+
# The name of an OpenSearch Service domain. Domain names are unique
|
|
7811
|
+
# across the domains owned by an account within an Amazon Web Services
|
|
7812
|
+
# Region.
|
|
7813
|
+
# @return [String]
|
|
7814
|
+
#
|
|
7815
|
+
# @!attribute [rw] index_name
|
|
7816
|
+
# The name of the index to update.
|
|
7817
|
+
# @return [String]
|
|
7818
|
+
#
|
|
7819
|
+
# @!attribute [rw] index_schema
|
|
7820
|
+
# The updated JSON schema for the index including any changes to
|
|
7821
|
+
# mappings, settings, and semantic enrichment configuration.
|
|
7822
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
7823
|
+
#
|
|
7824
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateIndexRequest AWS API Documentation
|
|
7825
|
+
#
|
|
7826
|
+
class UpdateIndexRequest < Struct.new(
|
|
7827
|
+
:domain_name,
|
|
7828
|
+
:index_name,
|
|
7829
|
+
:index_schema)
|
|
7830
|
+
SENSITIVE = []
|
|
7831
|
+
include Aws::Structure
|
|
7832
|
+
end
|
|
7833
|
+
|
|
7834
|
+
# @!attribute [rw] status
|
|
7835
|
+
# The status of the index update operation.
|
|
7836
|
+
# @return [String]
|
|
7837
|
+
#
|
|
7838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateIndexResponse AWS API Documentation
|
|
7839
|
+
#
|
|
7840
|
+
class UpdateIndexResponse < Struct.new(
|
|
7841
|
+
:status)
|
|
7842
|
+
SENSITIVE = []
|
|
7843
|
+
include Aws::Structure
|
|
7844
|
+
end
|
|
7845
|
+
|
|
7629
7846
|
# Container for request parameters to the `UpdatePackage` operation.
|
|
7630
7847
|
#
|
|
7631
7848
|
# @!attribute [rw] package_id
|
data/sig/client.rbs
CHANGED
|
@@ -418,6 +418,19 @@ module Aws
|
|
|
418
418
|
) -> _CreateDomainResponseSuccess
|
|
419
419
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
|
|
420
420
|
|
|
421
|
+
interface _CreateIndexResponseSuccess
|
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIndexResponse]
|
|
423
|
+
def status: () -> ("CREATED" | "UPDATED" | "DELETED")
|
|
424
|
+
end
|
|
425
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#create_index-instance_method
|
|
426
|
+
def create_index: (
|
|
427
|
+
domain_name: ::String,
|
|
428
|
+
index_name: ::String,
|
|
429
|
+
index_schema: {
|
|
430
|
+
}
|
|
431
|
+
) -> _CreateIndexResponseSuccess
|
|
432
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIndexResponseSuccess
|
|
433
|
+
|
|
421
434
|
interface _CreateOutboundConnectionResponseSuccess
|
|
422
435
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateOutboundConnectionResponse]
|
|
423
436
|
def local_domain_info: () -> Types::DomainInformationContainer
|
|
@@ -546,6 +559,17 @@ module Aws
|
|
|
546
559
|
) -> _DeleteInboundConnectionResponseSuccess
|
|
547
560
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteInboundConnectionResponseSuccess
|
|
548
561
|
|
|
562
|
+
interface _DeleteIndexResponseSuccess
|
|
563
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIndexResponse]
|
|
564
|
+
def status: () -> ("CREATED" | "UPDATED" | "DELETED")
|
|
565
|
+
end
|
|
566
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#delete_index-instance_method
|
|
567
|
+
def delete_index: (
|
|
568
|
+
domain_name: ::String,
|
|
569
|
+
index_name: ::String
|
|
570
|
+
) -> _DeleteIndexResponseSuccess
|
|
571
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIndexResponseSuccess
|
|
572
|
+
|
|
549
573
|
interface _DeleteOutboundConnectionResponseSuccess
|
|
550
574
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOutboundConnectionResponse]
|
|
551
575
|
def connection: () -> Types::OutboundConnection
|
|
@@ -844,6 +868,15 @@ module Aws
|
|
|
844
868
|
) -> _GetDataSourceResponseSuccess
|
|
845
869
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSourceResponseSuccess
|
|
846
870
|
|
|
871
|
+
interface _GetDefaultApplicationSettingResponseSuccess
|
|
872
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDefaultApplicationSettingResponse]
|
|
873
|
+
def application_arn: () -> ::String
|
|
874
|
+
end
|
|
875
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#get_default_application_setting-instance_method
|
|
876
|
+
def get_default_application_setting: (
|
|
877
|
+
) -> _GetDefaultApplicationSettingResponseSuccess
|
|
878
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDefaultApplicationSettingResponseSuccess
|
|
879
|
+
|
|
847
880
|
interface _GetDirectQueryDataSourceResponseSuccess
|
|
848
881
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetDirectQueryDataSourceResponse]
|
|
849
882
|
def data_source_name: () -> ::String
|
|
@@ -874,6 +907,17 @@ module Aws
|
|
|
874
907
|
) -> _GetDomainMaintenanceStatusResponseSuccess
|
|
875
908
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainMaintenanceStatusResponseSuccess
|
|
876
909
|
|
|
910
|
+
interface _GetIndexResponseSuccess
|
|
911
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIndexResponse]
|
|
912
|
+
def index_schema: () -> untyped
|
|
913
|
+
end
|
|
914
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#get_index-instance_method
|
|
915
|
+
def get_index: (
|
|
916
|
+
domain_name: ::String,
|
|
917
|
+
index_name: ::String
|
|
918
|
+
) -> _GetIndexResponseSuccess
|
|
919
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIndexResponseSuccess
|
|
920
|
+
|
|
877
921
|
interface _GetPackageVersionHistoryResponseSuccess
|
|
878
922
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionHistoryResponse]
|
|
879
923
|
def package_id: () -> ::String
|
|
@@ -1097,6 +1141,17 @@ module Aws
|
|
|
1097
1141
|
) -> _PurchaseReservedInstanceOfferingResponseSuccess
|
|
1098
1142
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PurchaseReservedInstanceOfferingResponseSuccess
|
|
1099
1143
|
|
|
1144
|
+
interface _PutDefaultApplicationSettingResponseSuccess
|
|
1145
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutDefaultApplicationSettingResponse]
|
|
1146
|
+
def application_arn: () -> ::String
|
|
1147
|
+
end
|
|
1148
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#put_default_application_setting-instance_method
|
|
1149
|
+
def put_default_application_setting: (
|
|
1150
|
+
application_arn: ::String,
|
|
1151
|
+
set_as_default: bool
|
|
1152
|
+
) -> _PutDefaultApplicationSettingResponseSuccess
|
|
1153
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDefaultApplicationSettingResponseSuccess
|
|
1154
|
+
|
|
1100
1155
|
interface _RejectInboundConnectionResponseSuccess
|
|
1101
1156
|
include ::Seahorse::Client::_ResponseSuccess[Types::RejectInboundConnectionResponse]
|
|
1102
1157
|
def connection: () -> Types::InboundConnection
|
|
@@ -1373,6 +1428,19 @@ module Aws
|
|
|
1373
1428
|
) -> _UpdateDomainConfigResponseSuccess
|
|
1374
1429
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess
|
|
1375
1430
|
|
|
1431
|
+
interface _UpdateIndexResponseSuccess
|
|
1432
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIndexResponse]
|
|
1433
|
+
def status: () -> ("CREATED" | "UPDATED" | "DELETED")
|
|
1434
|
+
end
|
|
1435
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#update_index-instance_method
|
|
1436
|
+
def update_index: (
|
|
1437
|
+
domain_name: ::String,
|
|
1438
|
+
index_name: ::String,
|
|
1439
|
+
index_schema: {
|
|
1440
|
+
}
|
|
1441
|
+
) -> _UpdateIndexResponseSuccess
|
|
1442
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIndexResponseSuccess
|
|
1443
|
+
|
|
1376
1444
|
interface _UpdatePackageResponseSuccess
|
|
1377
1445
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageResponse]
|
|
1378
1446
|
def package_details: () -> Types::PackageDetails
|
data/sig/errors.rbs
CHANGED
|
@@ -37,6 +37,8 @@ module Aws
|
|
|
37
37
|
class SlotNotAvailableException < ::Aws::Errors::ServiceError
|
|
38
38
|
def slot_suggestions: () -> ::String
|
|
39
39
|
end
|
|
40
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
|
41
|
+
end
|
|
40
42
|
class ValidationException < ::Aws::Errors::ServiceError
|
|
41
43
|
end
|
|
42
44
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -431,6 +431,18 @@ module Aws::OpenSearchService
|
|
|
431
431
|
SENSITIVE: []
|
|
432
432
|
end
|
|
433
433
|
|
|
434
|
+
class CreateIndexRequest
|
|
435
|
+
attr_accessor domain_name: ::String
|
|
436
|
+
attr_accessor index_name: ::String
|
|
437
|
+
attr_accessor index_schema: untyped
|
|
438
|
+
SENSITIVE: []
|
|
439
|
+
end
|
|
440
|
+
|
|
441
|
+
class CreateIndexResponse
|
|
442
|
+
attr_accessor status: ("CREATED" | "UPDATED" | "DELETED")
|
|
443
|
+
SENSITIVE: []
|
|
444
|
+
end
|
|
445
|
+
|
|
434
446
|
class CreateOutboundConnectionRequest
|
|
435
447
|
attr_accessor local_domain_info: Types::DomainInformationContainer
|
|
436
448
|
attr_accessor remote_domain_info: Types::DomainInformationContainer
|
|
@@ -554,6 +566,17 @@ module Aws::OpenSearchService
|
|
|
554
566
|
SENSITIVE: []
|
|
555
567
|
end
|
|
556
568
|
|
|
569
|
+
class DeleteIndexRequest
|
|
570
|
+
attr_accessor domain_name: ::String
|
|
571
|
+
attr_accessor index_name: ::String
|
|
572
|
+
SENSITIVE: []
|
|
573
|
+
end
|
|
574
|
+
|
|
575
|
+
class DeleteIndexResponse
|
|
576
|
+
attr_accessor status: ("CREATED" | "UPDATED" | "DELETED")
|
|
577
|
+
SENSITIVE: []
|
|
578
|
+
end
|
|
579
|
+
|
|
557
580
|
class DeleteOutboundConnectionRequest
|
|
558
581
|
attr_accessor connection_id: ::String
|
|
559
582
|
SENSITIVE: []
|
|
@@ -1066,6 +1089,14 @@ module Aws::OpenSearchService
|
|
|
1066
1089
|
SENSITIVE: []
|
|
1067
1090
|
end
|
|
1068
1091
|
|
|
1092
|
+
class GetDefaultApplicationSettingRequest < Aws::EmptyStructure
|
|
1093
|
+
end
|
|
1094
|
+
|
|
1095
|
+
class GetDefaultApplicationSettingResponse
|
|
1096
|
+
attr_accessor application_arn: ::String
|
|
1097
|
+
SENSITIVE: []
|
|
1098
|
+
end
|
|
1099
|
+
|
|
1069
1100
|
class GetDirectQueryDataSourceRequest
|
|
1070
1101
|
attr_accessor data_source_name: ::String
|
|
1071
1102
|
SENSITIVE: []
|
|
@@ -1096,6 +1127,17 @@ module Aws::OpenSearchService
|
|
|
1096
1127
|
SENSITIVE: []
|
|
1097
1128
|
end
|
|
1098
1129
|
|
|
1130
|
+
class GetIndexRequest
|
|
1131
|
+
attr_accessor domain_name: ::String
|
|
1132
|
+
attr_accessor index_name: ::String
|
|
1133
|
+
SENSITIVE: []
|
|
1134
|
+
end
|
|
1135
|
+
|
|
1136
|
+
class GetIndexResponse
|
|
1137
|
+
attr_accessor index_schema: untyped
|
|
1138
|
+
SENSITIVE: []
|
|
1139
|
+
end
|
|
1140
|
+
|
|
1099
1141
|
class GetPackageVersionHistoryRequest
|
|
1100
1142
|
attr_accessor package_id: ::String
|
|
1101
1143
|
attr_accessor max_results: ::Integer
|
|
@@ -1637,6 +1679,17 @@ module Aws::OpenSearchService
|
|
|
1637
1679
|
SENSITIVE: []
|
|
1638
1680
|
end
|
|
1639
1681
|
|
|
1682
|
+
class PutDefaultApplicationSettingRequest
|
|
1683
|
+
attr_accessor application_arn: ::String
|
|
1684
|
+
attr_accessor set_as_default: bool
|
|
1685
|
+
SENSITIVE: []
|
|
1686
|
+
end
|
|
1687
|
+
|
|
1688
|
+
class PutDefaultApplicationSettingResponse
|
|
1689
|
+
attr_accessor application_arn: ::String
|
|
1690
|
+
SENSITIVE: []
|
|
1691
|
+
end
|
|
1692
|
+
|
|
1640
1693
|
class RecurringCharge
|
|
1641
1694
|
attr_accessor recurring_charge_amount: ::Float
|
|
1642
1695
|
attr_accessor recurring_charge_frequency: ::String
|
|
@@ -1849,6 +1902,9 @@ module Aws::OpenSearchService
|
|
|
1849
1902
|
SENSITIVE: []
|
|
1850
1903
|
end
|
|
1851
1904
|
|
|
1905
|
+
class ThrottlingException < Aws::EmptyStructure
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1852
1908
|
class UpdateApplicationRequest
|
|
1853
1909
|
attr_accessor id: ::String
|
|
1854
1910
|
attr_accessor data_sources: ::Array[Types::DataSource]
|
|
@@ -1927,6 +1983,18 @@ module Aws::OpenSearchService
|
|
|
1927
1983
|
SENSITIVE: []
|
|
1928
1984
|
end
|
|
1929
1985
|
|
|
1986
|
+
class UpdateIndexRequest
|
|
1987
|
+
attr_accessor domain_name: ::String
|
|
1988
|
+
attr_accessor index_name: ::String
|
|
1989
|
+
attr_accessor index_schema: untyped
|
|
1990
|
+
SENSITIVE: []
|
|
1991
|
+
end
|
|
1992
|
+
|
|
1993
|
+
class UpdateIndexResponse
|
|
1994
|
+
attr_accessor status: ("CREATED" | "UPDATED" | "DELETED")
|
|
1995
|
+
SENSITIVE: []
|
|
1996
|
+
end
|
|
1997
|
+
|
|
1930
1998
|
class UpdatePackageRequest
|
|
1931
1999
|
attr_accessor package_id: ::String
|
|
1932
2000
|
attr_accessor package_source: Types::PackageSource
|