aws-sdk-opensearchservice 1.16.0 → 1.18.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.
@@ -20,6 +20,9 @@ module Aws::OpenSearchService
20
20
  AcceptInboundConnectionResponse = Shapes::StructureShape.new(name: 'AcceptInboundConnectionResponse')
21
21
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
22
22
  AccessPoliciesStatus = Shapes::StructureShape.new(name: 'AccessPoliciesStatus')
23
+ ActionSeverity = Shapes::StringShape.new(name: 'ActionSeverity')
24
+ ActionStatus = Shapes::StringShape.new(name: 'ActionStatus')
25
+ ActionType = Shapes::StringShape.new(name: 'ActionType')
23
26
  AddTagsRequest = Shapes::StructureShape.new(name: 'AddTagsRequest')
24
27
  AdditionalLimit = Shapes::StructureShape.new(name: 'AdditionalLimit')
25
28
  AdditionalLimitList = Shapes::ListShape.new(name: 'AdditionalLimitList')
@@ -48,6 +51,10 @@ module Aws::OpenSearchService
48
51
  AutoTuneState = Shapes::StringShape.new(name: 'AutoTuneState')
49
52
  AutoTuneStatus = Shapes::StructureShape.new(name: 'AutoTuneStatus')
50
53
  AutoTuneType = Shapes::StringShape.new(name: 'AutoTuneType')
54
+ AvailabilityZone = Shapes::StringShape.new(name: 'AvailabilityZone')
55
+ AvailabilityZoneInfo = Shapes::StructureShape.new(name: 'AvailabilityZoneInfo')
56
+ AvailabilityZoneInfoList = Shapes::ListShape.new(name: 'AvailabilityZoneInfoList')
57
+ AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
51
58
  BackendRole = Shapes::StringShape.new(name: 'BackendRole')
52
59
  BaseException = Shapes::StructureShape.new(name: 'BaseException')
53
60
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
@@ -103,6 +110,8 @@ module Aws::OpenSearchService
103
110
  DescribeDomainChangeProgressResponse = Shapes::StructureShape.new(name: 'DescribeDomainChangeProgressResponse')
104
111
  DescribeDomainConfigRequest = Shapes::StructureShape.new(name: 'DescribeDomainConfigRequest')
105
112
  DescribeDomainConfigResponse = Shapes::StructureShape.new(name: 'DescribeDomainConfigResponse')
113
+ DescribeDomainHealthRequest = Shapes::StructureShape.new(name: 'DescribeDomainHealthRequest')
114
+ DescribeDomainHealthResponse = Shapes::StructureShape.new(name: 'DescribeDomainHealthResponse')
106
115
  DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest')
107
116
  DescribeDomainResponse = Shapes::StructureShape.new(name: 'DescribeDomainResponse')
108
117
  DescribeDomainsRequest = Shapes::StructureShape.new(name: 'DescribeDomainsRequest')
@@ -137,6 +146,7 @@ module Aws::OpenSearchService
137
146
  DomainConfig = Shapes::StructureShape.new(name: 'DomainConfig')
138
147
  DomainEndpointOptions = Shapes::StructureShape.new(name: 'DomainEndpointOptions')
139
148
  DomainEndpointOptionsStatus = Shapes::StructureShape.new(name: 'DomainEndpointOptionsStatus')
149
+ DomainHealth = Shapes::StringShape.new(name: 'DomainHealth')
140
150
  DomainId = Shapes::StringShape.new(name: 'DomainId')
141
151
  DomainInfo = Shapes::StructureShape.new(name: 'DomainInfo')
142
152
  DomainInfoList = Shapes::ListShape.new(name: 'DomainInfoList')
@@ -147,6 +157,7 @@ module Aws::OpenSearchService
147
157
  DomainPackageDetails = Shapes::StructureShape.new(name: 'DomainPackageDetails')
148
158
  DomainPackageDetailsList = Shapes::ListShape.new(name: 'DomainPackageDetailsList')
149
159
  DomainPackageStatus = Shapes::StringShape.new(name: 'DomainPackageStatus')
160
+ DomainState = Shapes::StringShape.new(name: 'DomainState')
150
161
  DomainStatus = Shapes::StructureShape.new(name: 'DomainStatus')
151
162
  DomainStatusList = Shapes::ListShape.new(name: 'DomainStatusList')
152
163
  Double = Shapes::FloatShape.new(name: 'Double')
@@ -163,6 +174,8 @@ module Aws::OpenSearchService
163
174
  Endpoint = Shapes::StringShape.new(name: 'Endpoint')
