aws-sdk-opensearchservice 1.32.0 → 1.34.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9b8c63f7211b2b04a781653facc0889dd4a653d3ebcae072714efec26b45efb
4
- data.tar.gz: a652f9bf26fdfdb13484e4c6a546181cf8e91c1dd6c05a88074aa2a4a1a5435c
3
+ metadata.gz: 2ee5fe5d627377e3df2e82a942319bac94a46c5a60f8b23dc9a4724185f63f71
4
+ data.tar.gz: b7ea9c4fa3c3a732f3e4cddf61bafd8bd1d3de583ed461feb14bea3815fe31b1
5
5
  SHA512:
6
- metadata.gz: 6033ef9b664471f11e99aed1140c9e7b24b020de0d3f4d0afd8d15923465348c83cd7e0f01476387795a3b048010a2f8b90f3c1c4c4bef101983fc1c8115003d
7
- data.tar.gz: 341038811a20bcb4ed878c416affe6894f001fb42f28ab8080ecf666ebea5e75029b6d22685793b10b2d1ab7f320e68d6864a3ff7a23430b2a8d0e48a86b35fd
6
+ metadata.gz: ca02c293816fdfef60a2a182cf4b48ddaf0f95fffb80108bc7b38a27c577ad9bfe88aa691c2191827c5f279aba96f2db868862b16d1742e45e5fd71a22d39705
7
+ data.tar.gz: ed0635ba4d33ba8b78fb2a8f39e74e17cd3665c8f03c13e2d441ce9c95fc36c6e3e78ce08f2692b99534b7f6bb4a8c837902a659571c5d5d7fec559225963818
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2023-12-14)
5
+ ------------------
6
+
7
+ * Feature - Updating documentation for Amazon OpenSearch Service support for new zero-ETL integration with Amazon S3.
8
+
9
+ 1.33.0 (2023-11-29)
10
+ ------------------
11
+
12
+ * Feature - Launching Amazon OpenSearch Service support for new zero-ETL integration with Amazon S3. Customers can now manage their direct query data sources to Amazon S3 programatically
13
+
4
14
  1.32.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.32.0
1
+ 1.34.0
@@ -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
@@ -1147,6 +1197,43 @@ module Aws::OpenSearchService
1147
1197
  req.send_request(options)
1148
1198
  end
1149
1199
 
1200
+ # Deletes a direct-query data source. For more information, see
1201
+ # [Deleting an Amazon OpenSearch Service data source with Amazon S3][1].
1202
+ #
1203
+ #
1204
+ #
1205
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-delete.html
1206
+ #
1207
+ # @option params [required, String] :domain_name
1208
+ # The name of the domain.
1209
+ #
1210
+ # @option params [required, String] :name
1211
+ # The name of the data source to delete.
1212
+ #
1213
+ # @return [Types::DeleteDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1214
+ #
1215
+ # * {Types::DeleteDataSourceResponse#message #message} => String
1216
+ #
1217
+ # @example Request syntax with placeholder values
1218
+ #
1219
+ # resp = client.delete_data_source({
1220
+ # domain_name: "DomainName", # required
1221
+ # name: "DataSourceName", # required
1222
+ # })
1223
+ #
1224
+ # @example Response structure
1225
+ #
1226
+ # resp.message #=> String
1227
+ #
1228
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDataSource AWS API Documentation
1229
+ #
1230
+ # @overload delete_data_source(params = {})
1231
+ # @param [Hash] params ({})
1232
+ def delete_data_source(params = {}, options = {})
1233
+ req = build_request(:delete_data_source, params)
1234
+ req.send_request(options)
1235
+ end
1236
+
1150
1237
  # Deletes an Amazon OpenSearch Service domain and all of its data. You
1151
1238
  # can't recover a domain after you delete it.
1152
1239
  #
@@ -2698,6 +2785,42 @@ module Aws::OpenSearchService
2698
2785
  req.send_request(options)
2699
2786
  end
2700
2787
 
2788
+ # Retrieves information about a direct query data source.
2789
+ #
2790
+ # @option params [required, String] :domain_name
2791
+ # The name of the domain.
2792
+ #
2793
+ # @option params [required, String] :name
2794
+ # The name of the data source to get information about.
2795
+ #
2796
+ # @return [Types::GetDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2797
+ #
2798
+ # * {Types::GetDataSourceResponse#data_source_type #data_source_type} => Types::DataSourceType
2799
+ # * {Types::GetDataSourceResponse#name #name} => String
2800
+ # * {Types::GetDataSourceResponse#description #description} => String
2801
+ #
2802
+ # @example Request syntax with placeholder values
2803
+ #
2804
+ # resp = client.get_data_source({
2805
+ # domain_name: "DomainName", # required
2806
+ # name: "DataSourceName", # required
2807
+ # })
2808
+ #
2809
+ # @example Response structure
2810
+ #
2811
+ # resp.data_source_type.s3_glue_data_catalog.role_arn #=> String
2812
+ # resp.name #=> String
2813
+ # resp.description #=> String
2814
+ #
2815
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSource AWS API Documentation
2816
+ #
2817
+ # @overload get_data_source(params = {})
2818
+ # @param [Hash] params ({})
2819
+ def get_data_source(params = {}, options = {})
2820
+ req = build_request(:get_data_source, params)
2821
+ req.send_request(options)
2822
+ end
2823
+
2701
2824
  # The status of the maintenance action.
