aws-sdk-opensearchservice 1.88.0 → 1.89.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2a30ceb5c3c47b48bb05ac5b294bc5ccdfabd90b09071a5beb8c376153a7e9f
4
- data.tar.gz: 045d3ee1aa7dfb557c22ffe3d491854dcc60afad72c5d1ff58e319fc009dd70d
3
+ metadata.gz: 7d4872c2dd72a9ea5d9b81cebada0fb3209ea2bc9a2213088dce3e4b335c37f4
4
+ data.tar.gz: c29d1b2285d2512b6434568e07f753c8dc4d26f7e84c7e01fff4c0033211076c
5
5
  SHA512:
6
- metadata.gz: fb5c85e672601cb9c12d3b65e129ac534453bb914c4051e190a36936794ccfa3adcf7b18e4cb504350a073f131526168dfe385658f90f0a9778adfee6c71f315
7
- data.tar.gz: 564cc9a904c479b9e8d845f6336ab8d605d926abe3cbb28fab1f60479d6972afec3b4d4b2d608417abe23dd1a352abc83a8a2ece9dac01c15193cfd26f92c6af
6
+ metadata.gz: 359ca2514d37db26920d92fd1f9dc640698ae93c5b5e4a6cb38a4d1cba348ec9135d80f8cdb931f67e6d1d188ff9bba40f7c0a33965850ced5050bdb9c11964e
7
+ data.tar.gz: d4a965cf53cbe6e837c12ffb237ca873664fd68901cc82a1f38f483035cfcdb8326e435bd99d4513402a994388af403f179b249f7108278c88eaab06c1e389ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2026-03-09)
5
+ ------------------
6
+
7
+ * Feature - This change enables cross-account and cross-region access for DataSources. Customers can now define access policies on their datasources to allow other AWS accounts to access and query their data.
8
+
4
9
  1.88.0 (2026-03-04)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.89.0
@@ -589,6 +589,11 @@ module Aws::OpenSearchService
589
589
  # A list of Amazon Resource Names (ARNs) for the OpenSearch collections
590
590
  # that are associated with the direct query data source.
591
591
  #
592
+ # @option params [String] :data_source_access_policy
593
+ # An optional IAM access policy document that defines the permissions
594
+ # for accessing the data source. The policy document must be in valid
595
+ # JSON format and follow IAM policy syntax.
596
+ #
592
597
  # @option params [Array<Types::Tag>] :tag_list
593
598
  # A list of tags attached to a domain.
594
599
  #
@@ -610,6 +615,7 @@ module Aws::OpenSearchService
610
615
  # },
611
616
  # description: "DirectQueryDataSourceDescription",
612
617
  # open_search_arns: ["ARN"], # required
618
+ # data_source_access_policy: "PolicyDocument",
613
619
  # tag_list: [
614
620
  # {
615
621
  # key: "TagKey", # required
@@ -986,6 +992,7 @@ module Aws::OpenSearchService
986
992
  # {
987
993
  # data_source_arn: "ARN",
988
994
  # data_source_description: "DataSourceDescription",
995
+ # iam_role_for_data_source_arn: "RoleArn",
989
996
  # },
990
997
  # ],
991
998
  # iam_identity_center_options: {
@@ -1016,6 +1023,7 @@ module Aws::OpenSearchService
1016
1023
  # resp.data_sources #=> Array
1017
1024
  # resp.data_sources[0].data_source_arn #=> String
1018
1025
  # resp.data_sources[0].data_source_description #=> String
1026
+ # resp.data_sources[0].iam_role_for_data_source_arn #=> String
1019
1027
  # resp.iam_identity_center_options.enabled #=> Boolean
1020
1028
  # resp.iam_identity_center_options.iam_identity_center_instance_arn #=> String
1021
1029
  # resp.iam_identity_center_options.iam_role_for_identity_center_application_arn #=> String
