aws-sdk-opensearchservice 1.26.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,8 @@ module Aws::OpenSearchService
23
23
  ActionSeverity = Shapes::StringShape.new(name: 'ActionSeverity')
24
24
  ActionStatus = Shapes::StringShape.new(name: 'ActionStatus')
25
25
  ActionType = Shapes::StringShape.new(name: 'ActionType')
26
+ AddDataSourceRequest = Shapes::StructureShape.new(name: 'AddDataSourceRequest')
27
+ AddDataSourceResponse = Shapes::StructureShape.new(name: 'AddDataSourceResponse')
26
28
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
27
29
  AdditionalLimit = Shapes::StructureShape.new(name: 'AdditionalLimit')
28
30
  AdditionalLimitList = Shapes::ListShape.new(name: 'AdditionalLimitList')
@@ -92,6 +94,13 @@ module Aws::OpenSearchService
92
94
  CreateVpcEndpointResponse = Shapes::StructureShape.new(name: 'CreateVpcEndpointResponse')
93
95
  CreatedAt = Shapes::TimestampShape.new(name: 'CreatedAt')
94
96
  CrossClusterSearchConnectionProperties = Shapes::StructureShape.new(name: 'CrossClusterSearchConnectionProperties')
97
+ DataSourceDescription = Shapes::StringShape.new(name: 'DataSourceDescription')
98
+ DataSourceDetails = Shapes::StructureShape.new(name: 'DataSourceDetails')
99
+ DataSourceList = Shapes::ListShape.new(name: 'DataSourceList')
100
+ DataSourceName = Shapes::StringShape.new(name: 'DataSourceName')
101
+ DataSourceType = Shapes::UnionShape.new(name: 'DataSourceType')
102
+ DeleteDataSourceRequest = Shapes::StructureShape.new(name: 'DeleteDataSourceRequest')
103
+ DeleteDataSourceResponse = Shapes::StructureShape.new(name: 'DeleteDataSourceResponse')
95
104
  DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
96
105
  DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
97
106
  DeleteInboundConnectionRequest = Shapes::StructureShape.new(name: 'DeleteInboundConnectionRequest')
@@ -155,6 +164,8 @@ module Aws::OpenSearchService
155
164
  DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
156
165
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
157
166
  DomainInformationContainer = Shapes::StructureShape.new(name: 'DomainInformationContainer')
167
+ DomainMaintenanceDetails = Shapes::StructureShape.new(name: 'DomainMaintenanceDetails')
168
+ DomainMaintenanceList = Shapes::ListShape.new(name: 'DomainMaintenanceList')
158
169
  DomainName = Shapes::StringShape.new(name: 'DomainName')
159
170
  DomainNameFqdn = Shapes::StringShape.new(name: 'DomainNameFqdn')
160
171
  DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
@@ -180,6 +191,7 @@ module Aws::OpenSearchService
180
191
  Endpoint = Shapes::StringShape.new(name: 'Endpoint')
181
192
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
182
193
  EngineType = Shapes::StringShape.new(name: 'EngineType')
194
+ EngineVersion = Shapes::StringShape.new(name: 'EngineVersion')
183
195
  EnvironmentInfo = Shapes::StructureShape.new(name: 'EnvironmentInfo')
184
196
  EnvironmentInfoList = Shapes::ListShape.new(name: 'EnvironmentInfoList')
185
197
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
@@ -190,12 +202,18 @@ module Aws::OpenSearchService
190
202
  GUID = Shapes::StringShape.new(name: 'GUID')
191
203
  GetCompatibleVersionsRequest = Shapes::StructureShape.new(name: 'GetCompatibleVersionsRequest')
192
204
  GetCompatibleVersionsResponse = Shapes::StructureShape.new(name: 'GetCompatibleVersionsResponse')
205
+ GetDataSourceRequest = Shapes::StructureShape.new(name: 'GetDataSourceRequest')
206
+ GetDataSourceResponse = Shapes::StructureShape.new(name: 'GetDataSourceResponse')
207
+ GetDomainMaintenanceStatusRequest = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusRequest')
208
+ GetDomainMaintenanceStatusResponse = Shapes::StructureShape.new(name: 'GetDomainMaintenanceStatusResponse')
193
209
  GetPackageVersionHistoryRequest = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryRequest')
194
210
  GetPackageVersionHistoryResponse = Shapes::StructureShape.new(name: 'GetPackageVersionHistoryResponse')
195
211
  GetUpgradeHistoryRequest = Shapes::StructureShape.new(name: 'GetUpgradeHistoryRequest')
196
212
  GetUpgradeHistoryResponse = Shapes::StructureShape.new(name: 'GetUpgradeHistoryResponse')
