purchase_reserved_instance_offering
async
¶
purchase_reserved_instance_offering(
reserved_instance_offering_id: GUID,
reservation_name: ReservationToken,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
instance_count: Optional[InstanceCount] = None,
) -> PurchaseReservedInstanceOfferingResponse
Allows you to purchase Amazon OpenSearch Service Reserved Instances.
Parameters:
-
reserved_instance_offering_id(GUID) –The ID of the Reserved Instance offering to purchase.
-
reservation_name(ReservationToken) –A customer-specified identifier to track this reservation.
-
instance_count(Optional[InstanceCount], default:None) –The number of OpenSearch instances to reserve.
Raises:
-
DisabledOperationException–An error occured because the client wanted to access an unsupported operation.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
LimitExceededException–An exception for trying to create more than the allowed number of resources or sub-resources.
-
ResourceAlreadyExistsException–An exception for creating a resource that already exists.
-
ResourceNotFoundException–An exception for accessing or deleting a resource that doesn't exist.
-
ValidationException–An exception for accessing or deleting a resource that doesn't exist.
-
UnknownServiceError–The service returned an error code this client does not model.