Please create a request on https://ezq.quantiphi.com/gitlab/user-access if you want to create a new group or project.

Commit 769c6a18 authored by EC2 Default User's avatar EC2 Default User

Initial commit

parents
This diff is collapsed.
class ModelPackageArnProvider:
@staticmethod
def get_model_package_arn(current_region):
mapping = {
"ap-south-1": "arn:aws:sagemaker:ap-south-1:077584701553:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"ap-northeast-2": "arn:aws:sagemaker:ap-northeast-2:745090734665:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"ap-southeast-1" : "arn:aws:sagemaker:ap-southeast-1:192199979996:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"ap-southeast-2" : "arn:aws:sagemaker:ap-southeast-2:666831318237:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"ap-northeast-1" : "arn:aws:sagemaker:ap-northeast-1:977537786026:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"ca-central-1" : "arn:aws:sagemaker:ca-central-1:470592106596:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"eu-central-1" : "arn:aws:sagemaker:eu-central-1:446921602837:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"eu-west-1" : "arn:aws:sagemaker:eu-west-1:985815980388:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"eu-west-2" : "arn:aws:sagemaker:eu-west-2:856760150666:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"us-east-1" : "arn:aws:sagemaker:us-east-1:865070037744:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"us-east-2" : "arn:aws:sagemaker:us-east-2:057799348421:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"us-west-1" : "arn:aws:sagemaker:us-west-1:382657785993:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"us-west-2" : "arn:aws:sagemaker:us-west-2:594846645681:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"eu-west-3" : "arn:aws:sagemaker:eu-west-3:843114510376:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"eu-north-1" : "arn:aws:sagemaker:eu-north-1:136758871317:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad",
"sa-east-1" : "arn:aws:sagemaker:sa-east-1:270155090741:model-package/source-separation-v11570291536-75ed8128ecee95e142ec4404d884ecad"
}
return mapping[current_region]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment