list_inference_profiles¶
Operation¶
list_inference_profiles
async
¶
list_inference_profiles(input: ListInferenceProfilesInput, plugins: list[Plugin] | None = None) -> ListInferenceProfilesOutput
Returns a list of inference profiles that you can use. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. in the Amazon Bedrock User Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
ListInferenceProfilesInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
ListInferenceProfilesOutput
|
An instance of |
Input¶
ListInferenceProfilesInput
dataclass
¶
Dataclass for ListInferenceProfilesInput structure.
Attributes¶
max_results
class-attribute
instance-attribute
¶
max_results: int | None = None
The maximum number of results to return in the response. If the total
number of results is greater than this value, use the token returned in
the response in the nextToken field when making another request to
return the next batch of results.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
If the total number of results is greater than the maxResults value
provided in the request, enter the token returned in the nextToken
field in the response in this field to return the next batch of results.
type_equals
class-attribute
instance-attribute
¶
type_equals: InferenceProfileType | None = None
Filters for inference profiles that match the type you specify.
-
SYSTEM_DEFINED-- The inference profile is defined by Amazon Bedrock. You can route inference requests across regions with these inference profiles. -
APPLICATION-- The inference profile was created by a user. This type of inference profile can track metrics and costs when invoking the model in it. The inference profile may route requests to one or multiple regions.
Output¶
ListInferenceProfilesOutput
dataclass
¶
Dataclass for ListInferenceProfilesOutput structure.
Attributes¶
inference_profile_summaries
class-attribute
instance-attribute
¶
inference_profile_summaries: list[InferenceProfileSummary] | None = None
A list of information about each inference profile that you can use.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = None
If the total number of results is greater than the maxResults value
provided in the request, use this token when making another request in
the nextToken field to return the next batch of results.