aws-sdk-opensearchservice 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-opensearchservice/client.rb +240 -15
- data/lib/aws-sdk-opensearchservice/client_api.rb +149 -0
- data/lib/aws-sdk-opensearchservice/types.rb +312 -8
- data/lib/aws-sdk-opensearchservice.rb +1 -1
- data/sig/client.rbs +77 -0
- data/sig/types.rbs +91 -0
- metadata +2 -2
@@ -190,12 +190,61 @@ module Aws::OpenSearchService
|
|
190
190
|
include Aws::Structure
|
191
191
|
end
|
192
192
|
|
193
|
+
# @!attribute [rw] data_source_name
|
194
|
+
# A unique, user-defined label to identify the data source within your
|
195
|
+
# OpenSearch Service environment.
|
196
|
+
# @return [String]
|
197
|
+
#
|
198
|
+
# @!attribute [rw] data_source_type
|
199
|
+
# The supported Amazon Web Services service that you want to use as
|
200
|
+
# the source for direct queries in OpenSearch Service.
|
201
|
+
# @return [Types::DirectQueryDataSourceType]
|
202
|
+
#
|
203
|
+
# @!attribute [rw] description
|
204
|
+
# An optional text field for providing additional context and details
|
205
|
+
# about the data source.
|
206
|
+
# @return [String]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] open_search_arns
|
209
|
+
# A list of Amazon Resource Names (ARNs) for the OpenSearch
|
210
|
+
# collections that are associated with the direct query data source.
|
211
|
+
# @return [Array<String>]
|
212
|
+
#
|
213
|
+
# @!attribute [rw] tag_list
|
214
|
+
# A list of tags attached to a domain.
|
215
|
+
# @return [Array<Types::Tag>]
|
216
|
+
#
|
217
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDirectQueryDataSourceRequest AWS API Documentation
|
218
|
+
#
|
219
|
+
class AddDirectQueryDataSourceRequest < Struct.new(
|
220
|
+
:data_source_name,
|
221
|
+
:data_source_type,
|
222
|
+
:description,
|
223
|
+
:open_search_arns,
|
224
|
+
:tag_list)
|
225
|
+
SENSITIVE = []
|
226
|
+
include Aws::Structure
|
227
|
+
end
|
228
|
+
|
229
|
+
# @!attribute [rw] data_source_arn
|
230
|
+
# The unique, system-generated identifier that represents the data
|
231
|
+
# source.
|
232
|
+
# @return [String]
|
233
|
+
#
|
234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/AddDirectQueryDataSourceResponse AWS API Documentation
|
235
|
+
#
|
236
|
+
class AddDirectQueryDataSourceResponse < Struct.new(
|
237
|
+
:data_source_arn)
|
238
|
+
SENSITIVE = []
|
239
|
+
include Aws::Structure
|
240
|
+
end
|
241
|
+
|
193
242
|
# Container for the parameters to the `AddTags` operation. Specifies the
|
194
|
-
# tags to attach to the domain.
|
243
|
+
# tags to attach to the domain, data source, or application.
|
195
244
|
#
|
196
245
|
# @!attribute [rw] arn
|
197
|
-
# Amazon Resource Name (ARN) for the OpenSearch Service domain
|
198
|
-
# which you want to attach resource tags.
|
246
|
+
# Amazon Resource Name (ARN) for the OpenSearch Service domain, data
|
247
|
+
# source, or application to which you want to attach resource tags.
|
199
248
|
# @return [String]
|
200
249
|
#
|
201
250
|
# @!attribute [rw] tag_list
|
@@ -1183,6 +1232,22 @@ module Aws::OpenSearchService
|
|
1183
1232
|
include Aws::Structure
|
1184
1233
|
end
|
1185
1234
|
|
1235
|
+
# Configuration details for a CloudWatch Logs data source that can be
|
1236
|
+
# used for direct queries.
|
1237
|
+
#
|
1238
|
+
# @!attribute [rw] role_arn
|
1239
|
+
# The unique identifier of the IAM role that grants OpenSearch Service
|
1240
|
+
# permission to access the specified data source.
|
1241
|
+
# @return [String]
|
1242
|
+
#
|
1243
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/CloudWatchDirectQueryDataSource AWS API Documentation
|
1244
|
+
#
|
1245
|
+
class CloudWatchDirectQueryDataSource < Struct.new(
|
1246
|
+
:role_arn)
|
1247
|
+
SENSITIVE = []
|
1248
|
+
include Aws::Structure
|
1249
|
+
end
|
1250
|
+
|
1186
1251
|
# Container for the cluster configuration of an OpenSearch Service
|
1187
1252
|
# domain. For more information, see [Creating and managing Amazon
|
1188
1253
|
# OpenSearch Service domains][1].
|
@@ -2049,6 +2114,19 @@ module Aws::OpenSearchService
|
|
2049
2114
|
include Aws::Structure
|
2050
2115
|
end
|
2051
2116
|
|
2117
|
+
# @!attribute [rw] data_source_name
|
2118
|
+
# A unique, user-defined label to identify the data source within your
|
2119
|
+
# OpenSearch Service environment.
|
2120
|
+
# @return [String]
|
2121
|
+
#
|
2122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DeleteDirectQueryDataSourceRequest AWS API Documentation
|
2123
|
+
#
|
2124
|
+
class DeleteDirectQueryDataSourceRequest < Struct.new(
|
2125
|
+
:data_source_name)
|
2126
|
+
SENSITIVE = []
|
2127
|
+
include Aws::Structure
|
2128
|
+
end
|
2129
|
+
|
2052
2130
|
# Container for the parameters to the `DeleteDomain` operation.
|
2053
2131
|
#
|
2054
2132
|
# @!attribute [rw] domain_name
|
@@ -2932,6 +3010,83 @@ module Aws::OpenSearchService
|
|
2932
3010
|
include Aws::Structure
|
2933
3011
|
end
|
2934
3012
|
|
3013
|
+
# The configuration details for a data source that can be directly
|
3014
|
+
# queried.
|
3015
|
+
#
|
3016
|
+
# @!attribute [rw] data_source_name
|
3017
|
+
# A unique, user-defined label to identify the data source within your
|
3018
|
+
# OpenSearch Service environment.
|
3019
|
+
# @return [String]
|
3020
|
+
#
|
3021
|
+
# @!attribute [rw] data_source_type
|
3022
|
+
# The supported Amazon Web Services service that is used as the source
|
3023
|
+
# for direct queries in OpenSearch Service.
|
3024
|
+
# @return [Types::DirectQueryDataSourceType]
|
3025
|
+
#
|
3026
|
+
# @!attribute [rw] description
|
3027
|
+
# A description that provides additional context and details about the
|
3028
|
+
# data source.
|
3029
|
+
# @return [String]
|
3030
|
+
#
|
3031
|
+
# @!attribute [rw] open_search_arns
|
3032
|
+
# A list of Amazon Resource Names (ARNs) for the OpenSearch
|
3033
|
+
# collections that are associated with the direct query data source.
|
3034
|
+
# @return [Array<String>]
|
3035
|
+
#
|
3036
|
+
# @!attribute [rw] data_source_arn
|
3037
|
+
# The unique, system-generated identifier that represents the data
|
3038
|
+
# source.
|
3039
|
+
# @return [String]
|
3040
|
+
#
|
3041
|
+
# @!attribute [rw] tag_list
|
3042
|
+
# A list of tags attached to a direct query data source.
|
3043
|
+
# @return [Array<Types::Tag>]
|
3044
|
+
#
|
3045
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DirectQueryDataSource AWS API Documentation
|
3046
|
+
#
|
3047
|
+
class DirectQueryDataSource < Struct.new(
|
3048
|
+
:data_source_name,
|
3049
|
+
:data_source_type,
|
3050
|
+
:description,
|
3051
|
+
:open_search_arns,
|
3052
|
+
:data_source_arn,
|
3053
|
+
:tag_list)
|
3054
|
+
SENSITIVE = []
|
3055
|
+
include Aws::Structure
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
# The type of data source that is used for direct queries. This is a
|
3059
|
+
# supported Amazon Web Services service, such as CloudWatch Logs or
|
3060
|
+
# Security Lake.
|
3061
|
+
#
|
3062
|
+
# @note DirectQueryDataSourceType is a union - when making an API calls you must set exactly one of the members.
|
3063
|
+
#
|
3064
|
+
# @note DirectQueryDataSourceType is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DirectQueryDataSourceType corresponding to the set member.
|
3065
|
+
#
|
3066
|
+
# @!attribute [rw] cloud_watch_log
|
3067
|
+
# Specifies CloudWatch Logs as a type of data source for direct
|
3068
|
+
# queries.
|
3069
|
+
# @return [Types::CloudWatchDirectQueryDataSource]
|
3070
|
+
#
|
3071
|
+
# @!attribute [rw] security_lake
|
3072
|
+
# Specifies Security Lake as a type of data source for direct queries.
|
3073
|
+
# @return [Types::SecurityLakeDirectQueryDataSource]
|
3074
|
+
#
|
3075
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DirectQueryDataSourceType AWS API Documentation
|
3076
|
+
#
|
3077
|
+
class DirectQueryDataSourceType < Struct.new(
|
3078
|
+
:cloud_watch_log,
|
3079
|
+
:security_lake,
|
3080
|
+
:unknown)
|
3081
|
+
SENSITIVE = []
|
3082
|
+
include Aws::Structure
|
3083
|
+
include Aws::Structure::Union
|
3084
|
+
|
3085
|
+
class CloudWatchLog < DirectQueryDataSourceType; end
|
3086
|
+
class SecurityLake < DirectQueryDataSourceType; end
|
3087
|
+
class Unknown < DirectQueryDataSourceType; end
|
3088
|
+
end
|
3089
|
+
|
2935
3090
|
# An error occured because the client wanted to access an unsupported
|
2936
3091
|
# operation.
|
2937
3092
|
#
|
@@ -4030,6 +4185,56 @@ module Aws::OpenSearchService
|
|
4030
4185
|
include Aws::Structure
|
4031
4186
|
end
|
4032
4187
|
|
4188
|
+
# @!attribute [rw] data_source_name
|
4189
|
+
# A unique, user-defined label that identifies the data source within
|
4190
|
+
# your OpenSearch Service environment.
|
4191
|
+
# @return [String]
|
4192
|
+
#
|
4193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDirectQueryDataSourceRequest AWS API Documentation
|
4194
|
+
#
|
4195
|
+
class GetDirectQueryDataSourceRequest < Struct.new(
|
4196
|
+
:data_source_name)
|
4197
|
+
SENSITIVE = []
|
4198
|
+
include Aws::Structure
|
4199
|
+
end
|
4200
|
+
|
4201
|
+
# @!attribute [rw] data_source_name
|
4202
|
+
# A unique, user-defined label to identify the data source within your
|
4203
|
+
# OpenSearch Service environment.
|
4204
|
+
# @return [String]
|
4205
|
+
#
|
4206
|
+
# @!attribute [rw] data_source_type
|
4207
|
+
# The supported Amazon Web Services service that is used as the source
|
4208
|
+
# for direct queries in OpenSearch Service.
|
4209
|
+
# @return [Types::DirectQueryDataSourceType]
|
4210
|
+
#
|
4211
|
+
# @!attribute [rw] description
|
4212
|
+
# A description that provides additional context and details about the
|
4213
|
+
# data source.
|
4214
|
+
# @return [String]
|
4215
|
+
#
|
4216
|
+
# @!attribute [rw] open_search_arns
|
4217
|
+
# A list of Amazon Resource Names (ARNs) for the OpenSearch
|
4218
|
+
# collections that are associated with the direct query data source.
|
4219
|
+
# @return [Array<String>]
|
4220
|
+
#
|
4221
|
+
# @!attribute [rw] data_source_arn
|
4222
|
+
# The unique, system-generated identifier that represents the data
|
4223
|
+
# source.
|
4224
|
+
# @return [String]
|
4225
|
+
#
|
4226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDirectQueryDataSourceResponse AWS API Documentation
|
4227
|
+
#
|
4228
|
+
class GetDirectQueryDataSourceResponse < Struct.new(
|
4229
|
+
:data_source_name,
|
4230
|
+
:data_source_type,
|
4231
|
+
:description,
|
4232
|
+
:open_search_arns,
|
4233
|
+
:data_source_arn)
|
4234
|
+
SENSITIVE = []
|
4235
|
+
include Aws::Structure
|
4236
|
+
end
|
4237
|
+
|
4033
4238
|
# Container for the parameters to the `GetDomainMaintenanceStatus`
|
4034
4239
|
# operation.
|
4035
4240
|
#
|
@@ -4808,6 +5013,42 @@ module Aws::OpenSearchService
|
|
4808
5013
|
include Aws::Structure
|
4809
5014
|
end
|
4810
5015
|
|
5016
|
+
# @!attribute [rw] next_token
|
5017
|
+
# When `nextToken` is returned, there are more results available. The
|
5018
|
+
# value of `nextToken` is a unique pagination token for each page.
|
5019
|
+
# Send the request again using the returned token to retrieve the next
|
5020
|
+
# page.
|
5021
|
+
# @return [String]
|
5022
|
+
#
|
5023
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDirectQueryDataSourcesRequest AWS API Documentation
|
5024
|
+
#
|
5025
|
+
class ListDirectQueryDataSourcesRequest < Struct.new(
|
5026
|
+
:next_token)
|
5027
|
+
SENSITIVE = []
|
5028
|
+
include Aws::Structure
|
5029
|
+
end
|
5030
|
+
|
5031
|
+
# @!attribute [rw] next_token
|
5032
|
+
# When `nextToken` is returned, there are more results available. The
|
5033
|
+
# value of `nextToken` is a unique pagination token for each page.
|
5034
|
+
# Send the request again using the returned token to retrieve the next
|
5035
|
+
# page.
|
5036
|
+
# @return [String]
|
5037
|
+
#
|
5038
|
+
# @!attribute [rw] direct_query_data_sources
|
5039
|
+
# A list of the direct query data sources that are returned by the
|
5040
|
+
# `ListDirectQueryDataSources` API operation.
|
5041
|
+
# @return [Array<Types::DirectQueryDataSource>]
|
5042
|
+
#
|
5043
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListDirectQueryDataSourcesResponse AWS API Documentation
|
5044
|
+
#
|
5045
|
+
class ListDirectQueryDataSourcesResponse < Struct.new(
|
5046
|
+
:next_token,
|
5047
|
+
:direct_query_data_sources)
|
5048
|
+
SENSITIVE = []
|
5049
|
+
include Aws::Structure
|
5050
|
+
end
|
5051
|
+
|
4811
5052
|
# Container for the parameters to the `ListDomainMaintenances`
|
4812
5053
|
# operation.
|
4813
5054
|
#
|
@@ -5121,7 +5362,8 @@ module Aws::OpenSearchService
|
|
5121
5362
|
# Container for the parameters to the `ListTags` operation.
|
5122
5363
|
#
|
5123
5364
|
# @!attribute [rw] arn
|
5124
|
-
# Amazon Resource Name (ARN) for the domain
|
5365
|
+
# Amazon Resource Name (ARN) for the domain, data source, or
|
5366
|
+
# application to view tags for.
|
5125
5367
|
# @return [String]
|
5126
5368
|
#
|
5127
5369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListTagsRequest AWS API Documentation
|
@@ -5135,7 +5377,8 @@ module Aws::OpenSearchService
|
|
5135
5377
|
# The results of a `ListTags` operation.
|
5136
5378
|
#
|
5137
5379
|
# @!attribute [rw] tag_list
|
5138
|
-
# List of resource tags associated with the specified domain
|
5380
|
+
# List of resource tags associated with the specified domain, data
|
5381
|
+
# source, or application.
|
5139
5382
|
# @return [Array<Types::Tag>]
|
5140
5383
|
#
|
5141
5384
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/ListTagsResponse AWS API Documentation
|
@@ -6150,12 +6393,13 @@ module Aws::OpenSearchService
|
|
6150
6393
|
# Container for the request parameters to the `RemoveTags` operation.
|
6151
6394
|
#
|
6152
6395
|
# @!attribute [rw] arn
|
6153
|
-
# The Amazon Resource Name (ARN) of the domain
|
6154
|
-
# delete the specified tags.
|
6396
|
+
# The Amazon Resource Name (ARN) of the domain, data source, or
|
6397
|
+
# application from which you want to delete the specified tags.
|
6155
6398
|
# @return [String]
|
6156
6399
|
#
|
6157
6400
|
# @!attribute [rw] tag_keys
|
6158
|
-
# The list of tag keys to remove from the domain
|
6401
|
+
# The list of tag keys to remove from the domain, data source, or
|
6402
|
+
# application.
|
6159
6403
|
# @return [Array<String>]
|
6160
6404
|
#
|
6161
6405
|
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/RemoveTagsRequest AWS API Documentation
|
@@ -6560,6 +6804,22 @@ module Aws::OpenSearchService
|
|
6560
6804
|
include Aws::Structure
|
6561
6805
|
end
|
6562
6806
|
|
6807
|
+
# Configuration details for a Security Lake data source that can be used
|
6808
|
+
# for direct queries.
|
6809
|
+
#
|
6810
|
+
# @!attribute [rw] role_arn
|
6811
|
+
# The unique identifier of the IAM role that grants OpenSearch Service
|
6812
|
+
# permission to access the specified data source.
|
6813
|
+
# @return [String]
|
6814
|
+
#
|
6815
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/SecurityLakeDirectQueryDataSource AWS API Documentation
|
6816
|
+
#
|
6817
|
+
class SecurityLakeDirectQueryDataSource < Struct.new(
|
6818
|
+
:role_arn)
|
6819
|
+
SENSITIVE = []
|
6820
|
+
include Aws::Structure
|
6821
|
+
end
|
6822
|
+
|
6563
6823
|
# The current status of the service software for an Amazon OpenSearch
|
6564
6824
|
# Service domain. For more information, see [Service software updates in
|
6565
6825
|
# Amazon OpenSearch Service][1].
|
@@ -7019,6 +7279,50 @@ module Aws::OpenSearchService
|
|
7019
7279
|
include Aws::Structure
|
7020
7280
|
end
|
7021
7281
|
|
7282
|
+
# @!attribute [rw] data_source_name
|
7283
|
+
# A unique, user-defined label to identify the data source within your
|
7284
|
+
# OpenSearch Service environment.
|
7285
|
+
# @return [String]
|
7286
|
+
#
|
7287
|
+
# @!attribute [rw] data_source_type
|
7288
|
+
# The supported Amazon Web Services service that you want to use as
|
7289
|
+
# the source for direct queries in OpenSearch Service.
|
7290
|
+
# @return [Types::DirectQueryDataSourceType]
|
7291
|
+
#
|
7292
|
+
# @!attribute [rw] description
|
7293
|
+
# An optional text field for providing additional context and details
|
7294
|
+
# about the data source.
|
7295
|
+
# @return [String]
|
7296
|
+
#
|
7297
|
+
# @!attribute [rw] open_search_arns
|
7298
|
+
# A list of Amazon Resource Names (ARNs) for the OpenSearch
|
7299
|
+
# collections that are associated with the direct query data source.
|
7300
|
+
# @return [Array<String>]
|
7301
|
+
#
|
7302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDirectQueryDataSourceRequest AWS API Documentation
|
7303
|
+
#
|
7304
|
+
class UpdateDirectQueryDataSourceRequest < Struct.new(
|
7305
|
+
:data_source_name,
|
7306
|
+
:data_source_type,
|
7307
|
+
:description,
|
7308
|
+
:open_search_arns)
|
7309
|
+
SENSITIVE = []
|
7310
|
+
include Aws::Structure
|
7311
|
+
end
|
7312
|
+
|
7313
|
+
# @!attribute [rw] data_source_arn
|
7314
|
+
# The unique, system-generated identifier that represents the data
|
7315
|
+
# source.
|
7316
|
+
# @return [String]
|
7317
|
+
#
|
7318
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDirectQueryDataSourceResponse AWS API Documentation
|
7319
|
+
#
|
7320
|
+
class UpdateDirectQueryDataSourceResponse < Struct.new(
|
7321
|
+
:data_source_arn)
|
7322
|
+
SENSITIVE = []
|
7323
|
+
include Aws::Structure
|
7324
|
+
end
|
7325
|
+
|
7022
7326
|
# Container for the request parameters to the `UpdateDomain` operation.
|
7023
7327
|
#
|
7024
7328
|
# @!attribute [rw] domain_name
|
data/sig/client.rbs
CHANGED
@@ -102,6 +102,32 @@ module Aws
|
|
102
102
|
) -> _AddDataSourceResponseSuccess
|
103
103
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddDataSourceResponseSuccess
|
104
104
|
|
105
|
+
interface _AddDirectQueryDataSourceResponseSuccess
|
106
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::AddDirectQueryDataSourceResponse]
|
107
|
+
def data_source_arn: () -> ::String
|
108
|
+
end
|
109
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#add_direct_query_data_source-instance_method
|
110
|
+
def add_direct_query_data_source: (
|
111
|
+
data_source_name: ::String,
|
112
|
+
data_source_type: {
|
113
|
+
cloud_watch_log: {
|
114
|
+
role_arn: ::String
|
115
|
+
}?,
|
116
|
+
security_lake: {
|
117
|
+
role_arn: ::String
|
118
|
+
}?
|
119
|
+
},
|
120
|
+
?description: ::String,
|
121
|
+
open_search_arns: Array[::String],
|
122
|
+
?tag_list: Array[
|
123
|
+
{
|
124
|
+
key: ::String,
|
125
|
+
value: ::String
|
126
|
+
},
|
127
|
+
]
|
128
|
+
) -> _AddDirectQueryDataSourceResponseSuccess
|
129
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddDirectQueryDataSourceResponseSuccess
|
130
|
+
|
105
131
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#add_tags-instance_method
|
106
132
|
def add_tags: (
|
107
133
|
arn: ::String,
|
@@ -483,6 +509,12 @@ module Aws
|
|
483
509
|
) -> _DeleteDataSourceResponseSuccess
|
484
510
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDataSourceResponseSuccess
|
485
511
|
|
512
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#delete_direct_query_data_source-instance_method
|
513
|
+
def delete_direct_query_data_source: (
|
514
|
+
data_source_name: ::String
|
515
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
516
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
517
|
+
|
486
518
|
interface _DeleteDomainResponseSuccess
|
487
519
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDomainResponse]
|
488
520
|
def domain_status: () -> Types::DomainStatus
|
@@ -801,6 +833,20 @@ module Aws
|
|
801
833
|
) -> _GetDataSourceResponseSuccess
|
802
834
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDataSourceResponseSuccess
|
803
835
|
|
836
|
+
interface _GetDirectQueryDataSourceResponseSuccess
|
837
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetDirectQueryDataSourceResponse]
|
838
|
+
def data_source_name: () -> ::String
|
839
|
+
def data_source_type: () -> Types::DirectQueryDataSourceType
|
840
|
+
def description: () -> ::String
|
841
|
+
def open_search_arns: () -> ::Array[::String]
|
842
|
+
def data_source_arn: () -> ::String
|
843
|
+
end
|
844
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#get_direct_query_data_source-instance_method
|
845
|
+
def get_direct_query_data_source: (
|
846
|
+
data_source_name: ::String
|
847
|
+
) -> _GetDirectQueryDataSourceResponseSuccess
|
848
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDirectQueryDataSourceResponseSuccess
|
849
|
+
|
804
850
|
interface _GetDomainMaintenanceStatusResponseSuccess
|
805
851
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainMaintenanceStatusResponse]
|
806
852
|
def status: () -> ("PENDING" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "TIMED_OUT")
|
@@ -879,6 +925,17 @@ module Aws
|
|
879
925
|
) -> _ListDataSourcesResponseSuccess
|
880
926
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDataSourcesResponseSuccess
|
881
927
|
|
928
|
+
interface _ListDirectQueryDataSourcesResponseSuccess
|
929
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListDirectQueryDataSourcesResponse]
|
930
|
+
def next_token: () -> ::String
|
931
|
+
def direct_query_data_sources: () -> ::Array[Types::DirectQueryDataSource]
|
932
|
+
end
|
933
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#list_direct_query_data_sources-instance_method
|
934
|
+
def list_direct_query_data_sources: (
|
935
|
+
?next_token: ::String
|
936
|
+
) -> _ListDirectQueryDataSourcesResponseSuccess
|
937
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDirectQueryDataSourcesResponseSuccess
|
938
|
+
|
882
939
|
interface _ListDomainMaintenancesResponseSuccess
|
883
940
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainMaintenancesResponse]
|
884
941
|
def domain_maintenances: () -> ::Array[Types::DomainMaintenanceDetails]
|
@@ -1128,6 +1185,26 @@ module Aws
|
|
1128
1185
|
) -> _UpdateDataSourceResponseSuccess
|
1129
1186
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDataSourceResponseSuccess
|
1130
1187
|
|
1188
|
+
interface _UpdateDirectQueryDataSourceResponseSuccess
|
1189
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDirectQueryDataSourceResponse]
|
1190
|
+
def data_source_arn: () -> ::String
|
1191
|
+
end
|
1192
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#update_direct_query_data_source-instance_method
|
1193
|
+
def update_direct_query_data_source: (
|
1194
|
+
data_source_name: ::String,
|
1195
|
+
data_source_type: {
|
1196
|
+
cloud_watch_log: {
|
1197
|
+
role_arn: ::String
|
1198
|
+
}?,
|
1199
|
+
security_lake: {
|
1200
|
+
role_arn: ::String
|
1201
|
+
}?
|
1202
|
+
},
|
1203
|
+
?description: ::String,
|
1204
|
+
open_search_arns: Array[::String]
|
1205
|
+
) -> _UpdateDirectQueryDataSourceResponseSuccess
|
1206
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectQueryDataSourceResponseSuccess
|
1207
|
+
|
1131
1208
|
interface _UpdateDomainConfigResponseSuccess
|
1132
1209
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainConfigResponse]
|
1133
1210
|
def domain_config: () -> Types::DomainConfig
|
data/sig/types.rbs
CHANGED
@@ -63,6 +63,20 @@ module Aws::OpenSearchService
|
|
63
63
|
SENSITIVE: []
|
64
64
|
end
|
65
65
|
|
66
|
+
class AddDirectQueryDataSourceRequest
|
67
|
+
attr_accessor data_source_name: ::String
|
68
|
+
attr_accessor data_source_type: Types::DirectQueryDataSourceType
|
69
|
+
attr_accessor description: ::String
|
70
|
+
attr_accessor open_search_arns: ::Array[::String]
|
71
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
75
|
+
class AddDirectQueryDataSourceResponse
|
76
|
+
attr_accessor data_source_arn: ::String
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
66
80
|
class AddTagsRequest
|
67
81
|
attr_accessor arn: ::String
|
68
82
|
attr_accessor tag_list: ::Array[Types::Tag]
|
@@ -299,6 +313,11 @@ module Aws::OpenSearchService
|
|
299
313
|
SENSITIVE: []
|
300
314
|
end
|
301
315
|
|
316
|
+
class CloudWatchDirectQueryDataSource
|
317
|
+
attr_accessor role_arn: ::String
|
318
|
+
SENSITIVE: []
|
319
|
+
end
|
320
|
+
|
302
321
|
class ClusterConfig
|
303
322
|
attr_accessor instance_type: ("m3.medium.search" | "m3.large.search" | "m3.xlarge.search" | "m3.2xlarge.search" | "m4.large.search" | "m4.xlarge.search" | "m4.2xlarge.search" | "m4.4xlarge.search" | "m4.10xlarge.search" | "m5.large.search" | "m5.xlarge.search" | "m5.2xlarge.search" | "m5.4xlarge.search" | "m5.12xlarge.search" | "m5.24xlarge.search" | "r5.large.search" | "r5.xlarge.search" | "r5.2xlarge.search" | "r5.4xlarge.search" | "r5.12xlarge.search" | "r5.24xlarge.search" | "c5.large.search" | "c5.xlarge.search" | "c5.2xlarge.search" | "c5.4xlarge.search" | "c5.9xlarge.search" | "c5.18xlarge.search" | "t3.nano.search" | "t3.micro.search" | "t3.small.search" | "t3.medium.search" | "t3.large.search" | "t3.xlarge.search" | "t3.2xlarge.search" | "or1.medium.search" | "or1.large.search" | "or1.xlarge.search" | "or1.2xlarge.search" | "or1.4xlarge.search" | "or1.8xlarge.search" | "or1.12xlarge.search" | "or1.16xlarge.search" | "ultrawarm1.medium.search" | "ultrawarm1.large.search" | "ultrawarm1.xlarge.search" | "t2.micro.search" | "t2.small.search" | "t2.medium.search" | "r3.large.search" | "r3.xlarge.search" | "r3.2xlarge.search" | "r3.4xlarge.search" | "r3.8xlarge.search" | "i2.xlarge.search" | "i2.2xlarge.search" | "d2.xlarge.search" | "d2.2xlarge.search" | "d2.4xlarge.search" | "d2.8xlarge.search" | "c4.large.search" | "c4.xlarge.search" | "c4.2xlarge.search" | "c4.4xlarge.search" | "c4.8xlarge.search" | "r4.large.search" | "r4.xlarge.search" | "r4.2xlarge.search" | "r4.4xlarge.search" | "r4.8xlarge.search" | "r4.16xlarge.search" | "i3.large.search" | "i3.xlarge.search" | "i3.2xlarge.search" | "i3.4xlarge.search" | "i3.8xlarge.search" | "i3.16xlarge.search" | "r6g.large.search" | "r6g.xlarge.search" | "r6g.2xlarge.search" | "r6g.4xlarge.search" | "r6g.8xlarge.search" | "r6g.12xlarge.search" | "m6g.large.search" | "m6g.xlarge.search" | "m6g.2xlarge.search" | "m6g.4xlarge.search" | "m6g.8xlarge.search" | "m6g.12xlarge.search" | "c6g.large.search" | "c6g.xlarge.search" | "c6g.2xlarge.search" | "c6g.4xlarge.search" | "c6g.8xlarge.search" | "c6g.12xlarge.search" | "r6gd.large.search" | "r6gd.xlarge.search" | "r6gd.2xlarge.search" | "r6gd.4xlarge.search" | "r6gd.8xlarge.search" | "r6gd.12xlarge.search" | "r6gd.16xlarge.search" | "t4g.small.search" | "t4g.medium.search")
|
304
323
|
attr_accessor instance_count: ::Integer
|
@@ -506,6 +525,11 @@ module Aws::OpenSearchService
|
|
506
525
|
SENSITIVE: []
|
507
526
|
end
|
508
527
|
|
528
|
+
class DeleteDirectQueryDataSourceRequest
|
529
|
+
attr_accessor data_source_name: ::String
|
530
|
+
SENSITIVE: []
|
531
|
+
end
|
532
|
+
|
509
533
|
class DeleteDomainRequest
|
510
534
|
attr_accessor domain_name: ::String
|
511
535
|
SENSITIVE: []
|
@@ -753,6 +777,30 @@ module Aws::OpenSearchService
|
|
753
777
|
SENSITIVE: []
|
754
778
|
end
|
755
779
|
|
780
|
+
class DirectQueryDataSource
|
781
|
+
attr_accessor data_source_name: ::String
|
782
|
+
attr_accessor data_source_type: Types::DirectQueryDataSourceType
|
783
|
+
attr_accessor description: ::String
|
784
|
+
attr_accessor open_search_arns: ::Array[::String]
|
785
|
+
attr_accessor data_source_arn: ::String
|
786
|
+
attr_accessor tag_list: ::Array[Types::Tag]
|
787
|
+
SENSITIVE: []
|
788
|
+
end
|
789
|
+
|
790
|
+
class DirectQueryDataSourceType
|
791
|
+
attr_accessor cloud_watch_log: Types::CloudWatchDirectQueryDataSource
|
792
|
+
attr_accessor security_lake: Types::SecurityLakeDirectQueryDataSource
|
793
|
+
attr_accessor unknown: untyped
|
794
|
+
SENSITIVE: []
|
795
|
+
|
796
|
+
class CloudWatchLog < DirectQueryDataSourceType
|
797
|
+
end
|
798
|
+
class SecurityLake < DirectQueryDataSourceType
|
799
|
+
end
|
800
|
+
class Unknown < DirectQueryDataSourceType
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
756
804
|
class DisabledOperationException < Aws::EmptyStructure
|
757
805
|
end
|
758
806
|
|
@@ -1014,6 +1062,20 @@ module Aws::OpenSearchService
|
|
1014
1062
|
SENSITIVE: []
|
1015
1063
|
end
|
1016
1064
|
|
1065
|
+
class GetDirectQueryDataSourceRequest
|
1066
|
+
attr_accessor data_source_name: ::String
|
1067
|
+
SENSITIVE: []
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
class GetDirectQueryDataSourceResponse
|
1071
|
+
attr_accessor data_source_name: ::String
|
1072
|
+
attr_accessor data_source_type: Types::DirectQueryDataSourceType
|
1073
|
+
attr_accessor description: ::String
|
1074
|
+
attr_accessor open_search_arns: ::Array[::String]
|
1075
|
+
attr_accessor data_source_arn: ::String
|
1076
|
+
SENSITIVE: []
|
1077
|
+
end
|
1078
|
+
|
1017
1079
|
class GetDomainMaintenanceStatusRequest
|
1018
1080
|
attr_accessor domain_name: ::String
|
1019
1081
|
attr_accessor maintenance_id: ::String
|
@@ -1216,6 +1278,17 @@ module Aws::OpenSearchService
|
|
1216
1278
|
SENSITIVE: []
|
1217
1279
|
end
|
1218
1280
|
|
1281
|
+
class ListDirectQueryDataSourcesRequest
|
1282
|
+
attr_accessor next_token: ::String
|
1283
|
+
SENSITIVE: []
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
class ListDirectQueryDataSourcesResponse
|
1287
|
+
attr_accessor next_token: ::String
|
1288
|
+
attr_accessor direct_query_data_sources: ::Array[Types::DirectQueryDataSource]
|
1289
|
+
SENSITIVE: []
|
1290
|
+
end
|
1291
|
+
|
1219
1292
|
class ListDomainMaintenancesRequest
|
1220
1293
|
attr_accessor domain_name: ::String
|
1221
1294
|
attr_accessor action: ("REBOOT_NODE" | "RESTART_SEARCH_PROCESS" | "RESTART_DASHBOARD")
|
@@ -1666,6 +1739,11 @@ module Aws::OpenSearchService
|
|
1666
1739
|
SENSITIVE: []
|
1667
1740
|
end
|
1668
1741
|
|
1742
|
+
class SecurityLakeDirectQueryDataSource
|
1743
|
+
attr_accessor role_arn: ::String
|
1744
|
+
SENSITIVE: []
|
1745
|
+
end
|
1746
|
+
|
1669
1747
|
class ServiceSoftwareOptions
|
1670
1748
|
attr_accessor current_version: ::String
|
1671
1749
|
attr_accessor new_version: ::String
|
@@ -1781,6 +1859,19 @@ module Aws::OpenSearchService
|
|
1781
1859
|
SENSITIVE: []
|
1782
1860
|
end
|
1783
1861
|
|
1862
|
+
class UpdateDirectQueryDataSourceRequest
|
1863
|
+
attr_accessor data_source_name: ::String
|
1864
|
+
attr_accessor data_source_type: Types::DirectQueryDataSourceType
|
1865
|
+
attr_accessor description: ::String
|
1866
|
+
attr_accessor open_search_arns: ::Array[::String]
|
1867
|
+
SENSITIVE: []
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
class UpdateDirectQueryDataSourceResponse
|
1871
|
+
attr_accessor data_source_arn: ::String
|
1872
|
+
SENSITIVE: []
|
1873
|
+
end
|
1874
|
+
|
1784
1875
|
class UpdateDomainConfigRequest
|
1785
1876
|
attr_accessor domain_name: ::String
|
1786
1877
|
attr_accessor cluster_config: Types::ClusterConfig
|
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.
|
4
|
+
version: 1.62.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: 2024-
|
11
|
+
date: 2024-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|