aws-sdk-opensearchservice 1.61.0 → 1.62.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: c1871e8cd2134cc30b4f0b237a7c32776be9025f6830456fa03df7fb92f17c57
4
- data.tar.gz: 211bcd7575c3115d6b48015bffaa9e6b43ad9781e1116908ddcf6342edfae063
3
+ metadata.gz: a9dd8c72d987bc92ca8c33ebf0ee059da456716b1cb386927918bcce787a4f38
4
+ data.tar.gz: 3433986724b981ef4544ddbaf4f2e964f0ee4c44c231451249d71d9e876dfeaf
5
5
  SHA512:
6
- metadata.gz: b549daa07404abe782e60e673ffe87da0f2beb881ba76719be743c55197f23b1d98c015f478a698e3eb13e49c4b7a279883362f068e0e0a1f73a4b170a8f7372
7
- data.tar.gz: 54187ceccbb70d1f10bf343fa945ac8bfab5eaa563407e7d1bdcbad6d598a07c56a5a8c1e60836265ea1d3f40ffad3eea710bb7924c0ca6b96f5b3107209c128
6
+ metadata.gz: 4119bd9eb2a6e5751eebe564a3894abd92bd189d2bf9b08cbaa93bae4f718995517f4af39bee702e0afdc0aca81a19e5511ca050eb85673a3a3e9121717cdbb0
7
+ data.tar.gz: 3dce0fed489e1ff52627f025d463f0e83ec33b29374fd3c7d7beafd7f90d208619009893df180da568b0c2b7d42ac4f74870fb687e86a85422760653d1af84ff
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.62.0 (2024-12-02)
5
+ ------------------
6
+
7
+ * Feature - This feature introduces support for CRUDL APIs, enabling the creation and management of Connected data sources.
8
+
4
9
  1.61.0 (2024-11-11)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.61.0
1
+ 1.62.0
@@ -541,18 +541,81 @@ module Aws::OpenSearchService
541
541
  req.send_request(options)
542
542
  end
543
543
 
544
- # Attaches tags to an existing Amazon OpenSearch Service domain. Tags
545
- # are a set of case-sensitive key-value pairs. A domain can have up to
546
- # 10 tags. For more information, see [Tagging Amazon OpenSearch Service
547
- # domains][1].
544
+ # Adds a new data source in Amazon OpenSearch Service so that you can
545
+ # perform direct queries on external data.
546
+ #
547
+ # @option params [required, String] :data_source_name
548
+ # A unique, user-defined label to identify the data source within your
549
+ # OpenSearch Service environment.
550
+ #
551
+ # @option params [required, Types::DirectQueryDataSourceType] :data_source_type
552
+ # The supported Amazon Web Services service that you want to use as the
553
+ # source for direct queries in OpenSearch Service.
554
+ #
555
+ # @option params [String] :description
556
+ # An optional text field for providing additional context and details
557
+ # about the data source.
558
+ #
559
+ # @option params [required, Array<String>] :open_search_arns
560
+ # A list of Amazon Resource Names (ARNs) for the OpenSearch collections
561
+ # that are associated with the direct query data source.
562
+ #
563
+ # @option params [Array<Types::Tag>] :tag_list
564
+ # A list of tags attached to a domain.
565
+ #
566
+ # @return [Types::AddDirectQueryDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
567
+ #
568
+ # * {Types::AddDirectQueryDataSourceResponse#data_source_arn #data_source_arn} => String
569
+ #
570
+ # @example Request syntax with placeholder values
571
+ #
572
+ # resp = client.add_direct_query_data_source({
573
+ # data_source_name: "DirectQueryDataSourceName", # required
574
+ # data_source_type: { # required
575
+ # cloud_watch_log: {
576
+ # role_arn: "DirectQueryDataSourceRoleArn", # required
577
+ # },
578
+ # security_lake: {
579
+ # role_arn: "DirectQueryDataSourceRoleArn", # required
580
+ # },
581
+ # },
582
+ # description: "DirectQueryDataSourceDescription",
583
+ # open_search_arns: ["ARN"], # required
584
+ # tag_list: [
585
+ # {
586
+ # key: "TagKey", # required
587
+ # value: "TagValue", # required
588
+ # },
589
+ # ],
590
+ # })
591
+ #
592
+ # @example Response structure
593
+ #
594
+ # resp.data_source_arn #=> String
595
+ #
596
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDirectQueryDataSource AWS API Documentation
597
+ #
598
+ # @overload add_direct_query_data_source(params = {})
599
+ # @param [Hash] params ({})
600
+ def add_direct_query_data_source(params = {}, options = {})
601
+ req = build_request(:add_direct_query_data_source, params)
602
+ req.send_request(options)
603
+ end
604
+
605
+ # Attaches tags to an existing Amazon OpenSearch Service domain, data
606
+ # source, or application.
607
+ #
608
+ # Tags are a set of case-sensitive key-value pairs. A domain, data
609
+ # source, or application can have up to 10 tags. For more information,
610
+ # see [Tagging Amazon OpenSearch Service resources][1].
548
611
  #
