purchase_reserved_instance_offering(**kwargs)¶Allows you to purchase Amazon OpenSearch Service Reserved Instances.
See also: AWS API Documentation
Request Syntax
response = client.purchase_reserved_instance_offering(
ReservedInstanceOfferingId='string',
ReservationName='string',
InstanceCount=123
)
[REQUIRED]
The ID of the Reserved Instance offering to purchase.
[REQUIRED]
A customer-specified identifier to track this reservation.
dict
Response Syntax
{
'ReservedInstanceId': 'string',
'ReservationName': 'string'
}
Response Structure
(dict) --
Represents the output of a PurchaseReservedInstanceOffering operation.
ReservedInstanceId (string) --
The ID of the Reserved Instance offering that was purchased.
ReservationName (string) --
The customer-specified identifier used to track this reservation.
Exceptions
OpenSearchService.Client.exceptions.ResourceNotFoundExceptionOpenSearchService.Client.exceptions.ResourceAlreadyExistsExceptionOpenSearchService.Client.exceptions.LimitExceededExceptionOpenSearchService.Client.exceptions.DisabledOperationExceptionOpenSearchService.Client.exceptions.ValidationExceptionOpenSearchService.Client.exceptions.InternalException