aws-sdk-opensearchservice 1.31.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 373a2dc11173ab4444455d8ef8cbdda148cf00e2aa00a41efa1055eaaa15ca7b
4
- data.tar.gz: e248b3d863f3c548e8f8b39522c631864db7a0a85357434600357ed225d405a8
3
+ metadata.gz: c61d082e1f849024ed3c1718aef9da1e33aa4b968cc426afbdf4645f6a54eaf1
4
+ data.tar.gz: 4adaec58a33dd665894acb83eae0f0cbb243600ac1495db5d10d5fc30f30f172
5
5
  SHA512:
6
- metadata.gz: 242d47a0a48b5b9eff7c270c6c64bd4845974efa401f04c9bd09c35f93c5568e468eb4811b5e34998ca1b6911200037a8394e8b96a6a71dd902a21a0714b70ea
7
- data.tar.gz: 9d3a2a08a8f16a0c07f810cd934c4d408dd1cd42572a529fc5aef374f30afd0b5c313687061663120f719e97a4b8c7043adc65aefad4d5a073ae9e831aad52f4
6
+ metadata.gz: bee0af8709ee9d136719f52ffec0aa41be6bba82fd7839601871e8325908579b3e63e2f5a7e8bafe60f7c37825ffe1806ce3be1aae58c13db3cb5d1fb4c0cc61
7
+ data.tar.gz: a426afb543942d918bcd852bce61dff0adb15dd7064172a54ef28fbd7b80f3c03e3d52302c74ec6b3bee5822962c88b534757779532a4993dc01e8050df881cb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2023-11-29)
5
+ ------------------
6
+
7
+ * 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
8
+
9
+ 1.32.0 (2023-11-28)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.31.0 (2023-11-22)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -432,6 +432,50 @@ module Aws::OpenSearchService
432
432
  req.send_request(options)
433
433
  end
434
434
 
435
+ # Adds the data source on the domain.
436
+ #
437
+ # @option params [required, String] :domain_name
438
+ # The name of the domain.
439
+ #
440
+ # @option params [required, String] :name
441
+ # The name of the data source.
442
+ #
443
+ # @option params [required, Types::DataSourceType] :data_source_type
444
+ # The type of data source.
445
+ #
446
+ # @option params [String] :description
447
+ # A description of the data source.
448
+ #
449
+ # @return [Types::AddDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
450
+ #
451
+ # * {Types::AddDataSourceResponse#message #message} => String
452
+ #
453
+ # @example Request syntax with placeholder values
454
+ #
455
+ # resp = client.add_data_source({
456
+ # domain_name: "DomainName", # required
457
+ # name: "DataSourceName", # required
458
+ # data_source_type: { # required
459
+ # s3_glue_data_catalog: {
460
+ # role_arn: "RoleArn",
461
+ # },
462
+ # },
463
+ # description: "DataSourceDescription",
464
+ # })
465
+ #
466
+ # @example Response structure
467
+ #
468
+ # resp.message #=> String
469
+ #
470
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDataSource AWS API Documentation
471
+ #
472
+ # @overload add_data_source(params = {})
473
+ # @param [Hash] params ({})
474
+ def add_data_source(params = {}, options = {})
475
+ req = build_request(:add_data_source, params)
476
+ req.send_request(options)
477
+ end
478
+
435
479
  # Attaches tags to an existing Amazon OpenSearch Service domain. Tags
436
480
  # are a set of case-sensitive key-value pairs. A domain can have up to
437
481
  # 10 tags. For more information, see [Tagging Amazon OpenSearch Service
@@ -1147,6 +1191,38 @@ module Aws::OpenSearchService
1147
1191
  req.send_request(options)
1148
1192
  end
1149
1193
 