@@ -3709,6 +3717,7 @@ module Aws::OpenSearchService
3709
3717
  # resp.data_sources #=> Array
3710
3718
  # resp.data_sources[0].data_source_arn #=> String
3711
3719
  # resp.data_sources[0].data_source_description #=> String
3720
+ # resp.data_sources[0].iam_role_for_data_source_arn #=> String
3712
3721
  # resp.app_configs #=> Array
3713
3722
  # resp.app_configs[0].key #=> String, one of "opensearchDashboards.dashboardAdmin.users", "opensearchDashboards.dashboardAdmin.groups"
3714
3723
  # resp.app_configs[0].value #=> String
@@ -3831,6 +3840,7 @@ module Aws::OpenSearchService
3831
3840
  # * {Types::GetDirectQueryDataSourceResponse#data_source_type #data_source_type} => Types::DirectQueryDataSourceType
3832
3841
  # * {Types::GetDirectQueryDataSourceResponse#description #description} => String
3833
3842
  # * {Types::GetDirectQueryDataSourceResponse#open_search_arns #open_search_arns} => Array&lt;String&gt;
3843
+ # * {Types::GetDirectQueryDataSourceResponse#data_source_access_policy #data_source_access_policy} => String
3834
3844
  # * {Types::GetDirectQueryDataSourceResponse#data_source_arn #data_source_arn} => String
3835
3845
  #
3836
3846
  # @example Request syntax with placeholder values
@@ -3847,6 +3857,7 @@ module Aws::OpenSearchService
3847
3857
  # resp.description #=> String
3848
3858
  # resp.open_search_arns #=> Array
3849
3859
  # resp.open_search_arns[0] #=> String
3860
+ # resp.data_source_access_policy #=> String
3850
3861
  # resp.data_source_arn #=> String
3851
3862
  #
3852
3863
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/GetDirectQueryDataSource AWS API Documentation
@@ -5093,6 +5104,7 @@ module Aws::OpenSearchService
5093
5104
  # {
5094
5105
  # data_source_arn: "ARN",
5095
5106
  # data_source_description: "DataSourceDescription",
5107
+ # iam_role_for_data_source_arn: "RoleArn",
5096
5108
  # },
5097
5109
  # ],
5098
5110
  # app_configs: [
@@ -5111,6 +5123,7 @@ module Aws::OpenSearchService
5111
5123
  # resp.data_sources #=> Array
5112
5124
  # resp.data_sources[0].data_source_arn #=> String
5113
5125
  # resp.data_sources[0].data_source_description #=> String
5126
+ # resp.data_sources[0].iam_role_for_data_source_arn #=> String
5114
5127
  # resp.iam_identity_center_options.enabled #=> Boolean
5115
5128
  # resp.iam_identity_center_options.iam_identity_center_instance_arn #=> String
5116
5129
  # resp.iam_identity_center_options.iam_role_for_identity_center_application_arn #=> String
@@ -5203,6 +5216,13 @@ module Aws::OpenSearchService
5203
5216
  # A list of Amazon Resource Names (ARNs) for the OpenSearch collections
5204
5217
  # that are associated with the direct query data source.
5205
5218
  #
5219
+ # @option params [String] :data_source_access_policy
5220
+ # An optional IAM access policy document that defines the updated
5221
+ # permissions for accessing the direct query data source. The policy
5222
+ # document must be in valid JSON format and follow IAM policy syntax. If
5223
+ # not specified, the existing access policy if present remains
5224
+ # unchanged.
5225
+ #
5206
5226
  # @return [Types::UpdateDirectQueryDataSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5207
5227
  #
5208
5228
  # * {Types::UpdateDirectQueryDataSourceResponse#data_source_arn #data_source_arn} => String
@@ -5221,6 +5241,7 @@ module Aws::OpenSearchService
5221
5241
  # },
5222
5242
  # description: "DirectQueryDataSourceDescription",