549
612
  #
550
613
  #
551
614
  # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html
552
615
  #
553
616
  # @option params [required, String] :arn
554
- # Amazon Resource Name (ARN) for the OpenSearch Service domain to which
555
- # you want to attach resource tags.
617
+ # Amazon Resource Name (ARN) for the OpenSearch Service domain, data
618
+ # source, or application to which you want to attach resource tags.
556
619
  #
557
620
  # @option params [required, Array<Types::Tag>] :tag_list
558
621
  # List of resource tags.
@@ -1644,6 +1707,30 @@ module Aws::OpenSearchService
1644
1707
  req.send_request(options)
1645
1708
  end
1646
1709
 
1710
+ # Deletes a previously configured direct query data source from Amazon
1711
+ # OpenSearch Service.
1712
+ #
1713
+ # @option params [required, String] :data_source_name
1714
+ # A unique, user-defined label to identify the data source within your
1715
+ # OpenSearch Service environment.
1716
+ #
1717
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1718
+ #
1719
+ # @example Request syntax with placeholder values
1720
+ #
1721
+ # resp = client.delete_direct_query_data_source({
1722
+ # data_source_name: "DirectQueryDataSourceName", # required
1723
+ # })
1724
+ #
1725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDirectQueryDataSource AWS API Documentation
1726
+ #
1727
+ # @overload delete_direct_query_data_source(params = {})
1728
+ # @param [Hash] params ({})
1729
+ def delete_direct_query_data_source(params = {}, options = {})
1730
+ req = build_request(:delete_direct_query_data_source, params)
1731
+ req.send_request(options)
1732
+ end
1733
+
1647
1734
  # Deletes an Amazon OpenSearch Service domain and all of its data. You
1648
1735
  # can't recover a domain after you delete it.
1649
1736
  #
@@ -3510,6 +3597,46 @@ module Aws::OpenSearchService
3510
3597
  req.send_request(options)
3511
3598
  end
3512
3599
 
3600
+ # Returns detailed configuration information for a specific direct query
3601
+ # data source in Amazon OpenSearch Service.
3602
+ #
3603
+ # @option params [required, String] :data_source_name
3604
+ # A unique, user-defined label that identifies the data source within
3605
+ # your OpenSearch Service environment.
3606
+ #
3607
+ # @return [Types::GetDirectQueryDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3608
+ #
3609
+ # * {Types::GetDirectQueryDataSourceResponse#data_source_name #data_source_name} => String
3610
+ # * {Types::GetDirectQueryDataSourceResponse#data_source_type #data_source_type} => Types::DirectQueryDataSourceType
3611
+ # * {Types::GetDirectQueryDataSourceResponse#description #description} => String
3612
+ # * {Types::GetDirectQueryDataSourceResponse#open_search_arns #open_search_arns} => Array&lt;String&gt;
3613
+ # * {Types::GetDirectQueryDataSourceResponse#data_source_arn #data_source_arn} => String
3614
+ #
3615
+ # @example Request syntax with placeholder values
3616
+ #
3617
+ # resp = client.get_direct_query_data_source({
3618
+ # data_source_name: "DirectQueryDataSourceName", # required
3619
+ # })
3620
+ #
3621
+ # @example Response structure
3622
+ #
3623
+ # resp.data_source_name #=> String
3624
+ # resp.data_source_type.cloud_watch_log.role_arn #=> String
3625
+ # resp.data_source_type.security_lake.role_arn #=> String
3626
+ # resp.description #=> String
3627
+ # resp.open_search_arns #=> Array
3628
+ # resp.open_search_arns[0] #=> String
3629
+ # resp.data_source_arn #=> String
3630
+ #
3631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDirectQueryDataSource AWS API Documentation
3632
+ #
3633
+ # @overload get_direct_query_data_source(params = {})
3634
+ # @param [Hash] params ({})
3635
+ def get_direct_query_data_source(params = {}, options = {})
3636
+ req = build_request(:get_direct_query_data_source, params)
3637
+ req.send_request(options)
3638
+ end
3639
+
3513
3640
  # The status of the maintenance action.
3514
3641
  #
3515
3642
  # @option params [required, String] :domain_name