1194
+ # Deletes the data source.
1195
+ #
1196
+ # @option params [required, String] :domain_name
1197
+ # The name of the domain.
1198
+ #
1199
+ # @option params [required, String] :name
1200
+ # The name of the data source.
1201
+ #
1202
+ # @return [Types::DeleteDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1203
+ #
1204
+ # * {Types::DeleteDataSourceResponse#message #message} => String
1205
+ #
1206
+ # @example Request syntax with placeholder values
1207
+ #
1208
+ # resp = client.delete_data_source({
1209
+ # domain_name: "DomainName", # required
1210
+ # name: "DataSourceName", # required
1211
+ # })
1212
+ #
1213
+ # @example Response structure
1214
+ #
1215
+ # resp.message #=> String
1216
+ #
1217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDataSource AWS API Documentation
1218
+ #
1219
+ # @overload delete_data_source(params = {})
1220
+ # @param [Hash] params ({})
1221
+ def delete_data_source(params = {}, options = {})
1222
+ req = build_request(:delete_data_source, params)
1223
+ req.send_request(options)
1224
+ end
1225
+
1150
1226
  # Deletes an Amazon OpenSearch Service domain and all of its data. You
1151
1227
  # can't recover a domain after you delete it.
1152
1228
  #
@@ -2698,6 +2774,42 @@ module Aws::OpenSearchService
2698
2774
  req.send_request(options)
2699
2775
  end
2700
2776
 
2777
+ # Describes the data source details.
2778
+ #
2779
+ # @option params [required, String] :domain_name
2780
+ # The name of the domain.
2781
+ #
2782
+ # @option params [required, String] :name
2783
+ # The name of the data source.
2784
+ #
2785
+ # @return [Types::GetDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2786
+ #
2787
+ # * {Types::GetDataSourceResponse#data_source_type #data_source_type} => Types::DataSourceType
2788
+ # * {Types::GetDataSourceResponse#name #name} => String
2789
+ # * {Types::GetDataSourceResponse#description #description} => String
2790
+ #
2791
+ # @example Request syntax with placeholder values
2792
+ #
2793
+ # resp = client.get_data_source({
2794
+ # domain_name: "DomainName", # required
2795
+ # name: "DataSourceName", # required
2796
+ # })
2797
+ #
2798
+ # @example Response structure
2799
+ #
2800
+ # resp.data_source_type.s3_glue_data_catalog.role_arn #=> String
2801
+ # resp.name #=> String
2802
+ # resp.description #=> String
2803
+ #
2804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSource AWS API Documentation
2805
+ #
2806
+ # @overload get_data_source(params = {})
2807
+ # @param [Hash] params ({})
2808
+ def get_data_source(params = {}, options = {})
2809
+ req = build_request(:get_data_source, params)
2810
+ req.send_request(options)
2811
+ end
2812
+
2701
2813
  # The status of the maintenance action.
2702
2814
  #
2703
2815
  # @option params [required, String] :domain_name
@@ -2888,6 +3000,37 @@ module Aws::OpenSearchService
2888
3000
  req.send_request(options)
2889
3001
  end
2890
3002
 
3003
+ # A list of the data source details of the domain.
3004
+ #
3005
+ # @option params [required, String] :domain_name
3006
+ # The name of the domain.
3007
+ #
3008
+ # @return [Types::ListDataSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3009
+ #
3010
+ # * {Types::ListDataSourcesResponse#data_sources #data_sources} => Array<Types::DataSourceDetails>
3011
+ #
3012
+ # @example Request syntax with placeholder values
3013
+ #
3014
+ # resp = client.list_data_sources({
3015
+ # domain_name: "DomainName", # required
3016
+ # })
3017
+ #
3018
+ # @example Response structure
3019
+ #
3020
+ # resp.data_sources #=> Array
3021
+ # resp.data_sources[0].data_source_type.s3_glue_data_catalog.role_arn #=> String
3022
+ # resp.data_sources[0].name #=> String
3023
+ # resp.data_sources[0].description #=> String
3024
+ #
3025
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSources AWS API Documentation
3026
+ #
3027
+ # @overload list_data_sources(params = {})
3028
+ # @param [Hash] params ({})
3029
+ def list_data_sources(params = {}, options = {})
3030
+ req = build_request(:list_data_sources, params)
3031
+ req.send_request(options)
3032
+ end
3033
+
2891
3034
  # A list of maintenance actions for the domain.
2892
3035
  #
2893
3036
  # @option params [required, String] :domain_name
