Description Usage Arguments Details
Functions that read and write the local Sagemaker execution role.
The role will be saved locally in ~/.aws/config
.
Use options(sagemaker.default.role.profile = "profile_name")
to
change the default profile name.
1 2 3 | sagemaker_save_execution_role(role_arn, profile_name = "sagemaker")
sagemaker_get_execution_role(profile_name = "sagemaker")
|
role_arn |
The ARN of the Sagemaker execution role. See below for an example. |
profile_name |
Name of profile to save in the |
Requires awscli.
The Sagemaker ARN has the following form:
arn:aws:iam::(account_number):role/service-role/(SageMakerExecutionRole)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.