modify_instance_event_start_time
¶
modify_instance_event_start_time(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
instance_id: Optional[InstanceId] = None,
instance_event_id: Optional[String] = None,
not_before: Optional[DateTime] = None,
) -> ModifyInstanceEventStartTimeResult
Modifies the start time for a scheduled Amazon EC2 instance event.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
instance_id(Optional[InstanceId], default:None) –The ID of the instance with the scheduled event.
-
instance_event_id(Optional[String], default:None) –The ID of the event whose date and time you are modifying.
-
not_before(Optional[DateTime], default:None) –The new date and time when the event will take place.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
50474 50475 50476 50477 50478 50479 50480 50481 50482 50483 50484 50485 50486 50487 50488 50489 50490 50491 50492 50493 50494 50495 50496 50497 50498 50499 50500 50501 50502 50503 50504 50505 50506 50507 50508 50509 50510 50511 50512 50513 50514 50515 50516 50517 50518 50519 50520 50521 50522 50523 50524 50525 50526 50527 50528 | |