@@ -3669,6 +3812,50 @@ module Aws::OpenSearchService
3669
3812
  req.send_request(options)
3670
3813
  end
3671
3814
 
3815
+ # Updates the data source on the domain.
3816
+ #
3817
+ # @option params [required, String] :domain_name
3818
+ # The name of the domain.
3819
+ #
3820
+ # @option params [required, String] :name
3821
+ # The name of the data source.
3822
+ #
3823
+ # @option params [required, Types::DataSourceType] :data_source_type
3824
+ # The type of data source.
3825
+ #
3826
+ # @option params [String] :description
3827
+ # A description of the data source.
3828
+ #
3829
+ # @return [Types::UpdateDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3830
+ #
3831
+ # * {Types::UpdateDataSourceResponse#message #message} => String
3832
+ #
3833
+ # @example Request syntax with placeholder values
3834
+ #
3835
+ # resp = client.update_data_source({
3836
+ # domain_name: "DomainName", # required
3837
+ # name: "DataSourceName", # required
3838
+ # data_source_type: { # required
3839
+ # s3_glue_data_catalog: {
3840
+ # role_arn: "RoleArn",
3841
+ # },
3842
+ # },
3843
+ # description: "DataSourceDescription",
3844
+ # })
3845
+ #
3846
+ # @example Response structure
3847
+ #
3848
+ # resp.message #=> String
3849
+ #
3850
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSource AWS API Documentation
3851
+ #
3852
+ # @overload update_data_source(params = {})
3853
+ # @param [Hash] params ({})
3854
+ def update_data_source(params = {}, options = {})
3855
+ req = build_request(:update_data_source, params)
3856
+ req.send_request(options)
3857
+ end
3858
+
3672
3859
  # Modifies the cluster configuration of the specified Amazon OpenSearch
3673
3860
  # Service domain.
3674
3861
  #
@@ -4350,7 +4537,7 @@ module Aws::OpenSearchService
4350
4537
  params: params,
4351
4538
  config: config)
4352
4539
  context[:gem_name] = 'aws-sdk-opensearchservice'
4353
- context[:gem_version] = '1.31.0'
4540
+ context[:gem_version] = '1.33.0'
4354
4541
  Seahorse::Client::Request.new(handlers, context)
4355
4542
  end
4356
4543
 
@@ -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
@@ -25,16 +25,17 @@ module Aws::OpenSearchService
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -58,6 +59,8 @@ module Aws::OpenSearchService
58
59
  case context.operation_name
59
60
  when :accept_inbound_connection
60
61
  Aws::OpenSearchService::Endpoints::AcceptInboundConnection.build(context)
62
+ when :add_data_source
63
+ Aws::OpenSearchService::Endpoints::AddDataSource.build(context)
61
64
  when :add_tags
62
65
  Aws::OpenSearchService::Endpoints::AddTags.build(context)
63
66
  when :associate_package
@@ -74,6 +77,8 @@ module Aws::OpenSearchService
74
77
  Aws::OpenSearchService::Endpoints::CreatePackage.build(context)
75
78
  when :create_vpc_endpoint
76
79
  Aws::OpenSearchService::Endpoints::CreateVpcEndpoint.build(context)
80
+ when :delete_data_source
81
+ Aws::OpenSearchService::Endpoints::DeleteDataSource.build(context)
77
82
  when :delete_domain
78
83
  Aws::OpenSearchService::Endpoints::DeleteDomain.build(context)
79
84
  when :delete_inbound_connection
@@ -118,6 +123,8 @@ module Aws::OpenSearchService
118
123
  Aws::OpenSearchService::Endpoints::DissociatePackage.build(context)
119
124
  when :get_compatible_versions
120
125
  Aws::OpenSearchService::Endpoints::GetCompatibleVersions.build(context)
126
+ when :get_data_source
127
+ Aws::OpenSearchService::Endpoints::GetDataSource.build(context)
121
128
  when :get_domain_maintenance_status
122
129
  Aws::OpenSearchService::Endpoints::GetDomainMaintenanceStatus.build(context)
123
130
  when :get_package_version_history