@@ -3794,6 +3921,49 @@ module Aws::OpenSearchService
3794
3921
  req.send_request(options)
3795
3922
  end
3796
3923
 
3924
+ # Lists an inventory of all the direct query data sources that you have
3925
+ # configured within Amazon OpenSearch Service.
3926
+ #
3927
+ # @option params [String] :next_token
3928
+ # When `nextToken` is returned, there are more results available. The
3929
+ # value of `nextToken` is a unique pagination token for each page. Send
3930
+ # the request again using the returned token to retrieve the next page.
3931
+ #
3932
+ # @return [Types::ListDirectQueryDataSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3933
+ #
3934
+ # * {Types::ListDirectQueryDataSourcesResponse#next_token #next_token} => String
3935
+ # * {Types::ListDirectQueryDataSourcesResponse#direct_query_data_sources #direct_query_data_sources} => Array&lt;Types::DirectQueryDataSource&gt;
3936
+ #
3937
+ # @example Request syntax with placeholder values
3938
+ #
3939
+ # resp = client.list_direct_query_data_sources({
3940
+ # next_token: "NextToken",
3941
+ # })
3942
+ #
3943
+ # @example Response structure
3944
+ #
3945
+ # resp.next_token #=> String
3946
+ # resp.direct_query_data_sources #=> Array
3947
+ # resp.direct_query_data_sources[0].data_source_name #=> String
3948
+ # resp.direct_query_data_sources[0].data_source_type.cloud_watch_log.role_arn #=> String
3949
+ # resp.direct_query_data_sources[0].data_source_type.security_lake.role_arn #=> String
3950
+ # resp.direct_query_data_sources[0].description #=> String
3951
+ # resp.direct_query_data_sources[0].open_search_arns #=> Array
3952
+ # resp.direct_query_data_sources[0].open_search_arns[0] #=> String
3953
+ # resp.direct_query_data_sources[0].data_source_arn #=> String
3954
+ # resp.direct_query_data_sources[0].tag_list #=> Array
3955
+ # resp.direct_query_data_sources[0].tag_list[0].key #=> String
3956
+ # resp.direct_query_data_sources[0].tag_list[0].value #=> String
3957
+ #
3958
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDirectQueryDataSources AWS API Documentation
3959
+ #
3960
+ # @overload list_direct_query_data_sources(params = {})
3961
+ # @param [Hash] params ({})
3962
+ def list_direct_query_data_sources(params = {}, options = {})
3963
+ req = build_request(:list_direct_query_data_sources, params)
3964
+ req.send_request(options)
3965
+ end
3966
+
3797
3967
  # A list of maintenance actions for the domain.
3798
3968
  #
3799
3969
  # @option params [required, String] :domain_name
@@ -4145,15 +4315,17 @@ module Aws::OpenSearchService
4145
4315
  req.send_request(options)
4146
4316
  end
4147
4317
 
4148
- # Returns all resource tags for an Amazon OpenSearch Service domain. For
4149
- # more information, see [Tagging Amazon OpenSearch Service domains][1].
4318
+ # Returns all resource tags for an Amazon OpenSearch Service domain,
4319
+ # data source, or application. For more information, see [Tagging Amazon
4320
+ # OpenSearch Service resources][1].
4150
4321
  #
4151
4322
  #
4152
4323
  #
4153
4324
  # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-awsresourcetagging.html
4154
4325
  #
4155
4326
  # @option params [required, String] :arn
4156
- # Amazon Resource Name (ARN) for the domain to view tags for.
4327
+ # Amazon Resource Name (ARN) for the domain, data source, or application
4328
+ # to view tags for.
4157
4329
  #
4158
4330
  # @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4159
4331
  #
@@ -4419,19 +4591,20 @@ module Aws::OpenSearchService
4419
4591
  end
4420
4592
 
4421
4593
  # Removes the specified set of tags from an Amazon OpenSearch Service
4422
- # domain. For more information, see [ Tagging Amazon OpenSearch Service
4423
- # domains][1].
4594
+ # domain, data source, or application. For more information, see [
4595
+ # Tagging Amazon OpenSearch Service resources][1].
4424
4596
  #
4425
4597
  #
4426
4598
  #
4427
4599
  # [1]: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains.html#managedomains-awsresorcetagging
4428
4600
  #
4429
4601
  # @option params [required, String] :arn
4430
- # The Amazon Resource Name (ARN) of the domain from which you want to
4431
- # delete the specified tags.
4602
+ # The Amazon Resource Name (ARN) of the domain, data source, or
4603
+ # application from which you want to delete the specified tags.
4432
4604
  #
