aws-sdk-opensearchservice 1.58.0 → 1.60.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.58.0'
57
+ GEM_VERSION = '1.60.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -132,7 +132,8 @@ module Aws
132
132
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#authorize_vpc_endpoint_access-instance_method
133
133
  def authorize_vpc_endpoint_access: (
134
134
  domain_name: ::String,
135
- account: ::String
135
+ ?account: ::String,
136
+ ?service: ("application.opensearchservice.amazonaws.com")
136
137
  ) -> _AuthorizeVpcEndpointAccessResponseSuccess
137
138
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AuthorizeVpcEndpointAccessResponseSuccess
138
139
 
@@ -159,6 +160,47 @@ module Aws
159
160
  ) -> _CancelServiceSoftwareUpdateResponseSuccess
160
161
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelServiceSoftwareUpdateResponseSuccess
161
162
 
163
+ interface _CreateApplicationResponseSuccess
164
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
165
+ def id: () -> ::String
166
+ def name: () -> ::String
167
+ def arn: () -> ::String
168
+ def data_sources: () -> ::Array[Types::DataSource]
169
+ def iam_identity_center_options: () -> Types::IamIdentityCenterOptions
170
+ def app_configs: () -> ::Array[Types::AppConfig]
171
+ def tag_list: () -> ::Array[Types::Tag]
172
+ def created_at: () -> ::Time
173
+ end
174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#create_application-instance_method
175
+ def create_application: (
176
+ ?client_token: ::String,
177
+ name: ::String,
178
+ ?data_sources: Array[
179
+ {
180
+ data_source_arn: ::String?,
181
+ data_source_description: ::String?
182
+ },
183
+ ],
184
+ ?iam_identity_center_options: {
185
+ enabled: bool?,
186
+ iam_identity_center_instance_arn: ::String?,
187
+ iam_role_for_identity_center_application_arn: ::String?
188
+ },
189
+ ?app_configs: Array[
190
+ {
191
+ key: ("opensearchDashboards.dashboardAdmin.users" | "opensearchDashboards.dashboardAdmin.groups")?,
192
+ value: ::String?
193
+ },
194
+ ],
195
+ ?tag_list: Array[
196
+ {
197
+ key: ::String,
198
+ value: ::String
199
+ },
200
+ ]
201
+ ) -> _CreateApplicationResponseSuccess
202
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
203
+
162
204
  interface _CreateDomainResponseSuccess
163
205
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainResponse]
164
206
  def domain_status: () -> Types::DomainStatus
@@ -264,6 +306,12 @@ module Aws
264
306
  }?,
265
307
  anonymous_auth_enabled: bool?
266
308
  },
309
+ ?identity_center_options: {
310
+ enabled_api_access: bool?,
311
+ identity_center_instance_arn: ::String?,
312
+ subject_key: ("UserName" | "UserId" | "Email")?,
313
+ roles_key: ("GroupName" | "GroupId")?
314
+ },
267
315
  ?tag_list: Array[
268
316
  {
269
317
  key: ::String,
@@ -372,6 +420,15 @@ module Aws
372
420
  ) -> _CreateVpcEndpointResponseSuccess
373
421
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVpcEndpointResponseSuccess
374
422
 
423
+ interface _DeleteApplicationResponseSuccess
424
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteApplicationResponse]
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#delete_application-instance_method
427
+ def delete_application: (
428
+ id: ::String
429
+ ) -> _DeleteApplicationResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteApplicationResponseSuccess
431
+
375
432
  interface _DeleteDataSourceResponseSuccess
376
433
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDataSourceResponse]
377
434
  def message: () -> ::String
@@ -647,6 +704,25 @@ module Aws
647
704
  ) -> _DissociatePackageResponseSuccess
648
705
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DissociatePackageResponseSuccess
649
706
 