197
213
  GetUpgradeStatusRequest = Shapes::StructureShape.new(name: 'GetUpgradeStatusRequest')
198
214
  GetUpgradeStatusResponse = Shapes::StructureShape.new(name: 'GetUpgradeStatusResponse')
215
+ IPAddressType = Shapes::StringShape.new(name: 'IPAddressType')
216
+ IPAddressTypeStatus = Shapes::StructureShape.new(name: 'IPAddressTypeStatus')
199
217
  IdentityPoolId = Shapes::StringShape.new(name: 'IdentityPoolId')
200
218
  InboundConnection = Shapes::StructureShape.new(name: 'InboundConnection')
201
219
  InboundConnectionStatus = Shapes::StructureShape.new(name: 'InboundConnectionStatus')
@@ -224,6 +242,10 @@ module Aws::OpenSearchService
224
242
  LimitValueList = Shapes::ListShape.new(name: 'LimitValueList')
225
243
  Limits = Shapes::StructureShape.new(name: 'Limits')
226
244
  LimitsByRole = Shapes::MapShape.new(name: 'LimitsByRole')
245
+ ListDataSourcesRequest = Shapes::StructureShape.new(name: 'ListDataSourcesRequest')
246
+ ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
247
+ ListDomainMaintenancesRequest = Shapes::StructureShape.new(name: 'ListDomainMaintenancesRequest')
248
+ ListDomainMaintenancesResponse = Shapes::StructureShape.new(name: 'ListDomainMaintenancesResponse')
227
249
  ListDomainNamesRequest = Shapes::StructureShape.new(name: 'ListDomainNamesRequest')
228
250
  ListDomainNamesResponse = Shapes::StructureShape.new(name: 'ListDomainNamesResponse')
229
251
  ListDomainsForPackageRequest = Shapes::StructureShape.new(name: 'ListDomainsForPackageRequest')
@@ -249,6 +271,9 @@ module Aws::OpenSearchService
249
271
  LogPublishingOptionsStatus = Shapes::StructureShape.new(name: 'LogPublishingOptionsStatus')
250
272
  LogType = Shapes::StringShape.new(name: 'LogType')
251
273
  Long = Shapes::IntegerShape.new(name: 'Long')
274
+ MaintenanceStatus = Shapes::StringShape.new(name: 'MaintenanceStatus')
275
+ MaintenanceStatusMessage = Shapes::StringShape.new(name: 'MaintenanceStatusMessage')
276
+ MaintenanceType = Shapes::StringShape.new(name: 'MaintenanceType')
252
277
  MasterNodeStatus = Shapes::StringShape.new(name: 'MasterNodeStatus')
253
278
  MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
254
279
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -290,6 +315,11 @@ module Aws::OpenSearchService
290
315
  PackageVersionHistory = Shapes::StructureShape.new(name: 'PackageVersionHistory')
291
316
  PackageVersionHistoryList = Shapes::ListShape.new(name: 'PackageVersionHistoryList')
292
317
  Password = Shapes::StringShape.new(name: 'Password')
318
+ PluginClassName = Shapes::StringShape.new(name: 'PluginClassName')
319
+ PluginDescription = Shapes::StringShape.new(name: 'PluginDescription')
320
+ PluginName = Shapes::StringShape.new(name: 'PluginName')
321
+ PluginProperties = Shapes::StructureShape.new(name: 'PluginProperties')
322
+ PluginVersion = Shapes::StringShape.new(name: 'PluginVersion')
293
323
  PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
294
324
  PrincipalType = Shapes::StringShape.new(name: 'PrincipalType')
295
325
  PurchaseReservedInstanceOfferingRequest = Shapes::StructureShape.new(name: 'PurchaseReservedInstanceOfferingRequest')
@@ -301,6 +331,7 @@ module Aws::OpenSearchService
301
331
  RejectInboundConnectionRequest = Shapes::StructureShape.new(name: 'RejectInboundConnectionRequest')
302
332
  RejectInboundConnectionResponse = Shapes::StructureShape.new(name: 'RejectInboundConnectionResponse')
303
333
  RemoveTagsRequest = Shapes::StructureShape.new(name: 'RemoveTagsRequest')
334
+ RequestId = Shapes::StringShape.new(name: 'RequestId')
304
335
  ReservationToken = Shapes::StringShape.new(name: 'ReservationToken')
305
336
  ReservedInstance = Shapes::StructureShape.new(name: 'ReservedInstance')
306
337
  ReservedInstanceList = Shapes::ListShape.new(name: 'ReservedInstanceList')