2702
2825
  #
2703
2826
  # @option params [required, String] :domain_name
@@ -2888,6 +3011,43 @@ module Aws::OpenSearchService
2888
3011
  req.send_request(options)
2889
3012
  end
2890
3013
 
3014
+ # Lists direct-query data sources for a specific domain. For more
3015
+ # information, see For more information, see [Working with Amazon
3016
+ # OpenSearch Service direct queries with Amazon S3][1].
3017
+ #
3018
+ #
3019
+ #
3020
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3.html
3021
+ #
3022
+ # @option params [required, String] :domain_name
3023
+ # The name of the domain.
3024
+ #
3025
+ # @return [Types::ListDataSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3026
+ #
3027
+ # * {Types::ListDataSourcesResponse#data_sources #data_sources} => Array<Types::DataSourceDetails>
3028
+ #
3029
+ # @example Request syntax with placeholder values
3030
+ #
3031
+ # resp = client.list_data_sources({
3032
+ # domain_name: "DomainName", # required
3033
+ # })
3034
+ #
3035
+ # @example Response structure
3036
+ #
3037
+ # resp.data_sources #=> Array
3038
+ # resp.data_sources[0].data_source_type.s3_glue_data_catalog.role_arn #=> String
3039
+ # resp.data_sources[0].name #=> String
3040
+ # resp.data_sources[0].description #=> String
3041
+ #
3042
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSources AWS API Documentation
3043
+ #
3044
+ # @overload list_data_sources(params = {})
3045
+ # @param [Hash] params ({})
3046
+ def list_data_sources(params = {}, options = {})
3047
+ req = build_request(:list_data_sources, params)
3048
+ req.send_request(options)
3049
+ end
3050
+
2891
3051
  # A list of maintenance actions for the domain.
2892
3052
  #
2893
3053
  # @option params [required, String] :domain_name
@@ -3669,6 +3829,56 @@ module Aws::OpenSearchService
3669
3829
  req.send_request(options)
3670
3830
  end
3671
3831
 
3832
+ # Updates a direct-query data source. For more information, see [Working
3833
+ # with Amazon OpenSearch Service data source integrations with Amazon
3834
+ # S3][1].
3835
+ #
3836
+ #
3837
+ #
3838
+ # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-creating.html
3839
+ #
3840
+ # @option params [required, String] :domain_name
3841
+ # The name of the domain.
3842
+ #
3843
+ # @option params [required, String] :name
3844
+ # The name of the data source to modify.
3845
+ #
3846
+ # @option params [required, Types::DataSourceType] :data_source_type
3847
+ # The type of data source.
3848
+ #
3849
+ # @option params [String] :description
3850
+ # A new description of the data source.
3851
+ #
3852
+ # @return [Types::UpdateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3853
+ #
3854
+ # * {Types::UpdateDataSourceResponse#message #message} => String
3855
+ #
3856
+ # @example Request syntax with placeholder values
3857
+ #
3858
+ # resp = client.update_data_source({
3859
+ # domain_name: "DomainName", # required
3860
+ # name: "DataSourceName", # required
3861
+ # data_source_type: { # required
3862
+ # s3_glue_data_catalog: {
3863
+ # role_arn: "RoleArn",
3864
+ # },
3865
+ # },
3866
+ # description: "DataSourceDescription",
3867
+ # })
3868
+ #
3869
+ # @example Response structure
3870
+ #
3871
+ # resp.message #=> String
3872
+ #
3873
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSource AWS API Documentation
3874
+ #
3875
+ # @overload update_data_source(params = {})
3876
+ # @param [Hash] params ({})
3877
+ def update_data_source(params = {}, options = {})
3878
+ req = build_request(:update_data_source, params)
3879
+ req.send_request(options)
3880
+ end
3881
+
3672
3882
  # Modifies the cluster configuration of the specified Amazon OpenSearch
3673
3883
  # Service domain.
3674
3884
  #
@@ -4350,7 +4560,7 @@ module Aws::OpenSearchService
4350
4560
  params: params,
4351
4561
  config: config)
4352
4562
  context[:gem_name] = 'aws-sdk-opensearchservice'
4353
- context[:gem_version] = '1.32.0'
4563
+ context[:gem_version] = '1.34.0'
4354
4564
  Seahorse::Client::Request.new(handlers, context)
4355
4565
  end
4356
4566
 
@@ -23,6 +23,8 @@ module Aws::OpenSearchService
23
23
  ActionSeverity = Shapes::StringShape.new(name: 'ActionSeverity')
24
24
  ActionStatus = Shapes::StringShape.new(name: 'ActionStatus')
25
25
  ActionType = Shapes::StringShape.new(name: 'ActionType')
