toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ErrorCause.kinesisStreamNotFound:
      return 'KINESIS_STREAM_NOT_FOUND';
    case ErrorCause.iamPermissionRevoked:
      return 'IAM_PERMISSION_REVOKED';
  }
}