5223
5243
  # open_search_arns: ["ARN"], # required
5244
+ # data_source_access_policy: "PolicyDocument",
5224
5245
  # })
5225
5246
  #
5226
5247
  # @example Response structure
@@ -6143,7 +6164,7 @@ module Aws::OpenSearchService
6143
6164
  tracer: tracer
6144
6165
  )
6145
6166
  context[:gem_name] = 'aws-sdk-opensearchservice'
6146
- context[:gem_version] = '1.88.0'
6167
+ context[:gem_version] = '1.89.0'
6147
6168
  Seahorse::Client::Request.new(handlers, context)
6148
6169
  end
6149
6170
 
@@ -613,6 +613,7 @@ module Aws::OpenSearchService
613
613
  AddDirectQueryDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, required: true, location_name: "DataSourceType"))
614
614
  AddDirectQueryDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
615
615
  AddDirectQueryDataSourceRequest.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, required: true, location_name: "OpenSearchArns"))
616
+ AddDirectQueryDataSourceRequest.add_member(:data_source_access_policy, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "DataSourceAccessPolicy"))
616
617
  AddDirectQueryDataSourceRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
617
618
  AddDirectQueryDataSourceRequest.struct_class = Types::AddDirectQueryDataSourceRequest
618
619
 
@@ -960,6 +961,7 @@ module Aws::OpenSearchService
960
961
 
961
962
  DataSource.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "dataSourceArn"))
962
963
  DataSource.add_member(:data_source_description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "dataSourceDescription"))
964
+ DataSource.add_member(:iam_role_for_data_source_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "iamRoleForDataSourceArn"))
963
965
  DataSource.struct_class = Types::DataSource
964
966
 
965
967
  DataSourceDetails.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
@@ -1433,6 +1435,7 @@ module Aws::OpenSearchService
1433
1435
  GetDirectQueryDataSourceResponse.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, location_name: "DataSourceType"))
1434
1436
  GetDirectQueryDataSourceResponse.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
1435
1437
  GetDirectQueryDataSourceResponse.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, location_name: "OpenSearchArns"))
1438
+ GetDirectQueryDataSourceResponse.add_member(:data_source_access_policy, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "DataSourceAccessPolicy"))
1436
1439
  GetDirectQueryDataSourceResponse.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceArn"))
1437
1440
  GetDirectQueryDataSourceResponse.struct_class = Types::GetDirectQueryDataSourceResponse
1438
1441
 
@@ -2080,6 +2083,7 @@ module Aws::OpenSearchService
2080
2083
  UpdateDirectQueryDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DirectQueryDataSourceType, required: true, location_name: "DataSourceType"))
2081
2084
  UpdateDirectQueryDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DirectQueryDataSourceDescription, location_name: "Description"))
2082
2085
  UpdateDirectQueryDataSourceRequest.add_member(:open_search_arns, Shapes::ShapeRef.new(shape: DirectQueryOpenSearchARNList, required: true, location_name: "OpenSearchArns"))
2086
+ UpdateDirectQueryDataSourceRequest.add_member(:data_source_access_policy, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "DataSourceAccessPolicy"))
2083
2087
  UpdateDirectQueryDataSourceRequest.struct_class = Types::UpdateDirectQueryDataSourceRequest
2084
2088
 
2085
2089
  UpdateDirectQueryDataSourceResponse.add_member(:data_source_arn, Shapes::ShapeRef.new(shape: String, location_name: "DataSourceArn"))
@@ -3324,6 +3328,7 @@ module Aws::OpenSearchService
3324
3328
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3325
3329
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3326
3330
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
3331
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3327
3332
  end)
3328
3333
 