707
+ interface _GetApplicationResponseSuccess
708
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
709
+ def id: () -> ::String
710
+ def arn: () -> ::String
711
+ def name: () -> ::String
712
+ def endpoint: () -> ::String
713
+ def status: () -> ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")
714
+ def iam_identity_center_options: () -> Types::IamIdentityCenterOptions
715
+ def data_sources: () -> ::Array[Types::DataSource]
716
+ def app_configs: () -> ::Array[Types::AppConfig]
717
+ def created_at: () -> ::Time
718
+ def last_updated_at: () -> ::Time
719
+ end
720
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#get_application-instance_method
721
+ def get_application: (
722
+ id: ::String
723
+ ) -> _GetApplicationResponseSuccess
724
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationResponseSuccess
725
+
650
726
  interface _GetCompatibleVersionsResponseSuccess
651
727
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCompatibleVersionsResponse]
652
728
  def compatible_versions: () -> ::Array[Types::CompatibleVersionsMap]
@@ -726,6 +802,19 @@ module Aws
726
802
  ) -> _GetUpgradeStatusResponseSuccess
727
803
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUpgradeStatusResponseSuccess
728
804
 
805
+ interface _ListApplicationsResponseSuccess
806
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
807
+ def application_summaries: () -> ::Array[Types::ApplicationSummary]
808
+ def next_token: () -> ::String
809
+ end
810
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#list_applications-instance_method
811
+ def list_applications: (
812
+ ?next_token: ::String,
813
+ ?statuses: Array[("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")],
814
+ ?max_results: ::Integer
815
+ ) -> _ListApplicationsResponseSuccess
816
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
817
+
729
818
  interface _ListDataSourcesResponseSuccess
730
819
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDataSourcesResponse]
731
820
  def data_sources: () -> ::Array[Types::DataSourceDetails]
@@ -909,7 +998,8 @@ module Aws
909
998
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#revoke_vpc_endpoint_access-instance_method
910
999
  def revoke_vpc_endpoint_access: (
911
1000
  domain_name: ::String,
912
- account: ::String
1001
+ ?account: ::String,
1002
+ ?service: ("application.opensearchservice.amazonaws.com")
913
1003
  ) -> _RevokeVpcEndpointAccessResponseSuccess
914
1004
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RevokeVpcEndpointAccessResponseSuccess
915
1005
 
@@ -937,6 +1027,35 @@ module Aws
937
1027
  ) -> _StartServiceSoftwareUpdateResponseSuccess
938
1028
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartServiceSoftwareUpdateResponseSuccess
939
1029
 
1030
+ interface _UpdateApplicationResponseSuccess
1031
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationResponse]
1032
+ def id: () -> ::String
1033
+ def name: () -> ::String
1034
+ def arn: () -> ::String
1035
+ def data_sources: () -> ::Array[Types::DataSource]
1036
+ def iam_identity_center_options: () -> Types::IamIdentityCenterOptions
1037
+ def app_configs: () -> ::Array[Types::AppConfig]
1038
+ def created_at: () -> ::Time
1039
+ def last_updated_at: () -> ::Time
1040
+ end
1041
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/OpenSearchService/Client.html#update_application-instance_method
1042
+ def update_application: (
1043
+ id: ::String,
1044
+ ?data_sources: Array[
1045
+ {
1046
+ data_source_arn: ::String?,
1047
+ data_source_description: ::String?
1048
+ },
1049
+ ],
1050
+ ?app_configs: Array[
1051
+ {
1052
+ key: ("opensearchDashboards.dashboardAdmin.users" | "opensearchDashboards.dashboardAdmin.groups")?,
1053
+ value: ::String?
1054
+ },
1055
+ ]
1056
+ ) -> _UpdateApplicationResponseSuccess
1057
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
1058
+
940
1059
  interface _UpdateDataSourceResponseSuccess
941
1060
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDataSourceResponse]
942
1061
  def message: () -> ::String
@@ -1061,6 +1180,12 @@ module Aws
1061
1180
  }?,
1062
1181
  anonymous_auth_enabled: bool?
1063
1182
  },
