aws-sdk-opensearchservice 1.15.0 → 1.17.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')
@@ -72,6 +75,8 @@ module Aws::OpenSearchService
72
75
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
73
76
  ConnectionAlias = Shapes::StringShape.new(name: 'ConnectionAlias')
74
77
  ConnectionId = Shapes::StringShape.new(name: 'ConnectionId')
78
+ ConnectionMode = Shapes::StringShape.new(name: 'ConnectionMode')
79
+ ConnectionProperties = Shapes::StructureShape.new(name: 'ConnectionProperties')
75
80
  ConnectionStatusMessage = Shapes::StringShape.new(name: 'ConnectionStatusMessage')
76
81
  CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
77
82
  CreateDomainResponse = Shapes::StructureShape.new(name: 'CreateDomainResponse')
@@ -210,6 +215,8 @@ module Aws::OpenSearchService
210
215
  ListInstanceTypeDetailsResponse = Shapes::StructureShape.new(name: 'ListInstanceTypeDetailsResponse')
211
216
  ListPackagesForDomainRequest = Shapes::StructureShape.new(name: 'ListPackagesForDomainRequest')
212
217
  ListPackagesForDomainResponse = Shapes::StructureShape.new(name: 'ListPackagesForDomainResponse')
218
+ ListScheduledActionsRequest = Shapes::StructureShape.new(name: 'ListScheduledActionsRequest')
219
+ ListScheduledActionsResponse = Shapes::StructureShape.new(name: 'ListScheduledActionsResponse')
213
220
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
214
221
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
215
222
  ListVersionsRequest = Shapes::StructureShape.new(name: 'ListVersionsRequest')
@@ -234,6 +241,9 @@ module Aws::OpenSearchService
234
241
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
235
242
  NodeToNodeEncryptionOptionsStatus = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptionsStatus')
236
243
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
244
+ OffPeakWindow = Shapes::StructureShape.new(name: 'OffPeakWindow')
245
+ OffPeakWindowOptions = Shapes::StructureShape.new(name: 'OffPeakWindowOptions')
246
+ OffPeakWindowOptionsStatus = Shapes::StructureShape.new(name: 'OffPeakWindowOptionsStatus')
237
247
  OpenSearchPartitionInstanceType = Shapes::StringShape.new(name: 'OpenSearchPartitionInstanceType')
238
248
  OpenSearchWarmPartitionInstanceType = Shapes::StringShape.new(name: 'OpenSearchWarmPartitionInstanceType')
239
249
  OptionState = Shapes::StringShape.new(name: 'OptionState')
@@ -286,17 +296,27 @@ module Aws::OpenSearchService
286
296
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
287
297
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
288
298
  SAMLOptionsOutput = Shapes::StructureShape.new(name: 'SAMLOptionsOutput')
299
+ ScheduleAt = Shapes::StringShape.new(name: 'ScheduleAt')
300
+ ScheduledAction = Shapes::StructureShape.new(name: 'ScheduledAction')
301
+ ScheduledActionsList = Shapes::ListShape.new(name: 'ScheduledActionsList')
289
302
  ScheduledAutoTuneActionType = Shapes::StringShape.new(name: 'ScheduledAutoTuneActionType')
290
303
  ScheduledAutoTuneDescription = Shapes::StringShape.new(name: 'ScheduledAutoTuneDescription')
291
304
  ScheduledAutoTuneDetails = Shapes::StructureShape.new(name: 'ScheduledAutoTuneDetails')
292
305
  ScheduledAutoTuneSeverityType = Shapes::StringShape.new(name: 'ScheduledAutoTuneSeverityType')
306
+ ScheduledBy = Shapes::StringShape.new(name: 'ScheduledBy')
293
307
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
294
308
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
309
+ SlotList = Shapes::ListShape.new(name: 'SlotList')
310
+ SlotNotAvailableException = Shapes::StructureShape.new(name: 'SlotNotAvailableException')
295
311
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
296
312
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
313
+ SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
314
+ SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
297
315
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
298
316
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
299
317
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
318
+ StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
319
+ StartTimeMinutes = Shapes::IntegerShape.new(name: 'StartTimeMinutes')
300
320
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
301
321
  StorageSubTypeName = Shapes::StringShape.new(name: 'StorageSubTypeName')