4433
4605
  # @option params [required, Array<String>] :tag_keys
4434
- # The list of tag keys to remove from the domain.
4606
+ # The list of tag keys to remove from the domain, data source, or
4607
+ # application.
4435
4608
  #
4436
4609
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
4437
4610
  #
@@ -4708,6 +4881,58 @@ module Aws::OpenSearchService
4708
4881
  req.send_request(options)
4709
4882
  end
4710
4883
 
4884
+ # Updates the configuration or properties of an existing direct query
4885
+ # data source in Amazon OpenSearch Service.
4886
+ #
4887
+ # @option params [required, String] :data_source_name
4888
+ # A unique, user-defined label to identify the data source within your
4889
+ # OpenSearch Service environment.
4890
+ #
4891
+ # @option params [required, Types::DirectQueryDataSourceType] :data_source_type
4892
+ # The supported Amazon Web Services service that you want to use as the
4893
+ # source for direct queries in OpenSearch Service.
4894
+ #
4895
+ # @option params [String] :description
4896
+ # An optional text field for providing additional context and details
4897
+ # about the data source.
4898
+ #
4899
+ # @option params [required, Array<String>] :open_search_arns
4900
+ # A list of Amazon Resource Names (ARNs) for the OpenSearch collections
4901
+ # that are associated with the direct query data source.
4902
+ #
4903
+ # @return [Types::UpdateDirectQueryDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4904
+ #
4905
+ # * {Types::UpdateDirectQueryDataSourceResponse#data_source_arn #data_source_arn} => String
4906
+ #
4907
+ # @example Request syntax with placeholder values
4908
+ #
4909
+ # resp = client.update_direct_query_data_source({
4910
+ # data_source_name: "DirectQueryDataSourceName", # required
4911
+ # data_source_type: { # required
4912
+ # cloud_watch_log: {
4913
+ # role_arn: "DirectQueryDataSourceRoleArn", # required
4914
+ # },
4915
+ # security_lake: {
4916
+ # role_arn: "DirectQueryDataSourceRoleArn", # required
4917
+ # },
4918
+ # },
4919
+ # description: "DirectQueryDataSourceDescription",
4920
+ # open_search_arns: ["ARN"], # required
4921
+ # })
4922
+ #
4923
+ # @example Response structure
4924
+ #
4925
+ # resp.data_source_arn #=> String
4926
+ #
4927
+ # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDirectQueryDataSource AWS API Documentation
4928
+ #
4929
+ # @overload update_direct_query_data_source(params = {})
4930
+ # @param [Hash] params ({})
4931
+ def update_direct_query_data_source(params = {}, options = {})
4932
+ req = build_request(:update_direct_query_data_source, params)
4933
+ req.send_request(options)
4934
+ end
4935
+
4711
4936
  # Modifies the cluster configuration of the specified Amazon OpenSearch
4712
4937
  # Service domain.
4713
4938
  #
@@ -5539,7 +5764,7 @@ module Aws::OpenSearchService
5539
5764
  tracer: tracer
5540
5765
  )
5541
5766
  context[:gem_name] = 'aws-sdk-opensearchservice'
5542
- context[:gem_version] = '1.61.0'
5767
+ context[:gem_version] = '1.62.0'
5543
5768
  Seahorse::Client::Request.new(handlers, context)
5544
5769
  end
5545
5770
 
@@ -30,6 +30,8 @@ module Aws::OpenSearchService
30
30
  ActionType = Shapes::StringShape.new(name: 'ActionType')
31
31
  AddDataSourceRequest = Shapes::StructureShape.new(name: 'AddDataSourceRequest')
32
32
  AddDataSourceResponse = Shapes::StructureShape.new(name: 'AddDataSourceResponse')
33
+ AddDirectQueryDataSourceRequest = Shapes::StructureShape.new(name: 'AddDirectQueryDataSourceRequest')
34
+ AddDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'AddDirectQueryDataSourceResponse')
33
35
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
34
36
  AdditionalLimit = Shapes::StructureShape.new(name: 'AdditionalLimit')
35
37
  AdditionalLimitList = Shapes::ListShape.new(name: 'AdditionalLimitList')
@@ -89,6 +91,7 @@ module Aws::OpenSearchService
89
91
  ChangeProgressStageStatus = Shapes::StringShape.new(name: 'ChangeProgressStageStatus')
90
92
  ChangeProgressStatusDetails = Shapes::StructureShape.new(name: 'ChangeProgressStatusDetails')
91
93
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
94
+ CloudWatchDirectQueryDataSource = Shapes::StructureShape.new(name: 'CloudWatchDirectQueryDataSource')
92
95
  CloudWatchLogsLogGroupArn = Shapes::StringShape.new(name: 'CloudWatchLogsLogGroupArn')
