getProvisionedModelThroughput method
Future<GetProvisionedModelThroughputResponse>
getProvisionedModelThroughput({
- required String provisionedModelId,
Returns details for a Provisioned Throughput. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter provisionedModelId :
The Amazon Resource Name (ARN) or name of the Provisioned Throughput.
Implementation
Future<GetProvisionedModelThroughputResponse> getProvisionedModelThroughput({
required String provisionedModelId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/provisioned-model-throughput/${Uri.encodeComponent(provisionedModelId)}',
exceptionFnMap: _exceptionFns,
);
return GetProvisionedModelThroughputResponse.fromJson(response);
}