302
322
  StorageType = Shapes::StructureShape.new(name: 'StorageType')
@@ -318,6 +338,8 @@ module Aws::OpenSearchService
318
338
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
319
339
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
320
340
  UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
341
+ UpdateScheduledActionRequest = Shapes::StructureShape.new(name: 'UpdateScheduledActionRequest')
342
+ UpdateScheduledActionResponse = Shapes::StructureShape.new(name: 'UpdateScheduledActionResponse')
321
343
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
322
344
  UpdateVpcEndpointRequest = Shapes::StructureShape.new(name: 'UpdateVpcEndpointRequest')
323
345
  UpdateVpcEndpointResponse = Shapes::StructureShape.new(name: 'UpdateVpcEndpointResponse')
@@ -353,6 +375,7 @@ module Aws::OpenSearchService
353
375
  VpcEndpointSummary = Shapes::StructureShape.new(name: 'VpcEndpointSummary')
354
376
  VpcEndpointSummaryList = Shapes::ListShape.new(name: 'VpcEndpointSummaryList')
355
377
  VpcEndpoints = Shapes::ListShape.new(name: 'VpcEndpoints')
378
+ WindowStartTime = Shapes::StructureShape.new(name: 'WindowStartTime')
356
379
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
357
380
 
358
381
  AWSDomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
@@ -446,14 +469,17 @@ module Aws::OpenSearchService
446
469
  AutoTuneOptions.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
447
470
  AutoTuneOptions.add_member(:rollback_on_disable, Shapes::ShapeRef.new(shape: RollbackOnDisable, location_name: "RollbackOnDisable"))
448
471
  AutoTuneOptions.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
472
+ AutoTuneOptions.add_member(:use_off_peak_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseOffPeakWindow"))
449
473
  AutoTuneOptions.struct_class = Types::AutoTuneOptions
450
474
 
451
475
  AutoTuneOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
452
476
  AutoTuneOptionsInput.add_member(:maintenance_schedules, Shapes::ShapeRef.new(shape: AutoTuneMaintenanceScheduleList, location_name: "MaintenanceSchedules"))
477
+ AutoTuneOptionsInput.add_member(:use_off_peak_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseOffPeakWindow"))
453
478
  AutoTuneOptionsInput.struct_class = Types::AutoTuneOptionsInput
454
479
 
455
480
  AutoTuneOptionsOutput.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, location_name: "State"))
456
481
  AutoTuneOptionsOutput.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "ErrorMessage"))
482
+ AutoTuneOptionsOutput.add_member(:use_off_peak_window, Shapes::ShapeRef.new(shape: Boolean, location_name: "UseOffPeakWindow"))
457
483
  AutoTuneOptionsOutput.struct_class = Types::AutoTuneOptionsOutput
458
484
 
459
485
  AutoTuneOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "Options"))
@@ -536,6 +562,9 @@ module Aws::OpenSearchService
536
562
 
537
563
  ConflictException.struct_class = Types::ConflictException
538
564
 
565
+ ConnectionProperties.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "Endpoint"))
566
+ ConnectionProperties.struct_class = Types::ConnectionProperties
567
+
539
568
  CreateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
540
569
  CreateDomainRequest.add_member(:engine_version, Shapes::ShapeRef.new(shape: VersionString, location_name: "EngineVersion"))
541
570
  CreateDomainRequest.add_member(:cluster_config, Shapes::ShapeRef.new(shape: ClusterConfig, location_name: "ClusterConfig"))
@@ -552,6 +581,8 @@ module Aws::OpenSearchService
552
581
  CreateDomainRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
553
582
  CreateDomainRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
554
583
  CreateDomainRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsInput, location_name: "AutoTuneOptions"))
584
+ CreateDomainRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
585
+ CreateDomainRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
555
586
  CreateDomainRequest.struct_class = Types::CreateDomainRequest
556
587
 
557
588
  CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
@@ -560,6 +591,7 @@ module Aws::OpenSearchService
560
591
  CreateOutboundConnectionRequest.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, required: true, location_name: "LocalDomainInfo"))
561
592
  CreateOutboundConnectionRequest.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, required: true, location_name: "RemoteDomainInfo"))
562
593
  CreateOutboundConnectionRequest.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, required: true, location_name: "ConnectionAlias"))