93
96
  ClusterConfig = Shapes::StructureShape.new(name: 'ClusterConfig')
94
97
  ClusterConfigStatus = Shapes::StructureShape.new(name: 'ClusterConfigStatus')
@@ -129,6 +132,7 @@ module Aws::OpenSearchService
129
132
  DeleteApplicationResponse = Shapes::StructureShape.new(name: 'DeleteApplicationResponse')
130
133
  DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
131
134
  DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
135
+ DeleteDirectQueryDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDirectQueryDataSourceRequest')
132
136
  DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
133
137
  DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
134
138
  DeleteInboundConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundConnectionRequest')
@@ -179,6 +183,13 @@ module Aws::OpenSearchService
179
183
  DescribeVpcEndpointsRequest = Shapes::StructureShape.new(name: 'DescribeVpcEndpointsRequest')
180
184
  DescribeVpcEndpointsResponse = Shapes::StructureShape.new(name: 'DescribeVpcEndpointsResponse')
181
185
  Description = Shapes::StringShape.new(name: 'Description')
186
+ DirectQueryDataSource = Shapes::StructureShape.new(name: 'DirectQueryDataSource')
187
+ DirectQueryDataSourceDescription = Shapes::StringShape.new(name: 'DirectQueryDataSourceDescription')
188
+ DirectQueryDataSourceList = Shapes::ListShape.new(name: 'DirectQueryDataSourceList')
189
+ DirectQueryDataSourceName = Shapes::StringShape.new(name: 'DirectQueryDataSourceName')
190
+ DirectQueryDataSourceRoleArn = Shapes::StringShape.new(name: 'DirectQueryDataSourceRoleArn')
191
+ DirectQueryDataSourceType = Shapes::UnionShape.new(name: 'DirectQueryDataSourceType')
192
+ DirectQueryOpenSearchARNList = Shapes::ListShape.new(name: 'DirectQueryOpenSearchARNList')
182
193
  DisableTimestamp = Shapes::TimestampShape.new(name: 'DisableTimestamp')
183
194
  DisabledOperationException = Shapes::StructureShape.new(name: 'DisabledOperationException')
184
195
  DissociatePackageRequest = Shapes::StructureShape.new(name: 'DissociatePackageRequest')
@@ -238,6 +249,8 @@ module Aws::OpenSearchService
238
249
  GetCompatibleVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleVersionsResponse')
239
250
  GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
240
251
  GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
252
+ GetDirectQueryDataSourceRequest = Shapes::StructureShape.new(name: 'GetDirectQueryDataSourceRequest')
253
+ GetDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'GetDirectQueryDataSourceResponse')
241
254
  GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
242
255
  GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
243
256
  GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
@@ -295,6 +308,8 @@ module Aws::OpenSearchService
295
308
  ListApplicationsResponse = Shapes::StructureShape.new(name: 'ListApplicationsResponse')
296
309
  ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
297
310
  ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
311
+ ListDirectQueryDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDirectQueryDataSourcesRequest')
312
+ ListDirectQueryDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDirectQueryDataSourcesResponse')
298
313
  ListDomainMaintenancesRequest = Shapes::StructureShape.new(name: 'ListDomainMaintenancesRequest')
299
314
  ListDomainMaintenancesResponse = Shapes::StructureShape.new(name: 'ListDomainMaintenancesResponse')
300
315
  ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
@@ -436,6 +451,7 @@ module Aws::OpenSearchService
436
451
  ScheduledAutoTuneDetails = Shapes::StructureShape.new(name: 'ScheduledAutoTuneDetails')
437
452
  ScheduledAutoTuneSeverityType = Shapes::StringShape.new(name: 'ScheduledAutoTuneSeverityType')
438
453
  ScheduledBy = Shapes::StringShape.new(name: 'ScheduledBy')
454
+ SecurityLakeDirectQueryDataSource = Shapes::StructureShape.new(name: 'SecurityLakeDirectQueryDataSource')
439
455
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
440
456
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
441
457
  SkipUnavailableStatus = Shapes::StringShape.new(name: 'SkipUnavailableStatus')
@@ -477,6 +493,8 @@ module Aws::OpenSearchService
477
493
  UpdateApplicationResponse = Shapes::StructureShape.new(name: 'UpdateApplicationResponse')
478
494
  UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
479
495
  UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
496
+ UpdateDirectQueryDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDirectQueryDataSourceRequest')
497
+ UpdateDirectQueryDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDirectQueryDataSourceResponse')
480
498
  UpdateDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateDomainConfigRequest')
