purchase_reserved_elasticsearch_instance_offering

ElasticsearchService.Client.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
)
Parameters
  • ReservedElasticsearchInstanceOfferingId (string) --

    [REQUIRED]

    The ID of the reserved Elasticsearch instance offering to purchase.

  • ReservationName (string) --

    [REQUIRED]

    A customer-specified identifier to track this reservation.

  • InstanceCount (integer) -- The number of Elasticsearch instances to reserve.
Return type

dict

Returns

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