aws-sdk-opensearchservice 1.26.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +437 -23
- data/lib/aws-sdk-opensearchservice/client_api.rb +271 -0
- data/lib/aws-sdk-opensearchservice/endpoint_provider.rb +10 -1
- data/lib/aws-sdk-opensearchservice/endpoints.rb +112 -0
- data/lib/aws-sdk-opensearchservice/plugins/endpoints.rb +19 -2
- data/lib/aws-sdk-opensearchservice/types.rb +591 -15
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- metadata +5 -5
@@ -432,6 +432,56 @@ module Aws::OpenSearchService
|
|
432
432
|
req.send_request(options)
|
433
433
|
end
|
434
434
|
|
435
|
+
# Creates a new direct-query data source to the specified domain. For
|
436
|
+
# more information, see [Creating Amazon OpenSearch Service data source
|
437
|
+
# integrations with Amazon S3][1].
|
438
|
+
#
|
439
|
+
#
|
440
|
+
#
|
441
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-creating.html
|
442
|
+
#
|
443
|
+
# @option params [required, String] :domain_name
|
444
|
+
# The name of the domain to add the data source to.
|
445
|
+
#
|
446
|
+
# @option params [required, String] :name
|
447
|
+
# A name for the data source.
|
448
|
+
#
|
449
|
+
# @option params [required, Types::DataSourceType] :data_source_type
|
450
|
+
# The type of data source.
|
451
|
+
#
|
452
|
+
# @option params [String] :description
|
453
|
+
# A description of the data source.
|
454
|
+
#
|
455
|
+
# @return [Types::AddDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
456
|
+
#
|
457
|
+
# * {Types::AddDataSourceResponse#message #message} => String
|
458
|
+
#
|
459
|
+
# @example Request syntax with placeholder values
|
460
|
+
#
|
461
|
+
# resp = client.add_data_source({
|
462
|
+
# domain_name: "DomainName", # required
|
463
|
+
# name: "DataSourceName", # required
|
464
|
+
# data_source_type: { # required
|
465
|
+
# s3_glue_data_catalog: {
|
466
|
+
# role_arn: "RoleArn",
|
467
|
+
# },
|
468
|
+
# },
|
469
|
+
# description: "DataSourceDescription",
|
470
|
+
# })
|
471
|
+
#
|
472
|
+
# @example Response structure
|
473
|
+
#
|
474
|
+
# resp.message #=> String
|
475
|
+
#
|
476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDataSource AWS API Documentation
|
477
|
+
#
|
478
|
+
# @overload add_data_source(params = {})
|
479
|
+
# @param [Hash] params ({})
|
480
|
+
def add_data_source(params = {}, options = {})
|
481
|
+
req = build_request(:add_data_source, params)
|
482
|
+
req.send_request(options)
|
483
|
+
end
|
484
|
+
|
435
485
|
# Attaches tags to an existing Amazon OpenSearch Service domain. Tags
|
436
486
|
# are a set of case-sensitive key-value pairs. A domain can have up to
|
437
487
|
# 10 tags. For more information, see [Tagging Amazon OpenSearch Service
|
@@ -501,7 +551,7 @@ module Aws::OpenSearchService
|
|
501
551
|
#
|
502
552
|
# resp.domain_package_details.package_id #=> String
|
503
553
|
# resp.domain_package_details.package_name #=> String
|
504
|
-
# resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY"
|
554
|
+
# resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
505
555
|
# resp.domain_package_details.last_updated #=> Time
|
506
556
|
# resp.domain_package_details.domain_name #=> String
|
507
557
|
# resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
|
@@ -630,6 +680,12 @@ module Aws::OpenSearchService
|
|
630
680
|
# Identity and Access Management (IAM) policy document specifying the
|
631
681
|
# access policies for the new domain.
|
632
682
|
#
|
683
|
+
# @option params [String] :ip_address_type
|
684
|
+
# Specify either dual stack or IPv4 as your IP address type. Dual stack
|
685
|
+
# allows you to share domain resources across IPv4 and IPv6 address
|
686
|
+
# types, and is the recommended option. If you set your IP address type
|
687
|
+
# to dual stack, you can't change your address type later.
|
688
|
+
#
|
633
689
|
# @option params [Types::SnapshotOptions] :snapshot_options
|
634
690
|
# DEPRECATED. Container for the parameters required to configure
|
635
691
|
# automated snapshots of domain indexes.
|
@@ -754,6 +810,7 @@ module Aws::OpenSearchService
|
|
754
810
|
# throughput: 1,
|
755
811
|
# },
|
756
812
|
# access_policies: "PolicyDocument",
|
813
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
757
814
|
# snapshot_options: {
|
758
815
|
# automated_snapshot_start_hour: 1,
|
759
816
|
# },
|
@@ -785,7 +842,7 @@ module Aws::OpenSearchService
|
|
785
842
|
# },
|
786
843
|
# domain_endpoint_options: {
|
787
844
|
# enforce_https: false,
|
788
|
-
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
845
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07, Policy-Min-TLS-1-2-PFS-2023-10
|
789
846
|
# custom_endpoint_enabled: false,
|
790
847
|
# custom_endpoint: "DomainNameFqdn",
|
791
848
|
# custom_endpoint_certificate_arn: "ARN",
|
@@ -854,6 +911,7 @@ module Aws::OpenSearchService
|
|
854
911
|
# resp.domain_status.created #=> Boolean
|
855
912
|
# resp.domain_status.deleted #=> Boolean
|
856
913
|
# resp.domain_status.endpoint #=> String
|
914
|
+
# resp.domain_status.endpoint_v2 #=> String
|
857
915
|
# resp.domain_status.endpoints #=> Hash
|
858
916
|
# resp.domain_status.endpoints["String"] #=> String
|
859
917
|
# resp.domain_status.processing #=> Boolean
|
@@ -877,6 +935,7 @@ module Aws::OpenSearchService
|
|
877
935
|
# resp.domain_status.ebs_options.iops #=> Integer
|
878
936
|
# resp.domain_status.ebs_options.throughput #=> Integer
|
879
937
|
# resp.domain_status.access_policies #=> String
|
938
|
+
# resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
|
880
939
|
# resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
|
881
940
|
# resp.domain_status.vpc_options.vpc_id #=> String
|
882
941
|
# resp.domain_status.vpc_options.subnet_ids #=> Array
|
@@ -906,7 +965,7 @@ module Aws::OpenSearchService
|
|
906
965
|
# resp.domain_status.service_software_options.automated_update_date #=> Time
|
907
966
|
# resp.domain_status.service_software_options.optional_deployment #=> Boolean
|
908
967
|
# resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
|
909
|
-
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
968
|
+
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
910
969
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
911
970
|
# resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
|
912
971
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -1053,7 +1112,7 @@ module Aws::OpenSearchService
|
|
1053
1112
|
#
|
1054
1113
|
# resp = client.create_package({
|
1055
1114
|
# package_name: "PackageName", # required
|
1056
|
-
# package_type: "TXT-DICTIONARY", # required, accepts TXT-DICTIONARY
|
1115
|
+
# package_type: "TXT-DICTIONARY", # required, accepts TXT-DICTIONARY, ZIP-PLUGIN
|
1057
1116
|
# package_description: "PackageDescription",
|
1058
1117
|
# package_source: { # required
|
1059
1118
|
# s3_bucket_name: "S3BucketName",
|
@@ -1065,7 +1124,7 @@ module Aws::OpenSearchService
|
|
1065
1124
|
#
|
1066
1125
|
# resp.package_details.package_id #=> String
|
1067
1126
|
# resp.package_details.package_name #=> String
|
1068
|
-
# resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
|
1127
|
+
# resp.package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
1069
1128
|
# resp.package_details.package_description #=> String
|
1070
1129
|
# resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
|
1071
1130
|
# resp.package_details.created_at #=> Time
|
@@ -1073,6 +1132,12 @@ module Aws::OpenSearchService
|
|
1073
1132
|
# resp.package_details.available_package_version #=> String
|
1074
1133
|
# resp.package_details.error_details.error_type #=> String
|
1075
1134
|
# resp.package_details.error_details.error_message #=> String
|
1135
|
+
# resp.package_details.engine_version #=> String
|
1136
|
+
# resp.package_details.available_plugin_properties.name #=> String
|
1137
|
+
# resp.package_details.available_plugin_properties.description #=> String
|
1138
|
+
# resp.package_details.available_plugin_properties.version #=> String
|
1139
|
+
# resp.package_details.available_plugin_properties.class_name #=> String
|
1140
|
+
# resp.package_details.available_plugin_properties.uncompressed_size_in_bytes #=> Integer
|
1076
1141
|
#
|
1077
1142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CreatePackage AWS API Documentation
|
1078
1143
|
#
|
@@ -1135,6 +1200,43 @@ module Aws::OpenSearchService
|
|
1135
1200
|
req.send_request(options)
|
1136
1201
|
end
|
1137
1202
|
|
1203
|
+
# Deletes a direct-query data source. For more information, see
|
1204
|
+
# [Deleting an Amazon OpenSearch Service data source with Amazon S3][1].
|
1205
|
+
#
|
1206
|
+
#
|
1207
|
+
#
|
1208
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-delete.html
|
1209
|
+
#
|
1210
|
+
# @option params [required, String] :domain_name
|
1211
|
+
# The name of the domain.
|
1212
|
+
#
|
1213
|
+
# @option params [required, String] :name
|
1214
|
+
# The name of the data source to delete.
|
1215
|
+
#
|
1216
|
+
# @return [Types::DeleteDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1217
|
+
#
|
1218
|
+
# * {Types::DeleteDataSourceResponse#message #message} => String
|
1219
|
+
#
|
1220
|
+
# @example Request syntax with placeholder values
|
1221
|
+
#
|
1222
|
+
# resp = client.delete_data_source({
|
1223
|
+
# domain_name: "DomainName", # required
|
1224
|
+
# name: "DataSourceName", # required
|
1225
|
+
# })
|
1226
|
+
#
|
1227
|
+
# @example Response structure
|
1228
|
+
#
|
1229
|
+
# resp.message #=> String
|
1230
|
+
#
|
1231
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDataSource AWS API Documentation
|
1232
|
+
#
|
1233
|
+
# @overload delete_data_source(params = {})
|
1234
|
+
# @param [Hash] params ({})
|
1235
|
+
def delete_data_source(params = {}, options = {})
|
1236
|
+
req = build_request(:delete_data_source, params)
|
1237
|
+
req.send_request(options)
|
1238
|
+
end
|
1239
|
+
|
1138
1240
|
# Deletes an Amazon OpenSearch Service domain and all of its data. You
|
1139
1241
|
# can't recover a domain after you delete it.
|
1140
1242
|
#
|
@@ -1159,6 +1261,7 @@ module Aws::OpenSearchService
|
|
1159
1261
|
# resp.domain_status.created #=> Boolean
|
1160
1262
|
# resp.domain_status.deleted #=> Boolean
|
1161
1263
|
# resp.domain_status.endpoint #=> String
|
1264
|
+
# resp.domain_status.endpoint_v2 #=> String
|
1162
1265
|
# resp.domain_status.endpoints #=> Hash
|
1163
1266
|
# resp.domain_status.endpoints["String"] #=> String
|
1164
1267
|
# resp.domain_status.processing #=> Boolean
|
@@ -1182,6 +1285,7 @@ module Aws::OpenSearchService
|
|
1182
1285
|
# resp.domain_status.ebs_options.iops #=> Integer
|
1183
1286
|
# resp.domain_status.ebs_options.throughput #=> Integer
|
1184
1287
|
# resp.domain_status.access_policies #=> String
|
1288
|
+
# resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
|
1185
1289
|
# resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
|
1186
1290
|
# resp.domain_status.vpc_options.vpc_id #=> String
|
1187
1291
|
# resp.domain_status.vpc_options.subnet_ids #=> Array
|
@@ -1211,7 +1315,7 @@ module Aws::OpenSearchService
|
|
1211
1315
|
# resp.domain_status.service_software_options.automated_update_date #=> Time
|
1212
1316
|
# resp.domain_status.service_software_options.optional_deployment #=> Boolean
|
1213
1317
|
# resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
|
1214
|
-
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1318
|
+
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1215
1319
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
1216
1320
|
# resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
|
1217
1321
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -1360,7 +1464,7 @@ module Aws::OpenSearchService
|
|
1360
1464
|
#
|
1361
1465
|
# resp.package_details.package_id #=> String
|
1362
1466
|
# resp.package_details.package_name #=> String
|
1363
|
-
# resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
|
1467
|
+
# resp.package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
1364
1468
|
# resp.package_details.package_description #=> String
|
1365
1469
|
# resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
|
1366
1470
|
# resp.package_details.created_at #=> Time
|
@@ -1368,6 +1472,12 @@ module Aws::OpenSearchService
|
|
1368
1472
|
# resp.package_details.available_package_version #=> String
|
1369
1473
|
# resp.package_details.error_details.error_type #=> String
|
1370
1474
|
# resp.package_details.error_details.error_message #=> String
|
1475
|
+
# resp.package_details.engine_version #=> String
|
1476
|
+
# resp.package_details.available_plugin_properties.name #=> String
|
1477
|
+
# resp.package_details.available_plugin_properties.description #=> String
|
1478
|
+
# resp.package_details.available_plugin_properties.version #=> String
|
1479
|
+
# resp.package_details.available_plugin_properties.class_name #=> String
|
1480
|
+
# resp.package_details.available_plugin_properties.uncompressed_size_in_bytes #=> Integer
|
1371
1481
|
#
|
1372
1482
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeletePackage AWS API Documentation
|
1373
1483
|
#
|
@@ -1434,6 +1544,7 @@ module Aws::OpenSearchService
|
|
1434
1544
|
# resp.domain_status.created #=> Boolean
|
1435
1545
|
# resp.domain_status.deleted #=> Boolean
|
1436
1546
|
# resp.domain_status.endpoint #=> String
|
1547
|
+
# resp.domain_status.endpoint_v2 #=> String
|
1437
1548
|
# resp.domain_status.endpoints #=> Hash
|
1438
1549
|
# resp.domain_status.endpoints["String"] #=> String
|
1439
1550
|
# resp.domain_status.processing #=> Boolean
|
@@ -1457,6 +1568,7 @@ module Aws::OpenSearchService
|
|
1457
1568
|
# resp.domain_status.ebs_options.iops #=> Integer
|
1458
1569
|
# resp.domain_status.ebs_options.throughput #=> Integer
|
1459
1570
|
# resp.domain_status.access_policies #=> String
|
1571
|
+
# resp.domain_status.ip_address_type #=> String, one of "ipv4", "dualstack"
|
1460
1572
|
# resp.domain_status.snapshot_options.automated_snapshot_start_hour #=> Integer
|
1461
1573
|
# resp.domain_status.vpc_options.vpc_id #=> String
|
1462
1574
|
# resp.domain_status.vpc_options.subnet_ids #=> Array
|
@@ -1486,7 +1598,7 @@ module Aws::OpenSearchService
|
|
1486
1598
|
# resp.domain_status.service_software_options.automated_update_date #=> Time
|
1487
1599
|
# resp.domain_status.service_software_options.optional_deployment #=> Boolean
|
1488
1600
|
# resp.domain_status.domain_endpoint_options.enforce_https #=> Boolean
|
1489
|
-
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1601
|
+
# resp.domain_status.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1490
1602
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
1491
1603
|
# resp.domain_status.domain_endpoint_options.custom_endpoint #=> String
|
1492
1604
|
# resp.domain_status.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -1683,6 +1795,12 @@ module Aws::OpenSearchService
|
|
1683
1795
|
# resp.domain_config.access_policies.status.update_version #=> Integer
|
1684
1796
|
# resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
1685
1797
|
# resp.domain_config.access_policies.status.pending_deletion #=> Boolean
|
1798
|
+
# resp.domain_config.ip_address_type.options #=> String, one of "ipv4", "dualstack"
|
1799
|
+
# resp.domain_config.ip_address_type.status.creation_date #=> Time
|
1800
|
+
# resp.domain_config.ip_address_type.status.update_date #=> Time
|
1801
|
+
# resp.domain_config.ip_address_type.status.update_version #=> Integer
|
1802
|
+
# resp.domain_config.ip_address_type.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
1803
|
+
# resp.domain_config.ip_address_type.status.pending_deletion #=> Boolean
|
1686
1804
|
# resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
|
1687
1805
|
# resp.domain_config.snapshot_options.status.creation_date #=> Time
|
1688
1806
|
# resp.domain_config.snapshot_options.status.update_date #=> Time
|
@@ -1739,7 +1857,7 @@ module Aws::OpenSearchService
|
|
1739
1857
|
# resp.domain_config.log_publishing_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
1740
1858
|
# resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
|
1741
1859
|
# resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
|
1742
|
-
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
1860
|
+
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1743
1861
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
|
1744
1862
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
|
1745
1863
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
|
@@ -1907,8 +2025,7 @@ module Aws::OpenSearchService
|
|
1907
2025
|
#
|
1908
2026
|
# @option params [required, Array<String>] :domain_names
|
1909
2027
|
# Array of OpenSearch Service domain names that you want information
|
1910
|
-
# about.
|
1911
|
-
# information about all domains owned by the account.
|
2028
|
+
# about. You must specify at least one domain name.
|
1912
2029
|
#
|
1913
2030
|
# @return [Types::DescribeDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1914
2031
|
#
|
@@ -1929,6 +2046,7 @@ module Aws::OpenSearchService
|
|
1929
2046
|
# resp.domain_status_list[0].created #=> Boolean
|
1930
2047
|
# resp.domain_status_list[0].deleted #=> Boolean
|
1931
2048
|
# resp.domain_status_list[0].endpoint #=> String
|
2049
|
+
# resp.domain_status_list[0].endpoint_v2 #=> String
|
1932
2050
|
# resp.domain_status_list[0].endpoints #=> Hash
|
1933
2051
|
# resp.domain_status_list[0].endpoints["String"] #=> String
|
1934
2052
|
# resp.domain_status_list[0].processing #=> Boolean
|
@@ -1952,6 +2070,7 @@ module Aws::OpenSearchService
|
|
1952
2070
|
# resp.domain_status_list[0].ebs_options.iops #=> Integer
|
1953
2071
|
# resp.domain_status_list[0].ebs_options.throughput #=> Integer
|
1954
2072
|
# resp.domain_status_list[0].access_policies #=> String
|
2073
|
+
# resp.domain_status_list[0].ip_address_type #=> String, one of "ipv4", "dualstack"
|
1955
2074
|
# resp.domain_status_list[0].snapshot_options.automated_snapshot_start_hour #=> Integer
|
1956
2075
|
# resp.domain_status_list[0].vpc_options.vpc_id #=> String
|
1957
2076
|
# resp.domain_status_list[0].vpc_options.subnet_ids #=> Array
|
@@ -1981,7 +2100,7 @@ module Aws::OpenSearchService
|
|
1981
2100
|
# resp.domain_status_list[0].service_software_options.automated_update_date #=> Time
|
1982
2101
|
# resp.domain_status_list[0].service_software_options.optional_deployment #=> Boolean
|
1983
2102
|
# resp.domain_status_list[0].domain_endpoint_options.enforce_https #=> Boolean
|
1984
|
-
# resp.domain_status_list[0].domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
2103
|
+
# resp.domain_status_list[0].domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
1985
2104
|
# resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
1986
2105
|
# resp.domain_status_list[0].domain_endpoint_options.custom_endpoint #=> String
|
1987
2106
|
# resp.domain_status_list[0].domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -2062,6 +2181,7 @@ module Aws::OpenSearchService
|
|
2062
2181
|
# resp.dry_run_config.created #=> Boolean
|
2063
2182
|
# resp.dry_run_config.deleted #=> Boolean
|
2064
2183
|
# resp.dry_run_config.endpoint #=> String
|
2184
|
+
# resp.dry_run_config.endpoint_v2 #=> String
|
2065
2185
|
# resp.dry_run_config.endpoints #=> Hash
|
2066
2186
|
# resp.dry_run_config.endpoints["String"] #=> String
|
2067
2187
|
# resp.dry_run_config.processing #=> Boolean
|
@@ -2085,6 +2205,7 @@ module Aws::OpenSearchService
|
|
2085
2205
|
# resp.dry_run_config.ebs_options.iops #=> Integer
|
2086
2206
|
# resp.dry_run_config.ebs_options.throughput #=> Integer
|
2087
2207
|
# resp.dry_run_config.access_policies #=> String
|
2208
|
+
# resp.dry_run_config.ip_address_type #=> String, one of "ipv4", "dualstack"
|
2088
2209
|
# resp.dry_run_config.snapshot_options.automated_snapshot_start_hour #=> Integer
|
2089
2210
|
# resp.dry_run_config.vpc_options.vpc_id #=> String
|
2090
2211
|
# resp.dry_run_config.vpc_options.subnet_ids #=> Array
|
@@ -2114,7 +2235,7 @@ module Aws::OpenSearchService
|
|
2114
2235
|
# resp.dry_run_config.service_software_options.automated_update_date #=> Time
|
2115
2236
|
# resp.dry_run_config.service_software_options.optional_deployment #=> Boolean
|
2116
2237
|
# resp.dry_run_config.domain_endpoint_options.enforce_https #=> Boolean
|
2117
|
-
# resp.dry_run_config.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
2238
|
+
# resp.dry_run_config.domain_endpoint_options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
2118
2239
|
# resp.dry_run_config.domain_endpoint_options.custom_endpoint_enabled #=> Boolean
|
2119
2240
|
# resp.dry_run_config.domain_endpoint_options.custom_endpoint #=> String
|
2120
2241
|
# resp.dry_run_config.domain_endpoint_options.custom_endpoint_certificate_arn #=> String
|
@@ -2371,7 +2492,7 @@ module Aws::OpenSearchService
|
|
2371
2492
|
# resp = client.describe_packages({
|
2372
2493
|
# filters: [
|
2373
2494
|
# {
|
2374
|
-
# name: "PackageID", # accepts PackageID, PackageName, PackageStatus
|
2495
|
+
# name: "PackageID", # accepts PackageID, PackageName, PackageStatus, PackageType, EngineVersion
|
2375
2496
|
# value: ["DescribePackagesFilterValue"],
|
2376
2497
|
# },
|
2377
2498
|
# ],
|
@@ -2384,7 +2505,7 @@ module Aws::OpenSearchService
|
|
2384
2505
|
# resp.package_details_list #=> Array
|
2385
2506
|
# resp.package_details_list[0].package_id #=> String
|
2386
2507
|
# resp.package_details_list[0].package_name #=> String
|
2387
|
-
# resp.package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
|
2508
|
+
# resp.package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
2388
2509
|
# resp.package_details_list[0].package_description #=> String
|
2389
2510
|
# resp.package_details_list[0].package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
|
2390
2511
|
# resp.package_details_list[0].created_at #=> Time
|
@@ -2392,6 +2513,12 @@ module Aws::OpenSearchService
|
|
2392
2513
|
# resp.package_details_list[0].available_package_version #=> String
|
2393
2514
|
# resp.package_details_list[0].error_details.error_type #=> String
|
2394
2515
|
# resp.package_details_list[0].error_details.error_message #=> String
|
2516
|
+
# resp.package_details_list[0].engine_version #=> String
|
2517
|
+
# resp.package_details_list[0].available_plugin_properties.name #=> String
|
2518
|
+
# resp.package_details_list[0].available_plugin_properties.description #=> String
|
2519
|
+
# resp.package_details_list[0].available_plugin_properties.version #=> String
|
2520
|
+
# resp.package_details_list[0].available_plugin_properties.class_name #=> String
|
2521
|
+
# resp.package_details_list[0].available_plugin_properties.uncompressed_size_in_bytes #=> Integer
|
2395
2522
|
# resp.next_token #=> String
|
2396
2523
|
#
|
2397
2524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DescribePackages AWS API Documentation
|
@@ -2610,7 +2737,7 @@ module Aws::OpenSearchService
|
|
2610
2737
|
#
|
2611
2738
|
# resp.domain_package_details.package_id #=> String
|
2612
2739
|
# resp.domain_package_details.package_name #=> String
|
2613
|
-
# resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY"
|
2740
|
+
# resp.domain_package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
2614
2741
|
# resp.domain_package_details.last_updated #=> Time
|
2615
2742
|
# resp.domain_package_details.domain_name #=> String
|
2616
2743
|
# resp.domain_package_details.domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
|
@@ -2661,6 +2788,84 @@ module Aws::OpenSearchService
|
|
2661
2788
|
req.send_request(options)
|
2662
2789
|
end
|
2663
2790
|
|
2791
|
+
# Retrieves information about a direct query data source.
|
2792
|
+
#
|
2793
|
+
# @option params [required, String] :domain_name
|
2794
|
+
# The name of the domain.
|
2795
|
+
#
|
2796
|
+
# @option params [required, String] :name
|
2797
|
+
# The name of the data source to get information about.
|
2798
|
+
#
|
2799
|
+
# @return [Types::GetDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2800
|
+
#
|
2801
|
+
# * {Types::GetDataSourceResponse#data_source_type #data_source_type} => Types::DataSourceType
|
2802
|
+
# * {Types::GetDataSourceResponse#name #name} => String
|
2803
|
+
# * {Types::GetDataSourceResponse#description #description} => String
|
2804
|
+
#
|
2805
|
+
# @example Request syntax with placeholder values
|
2806
|
+
#
|
2807
|
+
# resp = client.get_data_source({
|
2808
|
+
# domain_name: "DomainName", # required
|
2809
|
+
# name: "DataSourceName", # required
|
2810
|
+
# })
|
2811
|
+
#
|
2812
|
+
# @example Response structure
|
2813
|
+
#
|
2814
|
+
# resp.data_source_type.s3_glue_data_catalog.role_arn #=> String
|
2815
|
+
# resp.name #=> String
|
2816
|
+
# resp.description #=> String
|
2817
|
+
#
|
2818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSource AWS API Documentation
|
2819
|
+
#
|
2820
|
+
# @overload get_data_source(params = {})
|
2821
|
+
# @param [Hash] params ({})
|
2822
|
+
def get_data_source(params = {}, options = {})
|
2823
|
+
req = build_request(:get_data_source, params)
|
2824
|
+
req.send_request(options)
|
2825
|
+
end
|
2826
|
+
|
2827
|
+
# The status of the maintenance action.
|
2828
|
+
#
|
2829
|
+
# @option params [required, String] :domain_name
|
2830
|
+
# The name of the domain.
|
2831
|
+
#
|
2832
|
+
# @option params [required, String] :maintenance_id
|
2833
|
+
# The request ID of the maintenance action.
|
2834
|
+
#
|
2835
|
+
# @return [Types::GetDomainMaintenanceStatusResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2836
|
+
#
|
2837
|
+
# * {Types::GetDomainMaintenanceStatusResponse#status #status} => String
|
2838
|
+
# * {Types::GetDomainMaintenanceStatusResponse#status_message #status_message} => String
|
2839
|
+
# * {Types::GetDomainMaintenanceStatusResponse#node_id #node_id} => String
|
2840
|
+
# * {Types::GetDomainMaintenanceStatusResponse#action #action} => String
|
2841
|
+
# * {Types::GetDomainMaintenanceStatusResponse#created_at #created_at} => Time
|
2842
|
+
# * {Types::GetDomainMaintenanceStatusResponse#updated_at #updated_at} => Time
|
2843
|
+
#
|
2844
|
+
# @example Request syntax with placeholder values
|
2845
|
+
#
|
2846
|
+
# resp = client.get_domain_maintenance_status({
|
2847
|
+
# domain_name: "DomainName", # required
|
2848
|
+
# maintenance_id: "RequestId", # required
|
2849
|
+
# })
|
2850
|
+
#
|
2851
|
+
# @example Response structure
|
2852
|
+
#
|
2853
|
+
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT"
|
2854
|
+
# resp.status_message #=> String
|
2855
|
+
# resp.node_id #=> String
|
2856
|
+
# resp.action #=> String, one of "REBOOT_NODE", "RESTART_SEARCH_PROCESS", "RESTART_DASHBOARD"
|
2857
|
+
# resp.created_at #=> Time
|
2858
|
+
# resp.updated_at #=> Time
|
2859
|
+
#
|
2860
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDomainMaintenanceStatus AWS API Documentation
|
2861
|
+
#
|
2862
|
+
# @overload get_domain_maintenance_status(params = {})
|
2863
|
+
# @param [Hash] params ({})
|
2864
|
+
def get_domain_maintenance_status(params = {}, options = {})
|
2865
|
+
req = build_request(:get_domain_maintenance_status, params)
|
2866
|
+
req.send_request(options)
|
2867
|
+
end
|
2868
|
+
|
2664
2869
|
# Returns a list of Amazon OpenSearch Service package versions, along
|
2665
2870
|
# with their creation time, commit message, and plugin properties (if
|
2666
2871
|
# the package is a zip plugin package). For more information, see
|
@@ -2706,6 +2911,11 @@ module Aws::OpenSearchService
|
|
2706
2911
|
# resp.package_version_history_list[0].package_version #=> String
|
2707
2912
|
# resp.package_version_history_list[0].commit_message #=> String
|
2708
2913
|
# resp.package_version_history_list[0].created_at #=> Time
|
2914
|
+
# resp.package_version_history_list[0].plugin_properties.name #=> String
|
2915
|
+
# resp.package_version_history_list[0].plugin_properties.description #=> String
|
2916
|
+
# resp.package_version_history_list[0].plugin_properties.version #=> String
|
2917
|
+
# resp.package_version_history_list[0].plugin_properties.class_name #=> String
|
2918
|
+
# resp.package_version_history_list[0].plugin_properties.uncompressed_size_in_bytes #=> Integer
|
2709
2919
|
# resp.next_token #=> String
|
2710
2920
|
#
|
2711
2921
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetPackageVersionHistory AWS API Documentation
|
@@ -2804,6 +3014,103 @@ module Aws::OpenSearchService
|
|
2804
3014
|
req.send_request(options)
|
2805
3015
|
end
|
2806
3016
|
|
3017
|
+
# Lists direct-query data sources for a specific domain. For more
|
3018
|
+
# information, see For more information, see [Working with Amazon
|
3019
|
+
# OpenSearch Service direct queries with Amazon S3][1].
|
3020
|
+
#
|
3021
|
+
#
|
3022
|
+
#
|
3023
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3.html
|
3024
|
+
#
|
3025
|
+
# @option params [required, String] :domain_name
|
3026
|
+
# The name of the domain.
|
3027
|
+
#
|
3028
|
+
# @return [Types::ListDataSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3029
|
+
#
|
3030
|
+
# * {Types::ListDataSourcesResponse#data_sources #data_sources} => Array<Types::DataSourceDetails>
|
3031
|
+
#
|
3032
|
+
# @example Request syntax with placeholder values
|
3033
|
+
#
|
3034
|
+
# resp = client.list_data_sources({
|
3035
|
+
# domain_name: "DomainName", # required
|
3036
|
+
# })
|
3037
|
+
#
|
3038
|
+
# @example Response structure
|
3039
|
+
#
|
3040
|
+
# resp.data_sources #=> Array
|
3041
|
+
# resp.data_sources[0].data_source_type.s3_glue_data_catalog.role_arn #=> String
|
3042
|
+
# resp.data_sources[0].name #=> String
|
3043
|
+
# resp.data_sources[0].description #=> String
|
3044
|
+
#
|
3045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSources AWS API Documentation
|
3046
|
+
#
|
3047
|
+
# @overload list_data_sources(params = {})
|
3048
|
+
# @param [Hash] params ({})
|
3049
|
+
def list_data_sources(params = {}, options = {})
|
3050
|
+
req = build_request(:list_data_sources, params)
|
3051
|
+
req.send_request(options)
|
3052
|
+
end
|
3053
|
+
|
3054
|
+
# A list of maintenance actions for the domain.
|
3055
|
+
#
|
3056
|
+
# @option params [required, String] :domain_name
|
3057
|
+
# The name of the domain.
|
3058
|
+
#
|
3059
|
+
# @option params [String] :action
|
3060
|
+
# The name of the action.
|
3061
|
+
#
|
3062
|
+
# @option params [String] :status
|
3063
|
+
# The status of the action.
|
3064
|
+
#
|
3065
|
+
# @option params [Integer] :max_results
|
3066
|
+
# An optional parameter that specifies the maximum number of results to
|
3067
|
+
# return. You can use `nextToken` to get the next page of results.
|
3068
|
+
#
|
3069
|
+
# @option params [String] :next_token
|
3070
|
+
# If your initial `ListDomainMaintenances` operation returns a
|
3071
|
+
# `nextToken`, include the returned `nextToken` in subsequent
|
3072
|
+
# `ListDomainMaintenances` operations, which returns results in the next
|
3073
|
+
# page.
|
3074
|
+
#
|
3075
|
+
# @return [Types::ListDomainMaintenancesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3076
|
+
#
|
3077
|
+
# * {Types::ListDomainMaintenancesResponse#domain_maintenances #domain_maintenances} => Array<Types::DomainMaintenanceDetails>
|
3078
|
+
# * {Types::ListDomainMaintenancesResponse#next_token #next_token} => String
|
3079
|
+
#
|
3080
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3081
|
+
#
|
3082
|
+
# @example Request syntax with placeholder values
|
3083
|
+
#
|
3084
|
+
# resp = client.list_domain_maintenances({
|
3085
|
+
# domain_name: "DomainName", # required
|
3086
|
+
# action: "REBOOT_NODE", # accepts REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD
|
3087
|
+
# status: "PENDING", # accepts PENDING, IN_PROGRESS, COMPLETED, FAILED, TIMED_OUT
|
3088
|
+
# max_results: 1,
|
3089
|
+
# next_token: "NextToken",
|
3090
|
+
# })
|
3091
|
+
#
|
3092
|
+
# @example Response structure
|
3093
|
+
#
|
3094
|
+
# resp.domain_maintenances #=> Array
|
3095
|
+
# resp.domain_maintenances[0].maintenance_id #=> String
|
3096
|
+
# resp.domain_maintenances[0].domain_name #=> String
|
3097
|
+
# resp.domain_maintenances[0].action #=> String, one of "REBOOT_NODE", "RESTART_SEARCH_PROCESS", "RESTART_DASHBOARD"
|
3098
|
+
# resp.domain_maintenances[0].node_id #=> String
|
3099
|
+
# resp.domain_maintenances[0].status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "TIMED_OUT"
|
3100
|
+
# resp.domain_maintenances[0].status_message #=> String
|
3101
|
+
# resp.domain_maintenances[0].created_at #=> Time
|
3102
|
+
# resp.domain_maintenances[0].updated_at #=> Time
|
3103
|
+
# resp.next_token #=> String
|
3104
|
+
#
|
3105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDomainMaintenances AWS API Documentation
|
3106
|
+
#
|
3107
|
+
# @overload list_domain_maintenances(params = {})
|
3108
|
+
# @param [Hash] params ({})
|
3109
|
+
def list_domain_maintenances(params = {}, options = {})
|
3110
|
+
req = build_request(:list_domain_maintenances, params)
|
3111
|
+
req.send_request(options)
|
3112
|
+
end
|
3113
|
+
|
2807
3114
|
# Returns the names of all Amazon OpenSearch Service domains owned by
|
2808
3115
|
# the current user in the active Region.
|
2809
3116
|
#
|
@@ -2877,7 +3184,7 @@ module Aws::OpenSearchService
|
|
2877
3184
|
# resp.domain_package_details_list #=> Array
|
2878
3185
|
# resp.domain_package_details_list[0].package_id #=> String
|
2879
3186
|
# resp.domain_package_details_list[0].package_name #=> String
|
2880
|
-
# resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
|
3187
|
+
# resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
2881
3188
|
# resp.domain_package_details_list[0].last_updated #=> Time
|
2882
3189
|
# resp.domain_package_details_list[0].domain_name #=> String
|
2883
3190
|
# resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
|
@@ -3008,7 +3315,7 @@ module Aws::OpenSearchService
|
|
3008
3315
|
# resp.domain_package_details_list #=> Array
|
3009
3316
|
# resp.domain_package_details_list[0].package_id #=> String
|
3010
3317
|
# resp.domain_package_details_list[0].package_name #=> String
|
3011
|
-
# resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY"
|
3318
|
+
# resp.domain_package_details_list[0].package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
3012
3319
|
# resp.domain_package_details_list[0].last_updated #=> Time
|
3013
3320
|
# resp.domain_package_details_list[0].domain_name #=> String
|
3014
3321
|
# resp.domain_package_details_list[0].domain_package_status #=> String, one of "ASSOCIATING", "ASSOCIATION_FAILED", "ACTIVE", "DISSOCIATING", "DISSOCIATION_FAILED"
|
@@ -3420,6 +3727,44 @@ module Aws::OpenSearchService
|
|
3420
3727
|
req.send_request(options)
|
3421
3728
|
end
|
3422
3729
|
|
3730
|
+
# Starts the node maintenance process on the data node. These processes
|
3731
|
+
# can include a node reboot, an Opensearch or Elasticsearch process
|
3732
|
+
# restart, or a Dashboard or Kibana restart.
|
3733
|
+
#
|
3734
|
+
# @option params [required, String] :domain_name
|
3735
|
+
# The name of the domain.
|
3736
|
+
#
|
3737
|
+
# @option params [required, String] :action
|
3738
|
+
# The name of the action.
|
3739
|
+
#
|
3740
|
+
# @option params [String] :node_id
|
3741
|
+
# The ID of the data node.
|
3742
|
+
#
|
3743
|
+
# @return [Types::StartDomainMaintenanceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3744
|
+
#
|
3745
|
+
# * {Types::StartDomainMaintenanceResponse#maintenance_id #maintenance_id} => String
|
3746
|
+
#
|
3747
|
+
# @example Request syntax with placeholder values
|
3748
|
+
#
|
3749
|
+
# resp = client.start_domain_maintenance({
|
3750
|
+
# domain_name: "DomainName", # required
|
3751
|
+
# action: "REBOOT_NODE", # required, accepts REBOOT_NODE, RESTART_SEARCH_PROCESS, RESTART_DASHBOARD
|
3752
|
+
# node_id: "NodeId",
|
3753
|
+
# })
|
3754
|
+
#
|
3755
|
+
# @example Response structure
|
3756
|
+
#
|
3757
|
+
# resp.maintenance_id #=> String
|
3758
|
+
#
|
3759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/StartDomainMaintenance AWS API Documentation
|
3760
|
+
#
|
3761
|
+
# @overload start_domain_maintenance(params = {})
|
3762
|
+
# @param [Hash] params ({})
|
3763
|
+
def start_domain_maintenance(params = {}, options = {})
|
3764
|
+
req = build_request(:start_domain_maintenance, params)
|
3765
|
+
req.send_request(options)
|
3766
|
+
end
|
3767
|
+
|
3423
3768
|
# Schedules a service software update for an Amazon OpenSearch Service
|
3424
3769
|
# domain. For more information, see [Service software updates in Amazon
|
3425
3770
|
# OpenSearch Service][1].
|
@@ -3487,8 +3832,58 @@ module Aws::OpenSearchService
|
|
3487
3832
|
req.send_request(options)
|
3488
3833
|
end
|
3489
3834
|
|
3835
|
+
# Updates a direct-query data source. For more information, see [Working
|
3836
|
+
# with Amazon OpenSearch Service data source integrations with Amazon
|
3837
|
+
# S3][1].
|
3838
|
+
#
|
3839
|
+
#
|
3840
|
+
#
|
3841
|
+
# [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-creating.html
|
3842
|
+
#
|
3843
|
+
# @option params [required, String] :domain_name
|
3844
|
+
# The name of the domain.
|
3845
|
+
#
|
3846
|
+
# @option params [required, String] :name
|
3847
|
+
# The name of the data source to modify.
|
3848
|
+
#
|
3849
|
+
# @option params [required, Types::DataSourceType] :data_source_type
|
3850
|
+
# The type of data source.
|
3851
|
+
#
|
3852
|
+
# @option params [String] :description
|
3853
|
+
# A new description of the data source.
|
3854
|
+
#
|
3855
|
+
# @return [Types::UpdateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3856
|
+
#
|
3857
|
+
# * {Types::UpdateDataSourceResponse#message #message} => String
|
3858
|
+
#
|
3859
|
+
# @example Request syntax with placeholder values
|
3860
|
+
#
|
3861
|
+
# resp = client.update_data_source({
|
3862
|
+
# domain_name: "DomainName", # required
|
3863
|
+
# name: "DataSourceName", # required
|
3864
|
+
# data_source_type: { # required
|
3865
|
+
# s3_glue_data_catalog: {
|
3866
|
+
# role_arn: "RoleArn",
|
3867
|
+
# },
|
3868
|
+
# },
|
3869
|
+
# description: "DataSourceDescription",
|
3870
|
+
# })
|
3871
|
+
#
|
3872
|
+
# @example Response structure
|
3873
|
+
#
|
3874
|
+
# resp.message #=> String
|
3875
|
+
#
|
3876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSource AWS API Documentation
|
3877
|
+
#
|
3878
|
+
# @overload update_data_source(params = {})
|
3879
|
+
# @param [Hash] params ({})
|
3880
|
+
def update_data_source(params = {}, options = {})
|
3881
|
+
req = build_request(:update_data_source, params)
|
3882
|
+
req.send_request(options)
|
3883
|
+
end
|
3884
|
+
|
3490
3885
|
# Modifies the cluster configuration of the specified Amazon OpenSearch
|
3491
|
-
# Service domain.
|
3886
|
+
# Service domain.
|
3492
3887
|
#
|
3493
3888
|
# @option params [required, String] :domain_name
|
3494
3889
|
# The name of the domain that you're updating.
|
@@ -3549,6 +3944,12 @@ module Aws::OpenSearchService
|
|
3549
3944
|
# Identity and Access Management (IAM) access policy as a JSON-formatted
|
3550
3945
|
# string.
|
3551
3946
|
#
|
3947
|
+
# @option params [String] :ip_address_type
|
3948
|
+
# Specify either dual stack or IPv4 as your IP address type. Dual stack
|
3949
|
+
# allows you to share domain resources across IPv4 and IPv6 address
|
3950
|
+
# types, and is the recommended option. If your IP address type is
|
3951
|
+
# currently set to dual stack, you can't change it.
|
3952
|
+
#
|
3552
3953
|
# @option params [Hash<String,Types::LogPublishingOption>] :log_publishing_options
|
3553
3954
|
# Options to publish OpenSearch logs to Amazon CloudWatch Logs.
|
3554
3955
|
#
|
@@ -3645,6 +4046,7 @@ module Aws::OpenSearchService
|
|
3645
4046
|
# "String" => "String",
|
3646
4047
|
# },
|
3647
4048
|
# access_policies: "PolicyDocument",
|
4049
|
+
# ip_address_type: "ipv4", # accepts ipv4, dualstack
|
3648
4050
|
# log_publishing_options: {
|
3649
4051
|
# "INDEX_SLOW_LOGS" => {
|
3650
4052
|
# cloud_watch_logs_log_group_arn: "CloudWatchLogsLogGroupArn",
|
@@ -3657,7 +4059,7 @@ module Aws::OpenSearchService
|
|
3657
4059
|
# },
|
3658
4060
|
# domain_endpoint_options: {
|
3659
4061
|
# enforce_https: false,
|
3660
|
-
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07
|
4062
|
+
# tls_security_policy: "Policy-Min-TLS-1-0-2019-07", # accepts Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07, Policy-Min-TLS-1-2-PFS-2023-10
|
3661
4063
|
# custom_endpoint_enabled: false,
|
3662
4064
|
# custom_endpoint: "DomainNameFqdn",
|
3663
4065
|
# custom_endpoint_certificate_arn: "ARN",
|
@@ -3759,6 +4161,12 @@ module Aws::OpenSearchService
|
|
3759
4161
|
# resp.domain_config.access_policies.status.update_version #=> Integer
|
3760
4162
|
# resp.domain_config.access_policies.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
3761
4163
|
# resp.domain_config.access_policies.status.pending_deletion #=> Boolean
|
4164
|
+
# resp.domain_config.ip_address_type.options #=> String, one of "ipv4", "dualstack"
|
4165
|
+
# resp.domain_config.ip_address_type.status.creation_date #=> Time
|
4166
|
+
# resp.domain_config.ip_address_type.status.update_date #=> Time
|
4167
|
+
# resp.domain_config.ip_address_type.status.update_version #=> Integer
|
4168
|
+
# resp.domain_config.ip_address_type.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
4169
|
+
# resp.domain_config.ip_address_type.status.pending_deletion #=> Boolean
|
3762
4170
|
# resp.domain_config.snapshot_options.options.automated_snapshot_start_hour #=> Integer
|
3763
4171
|
# resp.domain_config.snapshot_options.status.creation_date #=> Time
|
3764
4172
|
# resp.domain_config.snapshot_options.status.update_date #=> Time
|
@@ -3815,7 +4223,7 @@ module Aws::OpenSearchService
|
|
3815
4223
|
# resp.domain_config.log_publishing_options.status.state #=> String, one of "RequiresIndexDocuments", "Processing", "Active"
|
3816
4224
|
# resp.domain_config.log_publishing_options.status.pending_deletion #=> Boolean
|
3817
4225
|
# resp.domain_config.domain_endpoint_options.options.enforce_https #=> Boolean
|
3818
|
-
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07"
|
4226
|
+
# resp.domain_config.domain_endpoint_options.options.tls_security_policy #=> String, one of "Policy-Min-TLS-1-0-2019-07", "Policy-Min-TLS-1-2-2019-07", "Policy-Min-TLS-1-2-PFS-2023-10"
|
3819
4227
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_enabled #=> Boolean
|
3820
4228
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint #=> String
|
3821
4229
|
# resp.domain_config.domain_endpoint_options.options.custom_endpoint_certificate_arn #=> String
|
@@ -3929,7 +4337,7 @@ module Aws::OpenSearchService
|
|
3929
4337
|
#
|
3930
4338
|
# resp.package_details.package_id #=> String
|
3931
4339
|
# resp.package_details.package_name #=> String
|
3932
|
-
# resp.package_details.package_type #=> String, one of "TXT-DICTIONARY"
|
4340
|
+
# resp.package_details.package_type #=> String, one of "TXT-DICTIONARY", "ZIP-PLUGIN"
|
3933
4341
|
# resp.package_details.package_description #=> String
|
3934
4342
|
# resp.package_details.package_status #=> String, one of "COPYING", "COPY_FAILED", "VALIDATING", "VALIDATION_FAILED", "AVAILABLE", "DELETING", "DELETED", "DELETE_FAILED"
|
3935
4343
|
# resp.package_details.created_at #=> Time
|
@@ -3937,6 +4345,12 @@ module Aws::OpenSearchService
|
|
3937
4345
|
# resp.package_details.available_package_version #=> String
|
3938
4346
|
# resp.package_details.error_details.error_type #=> String
|
3939
4347
|
# resp.package_details.error_details.error_message #=> String
|
4348
|
+
# resp.package_details.engine_version #=> String
|
4349
|
+
# resp.package_details.available_plugin_properties.name #=> String
|
4350
|
+
# resp.package_details.available_plugin_properties.description #=> String
|
4351
|
+
# resp.package_details.available_plugin_properties.version #=> String
|
4352
|
+
# resp.package_details.available_plugin_properties.class_name #=> String
|
4353
|
+
# resp.package_details.available_plugin_properties.uncompressed_size_in_bytes #=> Integer
|
3940
4354
|
#
|
3941
4355
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdatePackage AWS API Documentation
|
3942
4356
|
#
|
@@ -4152,7 +4566,7 @@ module Aws::OpenSearchService
|
|
4152
4566
|
params: params,
|
4153
4567
|
config: config)
|
4154
4568
|
context[:gem_name] = 'aws-sdk-opensearchservice'
|
4155
|
-
context[:gem_version] = '1.
|
4569
|
+
context[:gem_version] = '1.35.0'
|
4156
4570
|
Seahorse::Client::Request.new(handlers, context)
|
4157
4571
|
end
|
4158
4572
|
|