SageMaker endpoint.
Set up
You have to set up following required parameters of theSagemakerEndpoint call:
endpoint_name: The name of the endpoint from the deployed Sagemaker model. Must be unique within an AWS Region.credentials_profile_name: The name of the profile in the ~/.aws/credentials or ~/.aws/config files, which has either access keys or role information specified. If not specified, the default credential profile or, if on an EC2 instance, credentials from IMDS will be used. See: boto3.amazonaws.com/v1/documentation/api/latest/guide/credentials.html
Example
Example to initialize with external boto3 session
for cross account scenarios
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.