@@ -126,6 +133,8 @@ module Aws::OpenSearchService
126
133
  Aws::OpenSearchService::Endpoints::GetUpgradeHistory.build(context)
127
134
  when :get_upgrade_status
128
135
  Aws::OpenSearchService::Endpoints::GetUpgradeStatus.build(context)
136
+ when :list_data_sources
137
+ Aws::OpenSearchService::Endpoints::ListDataSources.build(context)
129
138
  when :list_domain_maintenances
130
139
  Aws::OpenSearchService::Endpoints::ListDomainMaintenances.build(context)
131
140
  when :list_domain_names
@@ -160,6 +169,8 @@ module Aws::OpenSearchService
160
169
  Aws::OpenSearchService::Endpoints::StartDomainMaintenance.build(context)
161
170
  when :start_service_software_update
162
171
  Aws::OpenSearchService::Endpoints::StartServiceSoftwareUpdate.build(context)
172
+ when :update_data_source
173
+ Aws::OpenSearchService::Endpoints::UpdateDataSource.build(context)
163
174
  when :update_domain_config
164
175
  Aws::OpenSearchService::Endpoints::UpdateDomainConfig.build(context)
165
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.
103
+ # @return [String]
104
+ #
105
+ # @!attribute [rw] name
106
+ # The name of 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 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 the data sources.
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
+ # Information about the 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
+ # The data source for the AWS S3 Glue Data Catalog.
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.
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 the initiated request.
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,15 +2612,20 @@ 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.
2493
- #
2494
- # Can be one of the following values:
2615
+ # the domain. The policy can be one of the following values:
2495
2616
  #
2496
2617
  # * **Policy-Min-TLS-1-0-2019-07:** TLS security policy which supports
2497
- # TLS version 1.0 and higher.
2618
+ # TLS version 1.0 to TLS version 1.2
2498
2619
  #
2499
2620
  # * **Policy-Min-TLS-1-2-2019-07:** TLS security policy which supports
2500
2621
  # only TLS version 1.2
2622
+ #
2623
+ # * **Policy-Min-TLS-1-0-2023-10:** TLS security policy which supports
2624
+ # TLS version 1.0 to TLS version 1.3
2625
+ #
2626
+ # * **Policy-Min-TLS-1-2-2023-10:** TLS security policy which supports
2627
+ # TLS version 1.2 to TLS version 1.3 with perfect forward secrecy
2628
+ # cipher suites
2501
2629
  # @return [String]
2502
2630
  #
2503
2631
  # @!attribute [rw] custom_endpoint_enabled
@@ -3199,6 +3327,49 @@ module Aws::OpenSearchService
3199
3327
  include Aws::Structure
3200
3328
  end
3201
3329
 
3330
+ # Container for the parameters to the `GetDataSource` operation.
3331
+ #
3332
+ # @!attribute [rw] domain_name
3333
+ # The name of the domain.
3334
+ # @return [String]
3335
+ #
3336
+ # @!attribute [rw] name
3337
+ # The name of the data source.
3338
+ # @return [String]
3339
+ #
3340
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSourceRequest AWS API Documentation
3341
+ #
3342
+ class GetDataSourceRequest < Struct.new(
3343
+ :domain_name,
3344
+ :name)
3345
+ SENSITIVE = []
3346
+ include Aws::Structure
3347
+ end
3348
+
3349
+ # The result of a `GetDataSource` operation.
3350
+ #
3351
+ # @!attribute [rw] data_source_type
3352
+ # The type of data source.
3353
+ # @return [Types::DataSourceType]
3354
+ #
3355
+ # @!attribute [rw] name
3356
+ # The name of the data source.
3357
+ # @return [String]
3358
+ #
3359
+ # @!attribute [rw] description
3360
+ # A description of the data source.
3361
+ # @return [String]
3362
+ #
3363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDataSourceResponse AWS API Documentation
3364
+ #
3365
+ class GetDataSourceResponse < Struct.new(
3366
+ :data_source_type,
3367
+ :name,
3368
+ :description)
3369
+ SENSITIVE = []
3370
+ include Aws::Structure
3371
+ end
3372
+
3202
3373
  # Container for the parameters to the `GetDomainMaintenanceStatus`
