modify_instance_event_start_time¶
Operation¶
modify_instance_event_start_time
¶
modify_instance_event_start_time(request: ModifyInstanceEventStartTimeInput | ModifyInstanceEventStartTimeInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyInstanceEventStartTimeInputDict]) -> ModifyInstanceEventStartTimeOutput
Modifies the start time for a scheduled Amazon EC2 instance event.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ModifyInstanceEventStartTimeInput | ModifyInstanceEventStartTimeInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[ModifyInstanceEventStartTimeInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ModifyInstanceEventStartTimeOutput
|
An instance of |
modify_instance_event_start_time
async
¶
modify_instance_event_start_time(request: ModifyInstanceEventStartTimeInput | ModifyInstanceEventStartTimeInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ModifyInstanceEventStartTimeInputDict]) -> ModifyInstanceEventStartTimeOutput
Modifies the start time for a scheduled Amazon EC2 instance event.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ModifyInstanceEventStartTimeInput | ModifyInstanceEventStartTimeInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[ModifyInstanceEventStartTimeInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ModifyInstanceEventStartTimeOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ModifyInstanceEventStartTimeInputDict
¶
Bases: TypedDict
Dictionary form of ModifyInstanceEventStartTimeInput.
Attributes¶
dry_run
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
instance-attribute
¶
The ID of the event whose date and time you are modifying.
instance_id
instance-attribute
¶
The ID of the instance with the scheduled event.
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.
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
¶
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.