sagemaker.core.telemetry.resource_creation#
Resource creation module for tracking ARNs of resources created via SDK calls.
Functions
|
Extract the ARN from a SDK response object if available. |
- sagemaker.core.telemetry.resource_creation.get_resource_arn(response)[source]#
Extract the ARN from a SDK response object if available.
Uses string-based type name lookup to avoid cross-package imports.
- Parameters:
response – The return value of a _telemetry_emitter-decorated function.
- Returns:
The ARN string if available, otherwise None.
- Return type:
str