3329
3334
  api.add_operation(:update_domain_config, Seahorse::Model::Operation.new.tap do |o|
@@ -239,6 +239,12 @@ module Aws::OpenSearchService
239
239
  # collections that are associated with the direct query data source.
240
240
  # @return [Array<String>]
241
241
  #
242
+ # @!attribute [rw] data_source_access_policy
243
+ # An optional IAM access policy document that defines the permissions
244
+ # for accessing the data source. The policy document must be in valid
245
+ # JSON format and follow IAM policy syntax.
246
+ # @return [String]
247
+ #
242
248
  # @!attribute [rw] tag_list
243
249
  # A list of tags attached to a domain.
244
250
  # @return [Array<Types::Tag>]
@@ -250,6 +256,7 @@ module Aws::OpenSearchService
250
256
  :data_source_type,
251
257
  :description,
252
258
  :open_search_arns,
259
+ :data_source_access_policy,
253
260
  :tag_list)
254
261
  SENSITIVE = []
255
262
  include Aws::Structure
@@ -2113,11 +2120,17 @@ module Aws::OpenSearchService
2113
2120
  # Detailed description of a data source.
2114
2121
  # @return [String]
2115
2122
  #
2123
+ # @!attribute [rw] iam_role_for_data_source_arn
2124
+ # The ARN of the IAM role to be used for cross account/region data
2125
+ # source association.
2126
+ # @return [String]
2127
+ #
2116
2128
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/DataSource AWS API Documentation
2117
2129
  #
2118
2130
  class DataSource < Struct.new(
2119
2131
  :data_source_arn,
2120
- :data_source_description)
2132
+ :data_source_description,
2133
+ :iam_role_for_data_source_arn)
2121
2134
  SENSITIVE = []
2122
2135
  include Aws::Structure
2123
2136
  end
@@ -4435,6 +4448,13 @@ module Aws::OpenSearchService
4435
4448
  # collections that are associated with the direct query data source.
4436
4449
  # @return [Array<String>]
4437
4450
  #
4451
+ # @!attribute [rw] data_source_access_policy
4452
+ # The IAM access policy document that defines the permissions for
4453
+ # accessing the direct query data source. Returns the current policy
4454
+ # configuration in JSON format, or null if no custom policy is
4455
+ # configured.
4456
+ # @return [String]
4457
+ #
4438
4458
  # @!attribute [rw] data_source_arn
4439
4459
  # The unique, system-generated identifier that represents the data
4440
4460
  # source.
@@ -4447,6 +4467,7 @@ module Aws::OpenSearchService
4447
4467
  :data_source_type,
4448
4468
  :description,
4449
4469
  :open_search_arns,
4470
+ :data_source_access_policy,
4450
4471
  :data_source_arn)
4451
4472
  SENSITIVE = []
4452
4473
  include Aws::Structure
@@ -7699,13 +7720,22 @@ module Aws::OpenSearchService
7699
7720
  # collections that are associated with the direct query data source.
7700
7721
  # @return [Array<String>]
7701
7722
  #
7723
+ # @!attribute [rw] data_source_access_policy
7724
+ # An optional IAM access policy document that defines the updated
7725
+ # permissions for accessing the direct query data source. The policy
7726
+ # document must be in valid JSON format and follow IAM policy syntax.
7727
+ # If not specified, the existing access policy if present remains
7728
+ # unchanged.
7729
+ # @return [String]
7730
+ #
7702
7731
  # @see http://docs.aws.amazon.com/goto/WebAPI/opensearch-2021-01-01/UpdateDirectQueryDataSourceRequest AWS API Documentation
7703
7732
  #
7704
7733
  class UpdateDirectQueryDataSourceRequest < Struct.new(
7705
7734
  :data_source_name,
7706
7735
  :data_source_type,
7707
7736
  :description,
7708
- :open_search_arns)
7737
+ :open_search_arns,
7738
+ :data_source_access_policy)
7709
7739
  SENSITIVE = []
7710
7740
  include Aws::Structure
7711
7741
  end
@@ -54,7 +54,7 @@ module Aws::OpenSearchService
54
54
  autoload :EndpointProvider, 'aws-sdk-opensearchservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-opensearchservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.88.0'
