mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
The request-resources table gives resource-tag keys to SageMaker's model, endpoint configuration, endpoint and training job types and to BCM Data Exports' export type, but neither namespace gave IAM the tags it stores, so an aws:ResourceTag condition on one of their actions never matched. SageMakerStoredResourceArns reads SageMakerService.storedTags: the tags of the caller's model, endpoint configuration, endpoint or training job the ARN names, in its Region, by the resource part the ARN starts with, read in place and copied under the monitor AddTags and DeleteTags change them under. BcmDataExportsStoredResourceArns reads BcmDataExportsService.storedTags: the ResourceTags an export's create gave it, read in place under its ARN. StoredResourceTagIamIntegrationTest checks a caller allowed sagemaker:DescribeModel and bcm-data-exports:GetExport only on resources tagged team=blue reaches the blue one and is refused the red one; both fail without the readers. SageMakerServiceTest checks the read, its copy, the ARNs that name nothing, and that a model, an endpoint configuration, an endpoint and a training job of one name answer their own tags by their own ARNs.