164
175
  EndpointsMap = Shapes::MapShape.new(name: 'EndpointsMap')
165
176
  EngineType = Shapes::StringShape.new(name: 'EngineType')
177
+ EnvironmentInfo = Shapes::StructureShape.new(name: 'EnvironmentInfo')
178
+ EnvironmentInfoList = Shapes::ListShape.new(name: 'EnvironmentInfoList')
166
179
  ErrorDetails = Shapes::StructureShape.new(name: 'ErrorDetails')
167
180
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
168
181
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
@@ -189,6 +202,7 @@ module Aws::OpenSearchService
189
202
  InstanceRoleList = Shapes::ListShape.new(name: 'InstanceRoleList')
190
203
  InstanceTypeDetails = Shapes::StructureShape.new(name: 'InstanceTypeDetails')
191
204
  InstanceTypeDetailsList = Shapes::ListShape.new(name: 'InstanceTypeDetailsList')
205
+ InstanceTypeString = Shapes::StringShape.new(name: 'InstanceTypeString')
192
206
  Integer = Shapes::IntegerShape.new(name: 'Integer')
193
207
  IntegerClass = Shapes::IntegerShape.new(name: 'IntegerClass')
194
208
  InternalException = Shapes::StructureShape.new(name: 'InternalException')
@@ -212,6 +226,8 @@ module Aws::OpenSearchService
212
226
  ListInstanceTypeDetailsResponse = Shapes::StructureShape.new(name: 'ListInstanceTypeDetailsResponse')
213
227
  ListPackagesForDomainRequest = Shapes::StructureShape.new(name: 'ListPackagesForDomainRequest')
214
228
  ListPackagesForDomainResponse = Shapes::StructureShape.new(name: 'ListPackagesForDomainResponse')
229
+ ListScheduledActionsRequest = Shapes::StructureShape.new(name: 'ListScheduledActionsRequest')
230
+ ListScheduledActionsResponse = Shapes::StructureShape.new(name: 'ListScheduledActionsResponse')
215
231
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
216
232
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
217
233
  ListVersionsRequest = Shapes::StructureShape.new(name: 'ListVersionsRequest')
@@ -227,6 +243,7 @@ module Aws::OpenSearchService
227
243
  LogPublishingOptionsStatus = Shapes::StructureShape.new(name: 'LogPublishingOptionsStatus')
228
244
  LogType = Shapes::StringShape.new(name: 'LogType')
229
245
  Long = Shapes::IntegerShape.new(name: 'Long')
246
+ MasterNodeStatus = Shapes::StringShape.new(name: 'MasterNodeStatus')
230
247
  MasterUserOptions = Shapes::StructureShape.new(name: 'MasterUserOptions')
231
248
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
232
249
  MaximumInstanceCount = Shapes::IntegerShape.new(name: 'MaximumInstanceCount')
@@ -236,6 +253,12 @@ module Aws::OpenSearchService
236
253
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
237
254
  NodeToNodeEncryptionOptionsStatus = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptionsStatus')
238
255
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
256
+ NumberOfAZs = Shapes::StringShape.new(name: 'NumberOfAZs')
257
+ NumberOfNodes = Shapes::StringShape.new(name: 'NumberOfNodes')
258
+ NumberOfShards = Shapes::StringShape.new(name: 'NumberOfShards')
259
+ OffPeakWindow = Shapes::StructureShape.new(name: 'OffPeakWindow')
260
+ OffPeakWindowOptions = Shapes::StructureShape.new(name: 'OffPeakWindowOptions')
261
+ OffPeakWindowOptionsStatus = Shapes::StructureShape.new(name: 'OffPeakWindowOptionsStatus')
239
262
  OpenSearchPartitionInstanceType = Shapes::StringShape.new(name: 'OpenSearchPartitionInstanceType')
240
263
  OpenSearchWarmPartitionInstanceType = Shapes::StringShape.new(name: 'OpenSearchWarmPartitionInstanceType')
241
264
  OptionState = Shapes::StringShape.new(name: 'OptionState')
@@ -288,17 +311,27 @@ module Aws::OpenSearchService
288
311
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
289
312
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
290
313
  SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
314
+ ScheduleAt = Shapes::StringShape.new(name: 'ScheduleAt')
315
+ ScheduledAction = Shapes::StructureShape.new(name: 'ScheduledAction')
316
+ ScheduledActionsList = Shapes::ListShape.new(name: 'ScheduledActionsList')
291
317
  ScheduledAutoTuneActionType = Shapes::StringShape.new(name: 'ScheduledAutoTuneActionType')