1183
+ ?identity_center_options: {
1184
+ enabled_api_access: bool?,
1185
+ identity_center_instance_arn: ::String?,
1186
+ subject_key: ("UserName" | "UserId" | "Email")?,
1187
+ roles_key: ("GroupName" | "GroupId")?
1188
+ },
1064
1189
  ?auto_tune_options: {
1065
1190
  desired_state: ("ENABLED" | "DISABLED")?,
1066
1191
  rollback_on_disable: ("NO_ROLLBACK" | "DEFAULT_ROLLBACK")?,
data/sig/types.rbs CHANGED
@@ -107,6 +107,23 @@ module Aws::OpenSearchService
107
107
  SENSITIVE: []
108
108
  end
109
109
 
110
+ class AppConfig
111
+ attr_accessor key: ("opensearchDashboards.dashboardAdmin.users" | "opensearchDashboards.dashboardAdmin.groups")
112
+ attr_accessor value: ::String
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class ApplicationSummary
117
+ attr_accessor id: ::String
118
+ attr_accessor arn: ::String
119
+ attr_accessor name: ::String
120
+ attr_accessor endpoint: ::String
121
+ attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")
122
+ attr_accessor created_at: ::Time
123
+ attr_accessor last_updated_at: ::Time
124
+ SENSITIVE: []
125
+ end
126
+
110
127
  class AssociatePackageRequest
111
128
  attr_accessor package_id: ::String
112
129
  attr_accessor domain_name: ::String
@@ -121,6 +138,7 @@ module Aws::OpenSearchService
121
138
  class AuthorizeVpcEndpointAccessRequest
122
139
  attr_accessor domain_name: ::String
123
140
  attr_accessor account: ::String
141
+ attr_accessor service: ("application.opensearchservice.amazonaws.com")
124
142
  SENSITIVE: []
125
143
  end
126
144
 
@@ -325,6 +343,28 @@ module Aws::OpenSearchService
325
343
  SENSITIVE: []
326
344
  end
327
345
 
346
+ class CreateApplicationRequest
347
+ attr_accessor client_token: ::String
348
+ attr_accessor name: ::String
349
+ attr_accessor data_sources: ::Array[Types::DataSource]
350
+ attr_accessor iam_identity_center_options: Types::IamIdentityCenterOptionsInput
351
+ attr_accessor app_configs: ::Array[Types::AppConfig]
352
+ attr_accessor tag_list: ::Array[Types::Tag]
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class CreateApplicationResponse
357
+ attr_accessor id: ::String
358
+ attr_accessor name: ::String
359
+ attr_accessor arn: ::String
360
+ attr_accessor data_sources: ::Array[Types::DataSource]
361
+ attr_accessor iam_identity_center_options: Types::IamIdentityCenterOptions
362
+ attr_accessor app_configs: ::Array[Types::AppConfig]
363
+ attr_accessor tag_list: ::Array[Types::Tag]
364
+ attr_accessor created_at: ::Time
365
+ SENSITIVE: []
366
+ end
367
+
328
368
  class CreateDomainRequest
329
369
  attr_accessor domain_name: ::String
330
370
  attr_accessor engine_version: ::String
@@ -341,6 +381,7 @@ module Aws::OpenSearchService
341
381
  attr_accessor log_publishing_options: ::Hash[("INDEX_SLOW_LOGS" | "SEARCH_SLOW_LOGS" | "ES_APPLICATION_LOGS" | "AUDIT_LOGS"), Types::LogPublishingOption]
342
382
  attr_accessor domain_endpoint_options: Types::DomainEndpointOptions
343
383
  attr_accessor advanced_security_options: Types::AdvancedSecurityOptionsInput
384
+ attr_accessor identity_center_options: Types::IdentityCenterOptionsInput
344
385
  attr_accessor tag_list: ::Array[Types::Tag]
345
386
  attr_accessor auto_tune_options: Types::AutoTuneOptionsInput
346
387
  attr_accessor off_peak_window_options: Types::OffPeakWindowOptions
@@ -404,6 +445,12 @@ module Aws::OpenSearchService
404
445
  SENSITIVE: []
405
446
  end
406
447
 
448
+ class DataSource
449
+ attr_accessor data_source_arn: ::String
450
+ attr_accessor data_source_description: ::String
451
+ SENSITIVE: []
452
+ end
453
+
407
454
  class DataSourceDetails
408
455
  attr_accessor data_source_type: Types::DataSourceType
409
456
  attr_accessor name: ::String
@@ -423,6 +470,14 @@ module Aws::OpenSearchService
423
470
  end
424
471
  end
425
472
 
473
+ class DeleteApplicationRequest
474
+ attr_accessor id: ::String
475
+ SENSITIVE: []
476
+ end
477
+
478
+ class DeleteApplicationResponse < Aws::EmptyStructure
479
+ end
480
+
426
481
  class DeleteDataSourceRequest
427
482
  attr_accessor domain_name: ::String
428
483
  attr_accessor name: ::String
@@ -710,6 +765,7 @@ module Aws::OpenSearchService
710
765
  attr_accessor log_publishing_options: Types::LogPublishingOptionsStatus
711
766
  attr_accessor domain_endpoint_options: Types::DomainEndpointOptionsStatus
712
767
  attr_accessor advanced_security_options: Types::AdvancedSecurityOptionsStatus
768
+ attr_accessor identity_center_options: Types::IdentityCenterOptionsStatus
713
769
  attr_accessor auto_tune_options: Types::AutoTuneOptionsStatus
714
770
  attr_accessor change_progress_details: Types::ChangeProgressDetails
715
771
  attr_accessor off_peak_window_options: Types::OffPeakWindowOptionsStatus
@@ -809,6 +865,7 @@ module Aws::OpenSearchService
809
865
  attr_accessor service_software_options: Types::ServiceSoftwareOptions
810
866
  attr_accessor domain_endpoint_options: Types::DomainEndpointOptions
811
867
  attr_accessor advanced_security_options: Types::AdvancedSecurityOptions
868
+ attr_accessor identity_center_options: Types::IdentityCenterOptions
812
869
  attr_accessor auto_tune_options: Types::AutoTuneOptionsOutput
813
870
  attr_accessor change_progress_details: Types::ChangeProgressDetails
814
871
  attr_accessor off_peak_window_options: Types::OffPeakWindowOptions
@@ -884,6 +941,25 @@ module Aws::OpenSearchService
884
941
  SENSITIVE: []
885
942
  end
886
943
 
944
+ class GetApplicationRequest
945
+ attr_accessor id: ::String
946
+ SENSITIVE: []
947
+ end
948
+
949
+ class GetApplicationResponse
950
+ attr_accessor id: ::String
951
+ attr_accessor arn: ::String
952
+ attr_accessor name: ::String
953
+ attr_accessor endpoint: ::String
954
+ attr_accessor status: ("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")
955
+ attr_accessor iam_identity_center_options: Types::IamIdentityCenterOptions
956
+ attr_accessor data_sources: ::Array[Types::DataSource]
957
+ attr_accessor app_configs: ::Array[Types::AppConfig]
958
+ attr_accessor created_at: ::Time
959
+ attr_accessor last_updated_at: ::Time
960
+ SENSITIVE: []
961
+ end
962
+
887
963
  class GetCompatibleVersionsRequest
888
964
  attr_accessor domain_name: ::String
889
965
  SENSITIVE: []
@@ -969,6 +1045,45 @@ module Aws::OpenSearchService
969
1045
  SENSITIVE: []
970
1046
  end
971
1047
 
1048
+ class IamIdentityCenterOptions
1049
+ attr_accessor enabled: bool
1050
+ attr_accessor iam_identity_center_instance_arn: ::String
1051
+ attr_accessor iam_role_for_identity_center_application_arn: ::String
1052
+ attr_accessor iam_identity_center_application_arn: ::String
1053
+ SENSITIVE: []
1054
+ end
1055
+
1056
+ class IamIdentityCenterOptionsInput
1057
+ attr_accessor enabled: bool
1058
+ attr_accessor iam_identity_center_instance_arn: ::String
1059
+ attr_accessor iam_role_for_identity_center_application_arn: ::String
1060
+ SENSITIVE: []
1061
+ end
1062
+
1063
+ class IdentityCenterOptions
1064
+ attr_accessor enabled_api_access: bool
1065
+ attr_accessor identity_center_instance_arn: ::String
1066
+ attr_accessor subject_key: ("UserName" | "UserId" | "Email")
1067
+ attr_accessor roles_key: ("GroupName" | "GroupId")
1068
+ attr_accessor identity_center_application_arn: ::String
1069
+ attr_accessor identity_store_id: ::String
1070
+ SENSITIVE: []
1071
+ end
1072
+
1073
+ class IdentityCenterOptionsInput
1074
+ attr_accessor enabled_api_access: bool
1075
+ attr_accessor identity_center_instance_arn: ::String
1076
+ attr_accessor subject_key: ("UserName" | "UserId" | "Email")
1077
+ attr_accessor roles_key: ("GroupName" | "GroupId")
1078
+ SENSITIVE: []
1079
+ end
1080
+
1081
+ class IdentityCenterOptionsStatus
1082
+ attr_accessor options: Types::IdentityCenterOptions
1083
+ attr_accessor status: Types::OptionStatus
1084
+ SENSITIVE: []
1085
+ end
1086
+
972
1087
  class InboundConnection
973
1088
  attr_accessor local_domain_info: Types::DomainInformationContainer
974
1089
  attr_accessor remote_domain_info: Types::DomainInformationContainer
@@ -1042,6 +1157,19 @@ module Aws::OpenSearchService
1042
1157
  SENSITIVE: []
1043
1158
  end
1044
1159
 
1160
+ class ListApplicationsRequest
1161
+ attr_accessor next_token: ::String
1162
+ attr_accessor statuses: ::Array[("CREATING" | "UPDATING" | "DELETING" | "ACTIVE" | "FAILED")]
1163
+ attr_accessor max_results: ::Integer
1164
+ SENSITIVE: []
1165
+ end
1166
+
1167
+ class ListApplicationsResponse
1168
+ attr_accessor application_summaries: ::Array[Types::ApplicationSummary]
1169
+ attr_accessor next_token: ::String
1170
+ SENSITIVE: []
1171
+ end
1172
+
1045
1173
  class ListDataSourcesRequest
1046
1174
  attr_accessor domain_name: ::String
1047
1175
  SENSITIVE: []
@@ -1406,6 +1534,7 @@ module Aws::OpenSearchService
1406
1534
  class RevokeVpcEndpointAccessRequest
1407
1535
  attr_accessor domain_name: ::String
1408
1536
  attr_accessor account: ::String
1537
+ attr_accessor service: ("application.opensearchservice.amazonaws.com")
1409
1538
  SENSITIVE: []
1410
1539
  end
1411
1540
 
@@ -1546,6 +1675,25 @@ module Aws::OpenSearchService
1546
1675
  SENSITIVE: []
1547
1676
  end
1548
1677
 
1678
+ class UpdateApplicationRequest
1679
+ attr_accessor id: ::String
1680
+ attr_accessor data_sources: ::Array[Types::DataSource]
1681
+ attr_accessor app_configs: ::Array[Types::AppConfig]
1682
+ SENSITIVE: []
1683
+ end
1684
+
1685
+ class UpdateApplicationResponse
1686
+ attr_accessor id: ::String
1687
+ attr_accessor name: ::String
1688
+ attr_accessor arn: ::String
1689
+ attr_accessor data_sources: ::Array[Types::DataSource]
1690
+ attr_accessor iam_identity_center_options: Types::IamIdentityCenterOptions
1691
+ attr_accessor app_configs: ::Array[Types::AppConfig]
1692
+ attr_accessor created_at: ::Time
1693
+ attr_accessor last_updated_at: ::Time
1694
+ SENSITIVE: []
1695
+ end
1696
+
1549
1697
  class UpdateDataSourceRequest
1550
1698
  attr_accessor domain_name: ::String
1551
1699
  attr_accessor name: ::String
@@ -1575,6 +1723,7 @@ module Aws::OpenSearchService
1575
1723
  attr_accessor domain_endpoint_options: Types::DomainEndpointOptions
1576
1724
  attr_accessor node_to_node_encryption_options: Types::NodeToNodeEncryptionOptions
1577
1725
  attr_accessor advanced_security_options: Types::AdvancedSecurityOptionsInput
1726
+ attr_accessor identity_center_options: Types::IdentityCenterOptionsInput
1578
1727
  attr_accessor auto_tune_options: Types::AutoTuneOptions
1579
1728
  attr_accessor dry_run: bool
1580
1729
  attr_accessor dry_run_mode: ("Basic" | "Verbose")
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.58.0
4
+ version: 1.60.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-10-28 00:00:00.000000000 Z
11
+ date: 2024-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core