toEmbeddingIdentityType method
Implementation
EmbeddingIdentityType toEmbeddingIdentityType() {
switch (this) {
case 'IAM':
return EmbeddingIdentityType.iam;
case 'QUICKSIGHT':
return EmbeddingIdentityType.quicksight;
case 'ANONYMOUS':
return EmbeddingIdentityType.anonymous;
}
throw Exception('$this is not known in enum EmbeddingIdentityType');
}