getInferenceProfile method
Future<GetInferenceProfileResponse>
getInferenceProfile({
- required String inferenceProfileIdentifier,
Gets information about an inference profile. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter inferenceProfileIdentifier :
The ID or Amazon Resource Name (ARN) of the inference profile.
Implementation
Future<GetInferenceProfileResponse> getInferenceProfile({
required String inferenceProfileIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/inference-profiles/${Uri.encodeComponent(inferenceProfileIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetInferenceProfileResponse.fromJson(response);
}