get_inference_profile
async
¶
get_inference_profile(
inference_profile_identifier: InferenceProfileIdentifier,
*,
config_overrides: Optional[AsyncBedrockClientConfig] = None,
project_identifier: Optional[ProjectIdentifier] = None,
) -> GetInferenceProfileResponse
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:
-
inference_profile_identifier(InferenceProfileIdentifier) –The ID or Amazon Resource Name (ARN) of the inference profile.
-
project_identifier(Optional[ProjectIdentifier], default:None) –The ID or Amazon Resource Name (ARN) of a project. Amazon Bedrock uses the project's trusted access program participation when determining whether to return a system-defined inference profile. The project must belong to your account in the same AWS Region and partition as the request.
If you omit this parameter or specify
default, Amazon Bedrock uses your account's participation, including organization inheritance.A project that doesn't exist or is archived causes a
ValidationException. Specifying a project other thandefaultfor an application inference profile also causes aValidationException.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
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
5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 | |