481
499
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
482
500
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
@@ -561,6 +579,16 @@ module Aws::OpenSearchService
561
579
  AddDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
562
580
  AddDataSourceResponse.struct_class = Types::AddDataSourceResponse
563
581
 
582
+ AddDirectQueryDataSourceRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, required: true, location_name: "DataSourceName"))
583
+ AddDirectQueryDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, required: true, location_name: "DataSourceType"))
584
+ AddDirectQueryDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
585
+ AddDirectQueryDataSourceRequest.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, required: true, location_name: "OpenSearchArns"))
586
+ AddDirectQueryDataSourceRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
587
+ AddDirectQueryDataSourceRequest.struct_class = Types::AddDirectQueryDataSourceRequest
588
+
589
+ AddDirectQueryDataSourceResponse.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceArn"))
590
+ AddDirectQueryDataSourceResponse.struct_class = Types::AddDirectQueryDataSourceResponse
591
+
564
592
  AddTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
565
593
  AddTagsRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "TagList"))
566
594
  AddTagsRequest.struct_class = Types::AddTagsRequest
@@ -756,6 +784,9 @@ module Aws::OpenSearchService
756
784
  ChangeProgressStatusDetails.add_member(:initiated_by, Shapes::ShapeRef.new(shape: InitiatedBy, location_name: "InitiatedBy"))
757
785
  ChangeProgressStatusDetails.struct_class = Types::ChangeProgressStatusDetails
758
786
 
787
+ CloudWatchDirectQueryDataSource.add_member(:role_arn, Shapes::ShapeRef.new(shape: DirectQueryDataSourceRoleArn, required: true, location_name: "RoleArn"))
788
+ CloudWatchDirectQueryDataSource.struct_class = Types::CloudWatchDirectQueryDataSource
789
+
759
790
  ClusterConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: OpenSearchPartitionInstanceType, location_name: "InstanceType"))
760
791
  ClusterConfig.add_member(:instance_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "InstanceCount"))
761
792
  ClusterConfig.add_member(:dedicated_master_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "DedicatedMasterEnabled"))
@@ -916,6 +947,9 @@ module Aws::OpenSearchService
916
947
  DeleteDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
917
948
  DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
918
949
 
950
+ DeleteDirectQueryDataSourceRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
951
+ DeleteDirectQueryDataSourceRequest.struct_class = Types::DeleteDirectQueryDataSourceRequest
952
+
919
953
  DeleteDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
920
954
  DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
921
955
 
@@ -1084,6 +1118,26 @@ module Aws::OpenSearchService
1084
1118
  DescribeVpcEndpointsResponse.add_member(:vpc_endpoint_errors, Shapes::ShapeRef.new(shape: VpcEndpointErrorList, required: true, location_name: "VpcEndpointErrors"))
1085
1119
  DescribeVpcEndpointsResponse.struct_class = Types::DescribeVpcEndpointsResponse
1086
1120
 
1121
+ DirectQueryDataSource.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, location_name: "DataSourceName"))
1122
+ DirectQueryDataSource.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, location_name: "DataSourceType"))
1123
+ DirectQueryDataSource.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
1124
+ DirectQueryDataSource.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, location_name: "OpenSearchArns"))
1125
+ DirectQueryDataSource.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceArn"))
1126
+ DirectQueryDataSource.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
1127
+ DirectQueryDataSource.struct_class = Types::DirectQueryDataSource
1128
+
1129
+ DirectQueryDataSourceList.member = Shapes::ShapeRef.new(shape: DirectQueryDataSource)
1130
+
1131
+ DirectQueryDataSourceType.add_member(:cloud_watch_log, Shapes::ShapeRef.new(shape: CloudWatchDirectQueryDataSource, location_name: "CloudWatchLog"))
1132
+ DirectQueryDataSourceType.add_member(:security_lake, Shapes::ShapeRef.new(shape: SecurityLakeDirectQueryDataSource, location_name: "SecurityLake"))
1133
+ DirectQueryDataSourceType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1134
+ DirectQueryDataSourceType.add_member_subclass(:cloud_watch_log, Types::DirectQueryDataSourceType::CloudWatchLog)
1135
+ DirectQueryDataSourceType.add_member_subclass(:security_lake, Types::DirectQueryDataSourceType::SecurityLake)
1136
+ DirectQueryDataSourceType.add_member_subclass(:unknown, Types::DirectQueryDataSourceType::Unknown)
1137
+ DirectQueryDataSourceType.struct_class = Types::DirectQueryDataSourceType
1138
+
1139
+ DirectQueryOpenSearchARNList.member = Shapes::ShapeRef.new(shape: ARN)
1140
+
1087
1141
  DisabledOperationException.struct_class = Types::DisabledOperationException