@@ -314,6 +345,7 @@ module Aws::OpenSearchService
314
345
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
315
346
  RollbackOnDisable = Shapes::StringShape.new(name: 'RollbackOnDisable')
316
347
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
348
+ S3GlueDataCatalog = Shapes::StructureShape.new(name: 'S3GlueDataCatalog')
317
349
  S3Key = Shapes::StringShape.new(name: 'S3Key')
318
350
  SAMLEntityId = Shapes::StringShape.new(name: 'SAMLEntityId')
319
351
  SAMLIdp = Shapes::StructureShape.new(name: 'SAMLIdp')
@@ -338,6 +370,8 @@ module Aws::OpenSearchService
338
370
  SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
339
371
  SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
340
372
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
373
+ StartDomainMaintenanceRequest = Shapes::StructureShape.new(name: 'StartDomainMaintenanceRequest')
374
+ StartDomainMaintenanceResponse = Shapes::StructureShape.new(name: 'StartDomainMaintenanceResponse')
341
375
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
342
376
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
343
377
  StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
@@ -359,6 +393,9 @@ module Aws::OpenSearchService
359
393
  TimeUnit = Shapes::StringShape.new(name: 'TimeUnit')
360
394
  TotalNumberOfStages = Shapes::IntegerShape.new(name: 'TotalNumberOfStages')
361
395
  UIntValue = Shapes::IntegerShape.new(name: 'UIntValue')
396
+ UncompressedPluginSizeInBytes = Shapes::IntegerShape.new(name: 'UncompressedPluginSizeInBytes')
397
+ UpdateDataSourceRequest = Shapes::StructureShape.new(name: 'UpdateDataSourceRequest')
398
+ UpdateDataSourceResponse = Shapes::StructureShape.new(name: 'UpdateDataSourceResponse')
362
399
  UpdateDomainConfigRequest = Shapes::StructureShape.new(name: 'UpdateDomainConfigRequest')
363
400
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
364
401
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
@@ -422,6 +459,15 @@ module Aws::OpenSearchService
422
459
  AccessPoliciesStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
423
460
  AccessPoliciesStatus.struct_class = Types::AccessPoliciesStatus
424
461
 
462
+ AddDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
463
+ AddDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location_name: "Name"))
464
+ AddDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "DataSourceType"))
465
+ AddDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
466
+ AddDataSourceRequest.struct_class = Types::AddDataSourceRequest
467
+
468
+ AddDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
469
+ AddDataSourceResponse.struct_class = Types::AddDataSourceResponse
470
+
425
471
  AddTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ARN"))
426
472
  AddTagsRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "TagList"))
427
473
  AddTagsRequest.struct_class = Types::AddTagsRequest
@@ -611,6 +657,7 @@ module Aws::OpenSearchService
611
657
  CreateDomainRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
612
658
  CreateDomainRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
613
659
  CreateDomainRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
660
+ CreateDomainRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
614
661
  CreateDomainRequest.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
615
662
  CreateDomainRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, location_name: "VPCOptions"))
616
663
  CreateDomainRequest.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
@@ -665,6 +712,26 @@ module Aws::OpenSearchService
665
712
  CrossClusterSearchConnectionProperties.add_member(:skip_unavailable, Shapes::ShapeRef.new(shape: SkipUnavailableStatus, location_name: "SkipUnavailable"))
666
713
  CrossClusterSearchConnectionProperties.struct_class = Types::CrossClusterSearchConnectionProperties
667
714
 
715
+ DataSourceDetails.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
716
+ DataSourceDetails.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
717
+ DataSourceDetails.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
718
+ DataSourceDetails.struct_class = Types::DataSourceDetails
719
+
720
+ DataSourceList.member = Shapes::ShapeRef.new(shape: DataSourceDetails)
721
+
722
+ DataSourceType.add_member(:s3_glue_data_catalog, Shapes::ShapeRef.new(shape: S3GlueDataCatalog, location_name: "S3GlueDataCatalog"))
723
+ DataSourceType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
724
+ DataSourceType.add_member_subclass(:s3_glue_data_catalog, Types::DataSourceType::S3GlueDataCatalog)
725
+ DataSourceType.add_member_subclass(:unknown, Types::DataSourceType::Unknown)
726
+ DataSourceType.struct_class = Types::DataSourceType
727
+
728
+ DeleteDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
729
+ DeleteDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
730
+ DeleteDataSourceRequest.struct_class = Types::DeleteDataSourceRequest
731
+
732
+ DeleteDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
733
+ DeleteDataSourceResponse.struct_class = Types::DeleteDataSourceResponse
734
+
668
735
  DeleteDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
669
736
  DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
670
737
 
