toProvisionedConcurrencyStatusEnum method
Implementation
ProvisionedConcurrencyStatusEnum toProvisionedConcurrencyStatusEnum() {
switch (this) {
case 'IN_PROGRESS':
return ProvisionedConcurrencyStatusEnum.inProgress;
case 'READY':
return ProvisionedConcurrencyStatusEnum.ready;
case 'FAILED':
return ProvisionedConcurrencyStatusEnum.failed;
}
throw Exception(
'$this is not known in enum ProvisionedConcurrencyStatusEnum');
}