Issue migrating SageMaker Studio Classic to new Studio

0

I'm attempting to migration my SageMaker Studio Classic to the new SageMaker Studio experience. Here's the AWS CLI the documentation says to run. My domain is demo and region is us-east-1. I don't understand what I need to do to fix the error below. How can the word demo not match the regex? Thanks.

aws sagemaker update-domain \
--domain-id demo \
--region us-east-1 \
--default-user-settings '
{
    "StudioWebPortal": "ENABLED",
    "DefaultLandingUri": "studio::"
}
'

An error occurred (ValidationException) when calling the UpdateDomain operation: 1 validation error detected: Value demo at 'domainId' failed to satisfy constraint: Member must satisfy regular expression pattern: ^d-(-*[a-z0-9]){1,61}

AWS
Jason_W
질문됨 3달 전327회 조회
1개 답변
1

Hi Jason, you need to provide the domain ID (d-xxxxxxx format) instead of the domain name (demo). If you have access to the console, you should be able to see the domain ID in the domains list page, right next to the name.

AWS
Durga_S
답변함 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