292
318
  ScheduledAutoTuneDescription = Shapes::StringShape.new(name: 'ScheduledAutoTuneDescription')
293
319
  ScheduledAutoTuneDetails = Shapes::StructureShape.new(name: 'ScheduledAutoTuneDetails')
294
320
  ScheduledAutoTuneSeverityType = Shapes::StringShape.new(name: 'ScheduledAutoTuneSeverityType')
321
+ ScheduledBy = Shapes::StringShape.new(name: 'ScheduledBy')
295
322
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
296
323
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
324
+ SlotList = Shapes::ListShape.new(name: 'SlotList')
325
+ SlotNotAvailableException = Shapes::StructureShape.new(name: 'SlotNotAvailableException')
297
326
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
298
327
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
328
+ SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
329
+ SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
299
330
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
300
331
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
301
332
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
333
+ StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
334
+ StartTimeMinutes = Shapes::IntegerShape.new(name: 'StartTimeMinutes')
302
335
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
303
336
  StorageSubTypeName = Shapes::StringShape.new(name: 'StorageSubTypeName')
304
337
  StorageType = Shapes::StructureShape.new(name: 'StorageType')
@@ -320,6 +353,8 @@ module Aws::OpenSearchService
320
353
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
321
354
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
322
355
  UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
356
+ UpdateScheduledActionRequest = Shapes::StructureShape.new(name: 'UpdateScheduledActionRequest')
357
+ UpdateScheduledActionResponse = Shapes::StructureShape.new(name: 'UpdateScheduledActionResponse')
323
358
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
324
359
  UpdateVpcEndpointRequest = Shapes::StructureShape.new(name: 'UpdateVpcEndpointRequest')
325
360
  UpdateVpcEndpointResponse = Shapes::StructureShape.new(name: 'UpdateVpcEndpointResponse')
@@ -355,7 +390,9 @@ module Aws::OpenSearchService
355
390
  VpcEndpointSummary = Shapes::StructureShape.new(name: 'VpcEndpointSummary')
356
391
  VpcEndpointSummaryList = Shapes::ListShape.new(name: 'VpcEndpointSummaryList')
357
392
  VpcEndpoints = Shapes::ListShape.new(name: 'VpcEndpoints')
393
+ WindowStartTime = Shapes::StructureShape.new(name: 'WindowStartTime')
358
394
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
395
+ ZoneStatus = Shapes::StringShape.new(name: 'ZoneStatus')
359
396
 
360
397
  AWSDomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
361
398
  AWSDomainInformation.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
@@ -448,14 +485,17 @@ module Aws::OpenSearchService
448
485
  AutoTuneOptions.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
449
486
  AutoTuneOptions.add_member(:rollback_on_disable, Shapes::ShapeRef.new(shape: RollbackOnDisable, location_name: "RollbackOnDisable"))
450
487
  AutoTuneOptions.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
488
+ AutoTuneOptions.add_member(:use_off_peak_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseOffPeakWindow"))
451
489
  AutoTuneOptions.struct_class = Types::AutoTuneOptions
452
490
 
453
491
  AutoTuneOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
454
492
  AutoTuneOptionsInput.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
493
+ AutoTuneOptionsInput.add_member(:use_off_peak_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseOffPeakWindow"))
455
494
  AutoTuneOptionsInput.struct_class = Types::AutoTuneOptionsInput
456
495
 
457
496
  AutoTuneOptionsOutput.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, location_name: "State"))
458
497
  AutoTuneOptionsOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
498
+ AutoTuneOptionsOutput.add_member(:use_off_peak_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseOffPeakWindow"))
459
499
  AutoTuneOptionsOutput.struct_class = Types::AutoTuneOptionsOutput
460
500
 
461
501
  AutoTuneOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "Options"))
@@ -470,6 +510,18 @@ module Aws::OpenSearchService
470
510
  AutoTuneStatus.add_member(:pending_deletion, Shapes::ShapeRef.new(shape: Boolean, location_name: "PendingDeletion"))
471
511
  AutoTuneStatus.struct_class = Types::AutoTuneStatus
472
512
 
