accept_reserved_instances_exchange_quote¶
Operation¶
accept_reserved_instances_exchange_quote
¶
accept_reserved_instances_exchange_quote(request: AcceptReservedInstancesExchangeQuoteInput | AcceptReservedInstancesExchangeQuoteInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[AcceptReservedInstancesExchangeQuoteInputDict]) -> AcceptReservedInstancesExchangeQuoteOutput
Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
AcceptReservedInstancesExchangeQuoteInput | AcceptReservedInstancesExchangeQuoteInputDict | 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[AcceptReservedInstancesExchangeQuoteInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
AcceptReservedInstancesExchangeQuoteOutput
|
An instance of |
accept_reserved_instances_exchange_quote
async
¶
accept_reserved_instances_exchange_quote(request: AcceptReservedInstancesExchangeQuoteInput | AcceptReservedInstancesExchangeQuoteInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[AcceptReservedInstancesExchangeQuoteInputDict]) -> AcceptReservedInstancesExchangeQuoteOutput
Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
AcceptReservedInstancesExchangeQuoteInput | AcceptReservedInstancesExchangeQuoteInputDict | 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[AcceptReservedInstancesExchangeQuoteInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
AcceptReservedInstancesExchangeQuoteOutput
|
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.
AcceptReservedInstancesExchangeQuoteInputDict
¶
Bases: TypedDict
Dictionary form of AcceptReservedInstancesExchangeQuoteInput.
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_instance_ids
instance-attribute
¶
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
target_configurations
instance-attribute
¶
target_configurations: Sequence[TargetConfigurationRequest | TargetConfigurationRequestDict] | None
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
AcceptReservedInstancesExchangeQuoteInput
dataclass
¶
Bases: _SerdeShape
Contains the parameters for accepting the quote.
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_instance_ids
class-attribute
instance-attribute
¶
The IDs of the Convertible Reserved Instances to exchange for another Convertible Reserved Instance of the same or higher value.
target_configurations
class-attribute
instance-attribute
¶
target_configurations: list[TargetConfigurationRequest] | None = ...
The configuration of the target Convertible Reserved Instance to exchange for your current Convertible Reserved Instances.
Output¶
AcceptReservedInstancesExchangeQuoteOutput
dataclass
¶
Bases: _SerdeShape
The result of the exchange and whether it was successful.
Attributes¶
exchange_id
class-attribute
instance-attribute
¶
exchange_id: str | None = ...
The ID of the successful exchange.
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.