Skip to content

EC2  >  Operations  >  modify_instance_event_start_time

modify_instance_event_start_time

Operation

modify_instance_event_start_time async

modify_instance_event_start_time(input: ModifyInstanceEventStartTimeInput, plugins: list[Plugin] | None = None) -> ModifyInstanceEventStartTimeOutput

Modifies the start time for a scheduled Amazon EC2 instance event.

Parameters:

Name Type Description Default
input ModifyInstanceEventStartTimeInput

An instance of ModifyInstanceEventStartTimeInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ModifyInstanceEventStartTimeOutput

An instance of ModifyInstanceEventStartTimeOutput.

Input

ModifyInstanceEventStartTimeInput dataclass

Bases: _SerdeShape

Dataclass for ModifyInstanceEventStartTimeInput structure.

Attributes

dry_run class-attribute instance-attribute
dry_run: bool | 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 is UnauthorizedOperation.

instance_event_id class-attribute instance-attribute
instance_event_id: str | None = ...

The ID of the event whose date and time you are modifying.

instance_id class-attribute instance-attribute
instance_id: str | None = ...

The ID of the instance with the scheduled event.

not_before class-attribute instance-attribute
not_before: datetime | None = ...

The new date and time when the event will take place.

Output

ModifyInstanceEventStartTimeOutput dataclass

Bases: _SerdeShape

Dataclass for ModifyInstanceEventStartTimeOutput structure.

Attributes

event class-attribute instance-attribute
event: InstanceStatusEvent | None = ...

Information about the event.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.