513
+ AvailabilityZoneInfo.add_member(:availability_zone_name, Shapes::ShapeRef.new(shape: AvailabilityZone, location_name: "AvailabilityZoneName"))
514
+ AvailabilityZoneInfo.add_member(:zone_status, Shapes::ShapeRef.new(shape: ZoneStatus, location_name: "ZoneStatus"))
515
+ AvailabilityZoneInfo.add_member(:configured_data_node_count, Shapes::ShapeRef.new(shape: NumberOfNodes, location_name: "ConfiguredDataNodeCount"))
516
+ AvailabilityZoneInfo.add_member(:available_data_node_count, Shapes::ShapeRef.new(shape: NumberOfNodes, location_name: "AvailableDataNodeCount"))
517
+ AvailabilityZoneInfo.add_member(:total_shards, Shapes::ShapeRef.new(shape: NumberOfShards, location_name: "TotalShards"))
518
+ AvailabilityZoneInfo.add_member(:total_un_assigned_shards, Shapes::ShapeRef.new(shape: NumberOfShards, location_name: "TotalUnAssignedShards"))
519
+ AvailabilityZoneInfo.struct_class = Types::AvailabilityZoneInfo
520
+
521
+ AvailabilityZoneInfoList.member = Shapes::ShapeRef.new(shape: AvailabilityZoneInfo)
522
+
523
+ AvailabilityZoneList.member = Shapes::ShapeRef.new(shape: AvailabilityZone)
524
+
473
525
  BaseException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
474
526
  BaseException.struct_class = Types::BaseException
475
527
 
@@ -511,6 +563,7 @@ module Aws::OpenSearchService
511
563
  ClusterConfig.add_member(:warm_type, Shapes::ShapeRef.new(shape: OpenSearchWarmPartitionInstanceType, location_name: "WarmType"))
512
564
  ClusterConfig.add_member(:warm_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "WarmCount"))
513
565
  ClusterConfig.add_member(:cold_storage_options, Shapes::ShapeRef.new(shape: ColdStorageOptions, location_name: "ColdStorageOptions"))
566
+ ClusterConfig.add_member(:multi_az_with_standby_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "MultiAZWithStandbyEnabled"))
514
567
  ClusterConfig.struct_class = Types::ClusterConfig
515
568
 
516
569
  ClusterConfigStatus.add_member(:options, Shapes::ShapeRef.new(shape: ClusterConfig, required: true, location_name: "Options"))
@@ -557,6 +610,8 @@ module Aws::OpenSearchService
557
610
  CreateDomainRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
558
611
  CreateDomainRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
559
612
  CreateDomainRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsInput, location_name: "AutoTuneOptions"))
613
+ CreateDomainRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
614
+ CreateDomainRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
560
615
  CreateDomainRequest.struct_class = Types::CreateDomainRequest
561
616
 
562
617
  CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
@@ -646,6 +701,24 @@ module Aws::OpenSearchService
646
701
  DescribeDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
647
702
  DescribeDomainConfigResponse.struct_class = Types::DescribeDomainConfigResponse
648
703
 
704
+ DescribeDomainHealthRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
705
+ DescribeDomainHealthRequest.struct_class = Types::DescribeDomainHealthRequest
706
+
707
+ DescribeDomainHealthResponse.add_member(:domain_state, Shapes::ShapeRef.new(shape: DomainState, location_name: "DomainState"))
708
+ DescribeDomainHealthResponse.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: NumberOfAZs, location_name: "AvailabilityZoneCount"))
709
+ DescribeDomainHealthResponse.add_member(:active_availability_zone_count, Shapes::ShapeRef.new(shape: NumberOfAZs, location_name: "ActiveAvailabilityZoneCount"))
710
+ DescribeDomainHealthResponse.add_member(:stand_by_availability_zone_count, Shapes::ShapeRef.new(shape: NumberOfAZs, location_name: "StandByAvailabilityZoneCount"))
711
+ DescribeDomainHealthResponse.add_member(:data_node_count, Shapes::ShapeRef.new(shape: NumberOfNodes, location_name: "DataNodeCount"))
712
+ DescribeDomainHealthResponse.add_member(:dedicated_master, Shapes::ShapeRef.new(shape: Boolean, location_name: "DedicatedMaster"))
713
+ DescribeDomainHealthResponse.add_member(:master_eligible_node_count, Shapes::ShapeRef.new(shape: NumberOfNodes, location_name: "MasterEligibleNodeCount"))
714
+ DescribeDomainHealthResponse.add_member(:warm_node_count, Shapes::ShapeRef.new(shape: NumberOfNodes, location_name: "WarmNodeCount"))
715
+ DescribeDomainHealthResponse.add_member(:master_node, Shapes::ShapeRef.new(shape: MasterNodeStatus, location_name: "MasterNode"))
716
+ DescribeDomainHealthResponse.add_member(:cluster_health, Shapes::ShapeRef.new(shape: DomainHealth, location_name: "ClusterHealth"))
717
+ DescribeDomainHealthResponse.add_member(:total_shards, Shapes::ShapeRef.new(shape: NumberOfShards, location_name: "TotalShards"))
718
+ DescribeDomainHealthResponse.add_member(:total_un_assigned_shards, Shapes::ShapeRef.new(shape: NumberOfShards, location_name: "TotalUnAssignedShards"))
719
+ DescribeDomainHealthResponse.add_member(:environment_information, Shapes::ShapeRef.new(shape: EnvironmentInfoList, location_name: "EnvironmentInformation"))
720
+ DescribeDomainHealthResponse.struct_class = Types::DescribeDomainHealthResponse
721
+
649
722
  DescribeDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
