describe_reserved_instances
async
¶
describe_reserved_instances(
*,
config_overrides: Optional[AsyncOpenSearchClientConfig] = None,
reserved_instance_id: Optional[GUID] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> DescribeReservedInstancesResponse
Describes the Amazon OpenSearch Service instances that you have reserved in a given Region. For more information, see Reserved Instances in Amazon OpenSearch Service.
Parameters:
-
reserved_instance_id(Optional[GUID], default:None) –The reserved instance identifier filter value. Use this parameter to show only the reservation that matches the specified reserved OpenSearch instance ID.
-
max_results(Optional[MaxResults], default:None) –An optional parameter that specifies the maximum number of results to return. You can use
nextTokento get the next page of results. -
next_token(Optional[NextToken], default:None) –If your initial
DescribeReservedInstancesoperation returns anextToken, you can include the returnednextTokenin subsequentDescribeReservedInstancesoperations, which returns results in the next page.
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.
-
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.