purchase_reserved_db_instances_offering¶
Operation¶
purchase_reserved_db_instances_offering
¶
purchase_reserved_db_instances_offering(request: PurchaseReservedDBInstancesOfferingInput | PurchaseReservedDBInstancesOfferingInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[PurchaseReservedDBInstancesOfferingInputDict]) -> PurchaseReservedDBInstancesOfferingOutput
Purchases a reserved DB instance offering.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
PurchaseReservedDBInstancesOfferingInput | PurchaseReservedDBInstancesOfferingInputDict | 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[PurchaseReservedDBInstancesOfferingInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
PurchaseReservedDBInstancesOfferingOutput
|
An instance of |
purchase_reserved_db_instances_offering
async
¶
purchase_reserved_db_instances_offering(request: PurchaseReservedDBInstancesOfferingInput | PurchaseReservedDBInstancesOfferingInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[PurchaseReservedDBInstancesOfferingInputDict]) -> PurchaseReservedDBInstancesOfferingOutput
Purchases a reserved DB instance offering.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
PurchaseReservedDBInstancesOfferingInput | PurchaseReservedDBInstancesOfferingInputDict | 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[PurchaseReservedDBInstancesOfferingInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
PurchaseReservedDBInstancesOfferingOutput
|
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.
PurchaseReservedDBInstancesOfferingInputDict
¶
Bases: TypedDict
Dictionary form of PurchaseReservedDBInstancesOfferingInput.
Attributes¶
db_instance_count
instance-attribute
¶
db_instance_count: int | None
The number of instances to reserve.
Default: 1
reserved_db_instance_id
instance-attribute
¶
reserved_db_instance_id: str | None
Customer-specified identifier to track this reservation.
Example: myreservationID
reserved_db_instances_offering_id
instance-attribute
¶
The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
tags
instance-attribute
¶
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
PurchaseReservedDBInstancesOfferingInput
dataclass
¶
Bases: _SerdeShape
Attributes¶
db_instance_count
class-attribute
instance-attribute
¶
db_instance_count: int | None = ...
The number of instances to reserve.
Default: 1
reserved_db_instance_id
class-attribute
instance-attribute
¶
reserved_db_instance_id: str | None = ...
Customer-specified identifier to track this reservation.
Example: myreservationID
reserved_db_instances_offering_id
class-attribute
instance-attribute
¶
reserved_db_instances_offering_id: str | None = ...
The ID of the Reserved DB instance offering to purchase.
Example: 438012d3-4052-4cc7-b2e3-8d3372e0e706
tags
class-attribute
instance-attribute
¶
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
Output¶
PurchaseReservedDBInstancesOfferingOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for PurchaseReservedDBInstancesOfferingOutput structure.
Attributes¶
reserved_db_instance
class-attribute
instance-attribute
¶
reserved_db_instance: ReservedDBInstance | None = ...
This data type is used as a response element in the
DescribeReservedDBInstances and PurchaseReservedDBInstancesOffering
actions.
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.