get_inference_profile
¶
get_inference_profile(
inference_profile_identifier: InferenceProfileIdentifier,
*,
config_overrides: Optional[BedrockClientConfig] = 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/bedrock.py
5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 | |