Amazon SageMaker is the AWS managed machine learning platform. Polysync integrates with SageMaker Pipelines (the SageMaker Model Building Pipelines / SDK v2 workflow service) using the official AWS SDK for .NET v4 (AWSSDK.SageMaker and AWSSDK.SecurityToken). Polysync can list pipelines, start executions with declared parameters, poll execution status, cancel running executions, and surface a direct link to the SageMaker Studio / classic console for monitoring.
us-east-1, eu-west-1). All SageMaker API calls are region-scoped.sts:AssumeRoleWithWebIdentity. No long-lived secrets stored. Required attributes: Role ARN.
https://login.microsoftonline.com/<polysync-tenant-id>/v2.0) with audience sts.amazonaws.com.sts:AssumeRoleWithWebIdentity from that provider with a condition on the Polysync workload identity's sub / oid claim.sts:AssumeRole on the target role; the assumed role holds the SageMaker permissions.The role / user used by Polysync needs (at minimum):
sagemaker:ListPipelines — discover available pipelines.sagemaker:DescribePipeline — read pipeline metadata, ARN, and pipeline role.sagemaker:StartPipelineExecution — start executions (scope to specific pipeline ARNs in production).sagemaker:DescribePipelineExecution — poll execution status.sagemaker:StopPipelineExecution — cancel running executions.iam:PassRole (on the pipeline execution role) — only required when supplying an execution role at start time.The pipeline's own execution role needs whatever permissions its steps require (S3, ECR, CloudWatch Logs, Model Registry, etc.) — these are defined on the role attached to the pipeline, not on the Polysync caller.
This initial provider integrates SageMaker Pipelines only — the most natural fit for Polysync's pipeline-orchestration model. Other SageMaker resources (training jobs, processing jobs, transform jobs, hyperparameter tuning jobs, real-time endpoints) are not yet exposed as Polysync Job types. They can be invoked indirectly by wrapping them in a SageMaker Pipeline step (TrainingStep, ProcessingStep, TransformStep, TuningStep, LambdaStep), which is the AWS-recommended pattern for orchestrated ML workflows.
InvalidIdentityToken — check that the IAM Identity Provider's thumbprint matches login.microsoftonline.com, the audience is sts.amazonaws.com, and the role trust policy allows the Polysync workload identity's sub / oid.AccessDeniedException on listing pipelines — the caller is missing sagemaker:ListPipelines in the target region.