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
8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 | |