@@ -846,6 +913,7 @@ module Aws::OpenSearchService
846
913
  DomainConfig.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfigStatus, location_name: "ClusterConfig"))
847
914
  DomainConfig.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptionsStatus, location_name: "EBSOptions"))
848
915
  DomainConfig.add_member(:access_policies, Shapes::ShapeRef.new(shape: AccessPoliciesStatus, location_name: "AccessPolicies"))
916
+ DomainConfig.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressTypeStatus, location_name: "IPAddressType"))
849
917
  DomainConfig.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptionsStatus, location_name: "SnapshotOptions"))
850
918
  DomainConfig.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfoStatus, location_name: "VPCOptions"))
851
919
  DomainConfig.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptionsStatus, location_name: "CognitoOptions"))
@@ -881,6 +949,18 @@ module Aws::OpenSearchService
881
949
  DomainInformationContainer.add_member(:aws_domain_information, Shapes::ShapeRef.new(shape: AWSDomainInformation, location_name: "AWSDomainInformation"))
882
950
  DomainInformationContainer.struct_class = Types::DomainInformationContainer
883
951
 
952
+ DomainMaintenanceDetails.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
953
+ DomainMaintenanceDetails.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
954
+ DomainMaintenanceDetails.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location_name: "Action"))
955
+ DomainMaintenanceDetails.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
956
+ DomainMaintenanceDetails.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "Status"))
957
+ DomainMaintenanceDetails.add_member(:status_message, Shapes::ShapeRef.new(shape: MaintenanceStatusMessage, location_name: "StatusMessage"))
958
+ DomainMaintenanceDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "CreatedAt"))
959
+ DomainMaintenanceDetails.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
960
+ DomainMaintenanceDetails.struct_class = Types::DomainMaintenanceDetails
961
+
962
+ DomainMaintenanceList.member = Shapes::ShapeRef.new(shape: DomainMaintenanceDetails)
963
+
884
964
  DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
885
965
 
886
966
  DomainNodesStatus.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
@@ -914,6 +994,7 @@ module Aws::OpenSearchService
914
994
  DomainStatus.add_member(:created, Shapes::ShapeRef.new(shape: Boolean, location_name: "Created"))
915
995
  DomainStatus.add_member(:deleted, Shapes::ShapeRef.new(shape: Boolean, location_name: "Deleted"))
916
996
  DomainStatus.add_member(:endpoint, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "Endpoint"))
997
+ DomainStatus.add_member(:endpoint_v2, Shapes::ShapeRef.new(shape: ServiceUrl, location_name: "EndpointV2"))
917
998
  DomainStatus.add_member(:endpoints, Shapes::ShapeRef.new(shape: EndpointsMap, location_name: "Endpoints"))
918
999
  DomainStatus.add_member(:processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "Processing"))
919
1000
  DomainStatus.add_member(:upgrade_processing, Shapes::ShapeRef.new(shape: Boolean, location_name: "UpgradeProcessing"))
@@ -921,6 +1002,7 @@ module Aws::OpenSearchService
921
1002
  DomainStatus.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, required: true, location_name: "ClusterConfig"))
922
1003
  DomainStatus.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
923
1004
  DomainStatus.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
1005
+ DomainStatus.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
924
1006
  DomainStatus.add_member(:snapshot_options, Shapes::ShapeRef.new(shape: SnapshotOptions, location_name: "SnapshotOptions"))
925
1007
  DomainStatus.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCDerivedInfo, location_name: "VPCOptions"))
926
1008
  DomainStatus.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
@@ -997,6 +1079,27 @@ module Aws::OpenSearchService
997
1079
  GetCompatibleVersionsResponse.add_member(:compatible_versions, Shapes::ShapeRef.new(shape: CompatibleVersionsList, location_name: "CompatibleVersions"))
998
1080
  GetCompatibleVersionsResponse.struct_class = Types::GetCompatibleVersionsResponse
999
1081
 
