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
7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 | |