1088
1142
 
1089
1143
  DissociatePackageRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
@@ -1307,6 +1361,16 @@ module Aws::OpenSearchService
1307
1361
  GetDataSourceResponse.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "Status"))
1308
1362
  GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
1309
1363
 
1364
+ GetDirectQueryDataSourceRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
1365
+ GetDirectQueryDataSourceRequest.struct_class = Types::GetDirectQueryDataSourceRequest
1366
+
1367
+ GetDirectQueryDataSourceResponse.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, location_name: "DataSourceName"))
1368
+ GetDirectQueryDataSourceResponse.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, location_name: "DataSourceType"))
1369
+ GetDirectQueryDataSourceResponse.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
1370
+ GetDirectQueryDataSourceResponse.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, location_name: "OpenSearchArns"))
1371
+ GetDirectQueryDataSourceResponse.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceArn"))
1372
+ GetDirectQueryDataSourceResponse.struct_class = Types::GetDirectQueryDataSourceResponse
1373
+
1310
1374
  GetDomainMaintenanceStatusRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1311
1375
  GetDomainMaintenanceStatusRequest.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location: "querystring", location_name: "maintenanceId"))
1312
1376
  GetDomainMaintenanceStatusRequest.struct_class = Types::GetDomainMaintenanceStatusRequest
@@ -1464,6 +1528,13 @@ module Aws::OpenSearchService
1464
1528
  ListDataSourcesResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList, location_name: "DataSources"))
1465
1529
  ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
1466
1530
 
1531
+ ListDirectQueryDataSourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nexttoken"))
1532
+ ListDirectQueryDataSourcesRequest.struct_class = Types::ListDirectQueryDataSourcesRequest
1533
+
1534
+ ListDirectQueryDataSourcesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1535
+ ListDirectQueryDataSourcesResponse.add_member(:direct_query_data_sources, Shapes::ShapeRef.new(shape: DirectQueryDataSourceList, location_name: "DirectQueryDataSources"))
1536
+ ListDirectQueryDataSourcesResponse.struct_class = Types::ListDirectQueryDataSourcesResponse
1537
+
1467
1538
  ListDomainMaintenancesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1468
1539
  ListDomainMaintenancesRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location: "querystring", location_name: "action"))
1469
1540
  ListDomainMaintenancesRequest.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location: "querystring", location_name: "status"))
@@ -1814,6 +1885,9 @@ module Aws::OpenSearchService
1814
1885
  ScheduledAutoTuneDetails.add_member(:severity, Shapes::ShapeRef.new(shape: ScheduledAutoTuneSeverityType, location_name: "Severity"))
1815
1886
  ScheduledAutoTuneDetails.struct_class = Types::ScheduledAutoTuneDetails
1816
1887
 
1888
+ SecurityLakeDirectQueryDataSource.add_member(:role_arn, Shapes::ShapeRef.new(shape: DirectQueryDataSourceRoleArn, required: true, location_name: "RoleArn"))
1889
+ SecurityLakeDirectQueryDataSource.struct_class = Types::SecurityLakeDirectQueryDataSource
1890
+
1817
1891
  ServiceSoftwareOptions.add_member(:current_version, Shapes::ShapeRef.new(shape: String, location_name: "CurrentVersion"))
1818
1892
  ServiceSoftwareOptions.add_member(:new_version, Shapes::ShapeRef.new(shape: String, location_name: "NewVersion"))
1819
1893
  ServiceSoftwareOptions.add_member(:update_available, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpdateAvailable"))
@@ -1905,6 +1979,15 @@ module Aws::OpenSearchService
1905
1979
  UpdateDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1906
1980
  UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
1907
1981
 
1982
+ UpdateDirectQueryDataSourceRequest.add_member(:data_source_name, Shapes::ShapeRef.new(shape: DirectQueryDataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
1983
+ UpdateDirectQueryDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, required: true, location_name: "DataSourceType"))
1984
+ UpdateDirectQueryDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
1985
+ UpdateDirectQueryDataSourceRequest.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, required: true, location_name: "OpenSearchArns"))
1986
+ UpdateDirectQueryDataSourceRequest.struct_class = Types::UpdateDirectQueryDataSourceRequest
1987
+
1988
+ UpdateDirectQueryDataSourceResponse.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceArn"))
1989
+ UpdateDirectQueryDataSourceResponse.struct_class = Types::UpdateDirectQueryDataSourceResponse
1990
+
1908
1991
  UpdateDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1909
1992
  UpdateDomainConfigRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
