list_provisioned_model_throughputs
¶
list_provisioned_model_throughputs(
*,
config_overrides: Optional[BedrockClientConfig] = 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/bedrock.py
7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 | |