650
723
  DescribeDomainRequest.struct_class = Types::DescribeDomainRequest
651
724
 
@@ -760,6 +833,8 @@ module Aws::OpenSearchService
760
833
  DomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
761
834
  DomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
762
835
  DomainConfig.add_member(:change_progress_details, Shapes::ShapeRef.new(shape: ChangeProgressDetails, location_name: "ChangeProgressDetails"))
836
+ DomainConfig.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptionsStatus, location_name: "OffPeakWindowOptions"))
837
+ DomainConfig.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptionsStatus, location_name: "SoftwareUpdateOptions"))
763
838
  DomainConfig.struct_class = Types::DomainConfig
764
839
 
765
840
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
@@ -822,6 +897,8 @@ module Aws::OpenSearchService
822
897
  DomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
823
898
  DomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
824
899
  DomainStatus.add_member(:change_progress_details, Shapes::ShapeRef.new(shape: ChangeProgressDetails, location_name: "ChangeProgressDetails"))
900
+ DomainStatus.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
901
+ DomainStatus.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
825
902
  DomainStatus.struct_class = Types::DomainStatus
826
903
 
827
904
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
@@ -863,6 +940,11 @@ module Aws::OpenSearchService
863
940
  EndpointsMap.key = Shapes::ShapeRef.new(shape: String)
864
941
  EndpointsMap.value = Shapes::ShapeRef.new(shape: ServiceUrl)
865
942
 
943
+ EnvironmentInfo.add_member(:availability_zone_information, Shapes::ShapeRef.new(shape: AvailabilityZoneInfoList, location_name: "AvailabilityZoneInformation"))
944
+ EnvironmentInfo.struct_class = Types::EnvironmentInfo
945
+
946
+ EnvironmentInfoList.member = Shapes::ShapeRef.new(shape: EnvironmentInfo)
947
+
866
948
  ErrorDetails.add_member(:error_type, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorType"))
867
949
  ErrorDetails.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "ErrorMessage"))
868
950
  ErrorDetails.struct_class = Types::ErrorDetails
@@ -935,6 +1017,7 @@ module Aws::OpenSearchService
935
1017
  InstanceTypeDetails.add_member(:advanced_security_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AdvancedSecurityEnabled"))
936
1018
  InstanceTypeDetails.add_member(:warm_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "WarmEnabled"))
937
1019
  InstanceTypeDetails.add_member(:instance_role, Shapes::ShapeRef.new(shape: InstanceRoleList, location_name: "InstanceRole"))
1020
+ InstanceTypeDetails.add_member(:availability_zones, Shapes::ShapeRef.new(shape: AvailabilityZoneList, location_name: "AvailabilityZones"))
938
1021
  InstanceTypeDetails.struct_class = Types::InstanceTypeDetails
939
1022
 
940
1023
  InstanceTypeDetailsList.member = Shapes::ShapeRef.new(shape: InstanceTypeDetails)
@@ -978,6 +1061,8 @@ module Aws::OpenSearchService
978
1061
  ListInstanceTypeDetailsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location: "querystring", location_name: "domainName"))
979
1062
  ListInstanceTypeDetailsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
980
1063
  ListInstanceTypeDetailsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1064
+ ListInstanceTypeDetailsRequest.add_member(:retrieve_a_zs, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "retrieveAZs"))
1065
+ ListInstanceTypeDetailsRequest.add_member(:instance_type, Shapes::ShapeRef.new(shape: InstanceTypeString, location: "querystring", location_name: "instanceType"))
981
1066
  ListInstanceTypeDetailsRequest.struct_class = Types::ListInstanceTypeDetailsRequest
982
1067
 
983
1068
  ListInstanceTypeDetailsResponse.add_member(:instance_type_details, Shapes::ShapeRef.new(shape: InstanceTypeDetailsList, location_name: "InstanceTypeDetails"))
@@ -993,6 +1078,15 @@ module Aws::OpenSearchService
993
1078
  ListPackagesForDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
994
1079
  ListPackagesForDomainResponse.struct_class = Types::ListPackagesForDomainResponse