26
+ AddDataSourceRequest = Shapes::StructureShape.new(name: 'AddDataSourceRequest')
27
+ AddDataSourceResponse = Shapes::StructureShape.new(name: 'AddDataSourceResponse')
26
28
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
27
29
  AdditionalLimit = Shapes::StructureShape.new(name: 'AdditionalLimit')
28
30
  AdditionalLimitList = Shapes::ListShape.new(name: 'AdditionalLimitList')
@@ -92,6 +94,13 @@ module Aws::OpenSearchService
92
94
  CreateVpcEndpointResponse = Shapes::StructureShape.new(name: 'CreateVpcEndpointResponse')
93
95
  CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
94
96
  CrossClusterSearchConnectionProperties = Shapes::StructureShape.new(name: 'CrossClusterSearchConnectionProperties')
97
+ DataSourceDescription = Shapes::StringShape.new(name: 'DataSourceDescription')
98
+ DataSourceDetails = Shapes::StructureShape.new(name: 'DataSourceDetails')
99
+ DataSourceList = Shapes::ListShape.new(name: 'DataSourceList')
100
+ DataSourceName = Shapes::StringShape.new(name: 'DataSourceName')
101
+ DataSourceType = Shapes::UnionShape.new(name: 'DataSourceType')
102
+ DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
103
+ DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
95
104
  DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
96
105
  DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
97
106
  DeleteInboundConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundConnectionRequest')
@@ -193,6 +202,8 @@ module Aws::OpenSearchService
193
202
  GUID = Shapes::StringShape.new(name: 'GUID')
194
203
  GetCompatibleVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleVersionsRequest')
195
204
  GetCompatibleVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleVersionsResponse')
205
+ GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
206
+ GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
196
207
  GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
197
208
  GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
198
209
  GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
@@ -231,6 +242,8 @@ module Aws::OpenSearchService
231
242
  LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
232
243
  Limits = Shapes::StructureShape.new(name: 'Limits')
233
244
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
245
+ ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
246
+ ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
234
247
  ListDomainMaintenancesRequest = Shapes::StructureShape.new(name: 'ListDomainMaintenancesRequest')
235
248
  ListDomainMaintenancesResponse = Shapes::StructureShape.new(name: 'ListDomainMaintenancesResponse')
236
249
  ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
@@ -332,6 +345,7 @@ module Aws::OpenSearchService
332
345
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
333
346
  RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
334
347
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
348
+ S3GlueDataCatalog = Shapes::StructureShape.new(name: 'S3GlueDataCatalog')
335
349
  S3Key = Shapes::StringShape.new(name: 'S3Key')
336
350
  SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
337
351
  SAMLIdp = Shapes::StructureShape.new(name: 'SAMLIdp')
@@ -380,6 +394,8 @@ module Aws::OpenSearchService
380
394
  TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
381
395
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
382
396
  UncompressedPluginSizeInBytes = Shapes::IntegerShape.new(name: 'UncompressedPluginSizeInBytes')
397
+ UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
398
+ UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
383
399
  UpdateDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateDomainConfigRequest')
384
400
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
385
401
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
@@ -443,6 +459,15 @@ module Aws::OpenSearchService
443
459
  AccessPoliciesStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
444
460
  AccessPoliciesStatus.struct_class = Types::AccessPoliciesStatus
445
461
 
462
+ AddDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
463
+ AddDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
464
+ AddDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "DataSourceType"))
465
+ AddDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
466
+ AddDataSourceRequest.struct_class = Types::AddDataSourceRequest
467
+
468
+ AddDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
469
+ AddDataSourceResponse.struct_class = Types::AddDataSourceResponse
470
+
446
471
  AddTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
447
472
  AddTagsRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "TagList"))
448
473
  AddTagsRequest.struct_class = Types::AddTagsRequest
@@ -687,6 +712,26 @@ module Aws::OpenSearchService
687
712
  CrossClusterSearchConnectionProperties.add_member(:skip_unavailable, Shapes::ShapeRef.new(shape: SkipUnavailableStatus, location_name: "SkipUnavailable"))
688
713
  CrossClusterSearchConnectionProperties.struct_class = Types::CrossClusterSearchConnectionProperties
689
714
 
715
+ DataSourceDetails.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
716
+ DataSourceDetails.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
717
+ DataSourceDetails.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
718
+ DataSourceDetails.struct_class = Types::DataSourceDetails
719
+
720
+ DataSourceList.member = Shapes::ShapeRef.new(shape: DataSourceDetails)
721
+
722
+ DataSourceType.add_member(:s3_glue_data_catalog, Shapes::ShapeRef.new(shape: S3GlueDataCatalog, location_name: "S3GlueDataCatalog"))
723
+ DataSourceType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
724
+ DataSourceType.add_member_subclass(:s3_glue_data_catalog, Types::DataSourceType::S3GlueDataCatalog)
725
+ DataSourceType.add_member_subclass(:unknown, Types::DataSourceType::Unknown)
726
+ DataSourceType.struct_class = Types::DataSourceType
727
+
728
+ DeleteDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
729
+ DeleteDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
730
+ DeleteDataSourceRequest.struct_class = Types::DeleteDataSourceRequest
731
+
732
+ DeleteDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
733
+ DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
734
+
690
735
  DeleteDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
