aws-sdk-opensearchservice 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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')
@@ -212,6 +215,8 @@ module Aws::OpenSearchService
212
215
  ListInstanceTypeDetailsResponse = Shapes::StructureShape.new(name: 'ListInstanceTypeDetailsResponse')
213
216
  ListPackagesForDomainRequest = Shapes::StructureShape.new(name: 'ListPackagesForDomainRequest')
214
217
  ListPackagesForDomainResponse = Shapes::StructureShape.new(name: 'ListPackagesForDomainResponse')
218
+ ListScheduledActionsRequest = Shapes::StructureShape.new(name: 'ListScheduledActionsRequest')
219
+ ListScheduledActionsResponse = Shapes::StructureShape.new(name: 'ListScheduledActionsResponse')
215
220
  ListTagsRequest = Shapes::StructureShape.new(name: 'ListTagsRequest')
216
221
  ListTagsResponse = Shapes::StructureShape.new(name: 'ListTagsResponse')
217
222
  ListVersionsRequest = Shapes::StructureShape.new(name: 'ListVersionsRequest')
@@ -236,6 +241,9 @@ module Aws::OpenSearchService
236
241
  NodeToNodeEncryptionOptions = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptions')
237
242
  NodeToNodeEncryptionOptionsStatus = Shapes::StructureShape.new(name: 'NodeToNodeEncryptionOptionsStatus')
238
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')
239
247
  OpenSearchPartitionInstanceType = Shapes::StringShape.new(name: 'OpenSearchPartitionInstanceType')
240
248
  OpenSearchWarmPartitionInstanceType = Shapes::StringShape.new(name: 'OpenSearchWarmPartitionInstanceType')
241
249
  OptionState = Shapes::StringShape.new(name: 'OptionState')
@@ -288,17 +296,27 @@ module Aws::OpenSearchService
288
296
  SAMLMetadata = Shapes::StringShape.new(name: 'SAMLMetadata')
289
297
  SAMLOptionsInput = Shapes::StructureShape.new(name: 'SAMLOptionsInput')
290
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')
291
302
  ScheduledAutoTuneActionType = Shapes::StringShape.new(name: 'ScheduledAutoTuneActionType')
292
303
  ScheduledAutoTuneDescription = Shapes::StringShape.new(name: 'ScheduledAutoTuneDescription')
293
304
  ScheduledAutoTuneDetails = Shapes::StructureShape.new(name: 'ScheduledAutoTuneDetails')
294
305
  ScheduledAutoTuneSeverityType = Shapes::StringShape.new(name: 'ScheduledAutoTuneSeverityType')
306
+ ScheduledBy = Shapes::StringShape.new(name: 'ScheduledBy')
295
307
  ServiceSoftwareOptions = Shapes::StructureShape.new(name: 'ServiceSoftwareOptions')
296
308
  ServiceUrl = Shapes::StringShape.new(name: 'ServiceUrl')
309
+ SlotList = Shapes::ListShape.new(name: 'SlotList')
310
+ SlotNotAvailableException = Shapes::StructureShape.new(name: 'SlotNotAvailableException')
297
311
  SnapshotOptions = Shapes::StructureShape.new(name: 'SnapshotOptions')
298
312
  SnapshotOptionsStatus = Shapes::StructureShape.new(name: 'SnapshotOptionsStatus')
313
+ SoftwareUpdateOptions = Shapes::StructureShape.new(name: 'SoftwareUpdateOptions')
314
+ SoftwareUpdateOptionsStatus = Shapes::StructureShape.new(name: 'SoftwareUpdateOptionsStatus')
299
315
  StartAt = Shapes::TimestampShape.new(name: 'StartAt')
300
316
  StartServiceSoftwareUpdateRequest = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateRequest')
301
317
  StartServiceSoftwareUpdateResponse = Shapes::StructureShape.new(name: 'StartServiceSoftwareUpdateResponse')
318
+ StartTimeHours = Shapes::IntegerShape.new(name: 'StartTimeHours')
319
+ StartTimeMinutes = Shapes::IntegerShape.new(name: 'StartTimeMinutes')
302
320
  StartTimestamp = Shapes::TimestampShape.new(name: 'StartTimestamp')
303
321
  StorageSubTypeName = Shapes::StringShape.new(name: 'StorageSubTypeName')
304
322
  StorageType = Shapes::StructureShape.new(name: 'StorageType')
@@ -320,6 +338,8 @@ module Aws::OpenSearchService
320
338
  UpdateDomainConfigResponse = Shapes::StructureShape.new(name: 'UpdateDomainConfigResponse')
321
339
  UpdatePackageRequest = Shapes::StructureShape.new(name: 'UpdatePackageRequest')
322
340
  UpdatePackageResponse = Shapes::StructureShape.new(name: 'UpdatePackageResponse')
