purchase_reserved_elasticsearch_instance_offering
(**kwargs)¶Allows you to purchase reserved Elasticsearch instances.
See also: AWS API Documentation
Request Syntax
response = client.purchase_reserved_elasticsearch_instance_offering(
ReservedElasticsearchInstanceOfferingId='string',
ReservationName='string',
InstanceCount=123
)
[REQUIRED]
The ID of the reserved Elasticsearch instance offering to purchase.
[REQUIRED]
A customer-specified identifier to track this reservation.
dict
Response Syntax
{
'ReservedElasticsearchInstanceId': 'string',
'ReservationName': 'string'
}
Response Structure
(dict) --
Represents the output of a PurchaseReservedElasticsearchInstanceOffering
operation.
ReservedElasticsearchInstanceId (string) --
Details of the reserved Elasticsearch instance which was purchased.
ReservationName (string) --
The customer-specified identifier used to track this reservation.
Exceptions
ElasticsearchService.Client.exceptions.ResourceNotFoundException
ElasticsearchService.Client.exceptions.ResourceAlreadyExistsException
ElasticsearchService.Client.exceptions.LimitExceededException
ElasticsearchService.Client.exceptions.DisabledOperationException
ElasticsearchService.Client.exceptions.ValidationException
ElasticsearchService.Client.exceptions.InternalException