get_inference_profile¶
Operation¶
get_inference_profile
async
¶
get_inference_profile(input: GetInferenceProfileInput, plugins: list[Plugin] | None = None) -> GetInferenceProfileOutput
Gets information about an inference profile. 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
|
GetInferenceProfileInput
|
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 |
|---|---|
GetInferenceProfileOutput
|
An instance of |
Input¶
GetInferenceProfileInput
dataclass
¶
Output¶
GetInferenceProfileOutput
dataclass
¶
Dataclass for GetInferenceProfileOutput structure.
Attributes¶
created_at
class-attribute
instance-attribute
¶
created_at: datetime | None = None
The time at which the inference profile was created.
description
class-attribute
instance-attribute
¶
description: str | None = field(repr=False, default=None)
The description of the inference profile.
inference_profile_arn
instance-attribute
¶
inference_profile_arn: str
The Amazon Resource Name (ARN) of the inference profile.
inference_profile_id
instance-attribute
¶
inference_profile_id: str
The unique identifier of the inference profile.
inference_profile_name
instance-attribute
¶
inference_profile_name: str
The name of the inference profile.
models
instance-attribute
¶
models: list[InferenceProfileModel]
A list of information about each model in the inference profile.
status
instance-attribute
¶
status: InferenceProfileStatus
The status of the inference profile. ACTIVE means that the inference
profile is ready to be used.
type
instance-attribute
¶
type: InferenceProfileType
The type of the inference profile. The following types are possible:
-
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.
updated_at
class-attribute
instance-attribute
¶
updated_at: datetime | None = None
The time at which the inference profile was last updated.