1082
+ GetDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1083
+ GetDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
1084
+ GetDataSourceRequest.struct_class = Types::GetDataSourceRequest
1085
+
1086
+ GetDataSourceResponse.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, location_name: "DataSourceType"))
1087
+ GetDataSourceResponse.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, location_name: "Name"))
1088
+ GetDataSourceResponse.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
1089
+ GetDataSourceResponse.struct_class = Types::GetDataSourceResponse
1090
+
1091
+ GetDomainMaintenanceStatusRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1092
+ GetDomainMaintenanceStatusRequest.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, required: true, location: "querystring", location_name: "maintenanceId"))
1093
+ GetDomainMaintenanceStatusRequest.struct_class = Types::GetDomainMaintenanceStatusRequest
1094
+
1095
+ GetDomainMaintenanceStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location_name: "Status"))
1096
+ GetDomainMaintenanceStatusResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: MaintenanceStatusMessage, location_name: "StatusMessage"))
1097
+ GetDomainMaintenanceStatusResponse.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
1098
+ GetDomainMaintenanceStatusResponse.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location_name: "Action"))
1099
+ GetDomainMaintenanceStatusResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "CreatedAt"))
1100
+ GetDomainMaintenanceStatusResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: UpdateTimestamp, location_name: "UpdatedAt"))
1101
+ GetDomainMaintenanceStatusResponse.struct_class = Types::GetDomainMaintenanceStatusResponse
1102
+
1000
1103
  GetPackageVersionHistoryRequest.add_member(:package_id, Shapes::ShapeRef.new(shape: PackageID, required: true, location: "uri", location_name: "PackageID"))
1001
1104
  GetPackageVersionHistoryRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1002
1105
  GetPackageVersionHistoryRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -1024,6 +1127,10 @@ module Aws::OpenSearchService
1024
1127
  GetUpgradeStatusResponse.add_member(:upgrade_name, Shapes::ShapeRef.new(shape: UpgradeName, location_name: "UpgradeName"))
1025
1128
  GetUpgradeStatusResponse.struct_class = Types::GetUpgradeStatusResponse
1026
1129
 
1130
+ IPAddressTypeStatus.add_member(:options, Shapes::ShapeRef.new(shape: IPAddressType, required: true, location_name: "Options"))
1131
+ IPAddressTypeStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1132
+ IPAddressTypeStatus.struct_class = Types::IPAddressTypeStatus
1133
+
1027
1134
  InboundConnection.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "LocalDomainInfo"))
1028
1135
  InboundConnection.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "RemoteDomainInfo"))
1029
1136
  InboundConnection.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
@@ -1078,6 +1185,23 @@ module Aws::OpenSearchService
1078
1185
  LimitsByRole.key = Shapes::ShapeRef.new(shape: InstanceRole)
1079
1186
  LimitsByRole.value = Shapes::ShapeRef.new(shape: Limits)
1080
1187
 
1188
+ ListDataSourcesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1189
+ ListDataSourcesRequest.struct_class = Types::ListDataSourcesRequest
1190
+
1191
+ ListDataSourcesResponse.add_member(:data_sources, Shapes::ShapeRef.new(shape: DataSourceList, location_name: "DataSources"))
1192
+ ListDataSourcesResponse.struct_class = Types::ListDataSourcesResponse
1193
+
1194
+ ListDomainMaintenancesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1195
+ ListDomainMaintenancesRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, location: "querystring", location_name: "action"))
1196
+ ListDomainMaintenancesRequest.add_member(:status, Shapes::ShapeRef.new(shape: MaintenanceStatus, location: "querystring", location_name: "status"))
1197
+ ListDomainMaintenancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1198
+ ListDomainMaintenancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1199
+ ListDomainMaintenancesRequest.struct_class = Types::ListDomainMaintenancesRequest
1200
+
1201
+ ListDomainMaintenancesResponse.add_member(:domain_maintenances, Shapes::ShapeRef.new(shape: DomainMaintenanceList, location_name: "DomainMaintenances"))
1202
+ ListDomainMaintenancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1203
+ ListDomainMaintenancesResponse.struct_class = Types::ListDomainMaintenancesResponse
1204
+
1081
1205
  ListDomainNamesRequest.add_member(:engine_type, Shapes::ShapeRef.new(shape: EngineType, location: "querystring", location_name: "engineType"))
1082
1206
  ListDomainNamesRequest.struct_class = Types::ListDomainNamesRequest
1083
1207
 
@@ -1225,6 +1349,8 @@ module Aws::OpenSearchService
1225
1349
  PackageDetails.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: LastUpdated, location_name: "LastUpdatedAt"))
1226
1350
  PackageDetails.add_member(:available_package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "AvailablePackageVersion"))
1227
1351
  PackageDetails.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "ErrorDetails"))
1352
+ PackageDetails.add_member(:engine_version, Shapes::ShapeRef.new(shape: EngineVersion, location_name: "EngineVersion"))
1353
+ PackageDetails.add_member(:available_plugin_properties, Shapes::ShapeRef.new(shape: PluginProperties, location_name: "AvailablePluginProperties"))
1228
1354
  PackageDetails.struct_class = Types::PackageDetails
1229
1355
 
1230
1356
  PackageDetailsList.member = Shapes::ShapeRef.new(shape: PackageDetails)