341
+ UpdateScheduledActionRequest = Shapes::StructureShape.new(name: 'UpdateScheduledActionRequest')
342
+ UpdateScheduledActionResponse = Shapes::StructureShape.new(name: 'UpdateScheduledActionResponse')
323
343
  UpdateTimestamp = Shapes::TimestampShape.new(name: 'UpdateTimestamp')
324
344
  UpdateVpcEndpointRequest = Shapes::StructureShape.new(name: 'UpdateVpcEndpointRequest')
325
345
  UpdateVpcEndpointResponse = Shapes::StructureShape.new(name: 'UpdateVpcEndpointResponse')
@@ -355,6 +375,7 @@ module Aws::OpenSearchService
355
375
  VpcEndpointSummary = Shapes::StructureShape.new(name: 'VpcEndpointSummary')
356
376
  VpcEndpointSummaryList = Shapes::ListShape.new(name: 'VpcEndpointSummaryList')
357
377
  VpcEndpoints = Shapes::ListShape.new(name: 'VpcEndpoints')
378
+ WindowStartTime = Shapes::StructureShape.new(name: 'WindowStartTime')
358
379
  ZoneAwarenessConfig = Shapes::StructureShape.new(name: 'ZoneAwarenessConfig')
359
380
 
360
381
  AWSDomainInformation.add_member(:owner_id, Shapes::ShapeRef.new(shape: OwnerId, location_name: "OwnerId"))
@@ -448,14 +469,17 @@ module Aws::OpenSearchService
448
469
  AutoTuneOptions.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
449
470
  AutoTuneOptions.add_member(:rollback_on_disable, Shapes::ShapeRef.new(shape: RollbackOnDisable, location_name: "RollbackOnDisable"))
450
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"))
451
473
  AutoTuneOptions.struct_class = Types::AutoTuneOptions
452
474
 
453
475
  AutoTuneOptionsInput.add_member(:desired_state, Shapes::ShapeRef.new(shape: AutoTuneDesiredState, location_name: "DesiredState"))
454
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"))
455
478
  AutoTuneOptionsInput.struct_class = Types::AutoTuneOptionsInput
456
479
 
457
480
  AutoTuneOptionsOutput.add_member(:state, Shapes::ShapeRef.new(shape: AutoTuneState, location_name: "State"))
458
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"))
459
483
  AutoTuneOptionsOutput.struct_class = Types::AutoTuneOptionsOutput
460
484
 
461
485
  AutoTuneOptionsStatus.add_member(:options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "Options"))
@@ -557,6 +581,8 @@ module Aws::OpenSearchService
557
581
  CreateDomainRequest.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsInput, location_name: "AdvancedSecurityOptions"))
558
582
  CreateDomainRequest.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
559
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"))
560
586
  CreateDomainRequest.struct_class = Types::CreateDomainRequest
561
587
 
562
588
  CreateDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
@@ -760,6 +786,8 @@ module Aws::OpenSearchService
760
786
  DomainConfig.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptionsStatus, location_name: "AdvancedSecurityOptions"))
761
787
  DomainConfig.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsStatus, location_name: "AutoTuneOptions"))
762
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"))
763
791
  DomainConfig.struct_class = Types::DomainConfig
764
792
 
765
793
  DomainEndpointOptions.add_member(:enforce_https, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnforceHTTPS"))
@@ -822,6 +850,8 @@ module Aws::OpenSearchService
822
850
  DomainStatus.add_member(:advanced_security_options, Shapes::ShapeRef.new(shape: AdvancedSecurityOptions, location_name: "AdvancedSecurityOptions"))
823
851
  DomainStatus.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptionsOutput, location_name: "AutoTuneOptions"))
824
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"))
825
855
  DomainStatus.struct_class = Types::DomainStatus
826
856
 
827
857
  DomainStatusList.member = Shapes::ShapeRef.new(shape: DomainStatus)
@@ -993,6 +1023,15 @@ module Aws::OpenSearchService
993
1023
  ListPackagesForDomainResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
994
1024
  ListPackagesForDomainResponse.struct_class = Types::ListPackagesForDomainResponse
995
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
+
996
1035
  ListTagsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "arn"))
997
1036
  ListTagsRequest.struct_class = Types::ListTagsRequest
998
1037
 
@@ -1053,6 +1092,17 @@ module Aws::OpenSearchService
1053
1092
  NodeToNodeEncryptionOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1054
1093
  NodeToNodeEncryptionOptionsStatus.struct_class = Types::NodeToNodeEncryptionOptionsStatus
1055
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
+
1056
1106
  OptionStatus.add_member(:creation_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "CreationDate"))
1057
1107
  OptionStatus.add_member(:update_date, Shapes::ShapeRef.new(shape: UpdateTimestamp, required: true, location_name: "UpdateDate"))
1058
1108
  OptionStatus.add_member(:update_version, Shapes::ShapeRef.new(shape: UIntValue, location_name: "UpdateVersion"))