594
+ CreateOutboundConnectionRequest.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, location_name: "ConnectionMode"))
563
595
  CreateOutboundConnectionRequest.struct_class = Types::CreateOutboundConnectionRequest
564
596
 
565
597
  CreateOutboundConnectionResponse.add_member(:local_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "LocalDomainInfo"))
@@ -567,6 +599,8 @@ module Aws::OpenSearchService
567
599
  CreateOutboundConnectionResponse.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, location_name: "ConnectionAlias"))
568
600
  CreateOutboundConnectionResponse.add_member(:connection_status, Shapes::ShapeRef.new(shape: OutboundConnectionStatus, location_name: "ConnectionStatus"))
569
601
  CreateOutboundConnectionResponse.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
602
+ CreateOutboundConnectionResponse.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, location_name: "ConnectionMode"))
603
+ CreateOutboundConnectionResponse.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, location_name: "ConnectionProperties"))
570
604
  CreateOutboundConnectionResponse.struct_class = Types::CreateOutboundConnectionResponse
571
605
 
572
606
  CreatePackageRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location_name: "PackageName"))
@@ -752,6 +786,8 @@ module Aws::OpenSearchService
752
786
  DomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
753
787
  DomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
754
788
  DomainConfig.add_member(:change_progress_details, Shapes::ShapeRef.new(shape: ChangeProgressDetails, location_name: "ChangeProgressDetails"))
789
+ DomainConfig.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptionsStatus, location_name: "OffPeakWindowOptions"))
790
+ DomainConfig.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptionsStatus, location_name: "SoftwareUpdateOptions"))
755
791
  DomainConfig.struct_class = Types::DomainConfig
756
792
 
757
793
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
@@ -814,6 +850,8 @@ module Aws::OpenSearchService
814
850
  DomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
815
851
  DomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
816
852
  DomainStatus.add_member(:change_progress_details, Shapes::ShapeRef.new(shape: ChangeProgressDetails, location_name: "ChangeProgressDetails"))
853
+ DomainStatus.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
854
+ DomainStatus.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
817
855
  DomainStatus.struct_class = Types::DomainStatus
818
856
 
819
857
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
@@ -902,6 +940,7 @@ module Aws::OpenSearchService
902
940
  InboundConnection.add_member(:remote_domain_info, Shapes::ShapeRef.new(shape: DomainInformationContainer, location_name: "RemoteDomainInfo"))
903
941
  InboundConnection.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
904
942
  InboundConnection.add_member(:connection_status, Shapes::ShapeRef.new(shape: InboundConnectionStatus, location_name: "ConnectionStatus"))
943
+ InboundConnection.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, location_name: "ConnectionMode"))
905
944
  InboundConnection.struct_class = Types::InboundConnection
906
945
 
907
946
  InboundConnectionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: InboundConnectionStatusCode, location_name: "StatusCode"))
@@ -984,6 +1023,15 @@ module Aws::OpenSearchService
984
1023
  ListPackagesForDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
985
1024
  ListPackagesForDomainResponse.struct_class = Types::ListPackagesForDomainResponse
986
1025
 
1026
+ ListScheduledActionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1027
+ ListScheduledActionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1028
+ ListScheduledActionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1029
+ ListScheduledActionsRequest.struct_class = Types::ListScheduledActionsRequest
1030
+
1031
+ ListScheduledActionsResponse.add_member(:scheduled_actions, Shapes::ShapeRef.new(shape: ScheduledActionsList, location_name: "ScheduledActions"))
1032
+ ListScheduledActionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
1033
+ ListScheduledActionsResponse.struct_class = Types::ListScheduledActionsResponse
1034
+
987
1035
  ListTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "arn"))
988
1036
  ListTagsRequest.struct_class = Types::ListTagsRequest
989
1037
 
@@ -1044,6 +1092,17 @@ module Aws::OpenSearchService
1044
1092
  NodeToNodeEncryptionOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1045
1093
  NodeToNodeEncryptionOptionsStatus.struct_class = Types::NodeToNodeEncryptionOptionsStatus
1046
1094
 
1095
+ OffPeakWindow.add_member(:window_start_time, Shapes::ShapeRef.new(shape: WindowStartTime, location_name: "WindowStartTime"))
1096
+ OffPeakWindow.struct_class = Types::OffPeakWindow
1097
+
1098
+ OffPeakWindowOptions.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
1099
+ OffPeakWindowOptions.add_member(:off_peak_window, Shapes::ShapeRef.new(shape: OffPeakWindow, location_name: "OffPeakWindow"))
1100
+ OffPeakWindowOptions.struct_class = Types::OffPeakWindowOptions
1101
+
1102
+ OffPeakWindowOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "Options"))
1103
+ OffPeakWindowOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1104
+ OffPeakWindowOptionsStatus.struct_class = Types::OffPeakWindowOptionsStatus
1105
+
1047
1106
  OptionStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
1048
1107
  OptionStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
1049
1108
  OptionStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
@@ -1056,6 +1115,8 @@ module Aws::OpenSearchService
1056
1115
  OutboundConnection.add_member(:connection_id, Shapes::ShapeRef.new(shape: ConnectionId, location_name: "ConnectionId"))
1057
1116
  OutboundConnection.add_member(:connection_alias, Shapes::ShapeRef.new(shape: ConnectionAlias, location_name: "ConnectionAlias"))
1058
1117
  OutboundConnection.add_member(:connection_status, Shapes::ShapeRef.new(shape: OutboundConnectionStatus, location_name: "ConnectionStatus"))
1118
+ OutboundConnection.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, location_name: "ConnectionMode"))
1119
+ OutboundConnection.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, location_name: "ConnectionProperties"))
1059
1120
  OutboundConnection.struct_class = Types::OutboundConnection
1060
1121
 
1061
1122
  OutboundConnectionStatus.add_member(:status_code, Shapes::ShapeRef.new(shape: OutboundConnectionStatusCode, location_name: "StatusCode"))
@@ -1173,6 +1234,19 @@ module Aws::OpenSearchService
1173
1234
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
1174
1235
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
1175
1236
 
1237
+ ScheduledAction.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Id"))
1238
+ ScheduledAction.add_member(:type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "Type"))
1239
+ ScheduledAction.add_member(:severity, Shapes::ShapeRef.new(shape: ActionSeverity, required: true, location_name: "Severity"))
1240
+ ScheduledAction.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ScheduledTime"))
1241
+ ScheduledAction.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
1242
+ ScheduledAction.add_member(:scheduled_by, Shapes::ShapeRef.new(shape: ScheduledBy, location_name: "ScheduledBy"))
1243
+ ScheduledAction.add_member(:status, Shapes::ShapeRef.new(shape: ActionStatus, location_name: "Status"))
1244
+ ScheduledAction.add_member(:mandatory, Shapes::ShapeRef.new(shape: Boolean, location_name: "Mandatory"))
1245
+ ScheduledAction.add_member(:cancellable, Shapes::ShapeRef.new(shape: Boolean, location_name: "Cancellable"))
1246
+ ScheduledAction.struct_class = Types::ScheduledAction
1247
+
1248
+ ScheduledActionsList.member = Shapes::ShapeRef.new(shape: ScheduledAction)
1249
+
1176
1250
  ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
1177
1251
  ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
1178
1252
  ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
@@ -1189,6 +1263,11 @@ module Aws::OpenSearchService
1189
1263
  ServiceSoftwareOptions.add_member(:optional_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptionalDeployment"))
1190
1264
  ServiceSoftwareOptions.struct_class = Types::ServiceSoftwareOptions
1191
1265
 
1266
+ SlotList.member = Shapes::ShapeRef.new(shape: Long)
1267
+
1268
+ SlotNotAvailableException.add_member(:slot_suggestions, Shapes::ShapeRef.new(shape: SlotList, location_name: "SlotSuggestions"))
1269
+ SlotNotAvailableException.struct_class = Types::SlotNotAvailableException
1270
+
1192
1271
  SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
1193
1272
  SnapshotOptions.struct_class = Types::SnapshotOptions
1194
1273
 
@@ -1196,7 +1275,16 @@ module Aws::OpenSearchService
1196
1275
  SnapshotOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1197
1276
  SnapshotOptionsStatus.struct_class = Types::SnapshotOptionsStatus
1198
1277
 
1278
+ SoftwareUpdateOptions.add_member(:auto_software_update_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoSoftwareUpdateEnabled"))
1279
+ SoftwareUpdateOptions.struct_class = Types::SoftwareUpdateOptions
1280
+
1281
+ SoftwareUpdateOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "Options"))
1282
+ SoftwareUpdateOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, location_name: "Status"))
1283
+ SoftwareUpdateOptionsStatus.struct_class = Types::SoftwareUpdateOptionsStatus
1284
+
1199
1285
  StartServiceSoftwareUpdateRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