691
736
  DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
692
737
 
@@ -1034,6 +1079,15 @@ module Aws::OpenSearchService
1034
1079
  GetCompatibleVersionsResponse.add_member(:compatible_versions, Shapes::ShapeRef.new(shape: CompatibleVersionsList, location_name: "CompatibleVersions"))
1035
1080
  GetCompatibleVersionsResponse.struct_class = Types::GetCompatibleVersionsResponse
1036
1081
 
1082
+ GetDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1083
+ GetDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
1084
+ GetDataSourceRequest.struct_class = Types::GetDataSourceRequest
1085
+
1086
+ GetDataSourceResponse.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
1087
+ GetDataSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
1088
+ GetDataSourceResponse.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
1089
+ GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
1090
+
1037
1091
  GetDomainMaintenanceStatusRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1038
1092
  GetDomainMaintenanceStatusRequest.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location: "querystring", location_name: "maintenanceId"))
1039
1093
  GetDomainMaintenanceStatusRequest.struct_class = Types::GetDomainMaintenanceStatusRequest
@@ -1131,6 +1185,12 @@ module Aws::OpenSearchService
1131
1185
  LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
1132
1186
  LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
1133
1187
 
1188
+ ListDataSourcesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1189
+ ListDataSourcesRequest.struct_class = Types::ListDataSourcesRequest
1190
+
1191
+ ListDataSourcesResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList, location_name: "DataSources"))
1192
+ ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
1193
+
1134
1194
  ListDomainMaintenancesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1135
1195
  ListDomainMaintenancesRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location: "querystring", location_name: "action"))
1136
1196
  ListDomainMaintenancesRequest.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location: "querystring", location_name: "status"))
@@ -1379,6 +1439,9 @@ module Aws::OpenSearchService
1379
1439
 
1380
1440
  RevokeVpcEndpointAccessResponse.struct_class = Types::RevokeVpcEndpointAccessResponse
1381
1441
 
1442
+ S3GlueDataCatalog.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
1443
+ S3GlueDataCatalog.struct_class = Types::S3GlueDataCatalog
1444
+
1382
1445
  SAMLIdp.add_member(:metadata_content, Shapes::ShapeRef.new(shape: SAMLMetadata, required: true, location_name: "MetadataContent"))
1383
1446
  SAMLIdp.add_member(:entity_id, Shapes::ShapeRef.new(shape: SAMLEntityId, required: true, location_name: "EntityId"))
1384
1447
  SAMLIdp.struct_class = Types::SAMLIdp
@@ -1484,6 +1547,15 @@ module Aws::OpenSearchService
1484
1547
 
1485
1548
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
1486
1549
 
1550
+ UpdateDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1551
+ UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
1552
+ UpdateDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "DataSourceType"))
1553
+ UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
1554
+ UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
1555
+
1556
+ UpdateDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1557
+ UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
1558
+
1487
1559
  UpdateDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1488
1560
  UpdateDomainConfigRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
1489
1561
  UpdateDomainConfigRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
@@ -1657,6 +1729,21 @@ module Aws::OpenSearchService
1657
1729
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1658
1730
  end)
1659
1731
 
1732
+ api.add_operation(:add_data_source, Seahorse::Model::Operation.new.tap do |o|
1733
+ o.name = "AddDataSource"
1734
+ o.http_method = "POST"
1735
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource"
1736
+ o.input = Shapes::ShapeRef.new(shape: AddDataSourceRequest)
1737
+ o.output = Shapes::ShapeRef.new(shape: AddDataSourceResponse)
1738
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1739
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1742
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1743
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
1744
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1745
+ end)
1746
+
1660
1747
  api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
1661
1748
  o.name = "AddTags"
1662
1749
  o.http_method = "POST"
@@ -1765,6 +1852,20 @@ module Aws::OpenSearchService
1765
1852
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
1766
1853
  end)
1767
1854
 
1855
+ api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
1856
+ o.name = "DeleteDataSource"
1857
+ o.http_method = "DELETE"
1858
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{DataSourceName}"
1859
+ o.input = Shapes::ShapeRef.new(shape: DeleteDataSourceRequest)
1860
+ o.output = Shapes::ShapeRef.new(shape: DeleteDataSourceResponse)
1861
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1863
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1864
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
1867
+ end)
1868
+
1768
1869
  api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
1769
1870
  o.name = "DeleteDomain"
1770
1871
  o.http_method = "DELETE"
@@ -2068,6 +2169,20 @@ module Aws::OpenSearchService
2068
2169
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2069
2170
  end)
2070
2171
 
