toValue method
Implementation
String toValue() {
switch (this) {
case FailedItemErrorCode.invalidArn:
return 'INVALID_ARN';
case FailedItemErrorCode.duplicateArn:
return 'DUPLICATE_ARN';
case FailedItemErrorCode.itemDoesNotExist:
return 'ITEM_DOES_NOT_EXIST';
case FailedItemErrorCode.accessDenied:
return 'ACCESS_DENIED';
case FailedItemErrorCode.limitExceeded:
return 'LIMIT_EXCEEDED';
case FailedItemErrorCode.internalError:
return 'INTERNAL_ERROR';
}
}