describe_instance_type_limits
async
¶
describe_instance_type_limits(
instance_type: OpenSearchPartitionInstanceType,
engine_version: VersionString,
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
domain_name: Optional[DomainName] = None,
) -> DescribeInstanceTypeLimitsResponse
Describes the instance count, storage, and master node limits for a given OpenSearch or Elasticsearch version and instance type.
Parameters:
-
domain_name(Optional[DomainName], default:None) –The name of the domain. Only specify if you need the limits for an existing domain.
-
instance_type(OpenSearchPartitionInstanceType) –The OpenSearch Service instance type for which you need limit information.
-
engine_version(VersionString) –Version of OpenSearch or Elasticsearch, in the format Elasticsearch_X.Y or OpenSearch_X.Y. Defaults to the latest version of OpenSearch.
Raises:
-
BaseException–An error occurred while processing the request.
-
InternalException–Request processing failed because of an unknown error, exception, or internal failure.
-
InvalidTypeException–An exception for trying to create or access a sub-resource that's either invalid or not supported.
-
LimitExceededException–An exception for trying to create more than the allowed number of resources or sub-resources.
-
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.