2172
+ api.add_operation(:get_data_source, Seahorse::Model::Operation.new.tap do |o|
2173
+ o.name = "GetDataSource"
2174
+ o.http_method = "GET"
2175
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{DataSourceName}"
2176
+ o.input = Shapes::ShapeRef.new(shape: GetDataSourceRequest)
2177
+ o.output = Shapes::ShapeRef.new(shape: GetDataSourceResponse)
2178
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2181
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2182
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2183
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2184
+ end)
2185
+
2071
2186
  api.add_operation(:get_domain_maintenance_status, Seahorse::Model::Operation.new.tap do |o|
2072
2187
  o.name = "GetDomainMaintenanceStatus"
2073
2188
  o.http_method = "GET"
@@ -2132,6 +2247,20 @@ module Aws::OpenSearchService
2132
2247
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2133
2248
  end)
2134
2249
 
2250
+ api.add_operation(:list_data_sources, Seahorse::Model::Operation.new.tap do |o|
2251
+ o.name = "ListDataSources"
2252
+ o.http_method = "GET"
2253
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource"
2254
+ o.input = Shapes::ShapeRef.new(shape: ListDataSourcesRequest)
2255
+ o.output = Shapes::ShapeRef.new(shape: ListDataSourcesResponse)
2256
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2257
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2258
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2259
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2260
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2261
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2262
+ end)
2263
+
2135
2264
  api.add_operation(:list_domain_maintenances, Seahorse::Model::Operation.new.tap do |o|
2136
2265
  o.name = "ListDomainMaintenances"
2137
2266
  o.http_method = "GET"
@@ -2374,6 +2503,20 @@ module Aws::OpenSearchService
2374
2503
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2375
2504
  end)
2376
2505
 