57
+ GEM_VERSION = '1.89.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -122,6 +122,7 @@ module Aws
122
122
  },
123
123
  ?description: ::String,
124
124
  open_search_arns: Array[::String],
125
+ ?data_source_access_policy: ::String,
125
126
  ?tag_list: Array[
126
127
  {
127
128
  key: ::String,
@@ -237,7 +238,8 @@ module Aws
237
238
  ?data_sources: Array[
238
239
  {
239
240
  data_source_arn: ::String?,
240
- data_source_description: ::String?
241
+ data_source_description: ::String?,
242
+ iam_role_for_data_source_arn: ::String?
241
243
  },
242
244
  ],
243
245
  ?iam_identity_center_options: {
@@ -892,6 +894,7 @@ module Aws
892
894
  def data_source_type: () -> Types::DirectQueryDataSourceType
893
895
  def description: () -> ::String
894
896
  def open_search_arns: () -> ::Array[::String]
897
+ def data_source_access_policy: () -> ::String
895
898
  def data_source_arn: () -> ::String
896
899
  end
897
900
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#get_direct_query_data_source-instance_method
@@ -1230,7 +1233,8 @@ module Aws
1230
1233
  ?data_sources: Array[
1231
1234
  {
1232
1235
  data_source_arn: ::String?,
1233
- data_source_description: ::String?
1236
+ data_source_description: ::String?,
1237
+ iam_role_for_data_source_arn: ::String?
1234
1238
  },
1235
1239
  ],
1236
1240
  ?app_configs: Array[
@@ -1276,7 +1280,8 @@ module Aws
1276
1280
  }?
1277
1281
  },
1278
1282
  ?description: ::String,
1279
- open_search_arns: Array[::String]
1283
+ open_search_arns: Array[::String],
1284
+ ?data_source_access_policy: ::String
1280
1285
  ) -> _UpdateDirectQueryDataSourceResponseSuccess
1281
1286
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDirectQueryDataSourceResponseSuccess
1282
1287
 
data/sig/types.rbs CHANGED
@@ -72,6 +72,7 @@ module Aws::OpenSearchService
72
72
  attr_accessor data_source_type: Types::DirectQueryDataSourceType
73
73
  attr_accessor description: ::String
74
74
  attr_accessor open_search_arns: ::Array[::String]
75
+ attr_accessor data_source_access_policy: ::String
75
76
  attr_accessor tag_list: ::Array[Types::Tag]
76
77
  SENSITIVE: []
77
78
  end
@@ -505,6 +506,7 @@ module Aws::OpenSearchService
505
506
  class DataSource
506
507
  attr_accessor data_source_arn: ::String
507
508
  attr_accessor data_source_description: ::String
509
+ attr_accessor iam_role_for_data_source_arn: ::String
508
510
  SENSITIVE: []
509
511
  end
510
512
 
@@ -1126,6 +1128,7 @@ module Aws::OpenSearchService
1126
1128
  attr_accessor data_source_type: Types::DirectQueryDataSourceType
1127
1129
  attr_accessor description: ::String
1128
1130
  attr_accessor open_search_arns: ::Array[::String]
1131
+ attr_accessor data_source_access_policy: ::String
1129
1132
  attr_accessor data_source_arn: ::String
1130
1133
  SENSITIVE: []
1131
1134
  end
@@ -1967,6 +1970,7 @@ module Aws::OpenSearchService
1967
1970
  attr_accessor data_source_type: Types::DirectQueryDataSourceType
1968
1971
  attr_accessor description: ::String
1969
1972
  attr_accessor open_search_arns: ::Array[::String]
1973
+ attr_accessor data_source_access_policy: ::String
1970
1974
  SENSITIVE: []
1971
1975
  end
1972
1976
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-opensearchservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.88.0
4
+ version: 1.89.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services