@@ -1236,10 +1362,18 @@ module Aws::OpenSearchService
1236
1362
  PackageVersionHistory.add_member(:package_version, Shapes::ShapeRef.new(shape: PackageVersion, location_name: "PackageVersion"))
1237
1363
  PackageVersionHistory.add_member(:commit_message, Shapes::ShapeRef.new(shape: CommitMessage, location_name: "CommitMessage"))
1238
1364
  PackageVersionHistory.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "CreatedAt"))
1365
+ PackageVersionHistory.add_member(:plugin_properties, Shapes::ShapeRef.new(shape: PluginProperties, location_name: "PluginProperties"))
1239
1366
  PackageVersionHistory.struct_class = Types::PackageVersionHistory
1240
1367
 
1241
1368
  PackageVersionHistoryList.member = Shapes::ShapeRef.new(shape: PackageVersionHistory)
1242
1369
 
1370
+ PluginProperties.add_member(:name, Shapes::ShapeRef.new(shape: PluginName, location_name: "Name"))
1371
+ PluginProperties.add_member(:description, Shapes::ShapeRef.new(shape: PluginDescription, location_name: "Description"))
1372
+ PluginProperties.add_member(:version, Shapes::ShapeRef.new(shape: PluginVersion, location_name: "Version"))
1373
+ PluginProperties.add_member(:class_name, Shapes::ShapeRef.new(shape: PluginClassName, location_name: "ClassName"))
1374
+ PluginProperties.add_member(:uncompressed_size_in_bytes, Shapes::ShapeRef.new(shape: UncompressedPluginSizeInBytes, location_name: "UncompressedSizeInBytes"))
1375
+ PluginProperties.struct_class = Types::PluginProperties
1376
+
1243
1377
  PurchaseReservedInstanceOfferingRequest.add_member(:reserved_instance_offering_id, Shapes::ShapeRef.new(shape: GUID, required: true, location_name: "ReservedInstanceOfferingId"))
1244
1378
  PurchaseReservedInstanceOfferingRequest.add_member(:reservation_name, Shapes::ShapeRef.new(shape: ReservationToken, required: true, location_name: "ReservationName"))
1245
1379
  PurchaseReservedInstanceOfferingRequest.add_member(:instance_count, Shapes::ShapeRef.new(shape: InstanceCount, location_name: "InstanceCount"))
@@ -1305,6 +1439,9 @@ module Aws::OpenSearchService
1305
1439
 
1306
1440
  RevokeVpcEndpointAccessResponse.struct_class = Types::RevokeVpcEndpointAccessResponse
1307
1441
 
1442
+ S3GlueDataCatalog.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
1443
+ S3GlueDataCatalog.struct_class = Types::S3GlueDataCatalog
1444
+
1308
1445
  SAMLIdp.add_member(:metadata_content, Shapes::ShapeRef.new(shape: SAMLMetadata, required: true, location_name: "MetadataContent"))
1309
1446
  SAMLIdp.add_member(:entity_id, Shapes::ShapeRef.new(shape: SAMLEntityId, required: true, location_name: "EntityId"))
1310
1447
  SAMLIdp.struct_class = Types::SAMLIdp
@@ -1373,6 +1510,14 @@ module Aws::OpenSearchService
1373
1510
  SoftwareUpdateOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1374
1511
  SoftwareUpdateOptionsStatus.struct_class = Types::SoftwareUpdateOptionsStatus
1375
1512
 
1513
+ StartDomainMaintenanceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1514
+ StartDomainMaintenanceRequest.add_member(:action, Shapes::ShapeRef.new(shape: MaintenanceType, required: true, location_name: "Action"))
1515
+ StartDomainMaintenanceRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: NodeId, location_name: "NodeId"))
1516
+ StartDomainMaintenanceRequest.struct_class = Types::StartDomainMaintenanceRequest
1517
+
1518
+ StartDomainMaintenanceResponse.add_member(:maintenance_id, Shapes::ShapeRef.new(shape: RequestId, location_name: "MaintenanceId"))
1519
+ StartDomainMaintenanceResponse.struct_class = Types::StartDomainMaintenanceResponse
1520
+
1376
1521
  StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1377
1522
  StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
1378
1523
  StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
@@ -1402,6 +1547,15 @@ module Aws::OpenSearchService
1402
1547
 
1403
1548
  TagList.member = Shapes::ShapeRef.new(shape: Tag)
1404
1549
 
