modify_instance_event_start_time
async
¶
modify_instance_event_start_time(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
51174 51175 51176 51177 51178 51179 51180 51181 51182 51183 51184 51185 51186 51187 51188 51189 51190 51191 51192 51193 51194 51195 51196 51197 51198 51199 51200 51201 51202 51203 51204 51205 51206 51207 51208 51209 51210 51211 51212 51213 51214 51215 51216 51217 51218 51219 51220 51221 51222 51223 51224 51225 51226 51227 51228 51229 | |