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

Commit c7747832 authored by EC2 Default User's avatar EC2 Default User

Barcode Scanner V2

parent c5622638
This diff is collapsed.
{"14MF3IM01": "CODE39"}
\ No newline at end of file
{"https://quantiphi.com/": "QRCODE"}
\ No newline at end of file
......@@ -3,21 +3,21 @@ class ModelPackageArnProvider:
@staticmethod
def get_model_package_arn(current_region):
mapping = {
"ap-south-1": "arn:aws:sagemaker:ap-south-1:077584701553:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"ap-northeast-2": "arn:aws:sagemaker:ap-northeast-2:745090734665:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"ap-southeast-1" : "arn:aws:sagemaker:ap-southeast-1:192199979996:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"ap-southeast-2" : "arn:aws:sagemaker:ap-southeast-2:666831318237:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"ap-northeast-1" : "arn:aws:sagemaker:ap-northeast-1:977537786026:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"ca-central-1" : "arn:aws:sagemaker:ca-central-1:470592106596:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"eu-central-1" : "arn:aws:sagemaker:eu-central-1:446921602837:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"eu-west-1" : "arn:aws:sagemaker:eu-west-1:985815980388:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"eu-west-2" : "arn:aws:sagemaker:eu-west-2:856760150666:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"eu-west-3" : "arn:aws:sagemaker:eu-west-3:843114510376:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"eu-north-1" : "arn:aws:sagemaker:eu-north-1:136758871317:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"sa-east-1" : "arn:aws:sagemaker:sa-east-1:270155090741:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"us-east-1" : "arn:aws:sagemaker:us-east-1:865070037744:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"us-east-2" : "arn:aws:sagemaker:us-east-2:057799348421:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"us-west-1" : "arn:aws:sagemaker:us-west-1:382657785993:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f",
"us-west-2" : "arn:aws:sagemaker:us-west-2:594846645681:model-package/bar-qr-code-reader-1571413449-a35a47dda86b16474ecd69ff9f20b46f"
"ap-south-1": "arn:aws:sagemaker:ap-south-1:077584701553:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"ap-northeast-2": "arn:aws:sagemaker:ap-northeast-2:745090734665:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"ap-southeast-1" : "arn:aws:sagemaker:ap-southeast-1:192199979996:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"ap-southeast-2" : "arn:aws:sagemaker:ap-southeast-2:666831318237:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"ap-northeast-1" : "arn:aws:sagemaker:ap-northeast-1:977537786026:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"ca-central-1" : "arn:aws:sagemaker:ca-central-1:470592106596:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"eu-central-1" : "arn:aws:sagemaker:eu-central-1:446921602837:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"eu-west-1" : "arn:aws:sagemaker:eu-west-1:985815980388:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"eu-west-2" : "arn:aws:sagemaker:eu-west-2:856760150666:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"eu-west-3" : "arn:aws:sagemaker:eu-west-3:843114510376:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"eu-north-1" : "arn:aws:sagemaker:eu-north-1:136758871317:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"sa-east-1" : "arn:aws:sagemaker:sa-east-1:270155090741:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"us-east-1" : "model_package=arn:aws:sagemaker:us-east-1:865070037744:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"us-east-2" : "arn:aws:sagemaker:us-east-2:057799348421:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"us-west-1" : "arn:aws:sagemaker:us-west-1:382657785993:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9",
"us-west-2" : "arn:aws:sagemaker:us-west-2:594846645681:model-package/bar-qr-code-reader-v2-16107113-e2a740b9a694f1b11a337b6d29c88ca9"
}
return mapping[current_region]
\ No newline at end of file
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