1286
+ StartServiceSoftwareUpdateRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, location_name: "ScheduleAt"))
1287
+ StartServiceSoftwareUpdateRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
1200
1288
  StartServiceSoftwareUpdateRequest.struct_class = Types::StartServiceSoftwareUpdateRequest
1201
1289
 
1202
1290
  StartServiceSoftwareUpdateResponse.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
@@ -1239,6 +1327,8 @@ module Aws::OpenSearchService
1239
1327
  UpdateDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
1240
1328
  UpdateDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1241
1329
  UpdateDomainConfigRequest.add_member(:dry_run_mode, Shapes::ShapeRef.new(shape: DryRunMode, location_name: "DryRunMode"))
1330
+ UpdateDomainConfigRequest.add_member(:off_peak_window_options, Shapes::ShapeRef.new(shape: OffPeakWindowOptions, location_name: "OffPeakWindowOptions"))
1331
+ UpdateDomainConfigRequest.add_member(:software_update_options, Shapes::ShapeRef.new(shape: SoftwareUpdateOptions, location_name: "SoftwareUpdateOptions"))
1242
1332
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1243
1333
 
1244
1334
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
@@ -1255,6 +1345,16 @@ module Aws::OpenSearchService
1255
1345
  UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
1256
1346
  UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
1257
1347
 
1348
+ UpdateScheduledActionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location: "uri", location_name: "DomainName"))
1349
+ UpdateScheduledActionRequest.add_member(:action_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ActionID"))
1350
+ UpdateScheduledActionRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
1351
+ UpdateScheduledActionRequest.add_member(:schedule_at, Shapes::ShapeRef.new(shape: ScheduleAt, required: true, location_name: "ScheduleAt"))
1352
+ UpdateScheduledActionRequest.add_member(:desired_start_time, Shapes::ShapeRef.new(shape: Long, location_name: "DesiredStartTime"))
1353
+ UpdateScheduledActionRequest.struct_class = Types::UpdateScheduledActionRequest
1354
+
1355
+ UpdateScheduledActionResponse.add_member(:scheduled_action, Shapes::ShapeRef.new(shape: ScheduledAction, location_name: "ScheduledAction"))
1356
+ UpdateScheduledActionResponse.struct_class = Types::UpdateScheduledActionResponse
1357
+
1258
1358
  UpdateVpcEndpointRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, required: true, location_name: "VpcEndpointId"))
1259
1359
  UpdateVpcEndpointRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, required: true, location_name: "VpcOptions"))
1260
1360
  UpdateVpcEndpointRequest.struct_class = Types::UpdateVpcEndpointRequest
@@ -1349,6 +1449,10 @@ module Aws::OpenSearchService
1349
1449
 
1350
1450
  VpcEndpoints.member = Shapes::ShapeRef.new(shape: VpcEndpoint)
1351
1451
 
1452
+ WindowStartTime.add_member(:hours, Shapes::ShapeRef.new(shape: StartTimeHours, required: true, location_name: "Hours"))
1453
+ WindowStartTime.add_member(:minutes, Shapes::ShapeRef.new(shape: StartTimeMinutes, required: true, location_name: "Minutes"))
1454
+ WindowStartTime.struct_class = Types::WindowStartTime
1455
+
1352
1456
  ZoneAwarenessConfig.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AvailabilityZoneCount"))
1353
1457
  ZoneAwarenessConfig.struct_class = Types::ZoneAwarenessConfig
1354
1458
 
@@ -1880,6 +1984,25 @@ module Aws::OpenSearchService
1880
1984
  )
1881
1985
  end)
1882
1986
 