995
1080
 
1081
+ ListScheduledActionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1082
+ ListScheduledActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1083
+ ListScheduledActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1084
+ ListScheduledActionsRequest.struct_class = Types::ListScheduledActionsRequest
1085
+
1086
+ ListScheduledActionsResponse.add_member(:scheduled_actions, Shapes::ShapeRef.new(shape: ScheduledActionsList, location_name: "ScheduledActions"))
1087
+ ListScheduledActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1088
+ ListScheduledActionsResponse.struct_class = Types::ListScheduledActionsResponse
1089
+
996
1090
  ListTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "arn"))
997
1091
  ListTagsRequest.struct_class = Types::ListTagsRequest
998
1092
 
@@ -1053,6 +1147,17 @@ module Aws::OpenSearchService
1053
1147
  NodeToNodeEncryptionOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1054
1148
  NodeToNodeEncryptionOptionsStatus.struct_class = Types::NodeToNodeEncryptionOptionsStatus
1055
1149
 
1150
+ OffPeakWindow.add_member(:window_start_time, Shapes::ShapeRef.new(shape: WindowStartTime, location_name: "WindowStartTime"))
1151
+ OffPeakWindow.struct_class = Types::OffPeakWindow
1152
+
1153
+ OffPeakWindowOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
1154
+ OffPeakWindowOptions.add_member(:off_peak_window, Shapes::ShapeRef.new(shape: OffPeakWindow, location_name: "OffPeakWindow"))
1155
+ OffPeakWindowOptions.struct_class = Types::OffPeakWindowOptions
1156
+
1157
+ OffPeakWindowOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "Options"))
1158
+ OffPeakWindowOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1159
+ OffPeakWindowOptionsStatus.struct_class = Types::OffPeakWindowOptionsStatus
1160
+
1056
1161
  OptionStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
1057
1162
  OptionStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
1058
1163
  OptionStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
@@ -1184,6 +1289,19 @@ module Aws::OpenSearchService
1184
1289
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
1185
1290
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
1186
1291
 
1292
+ ScheduledAction.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
1293
+ ScheduledAction.add_member(:type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "Type"))
1294
+ ScheduledAction.add_member(:severity, Shapes::ShapeRef.new(shape: ActionSeverity, required: true, location_name: "Severity"))
1295
+ ScheduledAction.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ScheduledTime"))
1296
+ ScheduledAction.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1297
+ ScheduledAction.add_member(:scheduled_by, Shapes::ShapeRef.new(shape: ScheduledBy, location_name: "ScheduledBy"))
1298
+ ScheduledAction.add_member(:status, Shapes::ShapeRef.new(shape: ActionStatus, location_name: "Status"))
1299
+ ScheduledAction.add_member(:mandatory, Shapes::ShapeRef.new(shape: Boolean, location_name: "Mandatory"))
1300
+ ScheduledAction.add_member(:cancellable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Cancellable"))
1301
+ ScheduledAction.struct_class = Types::ScheduledAction
1302
+
1303
+ ScheduledActionsList.member = Shapes::ShapeRef.new(shape: ScheduledAction)
1304
+
1187
1305
  ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
1188
1306
  ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
1189
1307
  ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
@@ -1200,6 +1318,11 @@ module Aws::OpenSearchService
1200
1318
  ServiceSoftwareOptions.add_member(:optional_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptionalDeployment"))
1201
1319
  ServiceSoftwareOptions.struct_class = Types::ServiceSoftwareOptions
1202
1320
 
1321
+ SlotList.member = Shapes::ShapeRef.new(shape: Long)
1322
+
1323
+ SlotNotAvailableException.add_member(:slot_suggestions, Shapes::ShapeRef.new(shape: SlotList, location_name: "SlotSuggestions"))
1324
+ SlotNotAvailableException.struct_class = Types::SlotNotAvailableException
1325
+
1203
1326
  SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
1204
1327
  SnapshotOptions.struct_class = Types::SnapshotOptions
1205
1328
 
@@ -1207,7 +1330,16 @@ module Aws::OpenSearchService
1207
1330
  SnapshotOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1208
1331
  SnapshotOptionsStatus.struct_class = Types::SnapshotOptionsStatus
1209
1332
 
1333
+ SoftwareUpdateOptions.add_member(:auto_software_update_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoSoftwareUpdateEnabled"))
1334
+ SoftwareUpdateOptions.struct_class = Types::SoftwareUpdateOptions
1335
+
1336
+ SoftwareUpdateOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "Options"))
1337
+ SoftwareUpdateOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1338
+ SoftwareUpdateOptionsStatus.struct_class = Types::SoftwareUpdateOptionsStatus
1339
+
1210
1340
  StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1341
+ StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
1342
+ StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
1211
1343
  StartServiceSoftwareUpdateRequest.struct_class = Types::StartServiceSoftwareUpdateRequest
1212
1344
 
1213
1345
  StartServiceSoftwareUpdateResponse.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
@@ -1250,6 +1382,8 @@ module Aws::OpenSearchService
1250
1382
  UpdateDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
1251
1383
  UpdateDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1252
1384
  UpdateDomainConfigRequest.add_member(:dry_run_mode, Shapes::ShapeRef.new(shape: DryRunMode, location_name: "DryRunMode"))
1385
+ UpdateDomainConfigRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
1386
+ UpdateDomainConfigRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
1253
1387
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1254
1388
 
1255
1389
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
@@ -1266,6 +1400,16 @@ module Aws::OpenSearchService
1266
1400
  UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
1267
1401
  UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
1268
1402
 
1403
+ UpdateScheduledActionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1404
+ UpdateScheduledActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ActionID"))
1405
+ UpdateScheduledActionRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
1406
+ UpdateScheduledActionRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, required: true, location_name: "ScheduleAt"))
1407
+ UpdateScheduledActionRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
1408
+ UpdateScheduledActionRequest.struct_class = Types::UpdateScheduledActionRequest
1409
+
1410
+ UpdateScheduledActionResponse.add_member(:scheduled_action, Shapes::ShapeRef.new(shape: ScheduledAction, location_name: "ScheduledAction"))
1411
+ UpdateScheduledActionResponse.struct_class = Types::UpdateScheduledActionResponse
1412
+
1269
1413
  UpdateVpcEndpointRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, required: true, location_name: "VpcEndpointId"))
