Skip to content

EC2  >  Operations  >  delete_queued_reserved_instances

delete_queued_reserved_instances

Operation

delete_queued_reserved_instances async

delete_queued_reserved_instances(request: DeleteQueuedReservedInstancesInput | DeleteQueuedReservedInstancesInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteQueuedReservedInstancesOutput
delete_queued_reserved_instances(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteQueuedReservedInstancesInputDict]) -> DeleteQueuedReservedInstancesOutput

Deletes the queued purchases for the specified Reserved Instances.

Parameters:

Name Type Description Default
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
DeleteQueuedReservedInstancesOutput

An instance of DeleteQueuedReservedInstancesOutput.

Input

Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.

Model

DeleteQueuedReservedInstancesInput dataclass

Bases: _SerdeShape

Dataclass for DeleteQueuedReservedInstancesInput structure.

Attributes
dry_run class-attribute instance-attribute
dry_run: bool | None = ...

Checks whether you have the required permissions for the action, 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.

reserved_instances_ids class-attribute instance-attribute
reserved_instances_ids: list[str] | None = ...

The IDs of the Reserved Instances.

Dictionaries

DeleteQueuedReservedInstancesInputDict

Bases: TypedDict

Dictionary form of DeleteQueuedReservedInstancesInput.

Attributes
dry_run instance-attribute
dry_run: bool | None

Checks whether you have the required permissions for the action, 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.

reserved_instances_ids instance-attribute
reserved_instances_ids: Required[Sequence[str]]

The IDs of the Reserved Instances.

Output

DeleteQueuedReservedInstancesOutput dataclass

Bases: _SerdeShape

Dataclass for DeleteQueuedReservedInstancesOutput structure.

Attributes

failed_queued_purchase_deletions class-attribute instance-attribute
failed_queued_purchase_deletions: list[FailedQueuedPurchaseDeletion] | None = ...

Information about the queued purchases that could not be deleted.

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.

successful_queued_purchase_deletions class-attribute instance-attribute
successful_queued_purchase_deletions: list[SuccessfulQueuedPurchaseDeletion] | None = ...

Information about the queued purchases that were successfully deleted.