def METHOD_NAME(
    component_version: str,
    region: str,
    endpoint_url: str = None,
    assume_role_arn: str = None,
):
    """Builds a client to the AWS SageMaker API.
    Args:
        component_version: The version of the component to include in
            the user agent.
        region: The AWS region for the SageMaker client.
        endpoint_url: A private link endpoint for SageMaker.
        assume_role_arn: The ARN of a role for the boto3 client to assume.
    Returns:
        object: A SageMaker boto3 client.
    """
    session = Boto3Manager._get_boto3_session(region, assume_role_arn)
    session_config = Config(
        user_agent=f"sagemaker-on-kubeflow-pipelines-v{component_version}",
        retries={"max_attempts": 10, "mode": "standard"},
    )
    client = session.client(
        "sagemaker",
        region_name=region,
        endpoint_url=endpoint_url,
        config=session_config,
    )
    return client