2506
+ api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
2507
+ o.name = "UpdateDataSource"
2508
+ o.http_method = "PUT"
2509
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{DataSourceName}"
2510
+ o.input = Shapes::ShapeRef.new(shape: UpdateDataSourceRequest)
2511
+ o.output = Shapes::ShapeRef.new(shape: UpdateDataSourceResponse)
2512
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2513
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2514
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2515
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2516
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2517
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2518
+ end)
2519
+
2377
2520
  api.add_operation(:update_domain_config, Seahorse::Model::Operation.new.tap do |o|
2378
2521
  o.name = "UpdateDomainConfig"
2379
2522
  o.http_method = "POST"
@@ -26,6 +26,20 @@ module Aws::OpenSearchService
26
26
  end
27
27
  end
28
28
 
29
+ class AddDataSource
30
+ def self.build(context)
31
+ unless context.config.regional_endpoint
32
+ endpoint = context.config.endpoint.to_s
33
+ end
34
+ Aws::OpenSearchService::EndpointParameters.new(
35
+ region: context.config.region,
36
+ use_dual_stack: context.config.use_dualstack_endpoint,
37
+ use_fips: context.config.use_fips_endpoint,
38
+ endpoint: endpoint,
39
+ )
40
+ end
41
+ end
42
+
29
43
  class AddTags
30
44
  def self.build(context)
31
45
  unless context.config.regional_endpoint
@@ -138,6 +152,20 @@ module Aws::OpenSearchService
138
152
  end
139
153
  end
140
154
 
155
+ class DeleteDataSource
156
+ def self.build(context)
157
+ unless context.config.regional_endpoint
158
+ endpoint = context.config.endpoint.to_s
159
+ end
160
+ Aws::OpenSearchService::EndpointParameters.new(
161
+ region: context.config.region,
162
+ use_dual_stack: context.config.use_dualstack_endpoint,
163
+ use_fips: context.config.use_fips_endpoint,
164
+ endpoint: endpoint,
165
+ )
166
+ end
167
+ end
168
+
141
169
  class DeleteDomain
142
170
  def self.build(context)
143
171
  unless context.config.regional_endpoint
@@ -446,6 +474,20 @@ module Aws::OpenSearchService
446
474
  end
447
475
  end
448
476
 
477
+ class GetDataSource
478
+ def self.build(context)
479
+ unless context.config.regional_endpoint
480
+ endpoint = context.config.endpoint.to_s
481
+ end
482
+ Aws::OpenSearchService::EndpointParameters.new(
483
+ region: context.config.region,
484
+ use_dual_stack: context.config.use_dualstack_endpoint,
485
+ use_fips: context.config.use_fips_endpoint,
486
+ endpoint: endpoint,
487
+ )
488
+ end
489
+ end
490
+
449
491
  class GetDomainMaintenanceStatus
450
492
  def self.build(context)
451
493
  unless context.config.regional_endpoint
@@ -502,6 +544,20 @@ module Aws::OpenSearchService
502
544
  end
503
545
  end
504
546
 
547
+ class ListDataSources
548
+ def self.build(context)
549
+ unless context.config.regional_endpoint
550
+ endpoint = context.config.endpoint.to_s
551
+ end
552
+ Aws::OpenSearchService::EndpointParameters.new(
553
+ region: context.config.region,
554
+ use_dual_stack: context.config.use_dualstack_endpoint,
555
+ use_fips: context.config.use_fips_endpoint,
556
+ endpoint: endpoint,
557
+ )
558
+ end
559
+ end
560
+
505
561
  class ListDomainMaintenances
506
562
  def self.build(context)
507
563
  unless context.config.regional_endpoint
@@ -740,6 +796,20 @@ module Aws::OpenSearchService
740
796
  end
741
797
  end
742
798
 
799
+ class UpdateDataSource
800
+ def self.build(context)
801
+ unless context.config.regional_endpoint
802
+ endpoint = context.config.endpoint.to_s
803
+ end
804
+ Aws::OpenSearchService::EndpointParameters.new(
805
+ region: context.config.region,
806
+ use_dual_stack: context.config.use_dualstack_endpoint,
807
+ use_fips: context.config.use_fips_endpoint,
808
+ endpoint: endpoint,
809
+ )
810
+ end
811
+ end
812
+
743
813
  class UpdateDomainConfig
744
814
  def self.build(context)
745
815
  unless context.config.regional_endpoint
@@ -59,6 +59,8 @@ module Aws::OpenSearchService
59
59
  case context.operation_name
60
60
  when :accept_inbound_connection
61
61
  Aws::OpenSearchService::Endpoints::AcceptInboundConnection.build(context)
62
+ when :add_data_source
63
+ Aws::OpenSearchService::Endpoints::AddDataSource.build(context)
62
64
  when :add_tags
63
65
  Aws::OpenSearchService::Endpoints::AddTags.build(context)
64
66
  when :associate_package
@@ -75,6 +77,8 @@ module Aws::OpenSearchService
75
77
  Aws::OpenSearchService::Endpoints::CreatePackage.build(context)
76
78
  when :create_vpc_endpoint
77
79
  Aws::OpenSearchService::Endpoints::CreateVpcEndpoint.build(context)
80
+ when :delete_data_source
81
+ Aws::OpenSearchService::Endpoints::DeleteDataSource.build(context)
78
82
  when :delete_domain
79
83
  Aws::OpenSearchService::Endpoints::DeleteDomain.build(context)
80
84
  when :delete_inbound_connection
@@ -119,6 +123,8 @@ module Aws::OpenSearchService
119
123
  Aws::OpenSearchService::Endpoints::DissociatePackage.build(context)
120
124
  when :get_compatible_versions
121
125
  Aws::OpenSearchService::Endpoints::GetCompatibleVersions.build(context)
126
+ when :get_data_source
127
+ Aws::OpenSearchService::Endpoints::GetDataSource.build(context)
122
128
  when :get_domain_maintenance_status
123
129
  Aws::OpenSearchService::Endpoints::GetDomainMaintenanceStatus.build(context)
124
130
  when :get_package_version_history
@@ -127,6 +133,8 @@ module Aws::OpenSearchService
127
133
  Aws::OpenSearchService::Endpoints::GetUpgradeHistory.build(context)
128
134
  when :get_upgrade_status
129
135
  Aws::OpenSearchService::Endpoints::GetUpgradeStatus.build(context)
136
+ when :list_data_sources
137
+ Aws::OpenSearchService::Endpoints::ListDataSources.build(context)
130
138
  when :list_domain_maintenances
131
139
  Aws::OpenSearchService::Endpoints::ListDomainMaintenances.build(context)
132
140
  when :list_domain_names
@@ -161,6 +169,8 @@ module Aws::OpenSearchService
161
169
  Aws::OpenSearchService::Endpoints::StartDomainMaintenance.build(context)
162
170
  when :start_service_software_update
163
171
  Aws::OpenSearchService::Endpoints::StartServiceSoftwareUpdate.build(context)
172
+ when :update_data_source
173
+ Aws::OpenSearchService::Endpoints::UpdateDataSource.build(context)
164
174
  when :update_domain_config
165
175
  Aws::OpenSearchService::Endpoints::UpdateDomainConfig.build(context)
166
176
  when :update_package
@@ -96,6 +96,49 @@ module Aws::OpenSearchService
96
96
  include Aws::Structure
97
97
  end
98
98
 
99
+ # Container for the parameters to the `AddDataSource` operation.
100
+ #
101
+ # @!attribute [rw] domain_name
102
+ # The name of the domain to add the data source to.
103
+ # @return [String]
104
+ #
105
+ # @!attribute [rw] name
106
+ # A name for the data source.
107
+ # @return [String]
108
+ #
109
+ # @!attribute [rw] data_source_type
110
+ # The type of data source.
111
+ # @return [Types::DataSourceType]
112
+ #
113
+ # @!attribute [rw] description
114
+ # A description of the data source.
115
+ # @return [String]
116
+ #
117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDataSourceRequest AWS API Documentation
118
+ #
119
+ class AddDataSourceRequest < Struct.new(
120
+ :domain_name,
121
+ :name,
122
+ :data_source_type,
123
+ :description)
124
+ SENSITIVE = []
125
+ include Aws::Structure
126
+ end
127
+
128
+ # The result of an `AddDataSource` operation.
129
+ #
130
+ # @!attribute [rw] message
131
+ # A message associated with creation of the data source.
132
+ # @return [String]
133
+ #
134
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDataSourceResponse AWS API Documentation
135
+ #
136
+ class AddDataSourceResponse < Struct.new(
137
+ :message)
138
+ SENSITIVE = []
139
+ include Aws::Structure
140
+ end
141
+
99
142
  # Container for the parameters to the `AddTags` operation. Specifies the
100
143
  # tags to attach to the domain.
101
144
  #
@@ -1445,6 +1488,86 @@ module Aws::OpenSearchService
1445
1488
  include Aws::Structure
1446
1489
  end
1447
1490
 
1491
+ # Details about a direct-query data source.
1492
+ #
1493
+ # @!attribute [rw] data_source_type
1494
+ # The type of data source.
1495
+ # @return [Types::DataSourceType]
1496
+ #
1497
+ # @!attribute [rw] name
1498
+ # The name of the data source.
1499
+ # @return [String]
1500
+ #
1501
+ # @!attribute [rw] description
1502
+ # A description of the data source.
1503
+ # @return [String]
1504
+ #
1505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DataSourceDetails AWS API Documentation
1506
+ #
1507
+ class DataSourceDetails < Struct.new(
1508
+ :data_source_type,
1509
+ :name,
1510
+ :description)
1511
+ SENSITIVE = []
1512
+ include Aws::Structure
1513
+ end
1514
+
1515
+ # The type of data source.
1516
+ #
1517
+ # @note DataSourceType is a union - when making an API calls you must set exactly one of the members.
1518
+ #
1519
+ # @note DataSourceType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DataSourceType corresponding to the set member.
1520
+ #
1521
+ # @!attribute [rw] s3_glue_data_catalog
1522
+ # An Amazon S3 data source.
1523
+ # @return [Types::S3GlueDataCatalog]
1524
+ #
1525
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DataSourceType AWS API Documentation
1526
+ #
1527
+ class DataSourceType < Struct.new(
1528
+ :s3_glue_data_catalog,
1529
+ :unknown)
1530
+ SENSITIVE = []
1531
+ include Aws::Structure
1532
+ include Aws::Structure::Union
1533
+
1534
+ class S3GlueDataCatalog < DataSourceType; end
1535
+ class Unknown < DataSourceType; end
1536
+ end
1537
+
1538
+ # Container for the parameters to the `DeleteDataSource` operation.
1539
+ #
1540
+ # @!attribute [rw] domain_name
1541
+ # The name of the domain.
1542
+ # @return [String]
1543
+ #
1544
+ # @!attribute [rw] name
1545
+ # The name of the data source to delete.
1546
+ # @return [String]
1547
+ #
1548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDataSourceRequest AWS API Documentation
1549
+ #
1550
+ class DeleteDataSourceRequest < Struct.new(
1551
+ :domain_name,
1552
+ :name)
1553
+ SENSITIVE = []
1554
+ include Aws::Structure
1555
+ end
1556
+
1557
+ # The result of a `GetDataSource` operation.
1558
+ #
1559
+ # @!attribute [rw] message
1560
+ # A message associated with deletion of the data source.
1561
+ # @return [String]
1562
+ #
1563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDataSourceResponse AWS API Documentation
1564
+ #
1565
+ class DeleteDataSourceResponse < Struct.new(
1566
+ :message)
1567
+ SENSITIVE = []
1568
+ include Aws::Structure
1569
+ end
1570
+
1448
1571
  # Container for the parameters to the `DeleteDomain` operation.
1449
1572
  #
1450
1573
  # @!attribute [rw] domain_name
@@ -2489,14 +2612,12 @@ module Aws::OpenSearchService
2489
2612
  #
2490
2613
  # @!attribute [rw] tls_security_policy
2491
2614
  # Specify the TLS security policy to apply to the HTTPS endpoint of
2492
- # the domain.
2615
+ # the domain. The policy can be one of the following values:
2493
2616
  #
2494
- # Can be one of the following values:
2617
+ # * **Policy-Min-TLS-1-0-2019-07:** TLS security policy that supports
2618
+ # TLS version 1.0 to TLS version 1.2
2495
2619
  #
2496
- # * **Policy-Min-TLS-1-0-2019-07:** TLS security policy which supports
2497
- # TLS version 1.0 and higher.
2498
- #
2499
- # * **Policy-Min-TLS-1-2-2019-07:** TLS security policy which supports
2620
+ # * **Policy-Min-TLS-1-2-2019-07:** TLS security policy that supports
2500
2621
  # only TLS version 1.2
2501
2622
  # @return [String]
2502
2623
  #
@@ -3199,6 +3320,49 @@ module Aws::OpenSearchService
3199
3320
  include Aws::Structure
3200
3321
  end
3201
3322
 
3323
+ # Container for the parameters to the `GetDataSource` operation.
3324
+ #
3325
+ # @!attribute [rw] domain_name
3326
+ # The name of the domain.
3327
+ # @return [String]
3328
+ #
3329
+ # @!attribute [rw] name
3330
+ # The name of the data source to get information about.
3331
+ # @return [String]
3332
+ #
3333
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSourceRequest AWS API Documentation
3334
+ #
3335
+ class GetDataSourceRequest < Struct.new(
3336
+ :domain_name,
3337
+ :name)
3338
+ SENSITIVE = []
3339
+ include Aws::Structure
3340
+ end
3341
+
3342
+ # The result of a `GetDataSource` operation.
3343
+ #
3344
+ # @!attribute [rw] data_source_type
3345
+ # The type of data source.
3346
+ # @return [Types::DataSourceType]
3347
+ #
3348
+ # @!attribute [rw] name
3349
+ # The name of the data source.
3350
+ # @return [String]
3351
+ #
3352
+ # @!attribute [rw] description
3353
+ # A description of the data source.
3354
+ # @return [String]
3355
+ #
3356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSourceResponse AWS API Documentation
3357
+ #
3358
+ class GetDataSourceResponse < Struct.new(
3359
+ :data_source_type,
3360
+ :name,
3361
+ :description)
3362
+ SENSITIVE = []
3363
+ include Aws::Structure
3364
+ end
3365
+
3202
3366
  # Container for the parameters to the `GetDomainMaintenanceStatus`
3203
3367
  # operation.
3204
3368
  #
@@ -3652,6 +3816,34 @@ module Aws::OpenSearchService
3652
3816
  include Aws::Structure
3653
3817
  end
3654
3818
 
3819
+ # Container for the parameters to the `ListDataSources` operation.
3820
+ #
3821
+ # @!attribute [rw] domain_name
3822
+ # The name of the domain.
3823
+ # @return [String]
3824
+ #
3825
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSourcesRequest AWS API Documentation
3826
+ #
3827
+ class ListDataSourcesRequest < Struct.new(
3828
+ :domain_name)
3829
+ SENSITIVE = []
3830
+ include Aws::Structure
3831
+ end
3832
+
3833
+ # The result of a `ListDataSources` operation.
3834
+ #
3835
+ # @!attribute [rw] data_sources
3836
+ # A list of data sources associated with specified domain.
3837
+ # @return [Array<Types::DataSourceDetails>]
3838
+ #
3839
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSourcesResponse AWS API Documentation
3840
+ #
3841
+ class ListDataSourcesResponse < Struct.new(
3842
+ :data_sources)
3843
+ SENSITIVE = []
3844
+ include Aws::Structure
3845
+ end
3846
+
3655
3847
  # Container for the parameters to the `ListDomainMaintenances`
3656
3848
  # operation.
3657
3849
  #
@@ -4923,6 +5115,20 @@ module Aws::OpenSearchService
4923
5115
  #
4924
5116
  class RevokeVpcEndpointAccessResponse < Aws::EmptyStructure; end
4925
5117
 
5118
+ # Information about the Amazon S3 Glue Data Catalog.
5119
+ #
5120
+ # @!attribute [rw] role_arn
5121
+ # &gt;The Amazon Resource Name (ARN) for the S3 Glue Data Catalog.
5122
+ # @return [String]
5123
+ #
5124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/S3GlueDataCatalog AWS API Documentation
5125
+ #
5126
+ class S3GlueDataCatalog < Struct.new(
5127
+ :role_arn)
5128
+ SENSITIVE = []
5129
+ include Aws::Structure
5130
+ end
5131
+
4926
5132
  # The SAML identity povider information.
4927
5133
  #
4928
5134
  # @!attribute [rw] metadata_content
@@ -5462,6 +5668,49 @@ module Aws::OpenSearchService
5462
5668
  include Aws::Structure
5463
5669
  end
5464
5670
 
5671
+ # Container for the parameters to the `UpdateDataSource` operation.
5672
+ #
5673
+ # @!attribute [rw] domain_name
5674
+ # The name of the domain.
5675
+ # @return [String]
5676
+ #
5677
+ # @!attribute [rw] name
5678
+ # The name of the data source to modify.
5679
+ # @return [String]
5680
+ #
5681
+ # @!attribute [rw] data_source_type
5682
+ # The type of data source.
5683
+ # @return [Types::DataSourceType]
5684
+ #
5685
+ # @!attribute [rw] description
5686
+ # A new description of the data source.
5687
+ # @return [String]
5688
+ #
5689
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSourceRequest AWS API Documentation
5690
+ #
5691
+ class UpdateDataSourceRequest < Struct.new(
5692
+ :domain_name,
5693
+ :name,
5694
+ :data_source_type,
5695
+ :description)
5696
+ SENSITIVE = []
5697
+ include Aws::Structure
5698
+ end
5699
+
5700
+ # The result of an `UpdateDataSource` operation.
5701
+ #
5702
+ # @!attribute [rw] message
5703
+ # A message associated with the updated data source.
5704
+ # @return [String]
5705
+ #
5706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSourceResponse AWS API Documentation
5707
+ #
5708
+ class UpdateDataSourceResponse < Struct.new(
5709
+ :message)
5710
+ SENSITIVE = []
5711
+ include Aws::Structure
5712
+ end
5713
+
5465
5714
  # Container for the request parameters to the `UpdateDomain` operation.
5466
5715
  #
5467
5716
  # @!attribute [rw] domain_name
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-opensearchservice/customizations'
52
52
  # @!group service
53
53
  module Aws::OpenSearchService
54
54
 
55
- GEM_VERSION = '1.32.0'
55
+ GEM_VERSION = '1.34.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2023-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core