1270
1414
  UpdateVpcEndpointRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, required: true, location_name: "VpcOptions"))
1271
1415
  UpdateVpcEndpointRequest.struct_class = Types::UpdateVpcEndpointRequest
@@ -1360,6 +1504,10 @@ module Aws::OpenSearchService
1360
1504
 
1361
1505
  VpcEndpoints.member = Shapes::ShapeRef.new(shape: VpcEndpoint)
1362
1506
 
1507
+ WindowStartTime.add_member(:hours, Shapes::ShapeRef.new(shape: StartTimeHours, required: true, location_name: "Hours"))
1508
+ WindowStartTime.add_member(:minutes, Shapes::ShapeRef.new(shape: StartTimeMinutes, required: true, location_name: "Minutes"))
1509
+ WindowStartTime.struct_class = Types::WindowStartTime
1510
+
1363
1511
  ZoneAwarenessConfig.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AvailabilityZoneCount"))
1364
1512
  ZoneAwarenessConfig.struct_class = Types::ZoneAwarenessConfig
1365
1513
 
@@ -1610,6 +1758,19 @@ module Aws::OpenSearchService
1610
1758
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1611
1759
  end)
1612
1760
 
1761
+ api.add_operation(:describe_domain_health, Seahorse::Model::Operation.new.tap do |o|
1762
+ o.name = "DescribeDomainHealth"
1763
+ o.http_method = "GET"
1764
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/health"
1765
+ o.input = Shapes::ShapeRef.new(shape: DescribeDomainHealthRequest)
1766
+ o.output = Shapes::ShapeRef.new(shape: DescribeDomainHealthResponse)
1767
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1768
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1769
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1770
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1771
+ o.errors << Shapes::ShapeRef.new(shape: DisabledOperationException)
1772
+ end)
1773
+
1613
1774
  api.add_operation(:describe_domains, Seahorse::Model::Operation.new.tap do |o|
1614
1775
  o.name = "DescribeDomains"
1615
1776
  o.http_method = "POST"
@@ -1891,6 +2052,25 @@ module Aws::OpenSearchService
1891
2052
  )
1892
2053
  end)
1893
2054
 
2055
+ api.add_operation(:list_scheduled_actions, Seahorse::Model::Operation.new.tap do |o|
2056
+ o.name = "ListScheduledActions"
2057
+ o.http_method = "GET"
2058
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/scheduledActions"
2059
+ o.input = Shapes::ShapeRef.new(shape: ListScheduledActionsRequest)
2060
+ o.output = Shapes::ShapeRef.new(shape: ListScheduledActionsResponse)
2061
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2062
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2063
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2064
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
2065
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2066
+ o[:pager] = Aws::Pager.new(
2067
+ limit_key: "max_results",
2068
+ tokens: {
2069
+ "next_token" => "next_token"
2070
+ }
2071
+ )
2072
+ end)
2073
+
1894
2074
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
1895
2075
  o.name = "ListTags"