1987
+ api.add_operation(:list_scheduled_actions, Seahorse::Model::Operation.new.tap do |o|
1988
+ o.name = "ListScheduledActions"
1989
+ o.http_method = "GET"
1990
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/scheduledActions"
1991
+ o.input = Shapes::ShapeRef.new(shape: ListScheduledActionsRequest)
1992
+ o.output = Shapes::ShapeRef.new(shape: ListScheduledActionsResponse)
1993
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
1994
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
1995
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1996
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationTokenException)
1997
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1998
+ o[:pager] = Aws::Pager.new(
1999
+ limit_key: "max_results",
2000
+ tokens: {
2001
+ "next_token" => "next_token"
2002
+ }
2003
+ )
2004
+ end)
2005
+
1883
2006
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
1884
2007
  o.name = "ListTags"
1885
2008
  o.http_method = "GET"
@@ -2033,6 +2156,21 @@ module Aws::OpenSearchService
2033
2156
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2034
2157
  end)
2035
2158
 
2159
+ api.add_operation(:update_scheduled_action, Seahorse::Model::Operation.new.tap do |o|
2160
+ o.name = "UpdateScheduledAction"
2161
+ o.http_method = "PUT"
2162
+ o.http_request_uri = "/2021-01-01/opensearch/domain/{DomainName}/scheduledAction/update"
2163
+ o.input = Shapes::ShapeRef.new(shape: UpdateScheduledActionRequest)
2164
+ o.output = Shapes::ShapeRef.new(shape: UpdateScheduledActionResponse)
2165
+ o.errors << Shapes::ShapeRef.new(shape: BaseException)
2166
+ o.errors << Shapes::ShapeRef.new(shape: InternalException)
2167
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2168
+ o.errors << Shapes::ShapeRef.new(shape: SlotNotAvailableException)
2169
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2170
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
2171
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2172
+ end)
2173
+
2036
2174
  api.add_operation(:update_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
2037
2175
  o.name = "UpdateVpcEndpoint"
2038
2176
  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
@@ -515,6 +515,20 @@ module Aws::OpenSearchService
515
515
  end
516
516
  end
517
517
 
518
+ class ListScheduledActions
519
+ def self.build(context)
520
+ unless context.config.regional_endpoint
521
+ endpoint = context.config.endpoint.to_s
522
+ end
523
+ Aws::OpenSearchService::EndpointParameters.new(
524
+ region: context.config.region,
525
+ use_dual_stack: context.config.use_dualstack_endpoint,
526
+ use_fips: context.config.use_fips_endpoint,
527
+ endpoint: endpoint,
528
+ )
529
+ end
530
+ end
531
+
518
532
  class ListTags
519
533
  def self.build(context)
520
534
  unless context.config.regional_endpoint
@@ -683,6 +697,20 @@ module Aws::OpenSearchService
683
697
  end
684
698
  end
685
699
 
700
+ class UpdateScheduledAction
701
+ def self.build(context)
702
+ unless context.config.regional_endpoint
703
+ endpoint = context.config.endpoint.to_s
704
+ end
705
+ Aws::OpenSearchService::EndpointParameters.new(
706
+ region: context.config.region,
707
+ use_dual_stack: context.config.use_dualstack_endpoint,
708
+ use_fips: context.config.use_fips_endpoint,
709
+ endpoint: endpoint,
710
+ )
711
+ end
712
+ end
713
+
686
714
  class UpdateVpcEndpoint
687
715
  def self.build(context)
688
716
  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
@@ -128,6 +128,8 @@ module Aws::OpenSearchService
128
128
  Aws::OpenSearchService::Endpoints::ListInstanceTypeDetails.build(context)
129
129
  when :list_packages_for_domain
130
130
  Aws::OpenSearchService::Endpoints::ListPackagesForDomain.build(context)
131
+ when :list_scheduled_actions
132
+ Aws::OpenSearchService::Endpoints::ListScheduledActions.build(context)
131
133
  when :list_tags
132
134
  Aws::OpenSearchService::Endpoints::ListTags.build(context)
133
135
  when :list_versions
@@ -152,6 +154,8 @@ module Aws::OpenSearchService
152
154
  Aws::OpenSearchService::Endpoints::UpdateDomainConfig.build(context)
153
155
  when :update_package
154
156
  Aws::OpenSearchService::Endpoints::UpdatePackage.build(context)
157
+ when :update_scheduled_action
158
+ Aws::OpenSearchService::Endpoints::UpdateScheduledAction.build(context)
155
159
  when :update_vpc_endpoint
156
160
  Aws::OpenSearchService::Endpoints::UpdateVpcEndpoint.build(context)
157
161
  when :upgrade_domain