1550
+ UpdateDataSourceRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1551
+ UpdateDataSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: DataSourceName, required: true, location: "uri", location_name: "DataSourceName"))
1552
+ UpdateDataSourceRequest.add_member(:data_source_type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "DataSourceType"))
1553
+ UpdateDataSourceRequest.add_member(:description, Shapes::ShapeRef.new(shape: DataSourceDescription, location_name: "Description"))
1554
+ UpdateDataSourceRequest.struct_class = Types::UpdateDataSourceRequest
1555
+
1556
+ UpdateDataSourceResponse.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
1557
+ UpdateDataSourceResponse.struct_class = Types::UpdateDataSourceResponse
1558
+
1405
1559
  UpdateDomainConfigRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1406
1560
  UpdateDomainConfigRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
1407
1561
  UpdateDomainConfigRequest.add_member(:ebs_options, Shapes::ShapeRef.new(shape: EBSOptions, location_name: "EBSOptions"))
@@ -1410,6 +1564,7 @@ module Aws::OpenSearchService
1410
1564
  UpdateDomainConfigRequest.add_member(:cognito_options, Shapes::ShapeRef.new(shape: CognitoOptions, location_name: "CognitoOptions"))
1411
1565
  UpdateDomainConfigRequest.add_member(:advanced_options, Shapes::ShapeRef.new(shape: AdvancedOptions, location_name: "AdvancedOptions"))
1412
1566
  UpdateDomainConfigRequest.add_member(:access_policies, Shapes::ShapeRef.new(shape: PolicyDocument, location_name: "AccessPolicies"))
1567
+ UpdateDomainConfigRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IPAddressType, location_name: "IPAddressType"))
1413
1568
  UpdateDomainConfigRequest.add_member(:log_publishing_options, Shapes::ShapeRef.new(shape: LogPublishingOptions, location_name: "LogPublishingOptions"))
1414
1569
  UpdateDomainConfigRequest.add_member(:encryption_at_rest_options, Shapes::ShapeRef.new(shape: EncryptionAtRestOptions, location_name: "EncryptionAtRestOptions"))
1415
1570
  UpdateDomainConfigRequest.add_member(:domain_endpoint_options, Shapes::ShapeRef.new(shape: DomainEndpointOptions, location_name: "DomainEndpointOptions"))
@@ -1574,6 +1729,21 @@ module Aws::OpenSearchService
1574
1729
  o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1575
1730
  end)
1576
1731
 
1732
+ api.add_operation(:add_data_source, Seahorse::Model::Operation.new.tap do |o|
1733
+ o.name = "AddDataSource"
1734
+ o.http_method = "POST"
1735
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource"
1736
+ o.input = Shapes::ShapeRef.new(shape: AddDataSourceRequest)
1737
+ o.output = Shapes::ShapeRef.new(shape: AddDataSourceResponse)
1738
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1739
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1740
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1741
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1742
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1743
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
1744
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1745
+ end)
1746
+
1577
1747
  api.add_operation(:add_tags, Seahorse::Model::Operation.new.tap do |o|
1578
1748
  o.name = "AddTags"
1579
1749
  o.http_method = "POST"
@@ -1682,6 +1852,20 @@ module Aws::OpenSearchService
1682
1852
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
1683
1853
  end)
1684
1854
 
1855
+ api.add_operation(:delete_data_source, Seahorse::Model::Operation.new.tap do |o|
1856
+ o.name = "DeleteDataSource"
1857
+ o.http_method = "DELETE"
1858
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{DataSourceName}"
1859
+ o.input = Shapes::ShapeRef.new(shape: DeleteDataSourceRequest)
1860
+ o.output = Shapes::ShapeRef.new(shape: DeleteDataSourceResponse)
1861
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1862
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1863
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1864
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1865
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1866
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
1867
+ end)
1868
+
1685
1869
  api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
1686
1870
  o.name = "DeleteDomain"
1687
1871
  o.http_method = "DELETE"
@@ -1985,6 +2169,33 @@ module Aws::OpenSearchService
1985
2169
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
1986
2170
  end)
1987
2171
 
2172
+ api.add_operation(:get_data_source, Seahorse::Model::Operation.new.tap do |o|
2173
+ o.name = "GetDataSource"
2174
+ o.http_method = "GET"
2175
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{DataSourceName}"
2176
+ o.input = Shapes::ShapeRef.new(shape: GetDataSourceRequest)
2177
+ o.output = Shapes::ShapeRef.new(shape: GetDataSourceResponse)
2178
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2180
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2181
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2182
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2183
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2184
+ end)
2185
+
2186
+ api.add_operation(:get_domain_maintenance_status, Seahorse::Model::Operation.new.tap do |o|
2187
+ o.name = "GetDomainMaintenanceStatus"
2188
+ o.http_method = "GET"
2189
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance"
2190
+ o.input = Shapes::ShapeRef.new(shape: GetDomainMaintenanceStatusRequest)
2191
+ o.output = Shapes::ShapeRef.new(shape: GetDomainMaintenanceStatusResponse)
2192
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2193
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2194
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2195
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2196
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2197
+ end)
2198
+
1988
2199
  api.add_operation(:get_package_version_history, Seahorse::Model::Operation.new.tap do |o|
1989
2200
  o.name = "GetPackageVersionHistory"
1990
2201
  o.http_method = "GET"
@@ -2036,6 +2247,39 @@ module Aws::OpenSearchService
2036
2247
  o.errors << Shapes::ShapeRef.new(shape: InternalException)
2037
2248
  end)
