toStartLambdaFunctionFailedCause method

StartLambdaFunctionFailedCause toStartLambdaFunctionFailedCause()

Implementation

StartLambdaFunctionFailedCause toStartLambdaFunctionFailedCause() {
  switch (this) {
    case 'ASSUME_ROLE_FAILED':
      return StartLambdaFunctionFailedCause.assumeRoleFailed;
  }
  throw Exception(
      '$this is not known in enum StartLambdaFunctionFailedCause');
}