1910
1993
  UpdateDomainConfigRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
@@ -2109,6 +2192,20 @@ module Aws::OpenSearchService
2109
2192
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2110
2193
  end)
2111
2194
 
2195
+ api.add_operation(:add_direct_query_data_source, Seahorse::Model::Operation.new.tap do |o|
2196
+ o.name = "AddDirectQueryDataSource"
2197
+ o.http_method = "POST"
2198
+ o.http_request_uri = "/2021-01-01/opensearch/directQueryDataSource"
2199
+ o.input = Shapes::ShapeRef.new(shape: AddDirectQueryDataSourceRequest)
2200
+ o.output = Shapes::ShapeRef.new(shape: AddDirectQueryDataSourceResponse)
2201
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2202
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2203
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2204
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2205
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2206
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2207
+ end)
2208
+
2112
2209
  api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
2113
2210
  o.name = "AddTags"
2114
2211
  o.http_method = "POST"
@@ -2287,6 +2384,19 @@ module Aws::OpenSearchService
2287
2384
  o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2288
2385
  end)
2289
2386
 
2387
+ api.add_operation(:delete_direct_query_data_source, Seahorse::Model::Operation.new.tap do |o|
2388
+ o.name = "DeleteDirectQueryDataSource"
2389
+ o.http_method = "DELETE"
2390
+ o.http_request_uri = "/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}"
2391
+ o.input = Shapes::ShapeRef.new(shape: DeleteDirectQueryDataSourceRequest)
2392
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2393
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2394
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2395
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2396
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2397
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2398
+ end)
2399
+
2290
2400
  api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
2291
2401
  o.name = "DeleteDomain"
2292
2402
  o.http_method = "DELETE"
@@ -2632,6 +2742,19 @@ module Aws::OpenSearchService
2632
2742
  o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2633
2743
  end)
2634
2744
 
2745
+ api.add_operation(:get_direct_query_data_source, Seahorse::Model::Operation.new.tap do |o|
2746
+ o.name = "GetDirectQueryDataSource"
2747
+ o.http_method = "GET"
2748
+ o.http_request_uri = "/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}"
2749
+ o.input = Shapes::ShapeRef.new(shape: GetDirectQueryDataSourceRequest)
2750
+ o.output = Shapes::ShapeRef.new(shape: GetDirectQueryDataSourceResponse)
2751
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2752
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2753
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2754
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2755
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2756
+ end)
2757
+
2635
2758
  api.add_operation(:get_domain_maintenance_status, Seahorse::Model::Operation.new.tap do |o|
2636
2759
  o.name = "GetDomainMaintenanceStatus"
2637
2760
  o.http_method = "GET"
@@ -2730,6 +2853,19 @@ module Aws::OpenSearchService
2730
2853
  o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2731
2854
  end)
2732
2855
 
2856
+ api.add_operation(:list_direct_query_data_sources, Seahorse::Model::Operation.new.tap do |o|
2857
+ o.name = "ListDirectQueryDataSources"
2858
+ o.http_method = "GET"
2859
+ o.http_request_uri = "/2021-01-01/opensearch/directQueryDataSource"
2860
+ o.input = Shapes::ShapeRef.new(shape: ListDirectQueryDataSourcesRequest)
2861
+ o.output = Shapes::ShapeRef.new(shape: ListDirectQueryDataSourcesResponse)
2862
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2863
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2864
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2865
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2866
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2867
+ end)
2868
+
2733
2869
  api.add_operation(:list_domain_maintenances, Seahorse::Model::Operation.new.tap do |o|
2734
2870
  o.name = "ListDomainMaintenances"
2735
2871
  o.http_method = "GET"
@@ -3001,6 +3137,19 @@ module Aws::OpenSearchService
3001
3137
  o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
3002
3138
  end)
3003
3139
 
3140
+ api.add_operation(:update_direct_query_data_source, Seahorse::Model::Operation.new.tap do |o|
3141
+ o.name = "UpdateDirectQueryDataSource"
3142
+ o.http_method = "PUT"
3143
+ o.http_request_uri = "/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}"
3144
+ o.input = Shapes::ShapeRef.new(shape: UpdateDirectQueryDataSourceRequest)
3145
+ o.output = Shapes::ShapeRef.new(shape: UpdateDirectQueryDataSourceResponse)
3146
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
3147
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
3148
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3149
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3150
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3151
+ end)
3152
+
3004
3153
  api.add_operation(:update_domain_config, Seahorse::Model::Operation.new.tap do |o|
3005
3154
  o.name = "UpdateDomainConfig"
3006
3155
  o.http_method = "POST"