aws-sdk-opensearchservice 1.78.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +181 -2
- data/lib/aws-sdk-opensearchservice/client_api.rb +105 -0
- data/lib/aws-sdk-opensearchservice/errors.rb +11 -0
- data/lib/aws-sdk-opensearchservice/types.rb +150 -3
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- data/sig/client.rbs +48 -0
- data/sig/errors.rbs +2 -0
- data/sig/types.rbs +49 -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
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.
|
|
@@ -3767,6 +3862,42 @@ module Aws::OpenSearchService
|
|
|
3767
3862
|
req.send_request(options)
|
|
3768
3863
|
end
|
|
3769
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
|
+
|
|
3770
3901
|
# Returns a list of Amazon OpenSearch Service package versions, along
|
|
3771
3902
|
# with their creation time, commit message, and plugin properties (if
|
|
3772
3903
|
# the package is a zip plugin package). For more information, see
|
|
@@ -5562,6 +5693,54 @@ module Aws::OpenSearchService
|
|
|
5562
5693
|
req.send_request(options)
|
|
5563
5694
|
end
|
|
5564
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
|
+
|
|
5565
5744
|
# Updates a package for use with Amazon OpenSearch Service domains. For
|
|
5566
5745
|
# more information, see [Custom packages for Amazon OpenSearch
|
|
5567
5746
|
# Service][1].
|
|
@@ -5910,7 +6089,7 @@ module Aws::OpenSearchService
|
|
|
5910
6089
|
tracer: tracer
|
|
5911
6090
|
)
|
|
5912
6091
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
|
5913
|
-
context[:gem_version] = '1.
|
|
6092
|
+
context[:gem_version] = '1.79.0'
|
|
5914
6093
|
Seahorse::Client::Request.new(handlers, context)
|
|
5915
6094
|
end
|
|
5916
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')
|
|
@@ -255,6 +259,8 @@ module Aws::OpenSearchService
|
|
|
255
259
|
GetDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'GetDirectQueryDataSourceResponse')
|
|
256
260
|
GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
|
|
257
261
|
GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
|
|
262
|
+
GetIndexRequest = Shapes::StructureShape.new(name: 'GetIndexRequest')
|
|
263
|
+
GetIndexResponse = Shapes::StructureShape.new(name: 'GetIndexResponse')
|
|
258
264
|
GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
|
|
259
265
|
GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
|
|
260
266
|
GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
|
|
@@ -282,6 +288,9 @@ module Aws::OpenSearchService
|
|
|
282
288
|
InboundConnectionStatus = Shapes::StructureShape.new(name: 'InboundConnectionStatus')
|
|
283
289
|
InboundConnectionStatusCode = Shapes::StringShape.new(name: 'InboundConnectionStatusCode')
|
|
284
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')
|
|
285
294
|
InitiatedBy = Shapes::StringShape.new(name: 'InitiatedBy')
|
|
286
295
|
InstanceCount = Shapes::IntegerShape.new(name: 'InstanceCount')
|
|
287
296
|
InstanceCountLimits = Shapes::StructureShape.new(name: 'InstanceCountLimits')
|
|
@@ -493,6 +502,7 @@ module Aws::OpenSearchService
|
|
|
493
502
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
494
503
|
TagList = Shapes::ListShape.new(name: 'TagList')
|
|
495
504
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
505
|
+
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
496
506
|
TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
|
|
497
507
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
498
508
|
TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
|
|
@@ -506,6 +516,8 @@ module Aws::OpenSearchService
|
|
|
506
516
|
UpdateDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDirectQueryDataSourceResponse')
|
|
507
517
|
UpdateDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateDomainConfigRequest')
|
|
508
518
|
UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
|
|
519
|
+
UpdateIndexRequest = Shapes::StructureShape.new(name: 'UpdateIndexRequest')
|
|
520
|
+
UpdateIndexResponse = Shapes::StructureShape.new(name: 'UpdateIndexResponse')
|
|
509
521
|
UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
|
|
510
522
|
UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
|
|
511
523
|
UpdatePackageScopeRequest = Shapes::StructureShape.new(name: 'UpdatePackageScopeRequest')
|
|
@@ -888,6 +900,14 @@ module Aws::OpenSearchService
|
|
|
888
900
|
CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
|
|
889
901
|
CreateDomainResponse.struct_class = Types::CreateDomainResponse
|
|
890
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
|
+
|
|
891
911
|
CreateOutboundConnectionRequest.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, required: true, location_name: "LocalDomainInfo"))
|
|
892
912
|
CreateOutboundConnectionRequest.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, required: true, location_name: "RemoteDomainInfo"))
|
|
893
913
|
CreateOutboundConnectionRequest.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, required: true, location_name: "ConnectionAlias"))
|
|
@@ -975,6 +995,13 @@ module Aws::OpenSearchService
|
|
|
975
995
|
DeleteInboundConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: InboundConnection, location_name: "Connection"))
|
|
976
996
|
DeleteInboundConnectionResponse.struct_class = Types::DeleteInboundConnectionResponse
|
|
977
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
|
+
|
|
978
1005
|
DeleteOutboundConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, required: true, location: "uri", location_name: "ConnectionId"))
|
|
979
1006
|
DeleteOutboundConnectionRequest.struct_class = Types::DeleteOutboundConnectionRequest
|
|
980
1007
|
|
|
@@ -1401,6 +1428,13 @@ module Aws::OpenSearchService
|
|
|
1401
1428
|
GetDomainMaintenanceStatusResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
|
|
1402
1429
|
GetDomainMaintenanceStatusResponse.struct_class = Types::GetDomainMaintenanceStatusResponse
|
|
1403
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
|
+
|
|
1404
1438
|
GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
|
|
1405
1439
|
GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1406
1440
|
GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
|
@@ -1992,6 +2026,8 @@ module Aws::OpenSearchService
|
|
|
1992
2026
|
|
|
1993
2027
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
|
1994
2028
|
|
|
2029
|
+
ThrottlingException.struct_class = Types::ThrottlingException
|
|
2030
|
+
|
|
1995
2031
|
UpdateApplicationRequest.add_member(:id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "id"))
|
|
1996
2032
|
UpdateApplicationRequest.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSources, location_name: "dataSources"))
|
|
1997
2033
|
UpdateApplicationRequest.add_member(:app_configs, Shapes::ShapeRef.new(shape: AppConfigs, location_name: "appConfigs"))
|
|
@@ -2054,6 +2090,14 @@ module Aws::OpenSearchService
|
|
|
2054
2090
|
UpdateDomainConfigResponse.add_member(:dry_run_progress_status, Shapes::ShapeRef.new(shape: DryRunProgressStatus, location_name: "DryRunProgressStatus"))
|
|
2055
2091
|
UpdateDomainConfigResponse.struct_class = Types::UpdateDomainConfigResponse
|
|
2056
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
|
+
|
|
2057
2101
|
UpdatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location_name: "PackageID"))
|
|
2058
2102
|
UpdatePackageRequest.add_member(:package_source, Shapes::ShapeRef.new(shape: PackageSource, required: true, location_name: "PackageSource"))
|
|
2059
2103
|
UpdatePackageRequest.add_member(:package_description, Shapes::ShapeRef.new(shape: PackageDescription, location_name: "PackageDescription"))
|
|
@@ -2352,6 +2396,22 @@ module Aws::OpenSearchService
|
|
|
2352
2396
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2353
2397
|
end)
|
|
2354
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
|
+
|
|
2355
2415
|
api.add_operation(:create_outbound_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
2356
2416
|
o.name = "CreateOutboundConnection"
|
|
2357
2417
|
o.http_method = "POST"
|
|
@@ -2457,6 +2517,21 @@ module Aws::OpenSearchService
|
|
|
2457
2517
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2458
2518
|
end)
|
|
2459
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
|
+
|
|
2460
2535
|
api.add_operation(:delete_outbound_connection, Seahorse::Model::Operation.new.tap do |o|
|
|
2461
2536
|
o.name = "DeleteOutboundConnection"
|
|
2462
2537
|
o.http_method = "DELETE"
|
|
@@ -2818,6 +2893,21 @@ module Aws::OpenSearchService
|
|
|
2818
2893
|
o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
|
|
2819
2894
|
end)
|
|
2820
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
|
+
|
|
2821
2911
|
api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
|
|
2822
2912
|
o.name = "GetPackageVersionHistory"
|
|
2823
2913
|
o.http_method = "GET"
|
|
@@ -3226,6 +3316,21 @@ module Aws::OpenSearchService
|
|
|
3226
3316
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3227
3317
|
end)
|
|
3228
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
|
+
|
|
3229
3334
|
api.add_operation(:update_package, Seahorse::Model::Operation.new.tap do |o|
|
|
3230
3335
|
o.name = "UpdatePackage"
|
|
3231
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
|
|
@@ -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
|
#
|
|
@@ -4353,6 +4424,38 @@ module Aws::OpenSearchService
|
|
|
4353
4424
|
include Aws::Structure
|
|
4354
4425
|
end
|
|
4355
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
|
+
|
|
4356
4459
|
# Container for the request parameters to the `GetPackageVersionHistory`
|
|
4357
4460
|
# operation.
|
|
4358
4461
|
#
|
|
@@ -7335,6 +7438,13 @@ module Aws::OpenSearchService
|
|
|
7335
7438
|
include Aws::Structure
|
|
7336
7439
|
end
|
|
7337
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
|
+
|
|
7338
7448
|
# @!attribute [rw] id
|
|
7339
7449
|
# The unique identifier for the OpenSearch application to be updated.
|
|
7340
7450
|
# @return [String]
|
|
@@ -7696,6 +7806,43 @@ module Aws::OpenSearchService
|
|
|
7696
7806
|
include Aws::Structure
|
|
7697
7807
|
end
|
|
7698
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
|
+
|
|
7699
7846
|
# Container for request parameters to the `UpdatePackage` operation.
|
|
7700
7847
|
#
|
|
7701
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
|
|
@@ -883,6 +907,17 @@ module Aws
|
|
|
883
907
|
) -> _GetDomainMaintenanceStatusResponseSuccess
|
|
884
908
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDomainMaintenanceStatusResponseSuccess
|
|
885
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
|
+
|
|
886
921
|
interface _GetPackageVersionHistoryResponseSuccess
|
|
887
922
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetPackageVersionHistoryResponse]
|
|
888
923
|
def package_id: () -> ::String
|
|
@@ -1393,6 +1428,19 @@ module Aws
|
|
|
1393
1428
|
) -> _UpdateDomainConfigResponseSuccess
|
|
1394
1429
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainConfigResponseSuccess
|
|
1395
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
|
+
|
|
1396
1444
|
interface _UpdatePackageResponseSuccess
|
|
1397
1445
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePackageResponse]
|
|
1398
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: []
|
|
@@ -1104,6 +1127,17 @@ module Aws::OpenSearchService
|
|
|
1104
1127
|
SENSITIVE: []
|
|
1105
1128
|
end
|
|
1106
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
|
+
|
|
1107
1141
|
class GetPackageVersionHistoryRequest
|
|
1108
1142
|
attr_accessor package_id: ::String
|
|
1109
1143
|
attr_accessor max_results: ::Integer
|
|
@@ -1868,6 +1902,9 @@ module Aws::OpenSearchService
|
|
|
1868
1902
|
SENSITIVE: []
|
|
1869
1903
|
end
|
|
1870
1904
|
|
|
1905
|
+
class ThrottlingException < Aws::EmptyStructure
|
|
1906
|
+
end
|
|
1907
|
+
|
|
1871
1908
|
class UpdateApplicationRequest
|
|
1872
1909
|
attr_accessor id: ::String
|
|
1873
1910
|
attr_accessor data_sources: ::Array[Types::DataSource]
|
|
@@ -1946,6 +1983,18 @@ module Aws::OpenSearchService
|
|
|
1946
1983
|
SENSITIVE: []
|
|
1947
1984
|
end
|
|
1948
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
|
+
|
|
1949
1998
|
class UpdatePackageRequest
|
|
1950
1999
|
attr_accessor package_id: ::String
|
|
1951
2000
|
attr_accessor package_source: Types::PackageSource
|