2038
2249
 
2250
+ api.add_operation(:list_data_sources, Seahorse::Model::Operation.new.tap do |o|
2251
+ o.name = "ListDataSources"
2252
+ o.http_method = "GET"
2253
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource"
2254
+ o.input = Shapes::ShapeRef.new(shape: ListDataSourcesRequest)
2255
+ o.output = Shapes::ShapeRef.new(shape: ListDataSourcesResponse)
2256
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2257
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2258
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2259
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2260
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2261
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2262
+ end)
2263
+
2264
+ api.add_operation(:list_domain_maintenances, Seahorse::Model::Operation.new.tap do |o|
2265
+ o.name = "ListDomainMaintenances"
2266
+ o.http_method = "GET"
2267
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenances"
2268
+ o.input = Shapes::ShapeRef.new(shape: ListDomainMaintenancesRequest)
2269
+ o.output = Shapes::ShapeRef.new(shape: ListDomainMaintenancesResponse)
2270
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2271
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2272
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2273
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2274
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2275
+ o[:pager] = Aws::Pager.new(
2276
+ limit_key: "max_results",
2277
+ tokens: {
2278
+ "next_token" => "next_token"
2279
+ }
2280
+ )
2281
+ end)
2282
+
2039
2283
  api.add_operation(:list_domain_names, Seahorse::Model::Operation.new.tap do |o|
2040
2284
  o.name = "ListDomainNames"
2041
2285
  o.http_method = "GET"
@@ -2234,6 +2478,19 @@ module Aws::OpenSearchService
2234
2478
  o.errors << Shapes::ShapeRef.new(shape: BaseException)
2235
2479
  end)
2236
2480
 
2481
+ api.add_operation(:start_domain_maintenance, Seahorse::Model::Operation.new.tap do |o|
2482
+ o.name = "StartDomainMaintenance"
2483
+ o.http_method = "POST"
2484
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/domainMaintenance"
2485
+ o.input = Shapes::ShapeRef.new(shape: StartDomainMaintenanceRequest)
2486
+ o.output = Shapes::ShapeRef.new(shape: StartDomainMaintenanceResponse)
2487
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2488
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2489
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2490
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2491
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2492
+ end)
2493
+
2237
2494
  api.add_operation(:start_service_software_update, Seahorse::Model::Operation.new.tap do |o|
2238
2495
  o.name = "StartServiceSoftwareUpdate"
2239
2496
  o.http_method = "POST"
@@ -2246,6 +2503,20 @@ module Aws::OpenSearchService
2246
2503
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2247
2504
  end)
2248
2505
 
2506
+ api.add_operation(:update_data_source, Seahorse::Model::Operation.new.tap do |o|
2507
+ o.name = "UpdateDataSource"
2508
+ o.http_method = "PUT"
2509
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/dataSource/{DataSourceName}"
2510
+ o.input = Shapes::ShapeRef.new(shape: UpdateDataSourceRequest)
2511
+ o.output = Shapes::ShapeRef.new(shape: UpdateDataSourceResponse)
2512
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2513
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2514
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2515
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2516
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
2517
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2518
+ end)
2519
+
2249
2520
  api.add_operation(:update_domain_config, Seahorse::Model::Operation.new.tap do |o|
2250
2521
  o.name = "UpdateDomainConfig"
2251
2522
  o.http_method = "POST"
@@ -32,13 +32,22 @@ module Aws::OpenSearchService
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
39
  end
40
40
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
41
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ if Aws::Endpoints::Matchers.string_equals?("aws", Aws::Endpoints::Matchers.attr(partition_result, "name"))
43
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
44
+ end
45
+ if Aws::Endpoints::Matchers.string_equals?("aws-cn", Aws::Endpoints::Matchers.attr(partition_result, "name"))
46
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.amazonwebservices.com.cn", headers: {}, properties: {})
47
+ end
48
+ if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
49
+ return Aws::Endpoints::Endpoint.new(url: "https://aos.#{region}.api.aws", headers: {}, properties: {})
50
+ end
42
51
  return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
52
  end
44
53
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"