@@ -1184,6 +1234,19 @@ module Aws::OpenSearchService
1184
1234
  SAMLOptionsOutput.add_member(:session_timeout_minutes, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "SessionTimeoutMinutes"))
1185
1235
  SAMLOptionsOutput.struct_class = Types::SAMLOptionsOutput
1186
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
+
1187
1250
  ScheduledAutoTuneDetails.add_member(:date, Shapes::ShapeRef.new(shape: AutoTuneDate, location_name: "Date"))
1188
1251
  ScheduledAutoTuneDetails.add_member(:action_type, Shapes::ShapeRef.new(shape: ScheduledAutoTuneActionType, location_name: "ActionType"))
1189
1252
  ScheduledAutoTuneDetails.add_member(:action, Shapes::ShapeRef.new(shape: ScheduledAutoTuneDescription, location_name: "Action"))
@@ -1200,6 +1263,11 @@ module Aws::OpenSearchService
1200
1263
  ServiceSoftwareOptions.add_member(:optional_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptionalDeployment"))
1201
1264
  ServiceSoftwareOptions.struct_class = Types::ServiceSoftwareOptions
1202
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
+
1203
1271
  SnapshotOptions.add_member(:automated_snapshot_start_hour, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AutomatedSnapshotStartHour"))
1204
1272
  SnapshotOptions.struct_class = Types::SnapshotOptions
1205
1273
 
@@ -1207,7 +1275,16 @@ module Aws::OpenSearchService
1207
1275
  SnapshotOptionsStatus.add_member(:status, Shapes::ShapeRef.new(shape: OptionStatus, required: true, location_name: "Status"))
1208
1276
  SnapshotOptionsStatus.struct_class = Types::SnapshotOptionsStatus
1209
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
+
1210
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"))
1211
1288
  StartServiceSoftwareUpdateRequest.struct_class = Types::StartServiceSoftwareUpdateRequest
1212
1289
 
1213
1290
  StartServiceSoftwareUpdateResponse.add_member(:service_software_options, Shapes::ShapeRef.new(shape: ServiceSoftwareOptions, location_name: "ServiceSoftwareOptions"))
@@ -1250,6 +1327,8 @@ module Aws::OpenSearchService
1250
1327
  UpdateDomainConfigRequest.add_member(:auto_tune_options, Shapes::ShapeRef.new(shape: AutoTuneOptions, location_name: "AutoTuneOptions"))
1251
1328
  UpdateDomainConfigRequest.add_member(:dry_run, Shapes::ShapeRef.new(shape: DryRun, location_name: "DryRun"))
1252
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"))
1253
1332
  UpdateDomainConfigRequest.struct_class = Types::UpdateDomainConfigRequest
1254
1333
 
1255
1334
  UpdateDomainConfigResponse.add_member(:domain_config, Shapes::ShapeRef.new(shape: DomainConfig, required: true, location_name: "DomainConfig"))
@@ -1266,6 +1345,16 @@ module Aws::OpenSearchService
1266
1345
  UpdatePackageResponse.add_member(:package_details, Shapes::ShapeRef.new(shape: PackageDetails, location_name: "PackageDetails"))
1267
1346
  UpdatePackageResponse.struct_class = Types::UpdatePackageResponse
1268
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
+
1269
1358
  UpdateVpcEndpointRequest.add_member(:vpc_endpoint_id, Shapes::ShapeRef.new(shape: VpcEndpointId, required: true, location_name: "VpcEndpointId"))
1270
1359
  UpdateVpcEndpointRequest.add_member(:vpc_options, Shapes::ShapeRef.new(shape: VPCOptions, required: true, location_name: "VpcOptions"))
1271
1360
  UpdateVpcEndpointRequest.struct_class = Types::UpdateVpcEndpointRequest
@@ -1360,6 +1449,10 @@ module Aws::OpenSearchService
1360
1449
 
1361
1450
  VpcEndpoints.member = Shapes::ShapeRef.new(shape: VpcEndpoint)
1362
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
+
1363
1456
  ZoneAwarenessConfig.add_member(:availability_zone_count, Shapes::ShapeRef.new(shape: IntegerClass, location_name: "AvailabilityZoneCount"))
1364
1457
  ZoneAwarenessConfig.struct_class = Types::ZoneAwarenessConfig
1365
1458
 
@@ -1891,6 +1984,25 @@ module Aws::OpenSearchService
1891
1984
  )
1892
1985
  end)
1893
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
+
1894
2006
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
1895
2007
  o.name = "ListTags"
1896
2008
  o.http_method = "GET"
@@ -2044,6 +2156,21 @@ module Aws::OpenSearchService
2044
2156
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2045
2157
  end)
2046
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
+
2047
2174
  api.add_operation(:update_vpc_endpoint, Seahorse::Model::Operation.new.tap do |o|
2048
2175
  o.name = "UpdateVpcEndpoint"
2049
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