3203
3374
  # operation.
3204
3375
  #
@@ -3652,6 +3823,34 @@ module Aws::OpenSearchService
3652
3823
  include Aws::Structure
3653
3824
  end
3654
3825
 
3826
+ # Container for the parameters to the `ListDataSources` operation.
3827
+ #
3828
+ # @!attribute [rw] domain_name
3829
+ # The name of the domain.
3830
+ # @return [String]
3831
+ #
3832
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSourcesRequest AWS API Documentation
3833
+ #
3834
+ class ListDataSourcesRequest < Struct.new(
3835
+ :domain_name)
3836
+ SENSITIVE = []
3837
+ include Aws::Structure
3838
+ end
3839
+
3840
+ # The result of a `ListDataSources` operation.
3841
+ #
3842
+ # @!attribute [rw] data_sources
3843
+ # A list of the data sources.
3844
+ # @return [Array<Types::DataSourceDetails>]
3845
+ #
3846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDataSourcesResponse AWS API Documentation
3847
+ #
3848
+ class ListDataSourcesResponse < Struct.new(
3849
+ :data_sources)
3850
+ SENSITIVE = []
3851
+ include Aws::Structure
3852
+ end
3853
+
3655
3854
  # Container for the parameters to the `ListDomainMaintenances`
3656
3855
  # operation.
3657
3856
  #
@@ -4923,6 +5122,20 @@ module Aws::OpenSearchService
4923
5122
  #
4924
5123
  class RevokeVpcEndpointAccessResponse < Aws::EmptyStructure; end
4925
5124
 
5125
+ # Information about the AWS S3 Glue Data Catalog.
5126
+ #
5127
+ # @!attribute [rw] role_arn
5128
+ # The role ARN for the AWS S3 Glue Data Catalog.
5129
+ # @return [String]
5130
+ #
5131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/S3GlueDataCatalog AWS API Documentation
5132
+ #
5133
+ class S3GlueDataCatalog < Struct.new(
5134
+ :role_arn)
5135
+ SENSITIVE = []
5136
+ include Aws::Structure
5137
+ end
5138
+
4926
5139
  # The SAML identity povider information.
4927
5140
  #
4928
5141
  # @!attribute [rw] metadata_content
@@ -5462,6 +5675,49 @@ module Aws::OpenSearchService
5462
5675
  include Aws::Structure
5463
5676
  end
5464
5677
 
5678
+ # Container for the parameters to the `UpdateDataSource` operation.
5679
+ #
5680
+ # @!attribute [rw] domain_name
5681
+ # The name of the domain.
5682
+ # @return [String]
5683
+ #
5684
+ # @!attribute [rw] name
5685
+ # The name of the data source.
5686
+ # @return [String]
5687
+ #
5688
+ # @!attribute [rw] data_source_type
5689
+ # The type of data source.
5690
+ # @return [Types::DataSourceType]
5691
+ #
5692
+ # @!attribute [rw] description
5693
+ # A description of the data source.
5694
+ # @return [String]
5695
+ #
5696
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSourceRequest AWS API Documentation
5697
+ #
5698
+ class UpdateDataSourceRequest < Struct.new(
5699
+ :domain_name,
5700
+ :name,
5701
+ :data_source_type,
5702
+ :description)
5703
+ SENSITIVE = []
5704
+ include Aws::Structure
5705
+ end
5706
+
5707
+ # The result of an `UpdateDataSource` operation.
5708
+ #
5709
+ # @!attribute [rw] message
5710
+ # A message associated with the data source.
5711
+ # @return [String]
5712
+ #
5713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDataSourceResponse AWS API Documentation
5714
+ #
5715
+ class UpdateDataSourceResponse < Struct.new(
5716
+ :message)
5717
+ SENSITIVE = []
5718
+ include Aws::Structure
5719
+ end
5720
+
5465
5721
  # Container for the request parameters to the `UpdateDomain` operation.
5466
5722
  #
5467
5723
  # @!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.31.0'
55
+ GEM_VERSION = '1.33.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.31.0
4
+ version: 1.33.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-22 00:00:00.000000000 Z
11
+ date: 2023-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core