list_provisioned_model_throughputs
async
¶
list_provisioned_model_throughputs(
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
creation_time_after: Optional[Timestamp] = None,
creation_time_before: Optional[Timestamp] = None,
status_equals: Optional[ProvisionedModelStatus] = None,
model_arn_equals: Optional[ModelArn] = None,
name_contains: Optional[ProvisionedModelName] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
sort_by: Optional[SortByProvisionedModels] = None,
sort_order: Optional[SortOrder] = None,
) -> ListProvisionedModelThroughputsResponse
Lists the Provisioned Throughputs in the account. For more information, see Provisioned Throughput in the Amazon Bedrock User Guide.
Parameters:
-
creation_time_after(Optional[Timestamp], default:None) –A filter that returns Provisioned Throughputs created after the specified time.
-
creation_time_before(Optional[Timestamp], default:None) –A filter that returns Provisioned Throughputs created before the specified time.
-
status_equals(Optional[ProvisionedModelStatus], default:None) –A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.
-
model_arn_equals(Optional[ModelArn], default:None) –A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.
-
name_contains(Optional[ProvisionedModelName], default:None) –A filter that returns Provisioned Throughputs if their name contains the expression that you specify.
-
max_results(Optional[MaxResults], default:None) –THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a
nextTokenvalue. To see the next batch of results, send thenextTokenvalue in another list request. -
next_token(Optional[PaginationToken], default:None) –If there are more results than the number you specified in the
maxResultsfield, the response returns anextTokenvalue. To see the next batch of results, specify thenextTokenvalue in this field. -
sort_by(Optional[SortByProvisionedModels], default:None) –The field by which to sort the returned list of Provisioned Throughputs.
-
sort_order(Optional[SortOrder], default:None) –The sort order of the results.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock/_services/async_bedrock.py
8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 | |