1896
2076
  o.http_method = "GET"
@@ -2044,6 +2224,21 @@ module Aws::OpenSearchService
2044
2224
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2045
2225
  end)
2046
2226
 
2227
+ api.add_operation(:update_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
2228
+ o.name = "UpdateScheduledAction"
2229
+ o.http_method = "PUT"
2230
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update"
2231
+ o.input = Shapes::ShapeRef.new(shape: UpdateScheduledActionRequest)
2232
+ o.output = Shapes::ShapeRef.new(shape: UpdateScheduledActionResponse)
2233
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2234
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2235
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2236
+ o.errors << Shapes::ShapeRef.new(shape: SlotNotAvailableException)
2237
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2238
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2239
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2240
+ end)
2241
+
2047
2242
  api.add_operation(:update_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
2048
2243
  o.name = "UpdateVpcEndpoint"
2049
2244
  o.http_method = "POST"
@@ -50,9 +50,6 @@ module Aws::OpenSearchService
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::OpenSearchService
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
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"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://es-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://es.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -263,6 +263,20 @@ module Aws::OpenSearchService
263
263
  end
264
264
  end
265
265
 
266
+ class DescribeDomainHealth
267
+ def self.build(context)
268
+ unless context.config.regional_endpoint
269
+ endpoint = context.config.endpoint.to_s
270
+ end
271
+ Aws::OpenSearchService::EndpointParameters.new(
272
+ region: context.config.region,
273
+ use_dual_stack: context.config.use_dualstack_endpoint,
274
+ use_fips: context.config.use_fips_endpoint,
275
+ endpoint: endpoint,
276
+ )
277
+ end
278
+ end
279
+
266
280
  class DescribeDomains
267
281
  def self.build(context)
268
282
  unless context.config.regional_endpoint
@@ -515,6 +529,20 @@ module Aws::OpenSearchService
515
529
  end
516
530
  end
517
531
 
532
+ class ListScheduledActions
533
+ def self.build(context)
534
+ unless context.config.regional_endpoint
535
+ endpoint = context.config.endpoint.to_s
536
+ end
537
+ Aws::OpenSearchService::EndpointParameters.new(
538
+ region: context.config.region,
539
+ use_dual_stack: context.config.use_dualstack_endpoint,
540
+ use_fips: context.config.use_fips_endpoint,
541
+ endpoint: endpoint,
542
+ )
543
+ end
544
+ end
545
+
518
546
  class ListTags
519
547
  def self.build(context)
520
548
  unless context.config.regional_endpoint
@@ -683,6 +711,20 @@ module Aws::OpenSearchService
683
711
  end
684
712
  end
685
713
 
714
+ class UpdateScheduledAction
715
+ def self.build(context)
716
+ unless context.config.regional_endpoint
717
+ endpoint = context.config.endpoint.to_s
718
+ end
719
+ Aws::OpenSearchService::EndpointParameters.new(
720
+ region: context.config.region,
721
+ use_dual_stack: context.config.use_dualstack_endpoint,
722
+ use_fips: context.config.use_fips_endpoint,
723
+ endpoint: endpoint,
724
+ )
725
+ end
726
+ end
727
+
686
728
  class UpdateVpcEndpoint
687
729
  def self.build(context)
688
730
  unless context.config.regional_endpoint
@@ -37,6 +37,7 @@ module Aws::OpenSearchService
37
37
  # * {LimitExceededException}
38
38
  # * {ResourceAlreadyExistsException}
39
39
  # * {ResourceNotFoundException}
40
+ # * {SlotNotAvailableException}
40
41
  # * {ValidationException}
41
42
  #
42
43
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -150,6 +151,21 @@ module Aws::OpenSearchService
150
151
  end
151
152
  end
152
153
 
154
+ class SlotNotAvailableException < ServiceError
155
+
156
+ # @param [Seahorse::Client::RequestContext] context
157
+ # @param [String] message
158
+ # @param [Aws::OpenSearchService::Types::SlotNotAvailableException] data
159
+ def initialize(context, message, data = Aws::EmptyStructure.new)
160
+ super(context, message, data)
161
+ end
162
+
163
+ # @return [String]
164
+ def slot_suggestions
165
+ @data[:slot_suggestions]
166
+ end
167
+ end
168
+
153
169
  class ValidationException < ServiceError
154
170
 
155
171
  # @param [Seahorse::Client::RequestContext] context