01Platform Setup & ConfigSDK + CLI + IAM
pip install sagemaker boto3★Core Python SDK + AWS SDK — start here.aws configure★Set AWS Access Key, Secret, Region, output format.import sagemaker; session = sagemaker.Session()★High-level helper for training/deploying; wraps boto3.role = sagemaker.get_execution_role()★IAM role SageMaker assumes — needs S3, ECR, CloudWatch.sm = boto3.client('sagemaker')Low-level API client — fine-grained control.sm_rt = boto3.client('sagemaker-runtime')Separate client needed to call a deployed endpoint.iam:PassRolerequiredUser/role invoking create-model must have PassRole to the execution role.