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